次の方法で共有


HDInsightContainersExtensions.CheckHDInsightNameAvailability メソッド

定義

リソース名の可用性を確認します。

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

パラメーター

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Azure リージョンの名前。

content
HDInsightNameAvailabilityContent

リソースの名前と種類。

cancellationToken
CancellationToken

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

戻り値

例外

content が null です。

適用対象