Share via


StorageAccount Class

Definition

The storage account details.

public class StorageAccount
type StorageAccount = class
Public Class StorageAccount
Inheritance
StorageAccount

Constructors

StorageAccount()

Initializes a new instance of the StorageAccount class.

StorageAccount(StorageAccountType, String, ResourceIdentity, String)

Initializes a new instance of the StorageAccount class.

Properties

Id

Gets or sets 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

Gets or sets the storage account identity.

Status

Gets the current status of the storage account mapping.

Type

Gets or sets the type of the storage account. Possible values include: 'Primary', 'Secondary'

Methods

Validate()

Validate the object.

Applies to