Compartir a través de


WebPubSubExtensions.CheckWebPubSubNameAvailability Método

Definición

Comprueba que el nombre del recurso es válido y que aún no está en uso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability
  • IdWebPubSub_CheckNameAvailability de operaciones
public static Azure.Response<Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailability> CheckWebPubSubNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckWebPubSubNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailability>
<Extension()>
Public Function CheckWebPubSubNameAvailability (subscriptionResource As SubscriptionResource, location As AzureLocation, content As WebPubSubNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of WebPubSubNameAvailability)

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

location
AzureLocation

la región.

content
WebPubSubNameAvailabilityContent

Parámetros proporcionados a la operación.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a