CloudStorageAccount CloudStorageAccount Constructors

Definition

Overloads

CloudStorageAccount(StorageCredentials, Boolean) CloudStorageAccount(StorageCredentials, Boolean)

Initializes a new instance of the CloudStorageAccount class using the specified credentials, and specifies whether to use HTTP or HTTPS to connect to the storage services.

CloudStorageAccount(StorageCredentials, String, Boolean) CloudStorageAccount(StorageCredentials, String, Boolean)

Initializes a new instance of the CloudStorageAccount class using the specified credentials and endpoint suffix, and specifies whether to use HTTP or HTTPS to connect to the storage services.

CloudStorageAccount(StorageCredentials, String, String, Boolean) CloudStorageAccount(StorageCredentials, String, String, Boolean)

Initializes a new instance of the CloudStorageAccount class using the specified credentials and endpoint suffix, and specifies whether to use HTTP or HTTPS to connect to the storage services.

CloudStorageAccount(StorageCredentials, StorageUri, StorageUri, StorageUri, StorageUri) CloudStorageAccount(StorageCredentials, StorageUri, StorageUri, StorageUri, StorageUri)

Initializes a new instance of the CloudStorageAccount class using the specified account credentials and service endpoints.

CloudStorageAccount(StorageCredentials, Uri, Uri, Uri, Uri) CloudStorageAccount(StorageCredentials, Uri, Uri, Uri, Uri)

Initializes a new instance of the CloudStorageAccount class using the specified credentials and service endpoints.

CloudStorageAccount(StorageCredentials, Boolean) CloudStorageAccount(StorageCredentials, Boolean)

Initializes a new instance of the CloudStorageAccount class using the specified credentials, and specifies whether to use HTTP or HTTPS to connect to the storage services.

public CloudStorageAccount (Microsoft.WindowsAzure.Storage.Auth.StorageCredentials storageCredentials, bool useHttps);
new Microsoft.WindowsAzure.Storage.CloudStorageAccount : Microsoft.WindowsAzure.Storage.Auth.StorageCredentials * bool -> Microsoft.WindowsAzure.Storage.CloudStorageAccount
Parameters
useHttps
Boolean Boolean

true to use HTTPS to connect to storage service endpoints; otherwise, false.

Remarks

Using HTTPS to connect to the storage services is recommended.

CloudStorageAccount(StorageCredentials, String, Boolean) CloudStorageAccount(StorageCredentials, String, Boolean)

Initializes a new instance of the CloudStorageAccount class using the specified credentials and endpoint suffix, and specifies whether to use HTTP or HTTPS to connect to the storage services.

public CloudStorageAccount (Microsoft.WindowsAzure.Storage.Auth.StorageCredentials storageCredentials, string endpointSuffix, bool useHttps);
new Microsoft.WindowsAzure.Storage.CloudStorageAccount : Microsoft.WindowsAzure.Storage.Auth.StorageCredentials * string * bool -> Microsoft.WindowsAzure.Storage.CloudStorageAccount
Parameters
endpointSuffix
String String

The DNS endpoint suffix for all storage services, e.g. "core.windows.net".

useHttps
Boolean Boolean

true to use HTTPS to connect to storage service endpoints; otherwise, false.

Remarks

Using HTTPS to connect to the storage services is recommended.

CloudStorageAccount(StorageCredentials, String, String, Boolean) CloudStorageAccount(StorageCredentials, String, String, Boolean)

Initializes a new instance of the CloudStorageAccount class using the specified credentials and endpoint suffix, and specifies whether to use HTTP or HTTPS to connect to the storage services.

public CloudStorageAccount (Microsoft.WindowsAzure.Storage.Auth.StorageCredentials storageCredentials, string accountName, string endpointSuffix, bool useHttps);
new Microsoft.WindowsAzure.Storage.CloudStorageAccount : Microsoft.WindowsAzure.Storage.Auth.StorageCredentials * string * string * bool -> Microsoft.WindowsAzure.Storage.CloudStorageAccount
Parameters
accountName
String String

The name of the account.

endpointSuffix
String String

The DNS endpoint suffix for all storage services, e.g. "core.windows.net".

useHttps
Boolean Boolean

true to use HTTPS to connect to storage service endpoints; otherwise, false.

Remarks

Using HTTPS to connect to the storage services is recommended.

CloudStorageAccount(StorageCredentials, StorageUri, StorageUri, StorageUri, StorageUri) CloudStorageAccount(StorageCredentials, StorageUri, StorageUri, StorageUri, StorageUri)

Initializes a new instance of the CloudStorageAccount class using the specified account credentials and service endpoints.

public CloudStorageAccount (Microsoft.WindowsAzure.Storage.Auth.StorageCredentials storageCredentials, Microsoft.WindowsAzure.Storage.StorageUri blobStorageUri, Microsoft.WindowsAzure.Storage.StorageUri queueStorageUri, Microsoft.WindowsAzure.Storage.StorageUri tableStorageUri, Microsoft.WindowsAzure.Storage.StorageUri fileStorageUri);
new Microsoft.WindowsAzure.Storage.CloudStorageAccount : Microsoft.WindowsAzure.Storage.Auth.StorageCredentials * Microsoft.WindowsAzure.Storage.StorageUri * Microsoft.WindowsAzure.Storage.StorageUri * Microsoft.WindowsAzure.Storage.StorageUri * Microsoft.WindowsAzure.Storage.StorageUri -> Microsoft.WindowsAzure.Storage.CloudStorageAccount
Parameters
blobStorageUri
StorageUri StorageUri

A StorageUri specifying the Blob service endpoint or endpoints.

queueStorageUri
StorageUri StorageUri

A StorageUri specifying the Queue service endpoint or endpoints.

tableStorageUri
StorageUri StorageUri

A StorageUri specifying the Table service endpoint or endpoints.

fileStorageUri
StorageUri StorageUri

A StorageUri specifying the File service endpoint or endpoints.

CloudStorageAccount(StorageCredentials, Uri, Uri, Uri, Uri) CloudStorageAccount(StorageCredentials, Uri, Uri, Uri, Uri)

Initializes a new instance of the CloudStorageAccount class using the specified credentials and service endpoints.

public CloudStorageAccount (Microsoft.WindowsAzure.Storage.Auth.StorageCredentials storageCredentials, Uri blobEndpoint, Uri queueEndpoint, Uri tableEndpoint, Uri fileEndpoint);
new Microsoft.WindowsAzure.Storage.CloudStorageAccount : Microsoft.WindowsAzure.Storage.Auth.StorageCredentials * Uri * Uri * Uri * Uri -> Microsoft.WindowsAzure.Storage.CloudStorageAccount
Parameters
blobEndpoint
Uri Uri

A Uri specifying the primary Blob service endpoint.

queueEndpoint
Uri Uri

A Uri specifying the primary Queue service endpoint.

tableEndpoint
Uri Uri

A Uri specifying the primary Table service endpoint.

fileEndpoint
Uri Uri

A Uri specifying the primary File service endpoint.

Applies to