Partilhar via


DigitalTwinsExtensions.CheckDigitalTwinsNameAvailability Método

Definição

Verifique se um nome DigitalTwinsInstance está disponível.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}/checkNameAvailability
  • Operação IdDigitalTwins_CheckNameAvailability
public static Azure.Response<Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsNameResult> CheckDigitalTwinsNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsNameContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckDigitalTwinsNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsNameContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DigitalTwins.Models.DigitalTwinsNameResult>
<Extension()>
Public Function CheckDigitalTwinsNameAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, content As DigitalTwinsNameContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DigitalTwinsNameResult)

Parâmetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Local de DigitalTwinsInstance.

content
DigitalTwinsNameContent

Defina o parâmetro name na estrutura DigitalTwinsInstanceCheckName como o nome do DigitalTwinsInstance como marcar.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a