ArmQuantumModelFactory.WorkspaceNameAvailabilityResult 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.
The check availability result.
public static Azure.ResourceManager.Quantum.Models.WorkspaceNameAvailabilityResult WorkspaceNameAvailabilityResult(bool? isNameAvailable = default, Azure.ResourceManager.Quantum.Models.WorkspaceNameUnavailableReason? reason = default, string message = default);
static member WorkspaceNameAvailabilityResult : Nullable<bool> * Nullable<Azure.ResourceManager.Quantum.Models.WorkspaceNameUnavailableReason> * string -> Azure.ResourceManager.Quantum.Models.WorkspaceNameAvailabilityResult
Public Shared Function WorkspaceNameAvailabilityResult (Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of WorkspaceNameUnavailableReason) = Nothing, Optional message As String = Nothing) As WorkspaceNameAvailabilityResult
Parameters
The reason why the given name is not available.
- message
- String
Detailed reason why the given name is not available.
Returns
A new WorkspaceNameAvailabilityResult instance for mocking.