azure_mgmt_traffic_manager 0.10.0 → 0.11.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.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_traffic_manager.rb +16 -4
- data/lib/generated/azure_mgmt_traffic_manager/endpoints.rb +29 -19
- data/lib/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb +109 -0
- data/lib/generated/azure_mgmt_traffic_manager/models/check_traffic_manager_relative_dns_name_availability_parameters.rb +4 -3
- data/lib/generated/azure_mgmt_traffic_manager/models/delete_operation_result.rb +46 -0
- data/lib/generated/azure_mgmt_traffic_manager/models/dns_config.rb +13 -11
- data/lib/generated/azure_mgmt_traffic_manager/models/endpoint.rb +47 -33
- data/lib/generated/azure_mgmt_traffic_manager/models/endpoint_monitor_status.rb +20 -0
- data/lib/generated/azure_mgmt_traffic_manager/models/endpoint_status.rb +16 -0
- data/lib/generated/azure_mgmt_traffic_manager/models/monitor_config.rb +47 -9
- data/lib/generated/azure_mgmt_traffic_manager/models/monitor_protocol.rb +17 -0
- data/lib/generated/azure_mgmt_traffic_manager/models/profile.rb +20 -20
- data/lib/generated/azure_mgmt_traffic_manager/models/profile_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_traffic_manager/models/profile_monitor_status.rb +19 -0
- data/lib/generated/azure_mgmt_traffic_manager/models/profile_status.rb +16 -0
- data/lib/generated/azure_mgmt_traffic_manager/models/proxy_resource.rb +60 -0
- data/lib/generated/azure_mgmt_traffic_manager/models/region.rb +75 -0
- data/lib/generated/azure_mgmt_traffic_manager/models/tracked_resource.rb +86 -0
- data/lib/generated/azure_mgmt_traffic_manager/models/traffic_manager_geographic_hierarchy.rb +72 -0
- data/lib/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb +2 -1
- data/lib/generated/azure_mgmt_traffic_manager/models/traffic_routing_method.rb +18 -0
- data/lib/generated/azure_mgmt_traffic_manager/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_traffic_manager/profiles.rb +50 -42
- data/lib/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +6 -2
- data/lib/generated/azure_mgmt_traffic_manager/version.rb +2 -2
- metadata +16 -4
@@ -0,0 +1,72 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::TrafficManager
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Class representing the Geographic hierarchy used with the Geographic
|
10
|
+
# traffic routing method.
|
11
|
+
#
|
12
|
+
class TrafficManagerGeographicHierarchy < ProxyResource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Region] The region at the root of the hierarchy from all the
|
18
|
+
# regions in the hierarchy can be retrieved.
|
19
|
+
attr_accessor :geographic_hierarchy
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for TrafficManagerGeographicHierarchy class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'TrafficManagerGeographicHierarchy',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'TrafficManagerGeographicHierarchy',
|
33
|
+
model_properties: {
|
34
|
+
id: {
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'id',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
name: {
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'name',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
type: {
|
51
|
+
required: false,
|
52
|
+
read_only: true,
|
53
|
+
serialized_name: 'type',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
geographic_hierarchy: {
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'properties.geographicHierarchy',
|
61
|
+
type: {
|
62
|
+
name: 'Composite',
|
63
|
+
class_name: 'Region'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,6 +12,7 @@ module Azure::ARM::TrafficManager
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
+
include MsRest::JSONable
|
15
16
|
# @return [String] The relative name.
|
16
17
|
attr_accessor :name
|
17
18
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::TrafficManager
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for TrafficRoutingMethod
|
10
|
+
#
|
11
|
+
module TrafficRoutingMethod
|
12
|
+
Performance = "Performance"
|
13
|
+
Priority = "Priority"
|
14
|
+
Weighted = "Weighted"
|
15
|
+
Geographic = "Geographic"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -8,7 +8,6 @@ module Azure::ARM::TrafficManager
|
|
8
8
|
# Profiles
|
9
9
|
#
|
10
10
|
class Profiles
|
11
|
-
include Azure::ARM::TrafficManager::Models
|
12
11
|
include MsRestAzure
|
13
12
|
|
14
13
|
#
|
@@ -67,7 +66,6 @@ module Azure::ARM::TrafficManager
|
|
67
66
|
def check_traffic_manager_relative_dns_name_availability_async(parameters, custom_headers = nil)
|
68
67
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
69
68
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
70
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
71
69
|
|
72
70
|
|
73
71
|
request_headers = {}
|
@@ -79,17 +77,16 @@ module Azure::ARM::TrafficManager
|
|
79
77
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
80
78
|
|
81
79
|
# Serialize Request
|
82
|
-
request_mapper = CheckTrafficManagerRelativeDnsNameAvailabilityParameters.mapper()
|
83
|
-
request_content = @client.serialize(request_mapper, parameters
|
80
|
+
request_mapper = Azure::ARM::TrafficManager::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters.mapper()
|
81
|
+
request_content = @client.serialize(request_mapper, parameters)
|
84
82
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
85
83
|
|
86
|
-
path_template = '
|
84
|
+
path_template = 'providers/Microsoft.Network/checkTrafficManagerNameAvailability'
|
87
85
|
|
88
86
|
request_url = @base_url || @client.base_url
|
89
87
|
|
90
88
|
options = {
|
91
89
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
92
|
-
path_params: {'subscriptionId' => @client.subscription_id},
|
93
90
|
query_params: {'api-version' => @client.api_version},
|
94
91
|
body: request_content,
|
95
92
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -111,8 +108,8 @@ module Azure::ARM::TrafficManager
|
|
111
108
|
if status_code == 200
|
112
109
|
begin
|
113
110
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
114
|
-
result_mapper = TrafficManagerNameAvailability.mapper()
|
115
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
111
|
+
result_mapper = Azure::ARM::TrafficManager::Models::TrafficManagerNameAvailability.mapper()
|
112
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
116
113
|
rescue Exception => e
|
117
114
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
118
115
|
end
|
@@ -134,8 +131,8 @@ module Azure::ARM::TrafficManager
|
|
134
131
|
#
|
135
132
|
# @return [ProfileListResult] operation results.
|
136
133
|
#
|
137
|
-
def
|
138
|
-
response =
|
134
|
+
def list_by_resource_group(resource_group_name, custom_headers = nil)
|
135
|
+
response = list_by_resource_group_async(resource_group_name, custom_headers).value!
|
139
136
|
response.body unless response.nil?
|
140
137
|
end
|
141
138
|
|
@@ -149,8 +146,8 @@ module Azure::ARM::TrafficManager
|
|
149
146
|
#
|
150
147
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
151
148
|
#
|
152
|
-
def
|
153
|
-
|
149
|
+
def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil)
|
150
|
+
list_by_resource_group_async(resource_group_name, custom_headers).value!
|
154
151
|
end
|
155
152
|
|
156
153
|
#
|
@@ -163,7 +160,7 @@ module Azure::ARM::TrafficManager
|
|
163
160
|
#
|
164
161
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
165
162
|
#
|
166
|
-
def
|
163
|
+
def list_by_resource_group_async(resource_group_name, custom_headers = nil)
|
167
164
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
168
165
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
169
166
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -174,7 +171,7 @@ module Azure::ARM::TrafficManager
|
|
174
171
|
# Set Headers
|
175
172
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
176
173
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
177
|
-
path_template = '
|
174
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles'
|
178
175
|
|
179
176
|
request_url = @base_url || @client.base_url
|
180
177
|
|
@@ -201,8 +198,8 @@ module Azure::ARM::TrafficManager
|
|
201
198
|
if status_code == 200
|
202
199
|
begin
|
203
200
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
204
|
-
result_mapper = ProfileListResult.mapper()
|
205
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
201
|
+
result_mapper = Azure::ARM::TrafficManager::Models::ProfileListResult.mapper()
|
202
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
206
203
|
rescue Exception => e
|
207
204
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
208
205
|
end
|
@@ -222,8 +219,8 @@ module Azure::ARM::TrafficManager
|
|
222
219
|
#
|
223
220
|
# @return [ProfileListResult] operation results.
|
224
221
|
#
|
225
|
-
def
|
226
|
-
response =
|
222
|
+
def list_by_subscription(custom_headers = nil)
|
223
|
+
response = list_by_subscription_async(custom_headers).value!
|
227
224
|
response.body unless response.nil?
|
228
225
|
end
|
229
226
|
|
@@ -235,8 +232,8 @@ module Azure::ARM::TrafficManager
|
|
235
232
|
#
|
236
233
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
237
234
|
#
|
238
|
-
def
|
239
|
-
|
235
|
+
def list_by_subscription_with_http_info(custom_headers = nil)
|
236
|
+
list_by_subscription_async(custom_headers).value!
|
240
237
|
end
|
241
238
|
|
242
239
|
#
|
@@ -247,7 +244,7 @@ module Azure::ARM::TrafficManager
|
|
247
244
|
#
|
248
245
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
249
246
|
#
|
250
|
-
def
|
247
|
+
def list_by_subscription_async(custom_headers = nil)
|
251
248
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
252
249
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
253
250
|
|
@@ -257,7 +254,7 @@ module Azure::ARM::TrafficManager
|
|
257
254
|
# Set Headers
|
258
255
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
259
256
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
260
|
-
path_template = '
|
257
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles'
|
261
258
|
|
262
259
|
request_url = @base_url || @client.base_url
|
263
260
|
|
@@ -284,8 +281,8 @@ module Azure::ARM::TrafficManager
|
|
284
281
|
if status_code == 200
|
285
282
|
begin
|
286
283
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
287
|
-
result_mapper = ProfileListResult.mapper()
|
288
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
284
|
+
result_mapper = Azure::ARM::TrafficManager::Models::ProfileListResult.mapper()
|
285
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
289
286
|
rescue Exception => e
|
290
287
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
291
288
|
end
|
@@ -351,7 +348,7 @@ module Azure::ARM::TrafficManager
|
|
351
348
|
# Set Headers
|
352
349
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
353
350
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
354
|
-
path_template = '
|
351
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}'
|
355
352
|
|
356
353
|
request_url = @base_url || @client.base_url
|
357
354
|
|
@@ -378,8 +375,8 @@ module Azure::ARM::TrafficManager
|
|
378
375
|
if status_code == 200
|
379
376
|
begin
|
380
377
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
381
|
-
result_mapper = Profile.mapper()
|
382
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
378
|
+
result_mapper = Azure::ARM::TrafficManager::Models::Profile.mapper()
|
379
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
383
380
|
rescue Exception => e
|
384
381
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
385
382
|
end
|
@@ -456,11 +453,11 @@ module Azure::ARM::TrafficManager
|
|
456
453
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
457
454
|
|
458
455
|
# Serialize Request
|
459
|
-
request_mapper = Profile.mapper()
|
460
|
-
request_content = @client.serialize(request_mapper, parameters
|
456
|
+
request_mapper = Azure::ARM::TrafficManager::Models::Profile.mapper()
|
457
|
+
request_content = @client.serialize(request_mapper, parameters)
|
461
458
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
462
459
|
|
463
|
-
path_template = '
|
460
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}'
|
464
461
|
|
465
462
|
request_url = @base_url || @client.base_url
|
466
463
|
|
@@ -488,8 +485,8 @@ module Azure::ARM::TrafficManager
|
|
488
485
|
if status_code == 200
|
489
486
|
begin
|
490
487
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
491
|
-
result_mapper = Profile.mapper()
|
492
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
488
|
+
result_mapper = Azure::ARM::TrafficManager::Models::Profile.mapper()
|
489
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
493
490
|
rescue Exception => e
|
494
491
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
495
492
|
end
|
@@ -498,8 +495,8 @@ module Azure::ARM::TrafficManager
|
|
498
495
|
if status_code == 201
|
499
496
|
begin
|
500
497
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
501
|
-
result_mapper = Profile.mapper()
|
502
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
498
|
+
result_mapper = Azure::ARM::TrafficManager::Models::Profile.mapper()
|
499
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
503
500
|
rescue Exception => e
|
504
501
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
505
502
|
end
|
@@ -521,10 +518,11 @@ module Azure::ARM::TrafficManager
|
|
521
518
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
522
519
|
# will be added to the HTTP request.
|
523
520
|
#
|
521
|
+
# @return [DeleteOperationResult] operation results.
|
524
522
|
#
|
525
523
|
def delete(resource_group_name, profile_name, custom_headers = nil)
|
526
524
|
response = delete_async(resource_group_name, profile_name, custom_headers).value!
|
527
|
-
nil
|
525
|
+
response.body unless response.nil?
|
528
526
|
end
|
529
527
|
|
530
528
|
#
|
@@ -567,7 +565,7 @@ module Azure::ARM::TrafficManager
|
|
567
565
|
# Set Headers
|
568
566
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
569
567
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
570
|
-
path_template = '
|
568
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}'
|
571
569
|
|
572
570
|
request_url = @base_url || @client.base_url
|
573
571
|
|
@@ -590,6 +588,16 @@ module Azure::ARM::TrafficManager
|
|
590
588
|
end
|
591
589
|
|
592
590
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
591
|
+
# Deserialize Response
|
592
|
+
if status_code == 200
|
593
|
+
begin
|
594
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
595
|
+
result_mapper = Azure::ARM::TrafficManager::Models::DeleteOperationResult.mapper()
|
596
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
597
|
+
rescue Exception => e
|
598
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
599
|
+
end
|
600
|
+
end
|
593
601
|
|
594
602
|
result
|
595
603
|
end
|
@@ -662,11 +670,11 @@ module Azure::ARM::TrafficManager
|
|
662
670
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
663
671
|
|
664
672
|
# Serialize Request
|
665
|
-
request_mapper = Profile.mapper()
|
666
|
-
request_content = @client.serialize(request_mapper, parameters
|
673
|
+
request_mapper = Azure::ARM::TrafficManager::Models::Profile.mapper()
|
674
|
+
request_content = @client.serialize(request_mapper, parameters)
|
667
675
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
668
676
|
|
669
|
-
path_template = '
|
677
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}'
|
670
678
|
|
671
679
|
request_url = @base_url || @client.base_url
|
672
680
|
|
@@ -694,8 +702,8 @@ module Azure::ARM::TrafficManager
|
|
694
702
|
if status_code == 200
|
695
703
|
begin
|
696
704
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
697
|
-
result_mapper = Profile.mapper()
|
698
|
-
result.body = @client.deserialize(result_mapper, parsed_response
|
705
|
+
result_mapper = Azure::ARM::TrafficManager::Models::Profile.mapper()
|
706
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
699
707
|
rescue Exception => e
|
700
708
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
701
709
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -42,6 +42,9 @@ module Azure::ARM::TrafficManager
|
|
42
42
|
# @return [Profiles] profiles
|
43
43
|
attr_reader :profiles
|
44
44
|
|
45
|
+
# @return [GeographicHierarchies] geographic_hierarchies
|
46
|
+
attr_reader :geographic_hierarchies
|
47
|
+
|
45
48
|
#
|
46
49
|
# Creates initializes a new instance of the TrafficManagerManagementClient class.
|
47
50
|
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
@@ -57,7 +60,8 @@ module Azure::ARM::TrafficManager
|
|
57
60
|
|
58
61
|
@endpoints = Endpoints.new(self)
|
59
62
|
@profiles = Profiles.new(self)
|
60
|
-
@
|
63
|
+
@geographic_hierarchies = GeographicHierarchies.new(self)
|
64
|
+
@api_version = '2017-05-01'
|
61
65
|
@accept_language = 'en-US'
|
62
66
|
@long_running_operation_retry_timeout = 30
|
63
67
|
@generate_client_request_id = true
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 1.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::TrafficManager
|
7
|
-
VERSION = '0.
|
7
|
+
VERSION = '0.11.0'
|
8
8
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_traffic_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.8.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.8.0
|
83
83
|
description: Microsoft Azure Traffic Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -90,13 +90,25 @@ files:
|
|
90
90
|
- lib/azure_mgmt_traffic_manager.rb
|
91
91
|
- lib/generated/azure_mgmt_traffic_manager.rb
|
92
92
|
- lib/generated/azure_mgmt_traffic_manager/endpoints.rb
|
93
|
+
- lib/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb
|
93
94
|
- lib/generated/azure_mgmt_traffic_manager/models/check_traffic_manager_relative_dns_name_availability_parameters.rb
|
95
|
+
- lib/generated/azure_mgmt_traffic_manager/models/delete_operation_result.rb
|
94
96
|
- lib/generated/azure_mgmt_traffic_manager/models/dns_config.rb
|
95
97
|
- lib/generated/azure_mgmt_traffic_manager/models/endpoint.rb
|
98
|
+
- lib/generated/azure_mgmt_traffic_manager/models/endpoint_monitor_status.rb
|
99
|
+
- lib/generated/azure_mgmt_traffic_manager/models/endpoint_status.rb
|
96
100
|
- lib/generated/azure_mgmt_traffic_manager/models/monitor_config.rb
|
101
|
+
- lib/generated/azure_mgmt_traffic_manager/models/monitor_protocol.rb
|
97
102
|
- lib/generated/azure_mgmt_traffic_manager/models/profile.rb
|
98
103
|
- lib/generated/azure_mgmt_traffic_manager/models/profile_list_result.rb
|
104
|
+
- lib/generated/azure_mgmt_traffic_manager/models/profile_monitor_status.rb
|
105
|
+
- lib/generated/azure_mgmt_traffic_manager/models/profile_status.rb
|
106
|
+
- lib/generated/azure_mgmt_traffic_manager/models/proxy_resource.rb
|
107
|
+
- lib/generated/azure_mgmt_traffic_manager/models/region.rb
|
108
|
+
- lib/generated/azure_mgmt_traffic_manager/models/tracked_resource.rb
|
109
|
+
- lib/generated/azure_mgmt_traffic_manager/models/traffic_manager_geographic_hierarchy.rb
|
99
110
|
- lib/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb
|
111
|
+
- lib/generated/azure_mgmt_traffic_manager/models/traffic_routing_method.rb
|
100
112
|
- lib/generated/azure_mgmt_traffic_manager/module_definition.rb
|
101
113
|
- lib/generated/azure_mgmt_traffic_manager/profiles.rb
|
102
114
|
- lib/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb
|