次の方法で共有


VoiceServicesExtensions.CheckVoiceServicesNameAvailability メソッド

定義

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.VoiceServices/locations/{location}/checkNameAvailability
  • 操作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)

パラメーター

subscriptionResource
SubscriptionResource

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

location
AzureLocation

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

content
VoiceServicesCheckNameAvailabilityContent

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

cancellationToken
CancellationToken

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

戻り値

例外

content が null です。

適用対象