Freigeben über


VoiceServicesExtensions.CheckVoiceServicesNameAvailability Methode

Definition

Überprüfen Sie, ob der Ressourcenname in der angegebenen Region verfügbar ist.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.VoiceServices/locations/{location}/checkNameAvailability
  • Vorgang IdNameAvailability_CheckLocal
public static Azure.Response<Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityResult> CheckVoiceServicesNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckVoiceServicesNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityResult>
<Extension()>
Public Function CheckVoiceServicesNameAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, content As VoiceServicesCheckNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VoiceServicesCheckNameAvailabilityResult)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

location
AzureLocation

Der Speicherort, an dem die Eindeutigkeit überprüft wird.

content
VoiceServicesCheckNameAvailabilityContent

Der Text der Überprüfungsverfügbarkeitsanforderung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: