MockableWebPubSubSubscriptionResource.CheckWebPubSubNameAvailabilityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailability>> CheckWebPubSubNameAvailabilityAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckWebPubSubNameAvailabilityAsync : Azure.Core.AzureLocation * Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailability>>
override this.CheckWebPubSubNameAvailabilityAsync : Azure.Core.AzureLocation * Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailability>>
Public Overridable Function CheckWebPubSubNameAvailabilityAsync (location As AzureLocation, content As WebPubSubNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET