ArmCdnModelFactory.CdnNameAvailabilityResult Method

Definition

Initializes a new instance of CdnNameAvailabilityResult.

public static Azure.ResourceManager.Cdn.Models.CdnNameAvailabilityResult CdnNameAvailabilityResult (bool? nameAvailable = default, string reason = default, string message = default);
static member CdnNameAvailabilityResult : Nullable<bool> * string * string -> Azure.ResourceManager.Cdn.Models.CdnNameAvailabilityResult
Public Shared Function CdnNameAvailabilityResult (Optional nameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As String = Nothing, Optional message As String = Nothing) As CdnNameAvailabilityResult

Parameters

nameAvailable
Nullable<Boolean>

Indicates whether the name is available.

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 CdnNameAvailabilityResult instance for mocking.

Applies to