azure_mgmt_traffic_manager 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-11-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +6 -5
- data/lib/2017-03-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +6 -5
- data/lib/2017-05-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +6 -5
- data/lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +6 -5
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager.rb +50 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/endpoints.rb +493 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb +110 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/check_traffic_manager_relative_dns_name_availability_parameters.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/delete_operation_result.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/dns_config.rb +76 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb +188 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint_monitor_status.rb +20 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint_status.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb +124 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/monitor_protocol.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/profile.rb +172 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/profile_list_result.rb +55 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/profile_monitor_status.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/profile_status.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/proxy_resource.rb +63 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/region.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/resource.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/tracked_resource.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_geographic_hierarchy.rb +76 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb +93 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/traffic_routing_method.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/traffic_view_enrollment_status.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/module_definition.rb +9 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/profiles.rb +720 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +141 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager.rb +58 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/endpoints.rb +493 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb +110 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/heat_map.rb +137 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/check_traffic_manager_relative_dns_name_availability_parameters.rb +58 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/delete_operation_result.rb +47 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/dns_config.rb +76 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb +206 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/endpoint_monitor_status.rb +20 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/endpoint_properties_custom_headers_item.rb +57 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/endpoint_status.rb +16 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/heat_map_endpoint.rb +58 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/heat_map_model.rb +125 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb +165 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/monitor_config_custom_headers_item.rb +57 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/monitor_config_expected_status_code_ranges_item.rb +58 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/monitor_protocol.rb +17 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/profile.rb +169 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/profile_list_result.rb +55 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/profile_monitor_status.rb +19 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/profile_status.rb +16 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/proxy_resource.rb +60 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/query_experience.rb +70 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/region.rb +79 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/resource.rb +70 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/tracked_resource.rb +89 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_flow.rb +92 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_geographic_hierarchy.rb +73 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb +93 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_routing_method.rb +18 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_view_enrollment_status.rb +16 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/module_definition.rb +9 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/profiles.rb +720 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +145 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager.rb +61 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/endpoints.rb +493 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb +110 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/heat_map.rb +137 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/check_traffic_manager_relative_dns_name_availability_parameters.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/delete_operation_result.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/dns_config.rb +76 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb +232 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_monitor_status.rb +20 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_properties_custom_headers_item.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_properties_subnets_item.rb +69 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_status.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/heat_map_endpoint.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/heat_map_model.rb +128 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb +165 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/monitor_config_custom_headers_item.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/monitor_config_expected_status_code_ranges_item.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/monitor_protocol.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/profile.rb +184 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/profile_list_result.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/profile_monitor_status.rb +19 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/profile_status.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/proxy_resource.rb +63 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/query_experience.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/region.rb +79 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/resource.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/tracked_resource.rb +92 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_flow.rb +92 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_geographic_hierarchy.rb +76 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb +93 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_routing_method.rb +20 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_view_enrollment_status.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/user_metrics_model.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/module_definition.rb +9 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/profiles.rb +720 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +149 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/traffic_manager_user_metrics_keys.rb +280 -0
- data/lib/azure_mgmt_traffic_manager.rb +4 -1
- data/lib/profiles/latest/modules/trafficmanager_profile_module.rb +98 -86
- data/lib/version.rb +1 -1
- metadata +102 -5
@@ -0,0 +1,20 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::TrafficManager::Mgmt::V2018_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for EndpointMonitorStatus
|
10
|
+
#
|
11
|
+
module EndpointMonitorStatus
|
12
|
+
CheckingEndpoint = "CheckingEndpoint"
|
13
|
+
Online = "Online"
|
14
|
+
Degraded = "Degraded"
|
15
|
+
Disabled = "Disabled"
|
16
|
+
Inactive = "Inactive"
|
17
|
+
Stopped = "Stopped"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::TrafficManager::Mgmt::V2018_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for EndpointStatus
|
10
|
+
#
|
11
|
+
module EndpointStatus
|
12
|
+
Enabled = "Enabled"
|
13
|
+
Disabled = "Disabled"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,124 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::TrafficManager::Mgmt::V2018_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Class containing endpoint monitoring settings in a Traffic Manager
|
10
|
+
# profile.
|
11
|
+
#
|
12
|
+
class MonitorConfig
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [ProfileMonitorStatus] The profile-level monitoring status of
|
17
|
+
# the Traffic Manager profile. Possible values include:
|
18
|
+
# 'CheckingEndpoints', 'Online', 'Degraded', 'Disabled', 'Inactive'
|
19
|
+
attr_accessor :profile_monitor_status
|
20
|
+
|
21
|
+
# @return [MonitorProtocol] The protocol (HTTP, HTTPS or TCP) used to
|
22
|
+
# probe for endpoint health. Possible values include: 'HTTP', 'HTTPS',
|
23
|
+
# 'TCP'
|
24
|
+
attr_accessor :protocol
|
25
|
+
|
26
|
+
# @return [Integer] The TCP port used to probe for endpoint health.
|
27
|
+
attr_accessor :port
|
28
|
+
|
29
|
+
# @return [String] The path relative to the endpoint domain name used to
|
30
|
+
# probe for endpoint health.
|
31
|
+
attr_accessor :path
|
32
|
+
|
33
|
+
# @return [Integer] The monitor interval for endpoints in this profile.
|
34
|
+
# This is the interval at which Traffic Manager will check the health of
|
35
|
+
# each endpoint in this profile.
|
36
|
+
attr_accessor :interval_in_seconds
|
37
|
+
|
38
|
+
# @return [Integer] The monitor timeout for endpoints in this profile.
|
39
|
+
# This is the time that Traffic Manager allows endpoints in this profile
|
40
|
+
# to response to the health check.
|
41
|
+
attr_accessor :timeout_in_seconds
|
42
|
+
|
43
|
+
# @return [Integer] The number of consecutive failed health check that
|
44
|
+
# Traffic Manager tolerates before declaring an endpoint in this profile
|
45
|
+
# Degraded after the next failed health check.
|
46
|
+
attr_accessor :tolerated_number_of_failures
|
47
|
+
|
48
|
+
|
49
|
+
#
|
50
|
+
# Mapper for MonitorConfig class as Ruby Hash.
|
51
|
+
# This will be used for serialization/deserialization.
|
52
|
+
#
|
53
|
+
def self.mapper()
|
54
|
+
{
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'MonitorConfig',
|
58
|
+
type: {
|
59
|
+
name: 'Composite',
|
60
|
+
class_name: 'MonitorConfig',
|
61
|
+
model_properties: {
|
62
|
+
profile_monitor_status: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'profileMonitorStatus',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
protocol: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'protocol',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
port: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'port',
|
82
|
+
type: {
|
83
|
+
name: 'Number'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
path: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'path',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
interval_in_seconds: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'intervalInSeconds',
|
98
|
+
type: {
|
99
|
+
name: 'Number'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
timeout_in_seconds: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'timeoutInSeconds',
|
106
|
+
type: {
|
107
|
+
name: 'Number'
|
108
|
+
}
|
109
|
+
},
|
110
|
+
tolerated_number_of_failures: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
serialized_name: 'toleratedNumberOfFailures',
|
114
|
+
type: {
|
115
|
+
name: 'Number'
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::TrafficManager::Mgmt::V2018_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for MonitorProtocol
|
10
|
+
#
|
11
|
+
module MonitorProtocol
|
12
|
+
HTTP = "HTTP"
|
13
|
+
HTTPS = "HTTPS"
|
14
|
+
TCP = "TCP"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,172 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::TrafficManager::Mgmt::V2018_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Class representing a Traffic Manager profile.
|
10
|
+
#
|
11
|
+
class Profile < TrackedResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ProfileStatus] The status of the Traffic Manager profile.
|
16
|
+
# Possible values include: 'Enabled', 'Disabled'
|
17
|
+
attr_accessor :profile_status
|
18
|
+
|
19
|
+
# @return [TrafficRoutingMethod] The traffic routing method of the
|
20
|
+
# Traffic Manager profile. Possible values include: 'Performance',
|
21
|
+
# 'Priority', 'Weighted', 'Geographic'
|
22
|
+
attr_accessor :traffic_routing_method
|
23
|
+
|
24
|
+
# @return [DnsConfig] The DNS settings of the Traffic Manager profile.
|
25
|
+
attr_accessor :dns_config
|
26
|
+
|
27
|
+
# @return [MonitorConfig] The endpoint monitoring settings of the Traffic
|
28
|
+
# Manager profile.
|
29
|
+
attr_accessor :monitor_config
|
30
|
+
|
31
|
+
# @return [Array<Endpoint>] The list of endpoints in the Traffic Manager
|
32
|
+
# profile.
|
33
|
+
attr_accessor :endpoints
|
34
|
+
|
35
|
+
# @return [TrafficViewEnrollmentStatus] Indicates whether Traffic View is
|
36
|
+
# 'Enabled' or 'Disabled' for the Traffic Manager profile. Null,
|
37
|
+
# indicates 'Disabled'. Enabling this feature will increase the cost of
|
38
|
+
# the Traffic Manage profile. Possible values include: 'Enabled',
|
39
|
+
# 'Disabled'
|
40
|
+
attr_accessor :traffic_view_enrollment_status
|
41
|
+
|
42
|
+
|
43
|
+
#
|
44
|
+
# Mapper for Profile class as Ruby Hash.
|
45
|
+
# This will be used for serialization/deserialization.
|
46
|
+
#
|
47
|
+
def self.mapper()
|
48
|
+
{
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'Profile',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'Profile',
|
55
|
+
model_properties: {
|
56
|
+
id: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'id',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
name: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'name',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
type: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'type',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
tags: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'tags',
|
87
|
+
type: {
|
88
|
+
name: 'Dictionary',
|
89
|
+
value: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'StringElementType',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
},
|
99
|
+
location: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'location',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
profile_status: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'properties.profileStatus',
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
traffic_routing_method: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'properties.trafficRoutingMethod',
|
119
|
+
type: {
|
120
|
+
name: 'String'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
dns_config: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'properties.dnsConfig',
|
127
|
+
type: {
|
128
|
+
name: 'Composite',
|
129
|
+
class_name: 'DnsConfig'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
monitor_config: {
|
133
|
+
client_side_validation: true,
|
134
|
+
required: false,
|
135
|
+
serialized_name: 'properties.monitorConfig',
|
136
|
+
type: {
|
137
|
+
name: 'Composite',
|
138
|
+
class_name: 'MonitorConfig'
|
139
|
+
}
|
140
|
+
},
|
141
|
+
endpoints: {
|
142
|
+
client_side_validation: true,
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'properties.endpoints',
|
145
|
+
type: {
|
146
|
+
name: 'Sequence',
|
147
|
+
element: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: false,
|
150
|
+
serialized_name: 'EndpointElementType',
|
151
|
+
type: {
|
152
|
+
name: 'Composite',
|
153
|
+
class_name: 'Endpoint'
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
},
|
158
|
+
traffic_view_enrollment_status: {
|
159
|
+
client_side_validation: true,
|
160
|
+
required: false,
|
161
|
+
serialized_name: 'properties.trafficViewEnrollmentStatus',
|
162
|
+
type: {
|
163
|
+
name: 'String'
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}
|
169
|
+
end
|
170
|
+
end
|
171
|
+
end
|
172
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::TrafficManager::Mgmt::V2018_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The list Traffic Manager profiles operation response.
|
10
|
+
#
|
11
|
+
class ProfileListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Profile>] Gets the list of Traffic manager profiles.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ProfileListResult class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ProfileListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ProfileListResult',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'ProfileElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'Profile'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::TrafficManager::Mgmt::V2018_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ProfileMonitorStatus
|
10
|
+
#
|
11
|
+
module ProfileMonitorStatus
|
12
|
+
CheckingEndpoints = "CheckingEndpoints"
|
13
|
+
Online = "Online"
|
14
|
+
Degraded = "Degraded"
|
15
|
+
Disabled = "Disabled"
|
16
|
+
Inactive = "Inactive"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::TrafficManager::Mgmt::V2018_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ProfileStatus
|
10
|
+
#
|
11
|
+
module ProfileStatus
|
12
|
+
Enabled = "Enabled"
|
13
|
+
Disabled = "Disabled"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|