MockableWebPubSubSubscriptionResource.CheckWebPubSubNameAvailability Method

Definition

Checks that the resource name is valid and is not already in use.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability
  • Operation Id: WebPubSub_CheckNameAvailability
  • Default Api Version: 2021-10-01
  • Resource: WebPubSubResource
public virtual Azure.Response<Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailability> CheckWebPubSubNameAvailability (Azure.Core.AzureLocation location, Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckWebPubSubNameAvailability : Azure.Core.AzureLocation * Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailability>
override this.CheckWebPubSubNameAvailability : Azure.Core.AzureLocation * Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailability>
Public Overridable Function CheckWebPubSubNameAvailability (location As AzureLocation, content As WebPubSubNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of WebPubSubNameAvailability)

Parameters

location
AzureLocation

the region.

content
WebPubSubNameAvailabilityContent

Parameters supplied to the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to