Share via


MediaTransformCollection Class

Definition

A class representing a collection of MediaTransformResource and their operations. Each MediaTransformResource in the collection will belong to the same instance of MediaServicesAccountResource. To get a MediaTransformCollection instance call the GetMediaTransforms method from an instance of MediaServicesAccountResource.

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

Constructors

MediaTransformCollection()

Initializes a new instance of the MediaTransformCollection class for mocking.

Methods

CreateOrUpdate(WaitUntil, String, MediaTransformData, CancellationToken)

Creates or updates a new Transform.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}
  • Operation Id: Transforms_CreateOrUpdate
  • Default Api Version: 2022-07-01
  • Resource: MediaTransformResource
CreateOrUpdateAsync(WaitUntil, String, MediaTransformData, CancellationToken)

Creates or updates a new Transform.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}
  • Operation Id: Transforms_CreateOrUpdate
  • Default Api Version: 2022-07-01
  • Resource: MediaTransformResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}
  • Operation Id: Transforms_Get
  • Default Api Version: 2022-07-01
  • Resource: MediaTransformResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}
  • Operation Id: Transforms_Get
  • Default Api Version: 2022-07-01
  • Resource: MediaTransformResource
Get(String, CancellationToken)

Gets a Transform.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}
  • Operation Id: Transforms_Get
  • Default Api Version: 2022-07-01
  • Resource: MediaTransformResource
GetAll(String, String, CancellationToken)

Lists the Transforms in the account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms
  • Operation Id: Transforms_List
  • Default Api Version: 2022-07-01
  • Resource: MediaTransformResource
GetAllAsync(String, String, CancellationToken)

Lists the Transforms in the account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms
  • Operation Id: Transforms_List
  • Default Api Version: 2022-07-01
  • Resource: MediaTransformResource
GetAsync(String, CancellationToken)

Gets a Transform.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}
  • Operation Id: Transforms_Get
  • Default Api Version: 2022-07-01
  • Resource: MediaTransformResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}
  • Operation Id: Transforms_Get
  • Default Api Version: 2022-07-01
  • Resource: MediaTransformResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}
  • Operation Id: Transforms_Get
  • Default Api Version: 2022-07-01
  • Resource: MediaTransformResource

Explicit Interface Implementations

IAsyncEnumerable<MediaTransformResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MediaTransformResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

ToCommaSeparatedString<T>(IEnumerable<T>)

Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections.

Applies to