Share via


MediaAssetTrackCollection Class

Definition

A class representing a collection of MediaAssetTrackResource and their operations. Each MediaAssetTrackResource in the collection will belong to the same instance of MediaAssetResource. To get a MediaAssetTrackCollection instance call the GetMediaAssetTracks method from an instance of MediaAssetResource.

public class MediaAssetTrackCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Media.MediaAssetTrackResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Media.MediaAssetTrackResource>
type MediaAssetTrackCollection = class
    inherit ArmCollection
    interface seq<MediaAssetTrackResource>
    interface IEnumerable
    interface IAsyncEnumerable<MediaAssetTrackResource>
Public Class MediaAssetTrackCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of MediaAssetTrackResource), IEnumerable(Of MediaAssetTrackResource)
Inheritance
MediaAssetTrackCollection
Implements

Constructors

MediaAssetTrackCollection()

Initializes a new instance of the MediaAssetTrackCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, MediaAssetTrackData, CancellationToken)

Create or update a Track in the asset

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
  • Operation Id: Tracks_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, MediaAssetTrackData, CancellationToken)

Create or update a Track in the asset

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
  • Operation Id: Tracks_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
  • Operation Id: Tracks_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
  • Operation Id: Tracks_Get
Get(String, CancellationToken)

Get the details of a Track in the Asset

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
  • Operation Id: Tracks_Get
GetAll(CancellationToken)

Lists the Tracks in the asset

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks
  • Operation Id: Tracks_List
GetAllAsync(CancellationToken)

Lists the Tracks in the asset

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks
  • Operation Id: Tracks_List
GetAsync(String, CancellationToken)

Get the details of a Track in the Asset

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
  • Operation Id: Tracks_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
  • Operation Id: Tracks_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName}
  • Operation Id: Tracks_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<MediaAssetTrackResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MediaAssetTrackResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to