次の方法で共有


VoiceServicesExtensions.CheckVoiceServicesNameAvailabilityAsync メソッド

定義

リソース名が特定のリージョンで使用できるかどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.VoiceServices/locations/{location}/checkNameAvailability
  • 操作IdNameAvailability_CheckLocal
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityResult>> CheckVoiceServicesNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckVoiceServicesNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.Models.VoiceServicesCheckNameAvailabilityResult>>
<Extension()>
Public Function CheckVoiceServicesNameAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As VoiceServicesCheckNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VoiceServicesCheckNameAvailabilityResult))

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行されるインスタンス。

location
AzureLocation

一意性が検証される場所。

content
VoiceServicesCheckNameAvailabilityContent

チェック可用性要求本文。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

content が null です。

適用対象