azure.mgmt.trafficmanager.models module¶
-
class
azure.mgmt.trafficmanager.models.
AllowedEndpointRecordType
(value)[source]¶ -
The allowed type DNS record types for this profile.
-
ANY
= 'Any'¶
-
DOMAIN_NAME
= 'DomainName'¶
-
I_PV4_ADDRESS
= 'IPv4Address'¶
-
I_PV6_ADDRESS
= 'IPv6Address'¶
-
-
class
azure.mgmt.trafficmanager.models.
AlwaysServe
(value)[source]¶ -
If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
-
DISABLED
= 'Disabled'¶
-
ENABLED
= 'Enabled'¶
-
-
class
azure.mgmt.trafficmanager.models.
CheckTrafficManagerRelativeDnsNameAvailabilityParameters
(*, name: Optional[str] = None, type: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Parameters supplied to check Traffic Manager name operation.
-
class
azure.mgmt.trafficmanager.models.
CloudErrorBody
(*, code: Optional[str] = None, message: Optional[str] = None, target: Optional[str] = None, details: Optional[List[_models.CloudErrorBody]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
The content of an error returned by the Azure Resource Manager.
-
class
azure.mgmt.trafficmanager.models.
DeleteOperationResult
(**kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
The result of the request or operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
operation_result (bool) – The result of the operation or request.
-
class
azure.mgmt.trafficmanager.models.
DnsConfig
(*, relative_name: Optional[str] = None, ttl: Optional[int] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Class containing DNS settings in a Traffic Manager profile.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
relative_name (str) – The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
fqdn (str) – The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
ttl (int) – The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- Keyword Arguments
relative_name (str) – The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
ttl (int) – The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
-
class
azure.mgmt.trafficmanager.models.
Endpoint
(*, id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, target_resource_id: Optional[str] = None, target: Optional[str] = None, endpoint_status: Optional[Union[str, _models.EndpointStatus]] = None, weight: Optional[int] = None, priority: Optional[int] = None, endpoint_location: Optional[str] = None, endpoint_monitor_status: Optional[Union[str, _models.EndpointMonitorStatus]] = None, min_child_endpoints: Optional[int] = None, min_child_endpoints_i_pv4: Optional[int] = None, min_child_endpoints_i_pv6: Optional[int] = None, geo_mapping: Optional[List[str]] = None, subnets: Optional[List[_models.EndpointPropertiesSubnetsItem]] = None, custom_headers: Optional[List[_models.EndpointPropertiesCustomHeadersItem]] = None, always_serve: Optional[Union[str, _models.AlwaysServe]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager.models._models_py3.ProxyResource
Class representing a Traffic Manager endpoint.
- 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.
target_resource_id (str) – The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type ‘ExternalEndpoints’.
target (str) – The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
endpoint_status (str or EndpointStatus) – The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method. Known values are: “Enabled” and “Disabled”.
weight (int) – The weight of this endpoint when using the ‘Weighted’ traffic routing method. Possible values are from 1 to 1000.
priority (int) – The priority of this endpoint when using the ‘Priority’ traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
endpoint_location (str) – Specifies the location of the external or nested endpoints when using the ‘Performance’ traffic routing method.
endpoint_monitor_status (str or EndpointMonitorStatus) – The monitoring status of the endpoint. Known values are: “CheckingEndpoint”, “Online”, “Degraded”, “Disabled”, “Inactive”, and “Stopped”.
min_child_endpoints (int) – The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type ‘NestedEndpoints’.
min_child_endpoints_i_pv4 (int) – The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type ‘NestedEndpoints’.
min_child_endpoints_i_pv6 (int) – The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type ‘NestedEndpoints’.
geo_mapping (list[str]) – The list of countries/regions mapped to this endpoint when using the ‘Geographic’ traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
subnets (list[EndpointPropertiesSubnetsItem]) – The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the ‘Subnet’ traffic routing method. An empty list will match all ranges not covered by other endpoints.
custom_headers (list[EndpointPropertiesCustomHeadersItem]) – List of custom headers.
always_serve (str or AlwaysServe) – If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method. Known values are: “Enabled” and “Disabled”.
- Keyword Arguments
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.
target_resource_id (str) – The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type ‘ExternalEndpoints’.
target (str) – The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
endpoint_status (str or EndpointStatus) – The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method. Known values are: “Enabled” and “Disabled”.
weight (int) – The weight of this endpoint when using the ‘Weighted’ traffic routing method. Possible values are from 1 to 1000.
priority (int) – The priority of this endpoint when using the ‘Priority’ traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
endpoint_location (str) – Specifies the location of the external or nested endpoints when using the ‘Performance’ traffic routing method.
endpoint_monitor_status (str or EndpointMonitorStatus) – The monitoring status of the endpoint. Known values are: “CheckingEndpoint”, “Online”, “Degraded”, “Disabled”, “Inactive”, and “Stopped”.
min_child_endpoints (int) – The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type ‘NestedEndpoints’.
min_child_endpoints_i_pv4 (int) – The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type ‘NestedEndpoints’.
min_child_endpoints_i_pv6 (int) – The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type ‘NestedEndpoints’.
geo_mapping (list[str]) – The list of countries/regions mapped to this endpoint when using the ‘Geographic’ traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
subnets (list[EndpointPropertiesSubnetsItem]) – The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the ‘Subnet’ traffic routing method. An empty list will match all ranges not covered by other endpoints.
custom_headers (list[EndpointPropertiesCustomHeadersItem]) – List of custom headers.
always_serve (str or AlwaysServe) – If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method. Known values are: “Enabled” and “Disabled”.
-
class
azure.mgmt.trafficmanager.models.
EndpointMonitorStatus
(value)[source]¶ -
The monitoring status of the endpoint.
-
CHECKING_ENDPOINT
= 'CheckingEndpoint'¶
-
DEGRADED
= 'Degraded'¶
-
DISABLED
= 'Disabled'¶
-
INACTIVE
= 'Inactive'¶
-
ONLINE
= 'Online'¶
-
STOPPED
= 'Stopped'¶
-
-
class
azure.mgmt.trafficmanager.models.
EndpointPropertiesCustomHeadersItem
(*, name: Optional[str] = None, value: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Custom header name and value.
-
class
azure.mgmt.trafficmanager.models.
EndpointPropertiesSubnetsItem
(*, first: Optional[str] = None, last: Optional[str] = None, scope: Optional[int] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Subnet first address, scope, and/or last address.
- Variables
- Keyword Arguments
-
class
azure.mgmt.trafficmanager.models.
EndpointStatus
(value)[source]¶ -
The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
-
DISABLED
= 'Disabled'¶
-
ENABLED
= 'Enabled'¶
-
-
class
azure.mgmt.trafficmanager.models.
EndpointType
(value)[source]¶ -
EndpointType.
-
AZURE_ENDPOINTS
= 'AzureEndpoints'¶
-
EXTERNAL_ENDPOINTS
= 'ExternalEndpoints'¶
-
NESTED_ENDPOINTS
= 'NestedEndpoints'¶
-
-
class
azure.mgmt.trafficmanager.models.
HeatMapEndpoint
(*, resource_id: Optional[str] = None, endpoint_id: Optional[int] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Class which is a sparse representation of a Traffic Manager endpoint.
- Variables
- Keyword Arguments
-
class
azure.mgmt.trafficmanager.models.
HeatMapModel
(*, id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, start_time: Optional[datetime.datetime] = None, end_time: Optional[datetime.datetime] = None, endpoints: Optional[List[_models.HeatMapEndpoint]] = None, traffic_flows: Optional[List[_models.TrafficFlow]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager.models._models_py3.ProxyResource
Class representing a Traffic Manager HeatMap.
- 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.
start_time (datetime) – The beginning of the time window for this HeatMap, inclusive.
end_time (datetime) – The ending of the time window for this HeatMap, exclusive.
endpoints (list[HeatMapEndpoint]) – The endpoints used in this HeatMap calculation.
traffic_flows (list[TrafficFlow]) – The traffic flows produced in this HeatMap calculation.
- Keyword Arguments
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.
start_time (datetime) – The beginning of the time window for this HeatMap, inclusive.
end_time (datetime) – The ending of the time window for this HeatMap, exclusive.
endpoints (list[HeatMapEndpoint]) – The endpoints used in this HeatMap calculation.
traffic_flows (list[TrafficFlow]) – The traffic flows produced in this HeatMap calculation.
-
class
azure.mgmt.trafficmanager.models.
MonitorConfig
(*, profile_monitor_status: Optional[Union[str, _models.ProfileMonitorStatus]] = None, protocol: Optional[Union[str, _models.MonitorProtocol]] = None, port: Optional[int] = None, path: Optional[str] = None, interval_in_seconds: Optional[int] = None, timeout_in_seconds: Optional[int] = None, tolerated_number_of_failures: Optional[int] = None, custom_headers: Optional[List[_models.MonitorConfigCustomHeadersItem]] = None, expected_status_code_ranges: Optional[List[_models.MonitorConfigExpectedStatusCodeRangesItem]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Class containing endpoint monitoring settings in a Traffic Manager profile.
- Variables
profile_monitor_status (str or ProfileMonitorStatus) – The profile-level monitoring status of the Traffic Manager profile. Known values are: “CheckingEndpoints”, “Online”, “Degraded”, “Disabled”, and “Inactive”.
protocol (str or MonitorProtocol) – The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. Known values are: “HTTP”, “HTTPS”, and “TCP”.
port (int) – The TCP port used to probe for endpoint health.
path (str) – The path relative to the endpoint domain name used to probe for endpoint health.
interval_in_seconds (int) – The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
timeout_in_seconds (int) – The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
tolerated_number_of_failures (int) – The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
custom_headers (list[MonitorConfigCustomHeadersItem]) – List of custom headers.
expected_status_code_ranges (list[MonitorConfigExpectedStatusCodeRangesItem]) – List of expected status code ranges.
- Keyword Arguments
profile_monitor_status (str or ProfileMonitorStatus) – The profile-level monitoring status of the Traffic Manager profile. Known values are: “CheckingEndpoints”, “Online”, “Degraded”, “Disabled”, and “Inactive”.
protocol (str or MonitorProtocol) – The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. Known values are: “HTTP”, “HTTPS”, and “TCP”.
port (int) – The TCP port used to probe for endpoint health.
path (str) – The path relative to the endpoint domain name used to probe for endpoint health.
interval_in_seconds (int) – The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
timeout_in_seconds (int) – The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
tolerated_number_of_failures (int) – The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
custom_headers (list[MonitorConfigCustomHeadersItem]) – List of custom headers.
expected_status_code_ranges (list[MonitorConfigExpectedStatusCodeRangesItem]) – List of expected status code ranges.
-
class
azure.mgmt.trafficmanager.models.
MonitorConfigCustomHeadersItem
(*, name: Optional[str] = None, value: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Custom header name and value.
-
class
azure.mgmt.trafficmanager.models.
MonitorConfigExpectedStatusCodeRangesItem
(*, min: Optional[int] = None, max: Optional[int] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Min and max value of a status code range.
-
class
azure.mgmt.trafficmanager.models.
MonitorProtocol
(value)[source]¶ -
The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
-
HTTP
= 'HTTP'¶
-
HTTPS
= 'HTTPS'¶
-
TCP
= 'TCP'¶
-
-
class
azure.mgmt.trafficmanager.models.
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, _models.ProfileStatus]] = None, traffic_routing_method: Optional[Union[str, _models.TrafficRoutingMethod]] = None, dns_config: Optional[_models.DnsConfig] = None, monitor_config: Optional[_models.MonitorConfig] = None, endpoints: Optional[List[_models.Endpoint]] = None, traffic_view_enrollment_status: Optional[Union[str, _models.TrafficViewEnrollmentStatus]] = None, allowed_endpoint_record_types: Optional[List[Union[str, _models.AllowedEndpointRecordType]]] = None, max_return: Optional[int] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager.models._models_py3.TrackedResource
Class representing a Traffic Manager profile.
- 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.
location (str) – The Azure Region where the resource lives.
profile_status (str or ProfileStatus) – The status of the Traffic Manager profile. Known values are: “Enabled” and “Disabled”.
traffic_routing_method (str or TrafficRoutingMethod) – The traffic routing method of the Traffic Manager profile. Known values are: “Performance”, “Priority”, “Weighted”, “Geographic”, “MultiValue”, and “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. Known values are: “Enabled” and “Disabled”.
allowed_endpoint_record_types (list[str or AllowedEndpointRecordType]) – The list of allowed endpoint record types.
max_return (int) – Maximum number of endpoints to be returned for MultiValue routing type.
- Keyword Arguments
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.
location (str) – The Azure Region where the resource lives.
profile_status (str or ProfileStatus) – The status of the Traffic Manager profile. Known values are: “Enabled” and “Disabled”.
traffic_routing_method (str or TrafficRoutingMethod) – The traffic routing method of the Traffic Manager profile. Known values are: “Performance”, “Priority”, “Weighted”, “Geographic”, “MultiValue”, and “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. Known values are: “Enabled” and “Disabled”.
allowed_endpoint_record_types (list[str or AllowedEndpointRecordType]) – The list of allowed endpoint record types.
max_return (int) – Maximum number of endpoints to be returned for MultiValue routing type.
-
class
azure.mgmt.trafficmanager.models.
ProfileListResult
(*, value: Optional[List[_models.Profile]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
The list Traffic Manager profiles operation response.
-
class
azure.mgmt.trafficmanager.models.
ProfileMonitorStatus
(value)[source]¶ -
The profile-level monitoring status of the Traffic Manager profile.
-
CHECKING_ENDPOINTS
= 'CheckingEndpoints'¶
-
DEGRADED
= 'Degraded'¶
-
DISABLED
= 'Disabled'¶
-
INACTIVE
= 'Inactive'¶
-
ONLINE
= 'Online'¶
-
-
class
azure.mgmt.trafficmanager.models.
ProfileStatus
(value)[source]¶ -
The status of the Traffic Manager profile.
-
DISABLED
= 'Disabled'¶
-
ENABLED
= 'Enabled'¶
-
-
class
azure.mgmt.trafficmanager.models.
ProxyResource
(*, id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager.models._models_py3.Resource
The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.
- 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.
- Keyword Arguments
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.
-
class
azure.mgmt.trafficmanager.models.
QueryExperience
(*, endpoint_id: int, query_count: int, latency: Optional[float] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Class representing a Traffic Manager HeatMap query experience properties.
All required parameters must be populated in order to send to Azure.
- Variables
- Keyword Arguments
-
class
azure.mgmt.trafficmanager.models.
Region
(*, code: Optional[str] = None, name: Optional[str] = None, regions: Optional[List[_models.Region]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Class representing a region in the Geographic hierarchy used with the Geographic traffic routing method.
- Variables
- Keyword Arguments
-
class
azure.mgmt.trafficmanager.models.
Resource
(*, id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
The core properties of ARM resources.
- 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.
- Keyword Arguments
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.
-
class
azure.mgmt.trafficmanager.models.
TrackedResource
(*, id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, tags: Optional[Dict[str, str]] = None, location: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager.models._models_py3.Resource
The resource model definition for a ARM tracked top level resource.
- 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.
location (str) – The Azure Region where the resource lives.
- Keyword Arguments
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.
location (str) – The Azure Region where the resource lives.
-
class
azure.mgmt.trafficmanager.models.
TrafficFlow
(*, source_ip: Optional[str] = None, latitude: Optional[float] = None, longitude: Optional[float] = None, query_experiences: Optional[List[_models.QueryExperience]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Class representing a Traffic Manager HeatMap traffic flow properties.
- Variables
source_ip (str) – The IP address that this query experience originated from.
latitude (float) – The approximate latitude that these queries originated from.
longitude (float) – The approximate longitude that these queries originated from.
query_experiences (list[QueryExperience]) – The query experiences produced in this HeatMap calculation.
- Keyword Arguments
source_ip (str) – The IP address that this query experience originated from.
latitude (float) – The approximate latitude that these queries originated from.
longitude (float) – The approximate longitude that these queries originated from.
query_experiences (list[QueryExperience]) – The query experiences produced in this HeatMap calculation.
-
class
azure.mgmt.trafficmanager.models.
TrafficManagerGeographicHierarchy
(*, id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, geographic_hierarchy: Optional[_models.Region] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager.models._models_py3.ProxyResource
Class representing the Geographic hierarchy used with the Geographic traffic routing method.
- 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.
geographic_hierarchy (Region) – The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved.
- Keyword Arguments
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.
geographic_hierarchy (Region) – The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved.
-
class
azure.mgmt.trafficmanager.models.
TrafficManagerNameAvailability
(*, name: Optional[str] = None, type: Optional[str] = None, name_available: Optional[bool] = None, reason: Optional[str] = None, message: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager._serialization.Model
Class representing a Traffic Manager Name Availability response.
- Variables
- Keyword Arguments
name (str) – The relative name.
type (str) – Traffic Manager profile resource type.
name_available (bool) – Describes whether the relative name is available or not.
reason (str) – The reason why the name is not available, when applicable.
message (str) – Descriptive message that explains why the name is not available, when applicable.
-
class
azure.mgmt.trafficmanager.models.
TrafficRoutingMethod
(value)[source]¶ -
The traffic routing method of the Traffic Manager profile.
-
GEOGRAPHIC
= 'Geographic'¶
-
MULTI_VALUE
= 'MultiValue'¶
-
PERFORMANCE
= 'Performance'¶
-
PRIORITY
= 'Priority'¶
-
SUBNET
= 'Subnet'¶
-
WEIGHTED
= 'Weighted'¶
-
-
class
azure.mgmt.trafficmanager.models.
TrafficViewEnrollmentStatus
(value)[source]¶ -
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.
-
DISABLED
= 'Disabled'¶
-
ENABLED
= 'Enabled'¶
-
-
class
azure.mgmt.trafficmanager.models.
UserMetricsModel
(*, id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, key: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.trafficmanager.models._models_py3.ProxyResource
Class representing Traffic Manager User Metrics.
- 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.
key (str) – The key returned by the User Metrics operation.
- Keyword Arguments
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.
key (str) – The key returned by the User Metrics operation.