azure_mgmt_traffic_manager 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -5,17 +5,36 @@
5
5
  require 'profiles/latest/trafficmanager_module_definition'
6
6
  require 'profiles/latest/modules/trafficmanager_profile_module'
7
7
 
8
- module Azure::TrafficManager::Profiles::Latest::Mgmt
9
- #
10
- # Client class for the Latest profile SDK.
11
- #
12
- class Client < TrafficManagerClass
13
- include MsRestAzure::Common::Configurable
8
+ module Azure::TrafficManager::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < TrafficManagerManagementClass
14
+ include MsRestAzure::Common::Configurable
14
15
 
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
15
37
 
16
- def initialize(options = {})
17
- super(options)
18
38
  end
19
-
20
39
  end
21
40
  end
@@ -6,4 +6,3 @@ module Azure end
6
6
  module Azure::TrafficManager end
7
7
  module Azure::TrafficManager::Profiles end
8
8
  module Azure::TrafficManager::Profiles::Latest end
9
- module Azure::TrafficManager::Profiles::Latest::Mgmt end
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::TrafficManager::Mgmt
6
- VERSION = '0.15.2'
6
+ VERSION = '0.16.0'
7
7
  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.15.2
4
+ version: 0.16.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-12-19 00:00:00.000000000 Z
11
+ date: 2018-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -138,7 +138,6 @@ files:
138
138
  - lib/2017-05-01/generated/azure_mgmt_traffic_manager/models/tracked_resource.rb
139
139
  - lib/2017-05-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_geographic_hierarchy.rb
140
140
  - lib/2017-05-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb
141
- - lib/2017-05-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_user_metrics_key_model.rb
142
141
  - lib/2017-05-01/generated/azure_mgmt_traffic_manager/models/traffic_routing_method.rb
143
142
  - lib/2017-05-01/generated/azure_mgmt_traffic_manager/module_definition.rb
144
143
  - lib/2017-05-01/generated/azure_mgmt_traffic_manager/profiles.rb
@@ -188,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
187
  version: '0'
189
188
  requirements: []
190
189
  rubyforge_project:
191
- rubygems_version: 2.5.1
190
+ rubygems_version: 2.6.10
192
191
  signing_key:
193
192
  specification_version: 4
194
193
  summary: Official Ruby client library to consume Microsoft Azure Traffic Management
@@ -1,74 +0,0 @@
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::V2017_05_01
7
- module Models
8
- #
9
- # Class representing a Traffic Manager Real User Metrics key response.
10
- #
11
- class TrafficManagerUserMetricsKeyModel < ProxyResource
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] The key returned by the Realtime User Metrics
16
- # operation.
17
- attr_accessor :key
18
-
19
-
20
- #
21
- # Mapper for TrafficManagerUserMetricsKeyModel class as Ruby Hash.
22
- # This will be used for serialization/deserialization.
23
- #
24
- def self.mapper()
25
- {
26
- client_side_validation: true,
27
- required: false,
28
- serialized_name: 'TrafficManagerUserMetricsKeyModel',
29
- type: {
30
- name: 'Composite',
31
- class_name: 'TrafficManagerUserMetricsKeyModel',
32
- model_properties: {
33
- id: {
34
- client_side_validation: true,
35
- required: false,
36
- read_only: true,
37
- serialized_name: 'id',
38
- type: {
39
- name: 'String'
40
- }
41
- },
42
- name: {
43
- client_side_validation: true,
44
- required: false,
45
- read_only: true,
46
- serialized_name: 'name',
47
- type: {
48
- name: 'String'
49
- }
50
- },
51
- type: {
52
- client_side_validation: true,
53
- required: false,
54
- read_only: true,
55
- serialized_name: 'type',
56
- type: {
57
- name: 'String'
58
- }
59
- },
60
- key: {
61
- client_side_validation: true,
62
- required: false,
63
- serialized_name: 'properties.key',
64
- type: {
65
- name: 'String'
66
- }
67
- }
68
- }
69
- }
70
- }
71
- end
72
- end
73
- end
74
- end