ApiManagementServiceNameAvailabilityResult Constructors
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.
Overloads
ApiManagementServiceNameAvailabilityResult() |
Initializes a new instance of the ApiManagementServiceNameAvailabilityResult class. |
ApiManagementServiceNameAvailabilityResult(Nullable<Boolean>, String, Nullable<NameAvailabilityReason>) |
Initializes a new instance of the ApiManagementServiceNameAvailabilityResult class. |
ApiManagementServiceNameAvailabilityResult()
Initializes a new instance of the ApiManagementServiceNameAvailabilityResult class.
public ApiManagementServiceNameAvailabilityResult ();
Public Sub New ()
Applies to
ApiManagementServiceNameAvailabilityResult(Nullable<Boolean>, String, Nullable<NameAvailabilityReason>)
Initializes a new instance of the ApiManagementServiceNameAvailabilityResult class.
public ApiManagementServiceNameAvailabilityResult (bool? nameAvailable = default, string message = default, Microsoft.Azure.Management.ApiManagement.Models.NameAvailabilityReason? reason = default);
new Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceNameAvailabilityResult : Nullable<bool> * string * Nullable<Microsoft.Azure.Management.ApiManagement.Models.NameAvailabilityReason> -> Microsoft.Azure.Management.ApiManagement.Models.ApiManagementServiceNameAvailabilityResult
Public Sub New (Optional nameAvailable As Nullable(Of Boolean) = Nothing, Optional message As String = Nothing, Optional reason As Nullable(Of NameAvailabilityReason) = Nothing)
Parameters
True if the name is available and can be used to create a new API Management service; otherwise false.
- message
- String
If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that <resourceName> is already in use, and direct them to select a different name.
- reason
- Nullable<NameAvailabilityReason>
Invalid indicates the name provided does not match the resource provider’s naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable. Possible values include: 'Valid', 'Invalid', 'AlreadyExists'
Applies to
Azure SDK for .NET