ArmCdnModelFactory.EndpointNameAvailabilityResult 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.
Initializes a new instance of EndpointNameAvailabilityResult.
public static Azure.ResourceManager.Cdn.Models.EndpointNameAvailabilityResult EndpointNameAvailabilityResult (bool? nameAvailable = default, string availableHostname = default, string reason = default, string message = default);
static member EndpointNameAvailabilityResult : Nullable<bool> * string * string * string -> Azure.ResourceManager.Cdn.Models.EndpointNameAvailabilityResult
Public Shared Function EndpointNameAvailabilityResult (Optional nameAvailable As Nullable(Of Boolean) = Nothing, Optional availableHostname As String = Nothing, Optional reason As String = Nothing, Optional message As String = Nothing) As EndpointNameAvailabilityResult
Parameters
- availableHostname
- String
Returns the available hostname generated based on the AutoGeneratedDomainNameLabelScope when the name is available, otherwise it returns empty string.
- reason
- String
The reason why the name is not available.
- message
- String
The detailed error message describing why the name is not available.
Returns
A new EndpointNameAvailabilityResult instance for mocking.
Applies to
Azure SDK for .NET