Partager via


MixedRealityExtensions.CheckMixedRealityNameAvailabilityAsync Méthode

Définition

Vérifier la disponibilité des noms pour l’unicité locale

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.MixedReality/locations/{location}/checkNameAvailability
  • Opération IdCheckNameAvailabilityLocal
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MixedReality.Models.MixedRealityNameAvailabilityResult>> CheckMixedRealityNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.MixedReality.Models.MixedRealityNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckMixedRealityNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.MixedReality.Models.MixedRealityNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MixedReality.Models.MixedRealityNameAvailabilityResult>>
<Extension()>
Public Function CheckMixedRealityNameAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As MixedRealityNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MixedRealityNameAvailabilityResult))

Paramètres

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Emplacement dans lequel l’unicité sera vérifiée.

content
MixedRealityNameAvailabilityContent

Vérifiez la demande de disponibilité de nom.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à