MockablePowerBIDedicatedSubscriptionResource.CheckNameAvailabilityCapacity 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.
Check the name availability in the target location.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.PowerBIDedicated/locations/{location}/checkNameAvailability
- Operation Id: Capacities_CheckNameAvailability
public virtual Azure.Response<Azure.ResourceManager.PowerBIDedicated.Models.CheckCapacityNameAvailabilityResult> CheckNameAvailabilityCapacity (Azure.Core.AzureLocation location, Azure.ResourceManager.PowerBIDedicated.Models.CheckCapacityNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNameAvailabilityCapacity : Azure.Core.AzureLocation * Azure.ResourceManager.PowerBIDedicated.Models.CheckCapacityNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PowerBIDedicated.Models.CheckCapacityNameAvailabilityResult>
override this.CheckNameAvailabilityCapacity : Azure.Core.AzureLocation * Azure.ResourceManager.PowerBIDedicated.Models.CheckCapacityNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PowerBIDedicated.Models.CheckCapacityNameAvailabilityResult>
Public Overridable Function CheckNameAvailabilityCapacity (location As AzureLocation, content As CheckCapacityNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CheckCapacityNameAvailabilityResult)
Parameters
- location
- AzureLocation
The region name which the operation will lookup into.
The name of the capacity.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET