Profile Class

Class representing a Traffic Manager profile.

Constructor

Profile(*, id: str | None = None, name: str | None = None, type: str | None = None, tags: Dict[str, str] | None = None, location: str | None = None, profile_status: str | _models.ProfileStatus | None = None, traffic_routing_method: str | _models.TrafficRoutingMethod | None = None, dns_config: _models.DnsConfig | None = None, monitor_config: _models.MonitorConfig | None = None, endpoints: List[_models.Endpoint] | None = None, traffic_view_enrollment_status: str | _models.TrafficViewEnrollmentStatus | None = None, allowed_endpoint_record_types: List[str | _models.AllowedEndpointRecordType] | None = None, max_return: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

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

Default value: None
name
str

The name of the resource.

Default value: None
type
str

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

Default value: None
tags

Resource tags.

Default value: None
location
str

The Azure Region where the resource lives.

Default value: None
profile_status

The status of the Traffic Manager profile. Known values are: "Enabled" and "Disabled".

Default value: None
traffic_routing_method

The traffic routing method of the Traffic Manager profile. Known values are: "Performance", "Priority", "Weighted", "Geographic", "MultiValue", and "Subnet".

Default value: None
dns_config

The DNS settings of the Traffic Manager profile.

Default value: None
monitor_config

The endpoint monitoring settings of the Traffic Manager profile.

Default value: None
endpoints

The list of endpoints in the Traffic Manager profile.

Default value: None
traffic_view_enrollment_status

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. Known values are: "Enabled" and "Disabled".

Default value: None
allowed_endpoint_record_types

The list of allowed endpoint record types.

Default value: None
max_return
int

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

Default value: None

Variables

Name Description
id
str

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

name
str

The name of the resource.

type
str

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

tags

Resource tags.

location
str

The Azure Region where the resource lives.

profile_status

The status of the Traffic Manager profile. Known values are: "Enabled" and "Disabled".

traffic_routing_method

The traffic routing method of the Traffic Manager profile. Known values are: "Performance", "Priority", "Weighted", "Geographic", "MultiValue", and "Subnet".

dns_config

The DNS settings of the Traffic Manager profile.

monitor_config

The endpoint monitoring settings of the Traffic Manager profile.

endpoints

The list of endpoints in the Traffic Manager profile.

traffic_view_enrollment_status

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. Known values are: "Enabled" and "Disabled".

allowed_endpoint_record_types

The list of allowed endpoint record types.

max_return
int

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