共用方式為


ArmTrafficManagerModelFactory.TrafficManagerNameAvailabilityResult Method

Definition

Initializes a new instance of TrafficManagerNameAvailabilityResult.

public static Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult TrafficManagerNameAvailabilityResult (string name = default, Azure.Core.ResourceType? resourceType = default, bool? isNameAvailable = default, string unavailableReason = default, string message = default);
static member TrafficManagerNameAvailabilityResult : string * Nullable<Azure.Core.ResourceType> * Nullable<bool> * string * string -> Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult
Public Shared Function TrafficManagerNameAvailabilityResult (Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional unavailableReason As String = Nothing, Optional message As String = Nothing) As TrafficManagerNameAvailabilityResult

Parameters

name
String

The relative name.

resourceType
Nullable<ResourceType>

Traffic Manager profile resource type.

isNameAvailable
Nullable<Boolean>

Describes whether the relative name is available or not.

unavailableReason
String

The reason why the name is not available, when applicable.

message
String

Descriptive message that explains why the name is not available, when applicable.

Returns

A new TrafficManagerNameAvailabilityResult instance for mocking.

Applies to