次の方法で共有


MixedRealityExtensions.CheckMixedRealityNameAvailabilityAsync メソッド

定義

[名前の可用性] でローカルの一意性を確認する

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

パラメーター

subscriptionResource
SubscriptionResource

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

location
AzureLocation

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

content
MixedRealityNameAvailabilityContent

[名前の可用性要求] を確認します。

cancellationToken
CancellationToken

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

戻り値

例外

content が null です。

適用対象