Share via


MockableFabricSubscriptionResource.CheckFabricCapacityNameAvailabilityAsync Method

Definition

Implements local CheckNameAvailability operations

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Fabric/locations/{location}/checkNameAvailability
  • Operation Id: FabricCapacities_CheckFabricCapacityNameAvailability
  • Default Api Version: 2023-11-01
  • Resource: FabricCapacityResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Fabric.Models.FabricNameAvailabilityResult>> CheckFabricCapacityNameAvailabilityAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.Fabric.Models.FabricNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckFabricCapacityNameAvailabilityAsync : Azure.Core.AzureLocation * Azure.ResourceManager.Fabric.Models.FabricNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Fabric.Models.FabricNameAvailabilityResult>>
override this.CheckFabricCapacityNameAvailabilityAsync : Azure.Core.AzureLocation * Azure.ResourceManager.Fabric.Models.FabricNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Fabric.Models.FabricNameAvailabilityResult>>
Public Overridable Function CheckFabricCapacityNameAvailabilityAsync (location As AzureLocation, content As FabricNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FabricNameAvailabilityResult))

Parameters

location
AzureLocation

The name of the Azure region.

content
FabricNameAvailabilityContent

The CheckAvailability request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to