ArmCdnModelFactory.EndpointNameAvailabilityResult Method

Definition

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

nameAvailable
Nullable<Boolean>

Indicates whether the name is available.

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