azure_sdk 0.25.0 → 0.25.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,170 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'v2019_03_01_hybrid/module_definition'
6
+ require 'v2019_03_01_hybrid/modules/authorization_profile_module'
7
+ require 'v2019_03_01_hybrid/modules/locks_profile_module'
8
+ require 'v2019_03_01_hybrid/modules/policy_profile_module'
9
+ require 'v2019_03_01_hybrid/modules/compute_profile_module'
10
+ require 'v2019_03_01_hybrid/modules/keyvault_profile_module'
11
+ require 'v2019_03_01_hybrid/modules/network_profile_module'
12
+ require 'v2019_03_01_hybrid/modules/dns_profile_module'
13
+ require 'v2019_03_01_hybrid/modules/resources_profile_module'
14
+ require 'v2019_03_01_hybrid/modules/subscriptions_profile_module'
15
+ require 'v2019_03_01_hybrid/modules/storage_profile_module'
16
+ require 'v2019_03_01_hybrid/modules/monitor_profile_module'
17
+ require 'v2019_03_01_hybrid/modules/web_profile_module'
18
+
19
+ module Azure::Profiles::V2019_03_01_Hybrid
20
+ #
21
+ # Client class for the V2019_03_01_Hybrid profile SDK.
22
+ #
23
+ class Client
24
+ include MsRestAzure::Common::Configurable
25
+
26
+ attr_reader :authorization, :locks, :policy, :compute, :key_vault, :network, :dns, :resources, :subscriptions, :storage, :monitor, :web
27
+
28
+ #
29
+ # Initializes a new instance of the Client class.
30
+ # @param options [Hash] hash of client options.
31
+ # options = {
32
+ # tenant_id: 'YOUR TENANT ID',
33
+ # client_id: 'YOUR CLIENT ID',
34
+ # client_secret: 'YOUR CLIENT SECRET',
35
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
36
+ # credentials: credentials,
37
+ # active_directory_settings: active_directory_settings,
38
+ # base_url: 'YOUR BASE URL',
39
+ # options: options
40
+ # }
41
+ # 'credentials' are optional and if not passed in the hash, will be obtained
42
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
43
+ #
44
+ # Also, base_url, active_directory_settings & options are optional.
45
+ #
46
+ def initialize(options = {})
47
+ if options.is_a?(Hash) && options.length == 0
48
+ @options = setup_default_options
49
+ else
50
+ @options = options
51
+ end
52
+
53
+ reset!(options)
54
+
55
+ base_url = options[:base_url].nil? ? nil:options[:base_url]
56
+ sdk_options = options[:options].nil? ? nil:options[:options]
57
+
58
+ @authorization = AuthorizationAdapter.new(self, base_url, sdk_options)
59
+ @locks = LocksAdapter.new(self, base_url, sdk_options)
60
+ @policy = PolicyAdapter.new(self, base_url, sdk_options)
61
+ @compute = ComputeAdapter.new(self, base_url, sdk_options)
62
+ @key_vault = KeyVaultAdapter.new(self, base_url, sdk_options)
63
+ @network = NetworkAdapter.new(self, base_url, sdk_options)
64
+ @dns = DnsAdapter.new(self, base_url, sdk_options)
65
+ @resources = ResourcesAdapter.new(self, base_url, sdk_options)
66
+ @subscriptions = SubscriptionsAdapter.new(self, base_url, sdk_options)
67
+ @storage = StorageAdapter.new(self, base_url, sdk_options)
68
+ @monitor = MonitorAdapter.new(self, base_url, sdk_options)
69
+ @web = WebAdapter.new(self, base_url, sdk_options)
70
+ end
71
+
72
+ class AuthorizationAdapter
73
+ attr_accessor :mgmt
74
+
75
+ def initialize(context, base_url, options)
76
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::Authorization::Mgmt::AuthorizationManagementClass.new(context, base_url, options)
77
+ end
78
+ end
79
+
80
+ class LocksAdapter
81
+ attr_accessor :mgmt
82
+
83
+ def initialize(context, base_url, options)
84
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::Locks::Mgmt::LocksManagementClass.new(context, base_url, options)
85
+ end
86
+ end
87
+
88
+ class PolicyAdapter
89
+ attr_accessor :mgmt
90
+
91
+ def initialize(context, base_url, options)
92
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::Policy::Mgmt::PolicyManagementClass.new(context, base_url, options)
93
+ end
94
+ end
95
+
96
+ class ComputeAdapter
97
+ attr_accessor :mgmt
98
+
99
+ def initialize(context, base_url, options)
100
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::Compute::Mgmt::ComputeManagementClass.new(context, base_url, options)
101
+ end
102
+ end
103
+
104
+ class KeyVaultAdapter < Azure::Profiles::V2019_03_01_Hybrid::KeyVault::KeyVaultDataClass
105
+ attr_accessor :mgmt
106
+
107
+ def initialize(context, base_url, options)
108
+ super(context)
109
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::KeyVault::Mgmt::KeyVaultManagementClass.new(context, base_url, options)
110
+ end
111
+ end
112
+
113
+ class NetworkAdapter
114
+ attr_accessor :mgmt
115
+
116
+ def initialize(context, base_url, options)
117
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::Network::Mgmt::NetworkManagementClass.new(context, base_url, options)
118
+ end
119
+ end
120
+
121
+ class DnsAdapter
122
+ attr_accessor :mgmt
123
+
124
+ def initialize(context, base_url, options)
125
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::Dns::Mgmt::DnsManagementClass.new(context, base_url, options)
126
+ end
127
+ end
128
+
129
+ class ResourcesAdapter
130
+ attr_accessor :mgmt
131
+
132
+ def initialize(context, base_url, options)
133
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::Resources::Mgmt::ResourcesManagementClass.new(context, base_url, options)
134
+ end
135
+ end
136
+
137
+ class SubscriptionsAdapter
138
+ attr_accessor :mgmt
139
+
140
+ def initialize(context, base_url, options)
141
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::Subscriptions::Mgmt::SubscriptionsManagementClass.new(context, base_url, options)
142
+ end
143
+ end
144
+
145
+ class StorageAdapter
146
+ attr_accessor :mgmt
147
+
148
+ def initialize(context, base_url, options)
149
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::Storage::Mgmt::StorageManagementClass.new(context, base_url, options)
150
+ end
151
+ end
152
+
153
+ class MonitorAdapter
154
+ attr_accessor :mgmt
155
+
156
+ def initialize(context, base_url, options)
157
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::Monitor::Mgmt::MonitorManagementClass.new(context, base_url, options)
158
+ end
159
+ end
160
+
161
+ class WebAdapter
162
+ attr_accessor :mgmt
163
+
164
+ def initialize(context, base_url, options)
165
+ @mgmt = Azure::Profiles::V2019_03_01_Hybrid::Web::Mgmt::WebManagementClass.new(context, base_url, options)
166
+ end
167
+ end
168
+
169
+ end
170
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.25.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2019-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.18.3
103
+ version: 0.18.4
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.18.3
110
+ version: 0.18.4
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: azure_mgmt_automation
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -198,14 +198,14 @@ dependencies:
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: 0.18.4
201
+ version: 0.18.5
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: 0.18.4
208
+ version: 0.18.5
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: azure_mgmt_consumption
211
211
  requirement: !ruby/object:Gem::Requirement
@@ -338,14 +338,14 @@ dependencies:
338
338
  requirements:
339
339
  - - "~>"
340
340
  - !ruby/object:Gem::Version
341
- version: 0.17.3
341
+ version: 0.17.4
342
342
  type: :runtime
343
343
  prerelease: false
344
344
  version_requirements: !ruby/object:Gem::Requirement
345
345
  requirements:
346
346
  - - "~>"
347
347
  - !ruby/object:Gem::Version
348
- version: 0.17.3
348
+ version: 0.17.4
349
349
  - !ruby/object:Gem::Dependency
350
350
  name: azure_mgmt_event_grid
351
351
  requirement: !ruby/object:Gem::Requirement
@@ -422,14 +422,14 @@ dependencies:
422
422
  requirements:
423
423
  - - "~>"
424
424
  - !ruby/object:Gem::Version
425
- version: 0.17.3
425
+ version: 0.17.4
426
426
  type: :runtime
427
427
  prerelease: false
428
428
  version_requirements: !ruby/object:Gem::Requirement
429
429
  requirements:
430
430
  - - "~>"
431
431
  - !ruby/object:Gem::Version
432
- version: 0.17.3
432
+ version: 0.17.4
433
433
  - !ruby/object:Gem::Dependency
434
434
  name: azure_mgmt_links
435
435
  requirement: !ruby/object:Gem::Requirement
@@ -450,14 +450,14 @@ dependencies:
450
450
  requirements:
451
451
  - - "~>"
452
452
  - !ruby/object:Gem::Version
453
- version: 0.17.2
453
+ version: 0.17.3
454
454
  type: :runtime
455
455
  prerelease: false
456
456
  version_requirements: !ruby/object:Gem::Requirement
457
457
  requirements:
458
458
  - - "~>"
459
459
  - !ruby/object:Gem::Version
460
- version: 0.17.2
460
+ version: 0.17.3
461
461
  - !ruby/object:Gem::Dependency
462
462
  name: azure_mgmt_logic
463
463
  requirement: !ruby/object:Gem::Requirement
@@ -534,14 +534,14 @@ dependencies:
534
534
  requirements:
535
535
  - - "~>"
536
536
  - !ruby/object:Gem::Version
537
- version: 0.17.3
537
+ version: 0.17.4
538
538
  type: :runtime
539
539
  prerelease: false
540
540
  version_requirements: !ruby/object:Gem::Requirement
541
541
  requirements:
542
542
  - - "~>"
543
543
  - !ruby/object:Gem::Version
544
- version: 0.17.3
544
+ version: 0.17.4
545
545
  - !ruby/object:Gem::Dependency
546
546
  name: azure_mgmt_msi
547
547
  requirement: !ruby/object:Gem::Requirement
@@ -562,14 +562,14 @@ dependencies:
562
562
  requirements:
563
563
  - - "~>"
564
564
  - !ruby/object:Gem::Version
565
- version: 0.18.6
565
+ version: 0.18.7
566
566
  type: :runtime
567
567
  prerelease: false
568
568
  version_requirements: !ruby/object:Gem::Requirement
569
569
  requirements:
570
570
  - - "~>"
571
571
  - !ruby/object:Gem::Version
572
- version: 0.18.6
572
+ version: 0.18.7
573
573
  - !ruby/object:Gem::Dependency
574
574
  name: azure_mgmt_notification_hubs
575
575
  requirement: !ruby/object:Gem::Requirement
@@ -604,14 +604,14 @@ dependencies:
604
604
  requirements:
605
605
  - - "~>"
606
606
  - !ruby/object:Gem::Version
607
- version: 0.17.3
607
+ version: 0.17.4
608
608
  type: :runtime
609
609
  prerelease: false
610
610
  version_requirements: !ruby/object:Gem::Requirement
611
611
  requirements:
612
612
  - - "~>"
613
613
  - !ruby/object:Gem::Version
614
- version: 0.17.3
614
+ version: 0.17.4
615
615
  - !ruby/object:Gem::Dependency
616
616
  name: azure_mgmt_policy_insights
617
617
  requirement: !ruby/object:Gem::Requirement
@@ -716,14 +716,14 @@ dependencies:
716
716
  requirements:
717
717
  - - "~>"
718
718
  - !ruby/object:Gem::Version
719
- version: 0.17.3
719
+ version: 0.17.4
720
720
  type: :runtime
721
721
  prerelease: false
722
722
  version_requirements: !ruby/object:Gem::Requirement
723
723
  requirements:
724
724
  - - "~>"
725
725
  - !ruby/object:Gem::Version
726
- version: 0.17.3
726
+ version: 0.17.4
727
727
  - !ruby/object:Gem::Dependency
728
728
  name: azure_mgmt_resources_management
729
729
  requirement: !ruby/object:Gem::Requirement
@@ -856,14 +856,14 @@ dependencies:
856
856
  requirements:
857
857
  - - "~>"
858
858
  - !ruby/object:Gem::Version
859
- version: 0.17.7
859
+ version: 0.17.8
860
860
  type: :runtime
861
861
  prerelease: false
862
862
  version_requirements: !ruby/object:Gem::Requirement
863
863
  requirements:
864
864
  - - "~>"
865
865
  - !ruby/object:Gem::Version
866
- version: 0.17.7
866
+ version: 0.17.8
867
867
  - !ruby/object:Gem::Dependency
868
868
  name: azure_mgmt_stream_analytics
869
869
  requirement: !ruby/object:Gem::Requirement
@@ -884,14 +884,14 @@ dependencies:
884
884
  requirements:
885
885
  - - "~>"
886
886
  - !ruby/object:Gem::Version
887
- version: 0.17.2
887
+ version: 0.17.3
888
888
  type: :runtime
889
889
  prerelease: false
890
890
  version_requirements: !ruby/object:Gem::Requirement
891
891
  requirements:
892
892
  - - "~>"
893
893
  - !ruby/object:Gem::Version
894
- version: 0.17.2
894
+ version: 0.17.3
895
895
  - !ruby/object:Gem::Dependency
896
896
  name: azure_mgmt_traffic_manager
897
897
  requirement: !ruby/object:Gem::Requirement
@@ -912,14 +912,14 @@ dependencies:
912
912
  requirements:
913
913
  - - "~>"
914
914
  - !ruby/object:Gem::Version
915
- version: 0.17.3
915
+ version: 0.17.4
916
916
  type: :runtime
917
917
  prerelease: false
918
918
  version_requirements: !ruby/object:Gem::Requirement
919
919
  requirements:
920
920
  - - "~>"
921
921
  - !ruby/object:Gem::Version
922
- version: 0.17.3
922
+ version: 0.17.4
923
923
  - !ruby/object:Gem::Dependency
924
924
  name: azure_graph_rbac
925
925
  requirement: !ruby/object:Gem::Requirement
@@ -1108,14 +1108,14 @@ dependencies:
1108
1108
  requirements:
1109
1109
  - - "~>"
1110
1110
  - !ruby/object:Gem::Version
1111
- version: 0.17.2
1111
+ version: 0.17.3
1112
1112
  type: :runtime
1113
1113
  prerelease: false
1114
1114
  version_requirements: !ruby/object:Gem::Requirement
1115
1115
  requirements:
1116
1116
  - - "~>"
1117
1117
  - !ruby/object:Gem::Version
1118
- version: 0.17.2
1118
+ version: 0.17.3
1119
1119
  - !ruby/object:Gem::Dependency
1120
1120
  name: azure-storage
1121
1121
  requirement: !ruby/object:Gem::Requirement
@@ -1265,6 +1265,20 @@ files:
1265
1265
  - lib/v2018_03_01/modules/subscriptions_profile_module.rb
1266
1266
  - lib/v2018_03_01/modules/web_profile_module.rb
1267
1267
  - lib/v2018_03_01/v2018_03_01_profile_client.rb
1268
+ - lib/v2019_03_01_hybrid/module_definition.rb
1269
+ - lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb
1270
+ - lib/v2019_03_01_hybrid/modules/compute_profile_module.rb
1271
+ - lib/v2019_03_01_hybrid/modules/dns_profile_module.rb
1272
+ - lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb
1273
+ - lib/v2019_03_01_hybrid/modules/locks_profile_module.rb
1274
+ - lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb
1275
+ - lib/v2019_03_01_hybrid/modules/network_profile_module.rb
1276
+ - lib/v2019_03_01_hybrid/modules/policy_profile_module.rb
1277
+ - lib/v2019_03_01_hybrid/modules/resources_profile_module.rb
1278
+ - lib/v2019_03_01_hybrid/modules/storage_profile_module.rb
1279
+ - lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb
1280
+ - lib/v2019_03_01_hybrid/modules/web_profile_module.rb
1281
+ - lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb
1268
1282
  homepage: https://aka.ms/azure-sdk-for-ruby
1269
1283
  licenses:
1270
1284
  - MIT
@@ -1273,7 +1287,7 @@ metadata:
1273
1287
  changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
1274
1288
  documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
1275
1289
  homepage_uri: https://aka.ms/azure-sdk-for-ruby
1276
- source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.25.0
1290
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.25.1
1277
1291
  wiki_uri: https://github.com/Azure/azure-sdk-for-ruby/wiki
1278
1292
  post_install_message:
1279
1293
  rdoc_options: []