Partager via


SignalRExtensions.CheckSignalRNameAvailabilityAsync Méthode

Définition

Vérifie que le nom de la ressource est valide et qu’il n’est pas déjà utilisé.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability
  • IdSignalR_CheckNameAvailability d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SignalR.Models.SignalRNameAvailabilityResult>> CheckSignalRNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.SignalR.Models.SignalRNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckSignalRNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.SignalR.Models.SignalRNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SignalR.Models.SignalRNameAvailabilityResult>>
<Extension()>
Public Function CheckSignalRNameAvailabilityAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As SignalRNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SignalRNameAvailabilityResult))

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

location
AzureLocation

la région.

content
SignalRNameAvailabilityContent

Paramètres fournis à l’opération.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à