ArmTrafficManagerModelFactory.TrafficManagerProfileData Method

Definition

public static Azure.ResourceManager.TrafficManager.TrafficManagerProfileData TrafficManagerProfileData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation? location = default, Azure.ResourceManager.TrafficManager.Models.TrafficManagerProfileStatus? profileStatus = default, Azure.ResourceManager.TrafficManager.Models.TrafficRoutingMethod? trafficRoutingMethod = default, Azure.ResourceManager.TrafficManager.Models.TrafficManagerDnsConfig dnsConfig = default, Azure.ResourceManager.TrafficManager.Models.TrafficManagerMonitorConfig monitorConfig = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData> endpoints = default, Azure.ResourceManager.TrafficManager.Models.TrafficViewEnrollmentStatus? trafficViewEnrollmentStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.TrafficManager.Models.AllowedEndpointRecordType> allowedEndpointRecordTypes = default, long? maxReturn = default, Azure.ResourceManager.TrafficManager.Models.TrafficManagerRecordType? recordType = default);
static member TrafficManagerProfileData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.TrafficManager.Models.TrafficManagerProfileStatus> * Nullable<Azure.ResourceManager.TrafficManager.Models.TrafficRoutingMethod> * Azure.ResourceManager.TrafficManager.Models.TrafficManagerDnsConfig * Azure.ResourceManager.TrafficManager.Models.TrafficManagerMonitorConfig * seq<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointData> * Nullable<Azure.ResourceManager.TrafficManager.Models.TrafficViewEnrollmentStatus> * seq<Azure.ResourceManager.TrafficManager.Models.AllowedEndpointRecordType> * Nullable<int64> * Nullable<Azure.ResourceManager.TrafficManager.Models.TrafficManagerRecordType> -> Azure.ResourceManager.TrafficManager.TrafficManagerProfileData
Public Shared Function TrafficManagerProfileData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional profileStatus As Nullable(Of TrafficManagerProfileStatus) = Nothing, Optional trafficRoutingMethod As Nullable(Of TrafficRoutingMethod) = Nothing, Optional dnsConfig As TrafficManagerDnsConfig = Nothing, Optional monitorConfig As TrafficManagerMonitorConfig = Nothing, Optional endpoints As IEnumerable(Of TrafficManagerEndpointData) = Nothing, Optional trafficViewEnrollmentStatus As Nullable(Of TrafficViewEnrollmentStatus) = Nothing, Optional allowedEndpointRecordTypes As IEnumerable(Of AllowedEndpointRecordType) = Nothing, Optional maxReturn As Nullable(Of Long) = Nothing, Optional recordType As Nullable(Of TrafficManagerRecordType) = Nothing) As TrafficManagerProfileData

Parameters

id
ResourceIdentifier

Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}.

name
String

The name of the resource.

resourceType
Nullable<ResourceType>

The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

tags
IDictionary<String,String>

Resource tags.

location
Nullable<AzureLocation>

The Azure Region where the resource lives.

profileStatus
Nullable<TrafficManagerProfileStatus>

The status of the Traffic Manager profile.

trafficRoutingMethod
Nullable<TrafficRoutingMethod>

The traffic routing method of the Traffic Manager profile.

dnsConfig
TrafficManagerDnsConfig

The DNS settings of the Traffic Manager profile.

monitorConfig
TrafficManagerMonitorConfig

The endpoint monitoring settings of the Traffic Manager profile.

endpoints
IEnumerable<TrafficManagerEndpointData>

The list of endpoints in the Traffic Manager profile.

trafficViewEnrollmentStatus
Nullable<TrafficViewEnrollmentStatus>

Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.

allowedEndpointRecordTypes
IEnumerable<AllowedEndpointRecordType>

The list of allowed endpoint record types.

maxReturn
Nullable<Int64>

Maximum number of endpoints to be returned for MultiValue routing type.

recordType
Nullable<TrafficManagerRecordType>

When record type is set, a traffic manager profile will allow only endpoints that match this type.

Returns

A new TrafficManagerProfileData instance for mocking.

Applies to