Share via


CloudStorageAccount Class

Definition

Represents a Microsoft Azure CosmosDB Table account.

public sealed class CloudStorageAccount
type CloudStorageAccount = class
Public NotInheritable Class CloudStorageAccount
Inheritance
CloudStorageAccount

Constructors

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, StorageUri)

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

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)

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, Uri)

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

Properties

Credentials

Gets the credentials used to create this CloudStorageAccount object.

DevelopmentStorageAccount

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

TableEndpoint

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

TableStorageUri

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

Methods

GetSharedAccessSignature(SharedAccessAccountPolicy)

Returns a shared access signature for the account.

Parse(String)

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

ToString()

Returns a connection string for this storage account, without sensitive data.

ToString(Boolean)

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

TryParse(String, CloudStorageAccount)

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

Extension Methods

CreateCloudTableClient(CloudStorageAccount, TableClientConfiguration)

Creates the Table service client.

Applies to