Compartir a través de


ArmMediaModelFactory.MediaServicesStorageAccount Method

Definition

Initializes a new instance of MediaServicesStorageAccount.

public static Azure.ResourceManager.Media.Models.MediaServicesStorageAccount MediaServicesStorageAccount (Azure.Core.ResourceIdentifier id = default, Azure.ResourceManager.Media.Models.MediaServicesStorageAccountType accountType = default, Azure.ResourceManager.Media.Models.ResourceIdentity identity = default, string status = default);
static member MediaServicesStorageAccount : Azure.Core.ResourceIdentifier * Azure.ResourceManager.Media.Models.MediaServicesStorageAccountType * Azure.ResourceManager.Media.Models.ResourceIdentity * string -> Azure.ResourceManager.Media.Models.MediaServicesStorageAccount
Public Shared Function MediaServicesStorageAccount (Optional id As ResourceIdentifier = Nothing, Optional accountType As MediaServicesStorageAccountType = Nothing, Optional identity As ResourceIdentity = Nothing, Optional status As String = Nothing) As MediaServicesStorageAccount

Parameters

id
ResourceIdentifier

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.

accountType
MediaServicesStorageAccountType

The type of the storage account.

identity
ResourceIdentity

The storage account identity.

status
String

The current status of the storage account mapping.

Returns

A new MediaServicesStorageAccount instance for mocking.

Applies to