azure_mgmt_traffic_manager 0.15.2 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-11-01/generated/azure_mgmt_traffic_manager/endpoints.rb +24 -24
  3. data/lib/2015-11-01/generated/azure_mgmt_traffic_manager/profiles.rb +42 -41
  4. data/lib/2015-11-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +4 -1
  5. data/lib/2017-03-01/generated/azure_mgmt_traffic_manager/endpoints.rb +24 -24
  6. data/lib/2017-03-01/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb +6 -5
  7. data/lib/2017-03-01/generated/azure_mgmt_traffic_manager/profiles.rb +42 -41
  8. data/lib/2017-03-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +4 -1
  9. data/lib/2017-05-01/generated/azure_mgmt_traffic_manager.rb +5 -6
  10. data/lib/2017-05-01/generated/azure_mgmt_traffic_manager/endpoints.rb +24 -24
  11. data/lib/2017-05-01/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb +6 -5
  12. data/lib/2017-05-01/generated/azure_mgmt_traffic_manager/profiles.rb +42 -41
  13. data/lib/2017-05-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +4 -1
  14. data/lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/heat_map.rb +6 -5
  15. data/lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/models/traffic_manager_user_metrics_key_model.rb +2 -3
  16. data/lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +4 -1
  17. data/lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/traffic_manager_user_metrics_keys.rb +31 -28
  18. data/lib/profiles/latest/modules/trafficmanager_profile_module.rb +113 -91
  19. data/lib/profiles/latest/trafficmanager_latest_profile_client.rb +28 -9
  20. data/lib/profiles/latest/trafficmanager_module_definition.rb +0 -1
  21. data/lib/version.rb +1 -1
  22. metadata +3 -4
  23. data/lib/2017-05-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_user_metrics_key_model.rb +0 -74
@@ -114,6 +114,9 @@ module Azure::TrafficManager::Mgmt::V2017_05_01
114
114
  fail ArgumentError, 'path is nil' if path.nil?
115
115
 
116
116
  request_url = options[:base_url] || @base_url
117
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
118
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
119
+ end
117
120
 
118
121
  request_headers = @request_headers
119
122
  request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
@@ -130,7 +133,7 @@ module Azure::TrafficManager::Mgmt::V2017_05_01
130
133
  #
131
134
  def add_telemetry
132
135
  sdk_information = 'azure_mgmt_traffic_manager'
133
- sdk_information = "#{sdk_information}/0.15.2"
136
+ sdk_information = "#{sdk_information}/0.16.0"
134
137
  add_user_agent_information(sdk_information)
135
138
  end
136
139
  end
@@ -36,8 +36,8 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
36
36
  #
37
37
  # @return [HeatMapModel] operation results.
38
38
  #
39
- def get(resource_group_name, profile_name, top_left = nil, bot_right = nil, custom_headers = nil)
40
- response = get_async(resource_group_name, profile_name, top_left, bot_right, custom_headers).value!
39
+ def get(resource_group_name, profile_name, top_left:nil, bot_right:nil, custom_headers:nil)
40
+ response = get_async(resource_group_name, profile_name, top_left:top_left, bot_right:bot_right, custom_headers:custom_headers).value!
41
41
  response.body unless response.nil?
42
42
  end
43
43
 
@@ -56,8 +56,8 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
56
56
  #
57
57
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
58
58
  #
59
- def get_with_http_info(resource_group_name, profile_name, top_left = nil, bot_right = nil, custom_headers = nil)
60
- get_async(resource_group_name, profile_name, top_left, bot_right, custom_headers).value!
59
+ def get_with_http_info(resource_group_name, profile_name, top_left:nil, bot_right:nil, custom_headers:nil)
60
+ get_async(resource_group_name, profile_name, top_left:top_left, bot_right:bot_right, custom_headers:custom_headers).value!
61
61
  end
62
62
 
63
63
  #
@@ -75,7 +75,7 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
75
75
  #
76
76
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
77
77
  #
78
- def get_async(resource_group_name, profile_name, top_left = nil, bot_right = nil, custom_headers = nil)
78
+ def get_async(resource_group_name, profile_name, top_left:nil, bot_right:nil, custom_headers:nil)
79
79
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
80
80
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
81
81
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
@@ -88,6 +88,7 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
88
88
 
89
89
 
90
90
  request_headers = {}
91
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
91
92
 
92
93
  # Set Headers
93
94
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -12,8 +12,7 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] The key returned by the Realtime User Metrics
16
- # operation.
15
+ # @return [String] The key returned by the Real User Metrics operation.
17
16
  attr_accessor :key
18
17
 
19
18
 
@@ -60,7 +59,7 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
60
59
  key: {
61
60
  client_side_validation: true,
62
61
  required: false,
63
- serialized_name: 'properties.key',
62
+ serialized_name: 'key',
64
63
  type: {
65
64
  name: 'String'
66
65
  }
@@ -110,6 +110,9 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
110
110
  fail ArgumentError, 'path is nil' if path.nil?
111
111
 
112
112
  request_url = options[:base_url] || @base_url
113
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
114
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
115
+ end
113
116
 
114
117
  request_headers = @request_headers
115
118
  request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
@@ -126,7 +129,7 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
126
129
  #
127
130
  def add_telemetry
128
131
  sdk_information = 'azure_mgmt_traffic_manager'
129
- sdk_information = "#{sdk_information}/0.15.2"
132
+ sdk_information = "#{sdk_information}/0.16.0"
130
133
  add_user_agent_information(sdk_information)
131
134
  end
132
135
  end
@@ -22,49 +22,50 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
22
22
  attr_reader :client
23
23
 
24
24
  #
25
- # Get the subscription-level key used for Realtime User Metrics collection.
25
+ # Get the subscription-level key used for Real User Metrics collection.
26
26
  #
27
27
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
28
28
  # will be added to the HTTP request.
29
29
  #
30
30
  # @return [TrafficManagerUserMetricsKeyModel] operation results.
31
31
  #
32
- def get_default(custom_headers = nil)
33
- response = get_default_async(custom_headers).value!
32
+ def get(custom_headers:nil)
33
+ response = get_async(custom_headers:custom_headers).value!
34
34
  response.body unless response.nil?
35
35
  end
36
36
 
37
37
  #
38
- # Get the subscription-level key used for Realtime User Metrics collection.
38
+ # Get the subscription-level key used for Real User Metrics collection.
39
39
  #
40
40
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
41
41
  # will be added to the HTTP request.
42
42
  #
43
43
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
44
44
  #
45
- def get_default_with_http_info(custom_headers = nil)
46
- get_default_async(custom_headers).value!
45
+ def get_with_http_info(custom_headers:nil)
46
+ get_async(custom_headers:custom_headers).value!
47
47
  end
48
48
 
49
49
  #
50
- # Get the subscription-level key used for Realtime User Metrics collection.
50
+ # Get the subscription-level key used for Real User Metrics collection.
51
51
  #
52
52
  # @param [Hash{String => String}] A hash of custom headers that will be added
53
53
  # to the HTTP request.
54
54
  #
55
55
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
56
56
  #
57
- def get_default_async(custom_headers = nil)
57
+ def get_async(custom_headers:nil)
58
58
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
59
59
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
60
60
 
61
61
 
62
62
  request_headers = {}
63
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
63
64
 
64
65
  # Set Headers
65
66
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
66
67
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
67
- path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default'
68
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys'
68
69
 
69
70
  request_url = @base_url || @client.base_url
70
71
 
@@ -81,7 +82,7 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
81
82
  http_response = result.response
82
83
  status_code = http_response.status
83
84
  response_content = http_response.body
84
- unless status_code == 200 || status_code == 204
85
+ unless status_code == 200
85
86
  error_model = JSON.load(response_content)
86
87
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
87
88
  end
@@ -105,7 +106,7 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
105
106
  end
106
107
 
107
108
  #
108
- # Create or update a subscription-level key used for Realtime User Metrics
109
+ # Create or update a subscription-level key used for Real User Metrics
109
110
  # collection.
110
111
  #
111
112
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -113,13 +114,13 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
113
114
  #
114
115
  # @return [TrafficManagerUserMetricsKeyModel] operation results.
115
116
  #
116
- def create_or_update(custom_headers = nil)
117
- response = create_or_update_async(custom_headers).value!
117
+ def create_or_update(custom_headers:nil)
118
+ response = create_or_update_async(custom_headers:custom_headers).value!
118
119
  response.body unless response.nil?
119
120
  end
120
121
 
121
122
  #
122
- # Create or update a subscription-level key used for Realtime User Metrics
123
+ # Create or update a subscription-level key used for Real User Metrics
123
124
  # collection.
124
125
  #
125
126
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -127,12 +128,12 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
127
128
  #
128
129
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
129
130
  #
130
- def create_or_update_with_http_info(custom_headers = nil)
131
- create_or_update_async(custom_headers).value!
131
+ def create_or_update_with_http_info(custom_headers:nil)
132
+ create_or_update_async(custom_headers:custom_headers).value!
132
133
  end
133
134
 
134
135
  #
135
- # Create or update a subscription-level key used for Realtime User Metrics
136
+ # Create or update a subscription-level key used for Real User Metrics
136
137
  # collection.
137
138
  #
138
139
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -140,17 +141,18 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
140
141
  #
141
142
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
142
143
  #
143
- def create_or_update_async(custom_headers = nil)
144
+ def create_or_update_async(custom_headers:nil)
144
145
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
145
146
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
146
147
 
147
148
 
148
149
  request_headers = {}
150
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
149
151
 
150
152
  # Set Headers
151
153
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
152
154
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
153
- path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default'
155
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys'
154
156
 
155
157
  request_url = @base_url || @client.base_url
156
158
 
@@ -191,49 +193,50 @@ module Azure::TrafficManager::Mgmt::V2017_09_01_preview
191
193
  end
192
194
 
193
195
  #
194
- # Delete a subscription-level key used for Realtime User Metrics collection.
196
+ # Delete a subscription-level key used for Real User Metrics collection.
195
197
  #
196
198
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
197
199
  # will be added to the HTTP request.
198
200
  #
199
201
  # @return [DeleteOperationResult] operation results.
200
202
  #
201
- def delete(custom_headers = nil)
202
- response = delete_async(custom_headers).value!
203
+ def delete(custom_headers:nil)
204
+ response = delete_async(custom_headers:custom_headers).value!
203
205
  response.body unless response.nil?
204
206
  end
205
207
 
206
208
  #
207
- # Delete a subscription-level key used for Realtime User Metrics collection.
209
+ # Delete a subscription-level key used for Real User Metrics collection.
208
210
  #
209
211
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
210
212
  # will be added to the HTTP request.
211
213
  #
212
214
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
213
215
  #
214
- def delete_with_http_info(custom_headers = nil)
215
- delete_async(custom_headers).value!
216
+ def delete_with_http_info(custom_headers:nil)
217
+ delete_async(custom_headers:custom_headers).value!
216
218
  end
217
219
 
218
220
  #
219
- # Delete a subscription-level key used for Realtime User Metrics collection.
221
+ # Delete a subscription-level key used for Real User Metrics collection.
220
222
  #
221
223
  # @param [Hash{String => String}] A hash of custom headers that will be added
222
224
  # to the HTTP request.
223
225
  #
224
226
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
225
227
  #
226
- def delete_async(custom_headers = nil)
228
+ def delete_async(custom_headers:nil)
227
229
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
228
230
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
229
231
 
230
232
 
231
233
  request_headers = {}
234
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
232
235
 
233
236
  # Set Headers
234
237
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
235
238
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
236
- path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default'
239
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys'
237
240
 
238
241
  request_url = @base_url || @client.base_url
239
242
 
@@ -4,7 +4,8 @@
4
4
 
5
5
  require 'azure_mgmt_traffic_manager'
6
6
 
7
- module Azure::TrafficManager::Profiles::Latest::Mgmt
7
+ module Azure::TrafficManager::Profiles::Latest
8
+ module Mgmt
8
9
  Endpoints = Azure::TrafficManager::Mgmt::V2017_05_01::Endpoints
9
10
  Profiles = Azure::TrafficManager::Mgmt::V2017_05_01::Profiles
10
11
  GeographicHierarchies = Azure::TrafficManager::Mgmt::V2017_05_01::GeographicHierarchies
@@ -14,13 +15,13 @@ module Azure::TrafficManager::Profiles::Latest::Mgmt
14
15
  module Models
15
16
  TrafficManagerNameAvailability = Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficManagerNameAvailability
16
17
  Region = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Region
17
- ProfileListResult = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult
18
18
  CheckTrafficManagerRelativeDnsNameAvailabilityParameters = Azure::TrafficManager::Mgmt::V2017_05_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters
19
- MonitorConfig = Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorConfig
20
19
  DnsConfig = Azure::TrafficManager::Mgmt::V2017_05_01::Models::DnsConfig
20
+ MonitorConfig = Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorConfig
21
+ ProfileListResult = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult
21
22
  Endpoint = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint
22
- TrafficManagerGeographicHierarchy = Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficManagerGeographicHierarchy
23
23
  Profile = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile
24
+ TrafficManagerGeographicHierarchy = Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficManagerGeographicHierarchy
24
25
  EndpointStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::EndpointStatus
25
26
  EndpointMonitorStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::EndpointMonitorStatus
26
27
  ProfileMonitorStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileMonitorStatus
@@ -39,9 +40,9 @@ module Azure::TrafficManager::Profiles::Latest::Mgmt
39
40
  end
40
41
 
41
42
  #
42
- # TrafficManager
43
+ # TrafficManagerManagementClass
43
44
  #
44
- class TrafficManagerClass
45
+ class TrafficManagerManagementClass
45
46
  attr_reader :endpoints, :profiles, :geographic_hierarchies, :heat_map, :traffic_manager_user_metrics_keys, :configurable, :base_url, :options, :model_classes
46
47
 
47
48
  def initialize(options = {})
@@ -53,99 +54,120 @@ module Azure::TrafficManager::Profiles::Latest::Mgmt
53
54
 
54
55
  reset!(options)
55
56
 
56
- @configurable, @base_url, @options = self, nil, nil
57
+ @configurable = self
58
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
59
+ @options = options[:options].nil? ? nil:options[:options]
57
60
 
58
- client_0 = Azure::TrafficManager::Mgmt::V2017_05_01::TrafficManagerManagementClient.new(configurable.credentials, base_url, options)
59
- if(client_0.respond_to?(:subscription_id))
60
- client_0.subscription_id = configurable.subscription_id
61
- end
62
- @endpoints = client_0.endpoints
63
- @profiles = client_0.profiles
64
- @geographic_hierarchies = client_0.geographic_hierarchies
61
+ @client_0 = Azure::TrafficManager::Mgmt::V2017_05_01::TrafficManagerManagementClient.new(configurable.credentials, base_url, options)
62
+ if(@client_0.respond_to?(:subscription_id))
63
+ @client_0.subscription_id = configurable.subscription_id
64
+ end
65
+ add_telemetry(@client_0)
66
+ @endpoints = @client_0.endpoints
67
+ @profiles = @client_0.profiles
68
+ @geographic_hierarchies = @client_0.geographic_hierarchies
65
69
 
66
- client_1 = Azure::TrafficManager::Mgmt::V2017_09_01_preview::TrafficManagerManagementClient.new(configurable.credentials, base_url, options)
67
- if(client_1.respond_to?(:subscription_id))
68
- client_1.subscription_id = configurable.subscription_id
70
+ @client_1 = Azure::TrafficManager::Mgmt::V2017_09_01_preview::TrafficManagerManagementClient.new(configurable.credentials, base_url, options)
71
+ if(@client_1.respond_to?(:subscription_id))
72
+ @client_1.subscription_id = configurable.subscription_id
69
73
  end
70
- @heat_map = client_1.heat_map
71
- @traffic_manager_user_metrics_keys = client_1.traffic_manager_user_metrics_keys
74
+ add_telemetry(@client_1)
75
+ @heat_map = @client_1.heat_map
76
+ @traffic_manager_user_metrics_keys = @client_1.traffic_manager_user_metrics_keys
72
77
 
73
78
  @model_classes = ModelClasses.new
74
79
  end
75
80
 
76
- class ModelClasses
77
- def traffic_manager_name_availability
78
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficManagerNameAvailability
79
- end
80
- def region
81
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::Region
82
- end
83
- def profile_list_result
84
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult
85
- end
86
- def check_traffic_manager_relative_dns_name_availability_parameters
87
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters
88
- end
89
- def monitor_config
90
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorConfig
91
- end
92
- def dns_config
93
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::DnsConfig
94
- end
95
- def endpoint
96
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint
97
- end
98
- def traffic_manager_geographic_hierarchy
99
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficManagerGeographicHierarchy
100
- end
101
- def profile
102
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile
103
- end
104
- def endpoint_status
105
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::EndpointStatus
106
- end
107
- def endpoint_monitor_status
108
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::EndpointMonitorStatus
109
- end
110
- def profile_monitor_status
111
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileMonitorStatus
112
- end
113
- def monitor_protocol
114
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorProtocol
115
- end
116
- def profile_status
117
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileStatus
118
- end
119
- def traffic_routing_method
120
- Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficRoutingMethod
121
- end
122
- def delete_operation_result
123
- Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::DeleteOperationResult
124
- end
125
- def heat_map_endpoint
126
- Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint
127
- end
128
- def resource
129
- Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::Resource
130
- end
131
- def traffic_flow
132
- Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficFlow
133
- end
134
- def query_experience
135
- Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience
136
- end
137
- def tracked_resource
138
- Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource
139
- end
140
- def proxy_resource
141
- Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::ProxyResource
142
- end
143
- def heat_map_model
144
- Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapModel
145
- end
146
- def traffic_manager_user_metrics_key_model
147
- Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel
81
+ def add_telemetry(client)
82
+ profile_information = 'Profiles/Latest/TrafficManager/Mgmt'
83
+ client.add_user_agent_information(profile_information)
84
+ end
85
+
86
+ def method_missing(method, *args)
87
+ if @client_1.respond_to?method
88
+ @client_1.send(method, *args)
89
+ elsif @client_0.respond_to?method
90
+ @client_0.send(method, *args)
91
+ else
92
+ super
148
93
  end
149
94
  end
95
+
96
+ end
97
+
98
+ class ModelClasses
99
+ def traffic_manager_name_availability
100
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficManagerNameAvailability
101
+ end
102
+ def region
103
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::Region
104
+ end
105
+ def check_traffic_manager_relative_dns_name_availability_parameters
106
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters
107
+ end
108
+ def dns_config
109
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::DnsConfig
110
+ end
111
+ def monitor_config
112
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorConfig
113
+ end
114
+ def profile_list_result
115
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult
116
+ end
117
+ def endpoint
118
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint
119
+ end
120
+ def profile
121
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile
122
+ end
123
+ def traffic_manager_geographic_hierarchy
124
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficManagerGeographicHierarchy
125
+ end
126
+ def endpoint_status
127
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::EndpointStatus
128
+ end
129
+ def endpoint_monitor_status
130
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::EndpointMonitorStatus
131
+ end
132
+ def profile_monitor_status
133
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileMonitorStatus
134
+ end
135
+ def monitor_protocol
136
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorProtocol
137
+ end
138
+ def profile_status
139
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileStatus
140
+ end
141
+ def traffic_routing_method
142
+ Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficRoutingMethod
143
+ end
144
+ def delete_operation_result
145
+ Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::DeleteOperationResult
146
+ end
147
+ def heat_map_endpoint
148
+ Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint
149
+ end
150
+ def resource
151
+ Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::Resource
152
+ end
153
+ def traffic_flow
154
+ Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficFlow
155
+ end
156
+ def query_experience
157
+ Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience
158
+ end
159
+ def tracked_resource
160
+ Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource
161
+ end
162
+ def proxy_resource
163
+ Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::ProxyResource
164
+ end
165
+ def heat_map_model
166
+ Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapModel
167
+ end
168
+ def traffic_manager_user_metrics_key_model
169
+ Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel
170
+ end
150
171
  end
172
+ end
151
173
  end