ArmTrafficManagerModelFactory.TrafficManagerNameAvailabilityResult 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 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.
- 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.