azure_mgmt_graph 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/LICENSE.txt +21 -0
- data/Rakefile +5 -0
- data/azure_mgmt_graph.gemspec +35 -0
- data/lib/azure_mgmt_graph.rb +55 -0
- data/lib/azure_mgmt_graph/application_operations.rb +336 -0
- data/lib/azure_mgmt_graph/graph_rbac_management_client.rb +82 -0
- data/lib/azure_mgmt_graph/group_operations.rb +647 -0
- data/lib/azure_mgmt_graph/models/aadobject.rb +138 -0
- data/lib/azure_mgmt_graph/models/adgroup.rb +92 -0
- data/lib/azure_mgmt_graph/models/application.rb +122 -0
- data/lib/azure_mgmt_graph/models/application_create_parameters.rb +160 -0
- data/lib/azure_mgmt_graph/models/application_filter.rb +74 -0
- data/lib/azure_mgmt_graph/models/application_list_result.rb +76 -0
- data/lib/azure_mgmt_graph/models/get_objects_parameters.rb +77 -0
- data/lib/azure_mgmt_graph/models/get_objects_result.rb +85 -0
- data/lib/azure_mgmt_graph/models/group_add_member_parameters.rb +56 -0
- data/lib/azure_mgmt_graph/models/group_create_parameters.rb +86 -0
- data/lib/azure_mgmt_graph/models/group_get_member_groups_parameters.rb +58 -0
- data/lib/azure_mgmt_graph/models/group_get_member_groups_result.rb +56 -0
- data/lib/azure_mgmt_graph/models/group_list_result.rb +85 -0
- data/lib/azure_mgmt_graph/models/key_credential.rb +105 -0
- data/lib/azure_mgmt_graph/models/password_credential.rb +87 -0
- data/lib/azure_mgmt_graph/models/service_principal.rb +92 -0
- data/lib/azure_mgmt_graph/models/service_principal_create_parameters.rb +66 -0
- data/lib/azure_mgmt_graph/models/service_principal_list_result.rb +86 -0
- data/lib/azure_mgmt_graph/models/user.rb +101 -0
- data/lib/azure_mgmt_graph/models/user_create_parameters.rb +103 -0
- data/lib/azure_mgmt_graph/models/user_create_parameters_password_profile.rb +65 -0
- data/lib/azure_mgmt_graph/models/user_get_member_groups_parameters.rb +58 -0
- data/lib/azure_mgmt_graph/models/user_get_member_groups_result.rb +56 -0
- data/lib/azure_mgmt_graph/models/user_list_result.rb +85 -0
- data/lib/azure_mgmt_graph/module_definition.rb +8 -0
- data/lib/azure_mgmt_graph/object_operations.rb +217 -0
- data/lib/azure_mgmt_graph/service_principal_operations.rb +331 -0
- data/lib/azure_mgmt_graph/user_operations.rb +408 -0
- data/lib/azure_mgmt_graph/version.rb +8 -0
- metadata +166 -0
@@ -0,0 +1,408 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Graph
|
7
|
+
#
|
8
|
+
# UserOperations
|
9
|
+
#
|
10
|
+
class UserOperations
|
11
|
+
include Azure::ARM::Graph::Models
|
12
|
+
include MsRestAzure
|
13
|
+
|
14
|
+
#
|
15
|
+
# Creates and initializes a new instance of the UserOperations class.
|
16
|
+
# @param client service class for accessing basic functionality.
|
17
|
+
#
|
18
|
+
def initialize(client)
|
19
|
+
@client = client
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return reference to the GraphRbacManagementClient
|
23
|
+
attr_reader :client
|
24
|
+
|
25
|
+
#
|
26
|
+
# Delete a user. Reference:
|
27
|
+
# http://msdn.microsoft.com/en-us/library/azure/dn151676.aspx
|
28
|
+
#
|
29
|
+
# @param user [String] user object id or user principal name
|
30
|
+
# @param [Hash{String => String}] The hash of custom headers need to be
|
31
|
+
# applied to HTTP request.
|
32
|
+
#
|
33
|
+
# @return [Concurrent::Promise] Promise object which allows to get HTTP
|
34
|
+
# response.
|
35
|
+
#
|
36
|
+
def delete(user, custom_headers = nil)
|
37
|
+
fail ArgumentError, 'user is nil' if user.nil?
|
38
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
39
|
+
fail ArgumentError, '@client.tenant_id is nil' if @client.tenant_id.nil?
|
40
|
+
request_headers = {}
|
41
|
+
|
42
|
+
# Set Headers
|
43
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
44
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
45
|
+
path_template = '/{tenantID}/users/{user}'
|
46
|
+
options = {
|
47
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
48
|
+
path_params: {'tenantID' => @client.tenant_id},
|
49
|
+
skip_encoding_path_params: {'user' => user},
|
50
|
+
query_params: {'api-version' => @client.api_version},
|
51
|
+
headers: request_headers.merge(custom_headers || {})
|
52
|
+
}
|
53
|
+
request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :delete, options)
|
54
|
+
promise = request.run_promise do |req|
|
55
|
+
@client.credentials.sign_request(req) unless @client.credentials.nil?
|
56
|
+
end
|
57
|
+
|
58
|
+
promise = promise.then do |http_response|
|
59
|
+
status_code = http_response.status
|
60
|
+
response_content = http_response.body
|
61
|
+
unless status_code == 204
|
62
|
+
error_model = JSON.load(response_content)
|
63
|
+
fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
|
64
|
+
end
|
65
|
+
|
66
|
+
# Create Result
|
67
|
+
result = MsRestAzure::AzureOperationResponse.new(request, http_response)
|
68
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
69
|
+
|
70
|
+
result
|
71
|
+
end
|
72
|
+
|
73
|
+
promise.execute
|
74
|
+
end
|
75
|
+
|
76
|
+
#
|
77
|
+
# Create a new user. Reference:
|
78
|
+
# http://msdn.microsoft.com/en-us/library/azure/dn151676.aspx
|
79
|
+
#
|
80
|
+
# @param parameters [UserCreateParameters] Parameters to create a user.
|
81
|
+
# @param [Hash{String => String}] The hash of custom headers need to be
|
82
|
+
# applied to HTTP request.
|
83
|
+
#
|
84
|
+
# @return [Concurrent::Promise] Promise object which allows to get HTTP
|
85
|
+
# response.
|
86
|
+
#
|
87
|
+
def create(parameters, custom_headers = nil)
|
88
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
89
|
+
parameters.validate unless parameters.nil?
|
90
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
91
|
+
fail ArgumentError, '@client.tenant_id is nil' if @client.tenant_id.nil?
|
92
|
+
request_headers = {}
|
93
|
+
|
94
|
+
# Set Headers
|
95
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
96
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
97
|
+
|
98
|
+
# Serialize Request
|
99
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
100
|
+
unless parameters.nil?
|
101
|
+
parameters = UserCreateParameters.serialize_object(parameters)
|
102
|
+
end
|
103
|
+
request_content = JSON.generate(parameters, quirks_mode: true)
|
104
|
+
path_template = '/{tenantID}/users'
|
105
|
+
options = {
|
106
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
107
|
+
path_params: {'tenantID' => @client.tenant_id},
|
108
|
+
query_params: {'api-version' => @client.api_version},
|
109
|
+
body: request_content,
|
110
|
+
headers: request_headers.merge(custom_headers || {})
|
111
|
+
}
|
112
|
+
request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :post, options)
|
113
|
+
promise = request.run_promise do |req|
|
114
|
+
@client.credentials.sign_request(req) unless @client.credentials.nil?
|
115
|
+
end
|
116
|
+
|
117
|
+
promise = promise.then do |http_response|
|
118
|
+
status_code = http_response.status
|
119
|
+
response_content = http_response.body
|
120
|
+
unless status_code == 201
|
121
|
+
error_model = JSON.load(response_content)
|
122
|
+
fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
|
123
|
+
end
|
124
|
+
|
125
|
+
# Create Result
|
126
|
+
result = MsRestAzure::AzureOperationResponse.new(request, http_response)
|
127
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
128
|
+
# Deserialize Response
|
129
|
+
if status_code == 201
|
130
|
+
begin
|
131
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
132
|
+
unless parsed_response.nil?
|
133
|
+
parsed_response = User.deserialize_object(parsed_response)
|
134
|
+
end
|
135
|
+
result.body = parsed_response
|
136
|
+
rescue Exception => e
|
137
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
result
|
142
|
+
end
|
143
|
+
|
144
|
+
promise.execute
|
145
|
+
end
|
146
|
+
|
147
|
+
#
|
148
|
+
# Gets list of users for the current tenant.
|
149
|
+
#
|
150
|
+
# @param filter [String] The filter to apply on the operation.
|
151
|
+
# @param [Hash{String => String}] The hash of custom headers need to be
|
152
|
+
# applied to HTTP request.
|
153
|
+
#
|
154
|
+
# @return [Concurrent::Promise] Promise object which allows to get HTTP
|
155
|
+
# response.
|
156
|
+
#
|
157
|
+
def list(filter = nil, custom_headers = nil)
|
158
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
159
|
+
fail ArgumentError, '@client.tenant_id is nil' if @client.tenant_id.nil?
|
160
|
+
request_headers = {}
|
161
|
+
|
162
|
+
# Set Headers
|
163
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
164
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
165
|
+
path_template = '/{tenantID}/users'
|
166
|
+
options = {
|
167
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
168
|
+
path_params: {'tenantID' => @client.tenant_id},
|
169
|
+
query_params: {'$filter' => filter,'api-version' => @client.api_version},
|
170
|
+
headers: request_headers.merge(custom_headers || {})
|
171
|
+
}
|
172
|
+
request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :get, options)
|
173
|
+
promise = request.run_promise do |req|
|
174
|
+
@client.credentials.sign_request(req) unless @client.credentials.nil?
|
175
|
+
end
|
176
|
+
|
177
|
+
promise = promise.then do |http_response|
|
178
|
+
status_code = http_response.status
|
179
|
+
response_content = http_response.body
|
180
|
+
unless status_code == 200
|
181
|
+
error_model = JSON.load(response_content)
|
182
|
+
fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
|
183
|
+
end
|
184
|
+
|
185
|
+
# Create Result
|
186
|
+
result = MsRestAzure::AzureOperationResponse.new(request, http_response)
|
187
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
188
|
+
# Deserialize Response
|
189
|
+
if status_code == 200
|
190
|
+
begin
|
191
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
192
|
+
unless parsed_response.nil?
|
193
|
+
parsed_response = UserListResult.deserialize_object(parsed_response)
|
194
|
+
end
|
195
|
+
result.body = parsed_response
|
196
|
+
rescue Exception => e
|
197
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
result
|
202
|
+
end
|
203
|
+
|
204
|
+
promise.execute
|
205
|
+
end
|
206
|
+
|
207
|
+
#
|
208
|
+
# Gets user information from the directory. Reference:
|
209
|
+
# http://msdn.microsoft.com/en-us/library/azure/dn151676.aspx
|
210
|
+
#
|
211
|
+
# @param upn_or_object_id [String] User object Id or user principal name to
|
212
|
+
# get user information.
|
213
|
+
# @param [Hash{String => String}] The hash of custom headers need to be
|
214
|
+
# applied to HTTP request.
|
215
|
+
#
|
216
|
+
# @return [Concurrent::Promise] Promise object which allows to get HTTP
|
217
|
+
# response.
|
218
|
+
#
|
219
|
+
def get(upn_or_object_id, custom_headers = nil)
|
220
|
+
fail ArgumentError, 'upn_or_object_id is nil' if upn_or_object_id.nil?
|
221
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
222
|
+
fail ArgumentError, '@client.tenant_id is nil' if @client.tenant_id.nil?
|
223
|
+
request_headers = {}
|
224
|
+
|
225
|
+
# Set Headers
|
226
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
227
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
228
|
+
path_template = '/{tenantID}/users/{upnOrObjectId}'
|
229
|
+
options = {
|
230
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
231
|
+
path_params: {'tenantID' => @client.tenant_id},
|
232
|
+
skip_encoding_path_params: {'upnOrObjectId' => upn_or_object_id},
|
233
|
+
query_params: {'api-version' => @client.api_version},
|
234
|
+
headers: request_headers.merge(custom_headers || {})
|
235
|
+
}
|
236
|
+
request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :get, options)
|
237
|
+
promise = request.run_promise do |req|
|
238
|
+
@client.credentials.sign_request(req) unless @client.credentials.nil?
|
239
|
+
end
|
240
|
+
|
241
|
+
promise = promise.then do |http_response|
|
242
|
+
status_code = http_response.status
|
243
|
+
response_content = http_response.body
|
244
|
+
unless status_code == 200
|
245
|
+
error_model = JSON.load(response_content)
|
246
|
+
fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
|
247
|
+
end
|
248
|
+
|
249
|
+
# Create Result
|
250
|
+
result = MsRestAzure::AzureOperationResponse.new(request, http_response)
|
251
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
252
|
+
# Deserialize Response
|
253
|
+
if status_code == 200
|
254
|
+
begin
|
255
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
256
|
+
unless parsed_response.nil?
|
257
|
+
parsed_response = User.deserialize_object(parsed_response)
|
258
|
+
end
|
259
|
+
result.body = parsed_response
|
260
|
+
rescue Exception => e
|
261
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
result
|
266
|
+
end
|
267
|
+
|
268
|
+
promise.execute
|
269
|
+
end
|
270
|
+
|
271
|
+
#
|
272
|
+
# Gets a collection that contains the Object IDs of the groups of which the
|
273
|
+
# user is a member.
|
274
|
+
#
|
275
|
+
# @param object_id [String] User filtering parameters.
|
276
|
+
# @param parameters [UserGetMemberGroupsParameters] User filtering parameters.
|
277
|
+
# @param [Hash{String => String}] The hash of custom headers need to be
|
278
|
+
# applied to HTTP request.
|
279
|
+
#
|
280
|
+
# @return [Concurrent::Promise] Promise object which allows to get HTTP
|
281
|
+
# response.
|
282
|
+
#
|
283
|
+
def get_member_groups(object_id, parameters, custom_headers = nil)
|
284
|
+
fail ArgumentError, 'object_id is nil' if object_id.nil?
|
285
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
286
|
+
parameters.validate unless parameters.nil?
|
287
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
288
|
+
fail ArgumentError, '@client.tenant_id is nil' if @client.tenant_id.nil?
|
289
|
+
request_headers = {}
|
290
|
+
|
291
|
+
# Set Headers
|
292
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
293
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
294
|
+
|
295
|
+
# Serialize Request
|
296
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
297
|
+
unless parameters.nil?
|
298
|
+
parameters = UserGetMemberGroupsParameters.serialize_object(parameters)
|
299
|
+
end
|
300
|
+
request_content = JSON.generate(parameters, quirks_mode: true)
|
301
|
+
path_template = '/{tenantID}/users/{objectId}/getMemberGroups'
|
302
|
+
options = {
|
303
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
304
|
+
path_params: {'tenantID' => @client.tenant_id},
|
305
|
+
skip_encoding_path_params: {'objectId' => object_id},
|
306
|
+
query_params: {'api-version' => @client.api_version},
|
307
|
+
body: request_content,
|
308
|
+
headers: request_headers.merge(custom_headers || {})
|
309
|
+
}
|
310
|
+
request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :post, options)
|
311
|
+
promise = request.run_promise do |req|
|
312
|
+
@client.credentials.sign_request(req) unless @client.credentials.nil?
|
313
|
+
end
|
314
|
+
|
315
|
+
promise = promise.then do |http_response|
|
316
|
+
status_code = http_response.status
|
317
|
+
response_content = http_response.body
|
318
|
+
unless status_code == 200
|
319
|
+
error_model = JSON.load(response_content)
|
320
|
+
fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
|
321
|
+
end
|
322
|
+
|
323
|
+
# Create Result
|
324
|
+
result = MsRestAzure::AzureOperationResponse.new(request, http_response)
|
325
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
326
|
+
# Deserialize Response
|
327
|
+
if status_code == 200
|
328
|
+
begin
|
329
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
330
|
+
unless parsed_response.nil?
|
331
|
+
parsed_response = UserGetMemberGroupsResult.deserialize_object(parsed_response)
|
332
|
+
end
|
333
|
+
result.body = parsed_response
|
334
|
+
rescue Exception => e
|
335
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
result
|
340
|
+
end
|
341
|
+
|
342
|
+
promise.execute
|
343
|
+
end
|
344
|
+
|
345
|
+
#
|
346
|
+
# Gets list of users for the current tenant.
|
347
|
+
#
|
348
|
+
# @param next_link [String] Next link for list operation.
|
349
|
+
# @param [Hash{String => String}] The hash of custom headers need to be
|
350
|
+
# applied to HTTP request.
|
351
|
+
#
|
352
|
+
# @return [Concurrent::Promise] Promise object which allows to get HTTP
|
353
|
+
# response.
|
354
|
+
#
|
355
|
+
def list_next(next_link, custom_headers = nil)
|
356
|
+
fail ArgumentError, 'next_link is nil' if next_link.nil?
|
357
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
358
|
+
fail ArgumentError, '@client.tenant_id is nil' if @client.tenant_id.nil?
|
359
|
+
request_headers = {}
|
360
|
+
|
361
|
+
# Set Headers
|
362
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
363
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
364
|
+
path_template = '/{tenantID}/{nextLink}'
|
365
|
+
options = {
|
366
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
367
|
+
path_params: {'tenantID' => @client.tenant_id},
|
368
|
+
skip_encoding_path_params: {'nextLink' => next_link},
|
369
|
+
query_params: {'api-version' => @client.api_version},
|
370
|
+
headers: request_headers.merge(custom_headers || {})
|
371
|
+
}
|
372
|
+
request = MsRest::HttpOperationRequest.new(@base_url || @client.base_url, path_template, :get, options)
|
373
|
+
promise = request.run_promise do |req|
|
374
|
+
@client.credentials.sign_request(req) unless @client.credentials.nil?
|
375
|
+
end
|
376
|
+
|
377
|
+
promise = promise.then do |http_response|
|
378
|
+
status_code = http_response.status
|
379
|
+
response_content = http_response.body
|
380
|
+
unless status_code == 200
|
381
|
+
error_model = JSON.load(response_content)
|
382
|
+
fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
|
383
|
+
end
|
384
|
+
|
385
|
+
# Create Result
|
386
|
+
result = MsRestAzure::AzureOperationResponse.new(request, http_response)
|
387
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
388
|
+
# Deserialize Response
|
389
|
+
if status_code == 200
|
390
|
+
begin
|
391
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
392
|
+
unless parsed_response.nil?
|
393
|
+
parsed_response = UserListResult.deserialize_object(parsed_response)
|
394
|
+
end
|
395
|
+
result.body = parsed_response
|
396
|
+
rescue Exception => e
|
397
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
result
|
402
|
+
end
|
403
|
+
|
404
|
+
promise.execute
|
405
|
+
end
|
406
|
+
|
407
|
+
end
|
408
|
+
end
|
metadata
ADDED
@@ -0,0 +1,166 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_mgmt_graph
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Microsoft Corporation
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-03-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dotenv
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: azure_mgmt_resources
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.2'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.2'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: ms_rest_azure
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.2.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.2.0
|
97
|
+
description: Microsoft Azure Active Directory Graph Management Client Library for
|
98
|
+
Ruby
|
99
|
+
email: azrubyteam@microsoft.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".rspec"
|
105
|
+
- LICENSE.txt
|
106
|
+
- Rakefile
|
107
|
+
- azure_mgmt_graph.gemspec
|
108
|
+
- lib/azure_mgmt_graph.rb
|
109
|
+
- lib/azure_mgmt_graph/application_operations.rb
|
110
|
+
- lib/azure_mgmt_graph/graph_rbac_management_client.rb
|
111
|
+
- lib/azure_mgmt_graph/group_operations.rb
|
112
|
+
- lib/azure_mgmt_graph/models/aadobject.rb
|
113
|
+
- lib/azure_mgmt_graph/models/adgroup.rb
|
114
|
+
- lib/azure_mgmt_graph/models/application.rb
|
115
|
+
- lib/azure_mgmt_graph/models/application_create_parameters.rb
|
116
|
+
- lib/azure_mgmt_graph/models/application_filter.rb
|
117
|
+
- lib/azure_mgmt_graph/models/application_list_result.rb
|
118
|
+
- lib/azure_mgmt_graph/models/get_objects_parameters.rb
|
119
|
+
- lib/azure_mgmt_graph/models/get_objects_result.rb
|
120
|
+
- lib/azure_mgmt_graph/models/group_add_member_parameters.rb
|
121
|
+
- lib/azure_mgmt_graph/models/group_create_parameters.rb
|
122
|
+
- lib/azure_mgmt_graph/models/group_get_member_groups_parameters.rb
|
123
|
+
- lib/azure_mgmt_graph/models/group_get_member_groups_result.rb
|
124
|
+
- lib/azure_mgmt_graph/models/group_list_result.rb
|
125
|
+
- lib/azure_mgmt_graph/models/key_credential.rb
|
126
|
+
- lib/azure_mgmt_graph/models/password_credential.rb
|
127
|
+
- lib/azure_mgmt_graph/models/service_principal.rb
|
128
|
+
- lib/azure_mgmt_graph/models/service_principal_create_parameters.rb
|
129
|
+
- lib/azure_mgmt_graph/models/service_principal_list_result.rb
|
130
|
+
- lib/azure_mgmt_graph/models/user.rb
|
131
|
+
- lib/azure_mgmt_graph/models/user_create_parameters.rb
|
132
|
+
- lib/azure_mgmt_graph/models/user_create_parameters_password_profile.rb
|
133
|
+
- lib/azure_mgmt_graph/models/user_get_member_groups_parameters.rb
|
134
|
+
- lib/azure_mgmt_graph/models/user_get_member_groups_result.rb
|
135
|
+
- lib/azure_mgmt_graph/models/user_list_result.rb
|
136
|
+
- lib/azure_mgmt_graph/module_definition.rb
|
137
|
+
- lib/azure_mgmt_graph/object_operations.rb
|
138
|
+
- lib/azure_mgmt_graph/service_principal_operations.rb
|
139
|
+
- lib/azure_mgmt_graph/user_operations.rb
|
140
|
+
- lib/azure_mgmt_graph/version.rb
|
141
|
+
homepage: http://github.com/azure/azure-sdk-for-ruby
|
142
|
+
licenses:
|
143
|
+
- MIT
|
144
|
+
metadata: {}
|
145
|
+
post_install_message:
|
146
|
+
rdoc_options: []
|
147
|
+
require_paths:
|
148
|
+
- lib
|
149
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 1.9.3
|
154
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
159
|
+
requirements: []
|
160
|
+
rubyforge_project:
|
161
|
+
rubygems_version: 2.4.6
|
162
|
+
signing_key:
|
163
|
+
specification_version: 4
|
164
|
+
summary: Official Ruby client library to consume Microsoft Azure Active Directory
|
165
|
+
Graph Management services.
|
166
|
+
test_files: []
|