Profile Class

Class representing a Traffic Manager profile.

Inheritance
azure.mgmt.trafficmanager.models._models_py3.TrackedResource
Profile

Constructor

Profile(*, id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, tags: Optional[Dict[str, str]] = None, location: Optional[str] = None, profile_status: Optional[Union[str, azure.mgmt.trafficmanager.models._traffic_manager_management_client_enums.ProfileStatus]] = None, traffic_routing_method: Optional[Union[str, azure.mgmt.trafficmanager.models._traffic_manager_management_client_enums.TrafficRoutingMethod]] = None, dns_config: Optional[azure.mgmt.trafficmanager.models._models_py3.DnsConfig] = None, monitor_config: Optional[azure.mgmt.trafficmanager.models._models_py3.MonitorConfig] = None, endpoints: Optional[List[azure.mgmt.trafficmanager.models._models_py3.Endpoint]] = None, traffic_view_enrollment_status: Optional[Union[str, azure.mgmt.trafficmanager.models._traffic_manager_management_client_enums.TrafficViewEnrollmentStatus]] = None, allowed_endpoint_record_types: Optional[List[Union[str, azure.mgmt.trafficmanager.models._traffic_manager_management_client_enums.AllowedEndpointRecordType]]] = None, max_return: Optional[int] = None, **kwargs)

Variables

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
dict[str, str]

A set of tags. Resource tags.

location
str

The Azure Region where the resource lives.

profile_status
str or ProfileStatus

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

traffic_routing_method
str or TrafficRoutingMethod

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

dns_config
DnsConfig

The DNS settings of the Traffic Manager profile.

monitor_config
MonitorConfig

The endpoint monitoring settings of the Traffic Manager profile.

endpoints
list[Endpoint]

The list of endpoints in the Traffic Manager profile.

traffic_view_enrollment_status
str or 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".

allowed_endpoint_record_types
list[str or AllowedEndpointRecordType]

The list of allowed endpoint record types.

max_return
<xref:long>

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