<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.1.3" />

Microsoft.Azure.Storage.CloudStorageAccount

public class CloudStorageAccount
Represents a Microsoft Azure Storage account.

Gets a CloudStorageAccount object that references the well-known development storage account.

public static bool UseV1MD5 { get; set; }

Gets or sets a value indicating whether the FISMA MD5 setting will be used.

public Uri BlobEndpoint { get; }

Gets the primary endpoint for the Blob service, as configured for the storage account.

public StorageUri BlobStorageUri { get; }

Gets the endpoints for the Blob service at the primary and secondary location, as configured for the storage account.

Gets the credentials used to create this CloudStorageAccount object.

public Uri FileEndpoint { get; }

Gets the primary endpoint for the File service, as configured for the storage account.

public StorageUri FileStorageUri { get; }

Gets the endpoints for the File service at the primary and secondary location, as configured for the storage account.

public Uri QueueEndpoint { get; }

Gets the primary endpoint for the Queue service, as configured for the storage account.

public StorageUri QueueStorageUri { get; }

Gets the endpoints for the Queue service at the primary and secondary location, as configured for the storage account.

public Uri TableEndpoint { get; }

Gets the primary endpoint for the Table service, as configured for the storage account.

public StorageUri TableStorageUri { get; }

Gets the endpoints for the Table service at the primary and secondary location, as configured for the storage account.

public CloudStorageAccount(StorageCredentials storageCredentials, Uri blobEndpoint, Uri queueEndpoint, Uri tableEndpoint, Uri fileEndpoint)

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

public CloudStorageAccount(StorageCredentials storageCredentials, StorageUri blobStorageUri, StorageUri queueStorageUri, StorageUri tableStorageUri, StorageUri fileStorageUri)

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

public CloudStorageAccount(StorageCredentials storageCredentials, bool useHttps)

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(StorageCredentials storageCredentials, string endpointSuffix, bool useHttps)

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(StorageCredentials storageCredentials, string accountName, string endpointSuffix, bool useHttps)

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 static CloudStorageAccount Parse(string connectionString)

Parses a connection string and returns a CloudStorageAccount created from the connection string.

public static bool TryParse(string connectionString, out CloudStorageAccount account)

Indicates whether a connection string can be parsed to return a CloudStorageAccount object.

Returns a shared access signature for the account.

public string ToString(bool exportSecrets)

Returns a connection string for the storage account, optionally with sensitive data.