azure_mgmt_resources 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.
- checksums.yaml +4 -4
- data/lib/2016-02-01/generated/azure_mgmt_resources/deployment_operations.rb +21 -18
- data/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb +65 -60
- data/lib/2016-02-01/generated/azure_mgmt_resources/providers.rb +33 -28
- data/lib/2016-02-01/generated/azure_mgmt_resources/resource_groups.rb +70 -66
- data/lib/2016-02-01/generated/azure_mgmt_resources/resource_management_client.rb +4 -1
- data/lib/2016-02-01/generated/azure_mgmt_resources/resources.rb +233 -46
- data/lib/2016-02-01/generated/azure_mgmt_resources/tags.rb +39 -33
- data/lib/2016-07-01/generated/azure_mgmt_resources/deployment_operations.rb +21 -18
- data/lib/2016-07-01/generated/azure_mgmt_resources/deployments.rb +65 -60
- data/lib/2016-07-01/generated/azure_mgmt_resources/providers.rb +33 -28
- data/lib/2016-07-01/generated/azure_mgmt_resources/resource_groups.rb +70 -66
- data/lib/2016-07-01/generated/azure_mgmt_resources/resource_management_client.rb +4 -1
- data/lib/2016-07-01/generated/azure_mgmt_resources/resources.rb +233 -46
- data/lib/2016-07-01/generated/azure_mgmt_resources/tags.rb +39 -33
- data/lib/2016-09-01/generated/azure_mgmt_resources/deployment_operations.rb +21 -18
- data/lib/2016-09-01/generated/azure_mgmt_resources/deployments.rb +65 -60
- data/lib/2016-09-01/generated/azure_mgmt_resources/providers.rb +33 -28
- data/lib/2016-09-01/generated/azure_mgmt_resources/resource_groups.rb +70 -66
- data/lib/2016-09-01/generated/azure_mgmt_resources/resource_management_client.rb +4 -1
- data/lib/2016-09-01/generated/azure_mgmt_resources/resources.rb +428 -84
- data/lib/2016-09-01/generated/azure_mgmt_resources/tags.rb +39 -33
- data/lib/2017-05-10/generated/azure_mgmt_resources/deployment_operations.rb +21 -18
- data/lib/2017-05-10/generated/azure_mgmt_resources/deployments.rb +65 -60
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/plan.rb +11 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group.rb +1 -1
- data/lib/2017-05-10/generated/azure_mgmt_resources/providers.rb +33 -28
- data/lib/2017-05-10/generated/azure_mgmt_resources/resource_groups.rb +55 -53
- data/lib/2017-05-10/generated/azure_mgmt_resources/resource_management_client.rb +4 -1
- data/lib/2017-05-10/generated/azure_mgmt_resources/resources.rb +453 -108
- data/lib/2017-05-10/generated/azure_mgmt_resources/tags.rb +39 -33
- data/lib/profiles/latest/modules/resources_profile_module.rb +174 -155
- data/lib/profiles/latest/resources_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/resources_module_definition.rb +0 -1
- data/lib/profiles/v2017_03_09/modules/resources_profile_module.rb +171 -152
- data/lib/profiles/v2017_03_09/resources_module_definition.rb +0 -1
- data/lib/profiles/v2017_03_09/resources_v2017_03_09_profile_client.rb +28 -9
- data/lib/version.rb +1 -1
- metadata +3 -3
@@ -5,17 +5,36 @@
|
|
5
5
|
require 'profiles/latest/resources_module_definition'
|
6
6
|
require 'profiles/latest/modules/resources_profile_module'
|
7
7
|
|
8
|
-
module Azure::Resources::Profiles::Latest
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
module Azure::Resources::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < ResourcesManagementClass
|
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
|
@@ -4,7 +4,8 @@
|
|
4
4
|
|
5
5
|
require 'azure_mgmt_resources'
|
6
6
|
|
7
|
-
module Azure::Resources::Profiles::V2017_03_09
|
7
|
+
module Azure::Resources::Profiles::V2017_03_09
|
8
|
+
module Mgmt
|
8
9
|
Deployments = Azure::Resources::Mgmt::V2016_02_01::Deployments
|
9
10
|
Providers = Azure::Resources::Mgmt::V2016_02_01::Providers
|
10
11
|
ResourceGroups = Azure::Resources::Mgmt::V2016_02_01::ResourceGroups
|
@@ -62,9 +63,9 @@ module Azure::Resources::Profiles::V2017_03_09::Mgmt
|
|
62
63
|
end
|
63
64
|
|
64
65
|
#
|
65
|
-
#
|
66
|
+
# ResourcesManagementClass
|
66
67
|
#
|
67
|
-
class
|
68
|
+
class ResourcesManagementClass
|
68
69
|
attr_reader :deployments, :providers, :resource_groups, :resources, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes
|
69
70
|
|
70
71
|
def initialize(options = {})
|
@@ -76,161 +77,179 @@ module Azure::Resources::Profiles::V2017_03_09::Mgmt
|
|
76
77
|
|
77
78
|
reset!(options)
|
78
79
|
|
79
|
-
@configurable
|
80
|
+
@configurable = self
|
81
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
82
|
+
@options = options[:options].nil? ? nil:options[:options]
|
80
83
|
|
81
|
-
client_0 = Azure::Resources::Mgmt::V2016_02_01::ResourceManagementClient.new(configurable.credentials, base_url, options)
|
82
|
-
if(client_0.respond_to?(:subscription_id))
|
83
|
-
client_0.subscription_id = configurable.subscription_id
|
84
|
-
end
|
85
|
-
@
|
86
|
-
@
|
87
|
-
@
|
88
|
-
@
|
89
|
-
@
|
90
|
-
@
|
84
|
+
@client_0 = Azure::Resources::Mgmt::V2016_02_01::ResourceManagementClient.new(configurable.credentials, base_url, options)
|
85
|
+
if(@client_0.respond_to?(:subscription_id))
|
86
|
+
@client_0.subscription_id = configurable.subscription_id
|
87
|
+
end
|
88
|
+
add_telemetry(@client_0)
|
89
|
+
@deployments = @client_0.deployments
|
90
|
+
@providers = @client_0.providers
|
91
|
+
@resource_groups = @client_0.resource_groups
|
92
|
+
@resources = @client_0.resources
|
93
|
+
@tags = @client_0.tags
|
94
|
+
@deployment_operations = @client_0.deployment_operations
|
91
95
|
|
92
96
|
@model_classes = ModelClasses.new
|
93
97
|
end
|
94
98
|
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
def resource_group_filter
|
106
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupFilter
|
107
|
-
end
|
108
|
-
def template_link
|
109
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::TemplateLink
|
110
|
-
end
|
111
|
-
def debug_setting
|
112
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::DebugSetting
|
113
|
-
end
|
114
|
-
def resource_list_result
|
115
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceListResult
|
116
|
-
end
|
117
|
-
def deployment
|
118
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::Deployment
|
119
|
-
end
|
120
|
-
def resource_group_properties
|
121
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupProperties
|
122
|
-
end
|
123
|
-
def resource_management_error_with_details
|
124
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceManagementErrorWithDetails
|
125
|
-
end
|
126
|
-
def resource_group
|
127
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroup
|
128
|
-
end
|
129
|
-
def alias_type
|
130
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::AliasType
|
131
|
-
end
|
132
|
-
def resource_group_list_result
|
133
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult
|
134
|
-
end
|
135
|
-
def provider
|
136
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::Provider
|
137
|
-
end
|
138
|
-
def resources_move_info
|
139
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo
|
140
|
-
end
|
141
|
-
def dependency
|
142
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::Dependency
|
143
|
-
end
|
144
|
-
def export_template_request
|
145
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest
|
146
|
-
end
|
147
|
-
def deployment_validate_result
|
148
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult
|
149
|
-
end
|
150
|
-
def tag_count
|
151
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::TagCount
|
152
|
-
end
|
153
|
-
def deployment_list_result
|
154
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult
|
155
|
-
end
|
156
|
-
def tag_value
|
157
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::TagValue
|
158
|
-
end
|
159
|
-
def plan
|
160
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::Plan
|
161
|
-
end
|
162
|
-
def tag_details
|
163
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails
|
164
|
-
end
|
165
|
-
def parameters_link
|
166
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink
|
167
|
-
end
|
168
|
-
def tags_list_result
|
169
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult
|
170
|
-
end
|
171
|
-
def deployment_export_result
|
172
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult
|
173
|
-
end
|
174
|
-
def target_resource
|
175
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource
|
176
|
-
end
|
177
|
-
def provider_resource_type
|
178
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ProviderResourceType
|
179
|
-
end
|
180
|
-
def http_message
|
181
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::HttpMessage
|
182
|
-
end
|
183
|
-
def deployment_properties_extended
|
184
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended
|
185
|
-
end
|
186
|
-
def deployment_operation_properties
|
187
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationProperties
|
188
|
-
end
|
189
|
-
def provider_list_result
|
190
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ProviderListResult
|
191
|
-
end
|
192
|
-
def deployment_operation
|
193
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperation
|
194
|
-
end
|
195
|
-
def deployment_properties
|
196
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentProperties
|
197
|
-
end
|
198
|
-
def deployment_operations_list_result
|
199
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationsListResult
|
200
|
-
end
|
201
|
-
def basic_dependency
|
202
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency
|
203
|
-
end
|
204
|
-
def resource_provider_operation_display_properties
|
205
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties
|
206
|
-
end
|
207
|
-
def generic_resource_filter
|
208
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter
|
209
|
-
end
|
210
|
-
def resource
|
211
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::Resource
|
212
|
-
end
|
213
|
-
def deployment_extended
|
214
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended
|
215
|
-
end
|
216
|
-
def sub_resource
|
217
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::SubResource
|
218
|
-
end
|
219
|
-
def alias_path_type
|
220
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType
|
221
|
-
end
|
222
|
-
def resource_group_export_result
|
223
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult
|
224
|
-
end
|
225
|
-
def generic_resource
|
226
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource
|
227
|
-
end
|
228
|
-
def deployment_mode
|
229
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode
|
230
|
-
end
|
231
|
-
def resource_identity_type
|
232
|
-
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType
|
99
|
+
def add_telemetry(client)
|
100
|
+
profile_information = 'Profiles/V2017_03_09/Resources/Mgmt'
|
101
|
+
client.add_user_agent_information(profile_information)
|
102
|
+
end
|
103
|
+
|
104
|
+
def method_missing(method, *args)
|
105
|
+
if @client_0.respond_to?method
|
106
|
+
@client_0.send(method, *args)
|
107
|
+
else
|
108
|
+
super
|
233
109
|
end
|
234
110
|
end
|
111
|
+
|
112
|
+
end
|
113
|
+
|
114
|
+
class ModelClasses
|
115
|
+
def sku
|
116
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::Sku
|
117
|
+
end
|
118
|
+
def deployment_extended_filter
|
119
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter
|
120
|
+
end
|
121
|
+
def identity
|
122
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::Identity
|
123
|
+
end
|
124
|
+
def resource_group_filter
|
125
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupFilter
|
126
|
+
end
|
127
|
+
def template_link
|
128
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::TemplateLink
|
129
|
+
end
|
130
|
+
def debug_setting
|
131
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DebugSetting
|
132
|
+
end
|
133
|
+
def resource_list_result
|
134
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceListResult
|
135
|
+
end
|
136
|
+
def deployment
|
137
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::Deployment
|
138
|
+
end
|
139
|
+
def resource_group_properties
|
140
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupProperties
|
141
|
+
end
|
142
|
+
def resource_management_error_with_details
|
143
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceManagementErrorWithDetails
|
144
|
+
end
|
145
|
+
def resource_group
|
146
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroup
|
147
|
+
end
|
148
|
+
def alias_type
|
149
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::AliasType
|
150
|
+
end
|
151
|
+
def resource_group_list_result
|
152
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult
|
153
|
+
end
|
154
|
+
def provider
|
155
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::Provider
|
156
|
+
end
|
157
|
+
def resources_move_info
|
158
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo
|
159
|
+
end
|
160
|
+
def dependency
|
161
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::Dependency
|
162
|
+
end
|
163
|
+
def export_template_request
|
164
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest
|
165
|
+
end
|
166
|
+
def deployment_validate_result
|
167
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult
|
168
|
+
end
|
169
|
+
def tag_count
|
170
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::TagCount
|
171
|
+
end
|
172
|
+
def deployment_list_result
|
173
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult
|
174
|
+
end
|
175
|
+
def tag_value
|
176
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::TagValue
|
177
|
+
end
|
178
|
+
def plan
|
179
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::Plan
|
180
|
+
end
|
181
|
+
def tag_details
|
182
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails
|
183
|
+
end
|
184
|
+
def parameters_link
|
185
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink
|
186
|
+
end
|
187
|
+
def tags_list_result
|
188
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult
|
189
|
+
end
|
190
|
+
def deployment_export_result
|
191
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult
|
192
|
+
end
|
193
|
+
def target_resource
|
194
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource
|
195
|
+
end
|
196
|
+
def provider_resource_type
|
197
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ProviderResourceType
|
198
|
+
end
|
199
|
+
def http_message
|
200
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::HttpMessage
|
201
|
+
end
|
202
|
+
def deployment_properties_extended
|
203
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended
|
204
|
+
end
|
205
|
+
def deployment_operation_properties
|
206
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationProperties
|
207
|
+
end
|
208
|
+
def provider_list_result
|
209
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ProviderListResult
|
210
|
+
end
|
211
|
+
def deployment_operation
|
212
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperation
|
213
|
+
end
|
214
|
+
def deployment_properties
|
215
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentProperties
|
216
|
+
end
|
217
|
+
def deployment_operations_list_result
|
218
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationsListResult
|
219
|
+
end
|
220
|
+
def basic_dependency
|
221
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency
|
222
|
+
end
|
223
|
+
def resource_provider_operation_display_properties
|
224
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties
|
225
|
+
end
|
226
|
+
def generic_resource_filter
|
227
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter
|
228
|
+
end
|
229
|
+
def resource
|
230
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::Resource
|
231
|
+
end
|
232
|
+
def deployment_extended
|
233
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended
|
234
|
+
end
|
235
|
+
def sub_resource
|
236
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::SubResource
|
237
|
+
end
|
238
|
+
def alias_path_type
|
239
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType
|
240
|
+
end
|
241
|
+
def resource_group_export_result
|
242
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult
|
243
|
+
end
|
244
|
+
def generic_resource
|
245
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource
|
246
|
+
end
|
247
|
+
def deployment_mode
|
248
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode
|
249
|
+
end
|
250
|
+
def resource_identity_type
|
251
|
+
Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType
|
252
|
+
end
|
235
253
|
end
|
254
|
+
end
|
236
255
|
end
|
@@ -5,17 +5,36 @@
|
|
5
5
|
require 'profiles/v2017_03_09/resources_module_definition'
|
6
6
|
require 'profiles/v2017_03_09/modules/resources_profile_module'
|
7
7
|
|
8
|
-
module Azure::Resources::Profiles::V2017_03_09
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
module Azure::Resources::Profiles::V2017_03_09
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the V2017_03_09 profile SDK.
|
12
|
+
#
|
13
|
+
class Client < ResourcesManagementClass
|
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
|