Share via


StorageAccount Constructors

Definition

Overloads

StorageAccount()

Initializes a new instance of the StorageAccount class.

StorageAccount(StorageAccountType, String, ResourceIdentity, String)

Initializes a new instance of the StorageAccount class.

StorageAccount()

Initializes a new instance of the StorageAccount class.

public StorageAccount ();
Public Sub New ()

Applies to

StorageAccount(StorageAccountType, String, ResourceIdentity, String)

Initializes a new instance of the StorageAccount class.

public StorageAccount (Microsoft.Azure.Management.Media.Models.StorageAccountType type, string id = default, Microsoft.Azure.Management.Media.Models.ResourceIdentity identity = default, string status = default);
new Microsoft.Azure.Management.Media.Models.StorageAccount : Microsoft.Azure.Management.Media.Models.StorageAccountType * string * Microsoft.Azure.Management.Media.Models.ResourceIdentity * string -> Microsoft.Azure.Management.Media.Models.StorageAccount
Public Sub New (type As StorageAccountType, Optional id As String = Nothing, Optional identity As ResourceIdentity = Nothing, Optional status As String = Nothing)

Parameters

type
StorageAccountType

The type of the storage account. Possible values include: 'Primary', 'Secondary'

id
String

The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts.

identity
ResourceIdentity

The storage account identity.

status
String

The current status of the storage account mapping.

Applies to