Udostępnij za pośrednictwem


Profile Constructors

Definition

Overloads

Profile()

Initializes a new instance of the Profile class.

Profile(String, String, String, IDictionary<String,String>, String, Nullable<ProfileStatus>, Nullable<TrafficRoutingMethod>, DnsConfig, MonitorConfig, IList<Endpoint>, Nullable<TrafficViewEnrollmentStatus>, IList<Nullable<AllowedEndpointRecordType>>, Nullable<Int64>)

Initializes a new instance of the Profile class.

Profile()

Initializes a new instance of the Profile class.

public Profile ();
Public Sub New ()

Applies to

Profile(String, String, String, IDictionary<String,String>, String, Nullable<ProfileStatus>, Nullable<TrafficRoutingMethod>, DnsConfig, MonitorConfig, IList<Endpoint>, Nullable<TrafficViewEnrollmentStatus>, IList<Nullable<AllowedEndpointRecordType>>, Nullable<Int64>)

Initializes a new instance of the Profile class.

public Profile (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string location = default, Microsoft.Azure.Management.TrafficManager.Models.ProfileStatus? profileStatus = default, Microsoft.Azure.Management.TrafficManager.Models.TrafficRoutingMethod? trafficRoutingMethod = default, Microsoft.Azure.Management.TrafficManager.Models.DnsConfig dnsConfig = default, Microsoft.Azure.Management.TrafficManager.Models.MonitorConfig monitorConfig = default, System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Models.Endpoint> endpoints = default, Microsoft.Azure.Management.TrafficManager.Models.TrafficViewEnrollmentStatus? trafficViewEnrollmentStatus = default, System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Models.AllowedEndpointRecordType?> allowedEndpointRecordTypes = default, long? maxReturn = default);
new Microsoft.Azure.Management.TrafficManager.Models.Profile : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<Microsoft.Azure.Management.TrafficManager.Models.ProfileStatus> * Nullable<Microsoft.Azure.Management.TrafficManager.Models.TrafficRoutingMethod> * Microsoft.Azure.Management.TrafficManager.Models.DnsConfig * Microsoft.Azure.Management.TrafficManager.Models.MonitorConfig * System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Models.Endpoint> * Nullable<Microsoft.Azure.Management.TrafficManager.Models.TrafficViewEnrollmentStatus> * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.TrafficManager.Models.AllowedEndpointRecordType>> * Nullable<int64> -> Microsoft.Azure.Management.TrafficManager.Models.Profile
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As String = Nothing, Optional profileStatus As Nullable(Of ProfileStatus) = Nothing, Optional trafficRoutingMethod As Nullable(Of TrafficRoutingMethod) = Nothing, Optional dnsConfig As DnsConfig = Nothing, Optional monitorConfig As MonitorConfig = Nothing, Optional endpoints As IList(Of Endpoint) = Nothing, Optional trafficViewEnrollmentStatus As Nullable(Of TrafficViewEnrollmentStatus) = Nothing, Optional allowedEndpointRecordTypes As IList(Of Nullable(Of AllowedEndpointRecordType)) = Nothing, Optional maxReturn As Nullable(Of Long) = Nothing)

Parameters

id
String

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

name
String

The name of the resource

type
String

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

tags
IDictionary<String,String>

Resource tags.

location
String

The Azure Region where the resource lives

profileStatus
Nullable<ProfileStatus>

The status of the Traffic Manager profile. Possible values include: 'Enabled', 'Disabled'

trafficRoutingMethod
Nullable<TrafficRoutingMethod>

The traffic routing method of the Traffic Manager profile. Possible values include: 'Performance', 'Priority', 'Weighted', 'Geographic', 'MultiValue', 'Subnet'

dnsConfig
DnsConfig

The DNS settings of the Traffic Manager profile.

monitorConfig
MonitorConfig

The endpoint monitoring settings of the Traffic Manager profile.

endpoints
IList<Endpoint>

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. Possible values include: 'Enabled', 'Disabled'

allowedEndpointRecordTypes
IList<Nullable<AllowedEndpointRecordType>>

The list of allowed endpoint record types.

maxReturn
Nullable<Int64>

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

Applies to