Share via


MediaExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Media.

public static class MediaExtensions
type MediaExtensions = class
Public Module MediaExtensions
Inheritance
MediaExtensions

Methods

CheckMediaServicesNameAvailability(SubscriptionResource, AzureLocation, MediaServicesNameAvailabilityContent, CancellationToken)

Checks whether the Media Service resource name is available.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/checkNameAvailability
  • Operation Id: Locations_CheckNameAvailability
CheckMediaServicesNameAvailabilityAsync(SubscriptionResource, AzureLocation, MediaServicesNameAvailabilityContent, CancellationToken)

Checks whether the Media Service resource name is available.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/checkNameAvailability
  • Operation Id: Locations_CheckNameAvailability
GetContentKeyPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContentKeyPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ContentKeyPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContentKeyPolicyResource(ResourceIdentifier) instead.

GetMediaAssetFilterResource(ArmClient, ResourceIdentifier)

Gets an object representing a MediaAssetFilterResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a MediaAssetFilterResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMediaAssetFilterResource(ResourceIdentifier) instead.

GetMediaAssetResource(ArmClient, ResourceIdentifier)

Gets an object representing a MediaAssetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MediaAssetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMediaAssetResource(ResourceIdentifier) instead.

GetMediaAssetTrackResource(ArmClient, ResourceIdentifier)

Gets an object representing a MediaAssetTrackResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a MediaAssetTrackResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMediaAssetTrackResource(ResourceIdentifier) instead.

GetMediaJobResource(ArmClient, ResourceIdentifier)

Gets an object representing a MediaJobResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a MediaJobResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMediaJobResource(ResourceIdentifier) instead.

GetMediaLiveEventResource(ArmClient, ResourceIdentifier)

Gets an object representing a MediaLiveEventResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MediaLiveEventResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMediaLiveEventResource(ResourceIdentifier) instead.

GetMediaLiveOutputResource(ArmClient, ResourceIdentifier)

Gets an object representing a MediaLiveOutputResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a MediaLiveOutputResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMediaLiveOutputResource(ResourceIdentifier) instead.

GetMediaServicesAccount(ResourceGroupResource, String, CancellationToken)

Get the details of a Media Services account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}
  • Operation Id: Mediaservices_Get
GetMediaServicesAccountAsync(ResourceGroupResource, String, CancellationToken)

Get the details of a Media Services account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}
  • Operation Id: Mediaservices_Get
GetMediaServicesAccountFilterResource(ArmClient, ResourceIdentifier)

Gets an object representing a MediaServicesAccountFilterResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MediaServicesAccountFilterResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMediaServicesAccountFilterResource(ResourceIdentifier) instead.

GetMediaServicesAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a MediaServicesAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a MediaServicesAccountResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMediaServicesAccountResource(ResourceIdentifier) instead.

GetMediaServicesAccounts(ResourceGroupResource)

Gets a collection of MediaServicesAccountResources in the ResourceGroupResource. MockingTo mock this method, please mock GetMediaServicesAccounts() instead.

GetMediaServicesAccounts(SubscriptionResource, CancellationToken)

List Media Services accounts in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Media/mediaservices
  • Operation Id: Mediaservices_ListBySubscription
GetMediaServicesAccountsAsync(SubscriptionResource, CancellationToken)

List Media Services accounts in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Media/mediaservices
  • Operation Id: Mediaservices_ListBySubscription
GetMediaServicesPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a MediaServicesPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MediaServicesPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMediaServicesPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetMediaServicesPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a MediaServicesPrivateLinkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MediaServicesPrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMediaServicesPrivateLinkResource(ResourceIdentifier) instead.

GetMediaTransformResource(ArmClient, ResourceIdentifier)

Gets an object representing a MediaTransformResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a MediaTransformResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMediaTransformResource(ResourceIdentifier) instead.

GetStreamingEndpointResource(ArmClient, ResourceIdentifier)

Gets an object representing a StreamingEndpointResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a StreamingEndpointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStreamingEndpointResource(ResourceIdentifier) instead.

GetStreamingLocatorResource(ArmClient, ResourceIdentifier)

Gets an object representing a StreamingLocatorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a StreamingLocatorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStreamingLocatorResource(ResourceIdentifier) instead.

GetStreamingPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a StreamingPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a StreamingPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStreamingPolicyResource(ResourceIdentifier) instead.

Applies to