Partager via


MediaExtensions.CheckMediaServicesNameAvailability Méthode

Définition

Vérifie si le nom de la ressource Media Service est disponible.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/checkNameAvailability
  • IdLocations_CheckNameAvailability d’opération
public static Azure.Response<Azure.ResourceManager.Media.Models.MediaServicesNameAvailabilityResult> CheckMediaServicesNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, Azure.ResourceManager.Media.Models.MediaServicesNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckMediaServicesNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.Media.Models.MediaServicesNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Media.Models.MediaServicesNameAvailabilityResult>
<Extension()>
Public Function CheckMediaServicesNameAvailability (subscriptionResource As SubscriptionResource, locationName As AzureLocation, content As MediaServicesNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MediaServicesNameAvailabilityResult)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

locationName
AzureLocation

Nom de l’emplacement.

content
MediaServicesNameAvailabilityContent

Paramètres de requête.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à