Compartilhar via


ArmMediaModelFactory.MediaAssetData Method

Definition

Initializes a new instance of MediaAssetData.

public static Azure.ResourceManager.Media.MediaAssetData MediaAssetData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Guid? assetId = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, string alternateId = default, string description = default, string container = default, string storageAccountName = default, Azure.ResourceManager.Media.Models.MediaAssetStorageEncryptionFormat? storageEncryptionFormat = default, string encryptionScope = default);
static member MediaAssetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Guid> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * string * string * Nullable<Azure.ResourceManager.Media.Models.MediaAssetStorageEncryptionFormat> * string -> Azure.ResourceManager.Media.MediaAssetData
Public Shared Function MediaAssetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional assetId As Nullable(Of Guid) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional alternateId As String = Nothing, Optional description As String = Nothing, Optional container As String = Nothing, Optional storageAccountName As String = Nothing, Optional storageEncryptionFormat As Nullable(Of MediaAssetStorageEncryptionFormat) = Nothing, Optional encryptionScope As String = Nothing) As MediaAssetData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

assetId
Nullable<Guid>

The Asset ID.

createdOn
Nullable<DateTimeOffset>

The creation date of the Asset.

lastModifiedOn
Nullable<DateTimeOffset>

The last modified date of the Asset.

alternateId
String

The alternate ID of the Asset.

description
String

The Asset description.

container
String

The name of the asset blob container.

storageAccountName
String

The name of the storage account.

storageEncryptionFormat
Nullable<MediaAssetStorageEncryptionFormat>

The Asset encryption format. One of None or MediaStorageEncryption.

encryptionScope
String

The Asset container encryption scope in the storage account.

Returns

A new MediaAssetData instance for mocking.

Applies to