次の方法で共有


ManagedEnvironmentResource.CheckContainerAppNameAvailabilityAsync メソッド

定義

リソース名が使用可能かどうかを確認します。 要求パス: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/checkNameAvailability 操作 ID: Namespaces_CheckNameAvailability

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityResponse>> CheckContainerAppNameAvailabilityAsync (Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckContainerAppNameAvailabilityAsync : Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityResponse>>
override this.CheckContainerAppNameAvailabilityAsync : Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.Models.CheckNameAvailabilityResponse>>
Public Overridable Function CheckContainerAppNameAvailabilityAsync (content As CheckNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CheckNameAvailabilityResponse))

パラメーター

content
CheckNameAvailabilityContent

チェック名の可用性要求。

cancellationToken
CancellationToken

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

戻り値

例外

content が null です。

適用対象