Class FileServiceTypes
- Namespace
- ArcanaDevelopment.adTempus.Shared
- Assembly
- ArcanaDevelopment.adTempus.Shared.dll
Service types used by FileServiceProvider.
public static class FileServiceTypes
- Inheritance
-
objectFileServiceTypes
Fields
AllTypes
public static readonly string[] AllTypes
Field Value
- string[]
AmazonS3
Use to connect to an Amazon S3 bucket
public const string AmazonS3 = "amazons3"
Field Value
- string
Remarks
Use this only for Amazon-hosted storage. Use GenericS3 for non-Amazon endpoints.
AzureBlob
public const string AzureBlob = "azureblob"
Field Value
- string
AzureFile
public const string AzureFile = "azurefile"
Field Value
- string
BackblazeB2
public const string BackblazeB2 = "backblazeb2"
Field Value
- string
Box
public const string Box = "box"
Field Value
- string
DigitalOceanSpaces
public const string DigitalOceanSpaces = "digitaloceanspaces"
Field Value
- string
Dropbox
public const string Dropbox = "dropbox"
Field Value
- string
FTP
public const string FTP = "ftp"
Field Value
- string
GenericS3
Use to connect to an S3-compliant endpoint.
public const string GenericS3 = "s3"
Field Value
- string
GoogleCloudStorage
public const string GoogleCloudStorage = "googlecloudstorage"
Field Value
- string
GoogleDrive
public const string GoogleDrive = "googledrive"
Field Value
- string
IBMCloudObjectStorage
public const string IBMCloudObjectStorage = "ibmcloudobject"
Field Value
- string
LinodeObjectStorage
public const string LinodeObjectStorage = "linodeobject"
Field Value
- string
OneDrive
public const string OneDrive = "onedrive"
Field Value
- string
SFTP
public const string SFTP = "sftp"
Field Value
- string
TypesRequiringEndpoint
public static readonly string[] TypesRequiringEndpoint
Field Value
- string[]
TypesRequiringRegion
public static readonly string[] TypesRequiringRegion
Field Value
- string[]
Wasabi
public const string Wasabi = "wasabi"
Field Value
- string
Methods
IsValid(string)
Determines whether the specified value is a valid service type.
public static bool IsValid(string value)
Parameters
| Name | Type | Description |
|---|---|---|
value |
string |
Returns
- bool
RequiresEndpoint(string)
public static bool RequiresEndpoint(string serviceType)
Parameters
| Name | Type | Description |
|---|---|---|
serviceType |
string |
Returns
- bool
RequiresRegion(string)
Determines whether the specified serviceType requires a Region to be specified.
public static bool RequiresRegion(string serviceType)
Parameters
| Name | Type | Description |
|---|---|---|
serviceType |
string |
Returns
- bool