Partilhar via


IotCentralExtensions.CheckIotCentralAppSubdomainAvailabilityAsync Método

Definição

Verifique se um subdomínio de aplicativo do IoT Central está disponível.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.IoTCentral/checkSubdomainAvailability
  • Operação IdApps_CheckSubdomainAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotCentral.Models.IotCentralAppNameAvailabilityResponse>> CheckIotCentralAppSubdomainAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.IotCentral.Models.IotCentralAppNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckIotCentralAppSubdomainAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.IotCentral.Models.IotCentralAppNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotCentral.Models.IotCentralAppNameAvailabilityResponse>>
<Extension()>
Public Function CheckIotCentralAppSubdomainAvailabilityAsync (subscriptionResource As SubscriptionResource, content As IotCentralAppNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IotCentralAppNameAvailabilityResponse))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

content
IotCentralAppNameAvailabilityContent

Defina o parâmetro name na estrutura OperationInputs como o subdomínio do aplicativo IoT Central como marcar.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a