Partilhar via


IotCentralExtensions.CheckIotCentralAppNameAvailabilityAsync Método

Definição

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

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.IoTCentral/checkNameAvailability
  • IdApps_CheckNameAvailability de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.IotCentral.Models.IotCentralAppNameAvailabilityResponse>> CheckIotCentralAppNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.IotCentral.Models.IotCentralAppNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckIotCentralAppNameAvailabilityAsync : 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 CheckIotCentralAppNameAvailabilityAsync (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 na qual o método será executado.

content
IotCentralAppNameAvailabilityContent

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a