Partilhar via


ArmMediaModelFactory.MediaAssetTrackData Method

Definition

Initializes a new instance of MediaAssetTrackData.

public static Azure.ResourceManager.Media.MediaAssetTrackData MediaAssetTrackData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Media.Models.MediaAssetTrackBase track = default, Azure.ResourceManager.Media.Models.MediaServicesProvisioningState? provisioningState = default);
static member MediaAssetTrackData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Media.Models.MediaAssetTrackBase * Nullable<Azure.ResourceManager.Media.Models.MediaServicesProvisioningState> -> Azure.ResourceManager.Media.MediaAssetTrackData
Public Shared Function MediaAssetTrackData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional track As MediaAssetTrackBase = Nothing, Optional provisioningState As Nullable(Of MediaServicesProvisioningState) = Nothing) As MediaAssetTrackData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

track
MediaAssetTrackBase

Detailed information about a track in the asset. Please note MediaAssetTrackBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AudioTrack, TextTrack and VideoTrack.

provisioningState
Nullable<MediaServicesProvisioningState>

Provisioning state of the asset track.

Returns

A new MediaAssetTrackData instance for mocking.

Applies to