ArmDevOpsInfrastructureModelFactory.DevOpsCheckNameAvailabilityResult 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 CheckNameAvailability operation response.
public static Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsCheckNameAvailabilityResult DevOpsCheckNameAvailabilityResult(Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsAvailabilityStatus available = default, string message = default, string name = default, Azure.ResourceManager.DevOpsInfrastructure.Models.CheckNameAvailabilityReason reason = default);
static member DevOpsCheckNameAvailabilityResult : Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsAvailabilityStatus * string * string * Azure.ResourceManager.DevOpsInfrastructure.Models.CheckNameAvailabilityReason -> Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsCheckNameAvailabilityResult
Public Shared Function DevOpsCheckNameAvailabilityResult (Optional available As DevOpsAvailabilityStatus = Nothing, Optional message As String = Nothing, Optional name As String = Nothing, Optional reason As CheckNameAvailabilityReason = Nothing) As DevOpsCheckNameAvailabilityResult
Parameters
- available
- DevOpsAvailabilityStatus
Availability status of the name.
- message
- String
A message explaining why the name is unavailable. Will be null if the name is available.
- name
- String
The name whose availability was checked.
- reason
- CheckNameAvailabilityReason
The reason code explaining why the name is unavailable. Will be null if the name is available.
Returns
A new DevOpsCheckNameAvailabilityResult instance for mocking.