Partilhar via


SignalRExtensions.CheckSignalRNameAvailability Método

Definição

Verifica se o nome do recurso é válido e ainda não está em uso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability
  • IdSignalR_CheckNameAvailability de operação
public static Azure.Response<Azure.ResourceManager.SignalR.Models.SignalRNameAvailabilityResult> CheckSignalRNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.SignalR.Models.SignalRNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckSignalRNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.SignalR.Models.SignalRNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SignalR.Models.SignalRNameAvailabilityResult>
<Extension()>
Public Function CheckSignalRNameAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, content As SignalRNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SignalRNameAvailabilityResult)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

location
AzureLocation

a região.

content
SignalRNameAvailabilityContent

Parâmetros fornecidos para a operação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a