Skip to content

Commit 8aee10b

Browse files
authored
Generated from 0a167ffd54481f34ac2101552224462d416857f1 (#2564)
Adding 2018-02-01 Traffic Manager API version.
1 parent 5927b65 commit 8aee10b

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

azure-mgmt-trafficmanager/azure/mgmt/trafficmanager/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
MonitorProtocol,
3737
ProfileStatus,
3838
TrafficRoutingMethod,
39+
TrafficViewEnrollmentStatus,
3940
)
4041

4142
__all__ = [
@@ -65,4 +66,5 @@
6566
'MonitorProtocol',
6667
'ProfileStatus',
6768
'TrafficRoutingMethod',
69+
'TrafficViewEnrollmentStatus',
6870
]

azure-mgmt-trafficmanager/azure/mgmt/trafficmanager/models/profile.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ class Profile(TrackedResource):
4343
:type monitor_config: ~azure.mgmt.trafficmanager.models.MonitorConfig
4444
:param endpoints: The list of endpoints in the Traffic Manager profile.
4545
:type endpoints: list[~azure.mgmt.trafficmanager.models.Endpoint]
46+
:param traffic_view_enrollment_status: Indicates whether Traffic View is
47+
'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates
48+
'Disabled'. Enabling this feature will increase the cost of the Traffic
49+
Manage profile. Possible values include: 'Enabled', 'Disabled'
50+
:type traffic_view_enrollment_status: str or
51+
~azure.mgmt.trafficmanager.models.TrafficViewEnrollmentStatus
4652
"""
4753

4854
_attribute_map = {
@@ -56,12 +62,14 @@ class Profile(TrackedResource):
5662
'dns_config': {'key': 'properties.dnsConfig', 'type': 'DnsConfig'},
5763
'monitor_config': {'key': 'properties.monitorConfig', 'type': 'MonitorConfig'},
5864
'endpoints': {'key': 'properties.endpoints', 'type': '[Endpoint]'},
65+
'traffic_view_enrollment_status': {'key': 'properties.trafficViewEnrollmentStatus', 'type': 'str'},
5966
}
6067

61-
def __init__(self, id=None, name=None, type=None, tags=None, location=None, profile_status=None, traffic_routing_method=None, dns_config=None, monitor_config=None, endpoints=None):
68+
def __init__(self, id=None, name=None, type=None, tags=None, location=None, profile_status=None, traffic_routing_method=None, dns_config=None, monitor_config=None, endpoints=None, traffic_view_enrollment_status=None):
6269
super(Profile, self).__init__(id=id, name=name, type=type, tags=tags, location=location)
6370
self.profile_status = profile_status
6471
self.traffic_routing_method = traffic_routing_method
6572
self.dns_config = dns_config
6673
self.monitor_config = monitor_config
6774
self.endpoints = endpoints
75+
self.traffic_view_enrollment_status = traffic_view_enrollment_status

azure-mgmt-trafficmanager/azure/mgmt/trafficmanager/models/traffic_manager_management_client_enums.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,9 @@ class TrafficRoutingMethod(Enum):
5656
priority = "Priority"
5757
weighted = "Weighted"
5858
geographic = "Geographic"
59+
60+
61+
class TrafficViewEnrollmentStatus(Enum):
62+
63+
enabled = "Enabled"
64+
disabled = "Disabled"

0 commit comments

Comments
 (0)