MockableQuantumSubscriptionResource.CheckWorkspaceNameAvailability 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 availability of the resource name for the given location.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{location}/checkNameAvailability.
- Operation Id. : Workspaces_CheckNameAvailability.
- Default Api Version. : 2025-12-15-preview.
public virtual Azure.Response<Azure.ResourceManager.Quantum.Models.WorkspaceNameAvailabilityResult> CheckWorkspaceNameAvailability(Azure.Core.AzureLocation location, Azure.ResourceManager.Quantum.Models.WorkspaceNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckWorkspaceNameAvailability : Azure.Core.AzureLocation * Azure.ResourceManager.Quantum.Models.WorkspaceNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Quantum.Models.WorkspaceNameAvailabilityResult>
override this.CheckWorkspaceNameAvailability : Azure.Core.AzureLocation * Azure.ResourceManager.Quantum.Models.WorkspaceNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Quantum.Models.WorkspaceNameAvailabilityResult>
Public Overridable Function CheckWorkspaceNameAvailability (location As AzureLocation, content As WorkspaceNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of WorkspaceNameAvailabilityResult)
Parameters
- location
- AzureLocation
The name of the Azure region.
- content
- WorkspaceNameAvailabilityContent
The CheckAvailability request.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content is null.