azure_mgmt_graph 0.7.0 → 0.8.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_graph.rb +17 -17
- data/lib/generated/azure_mgmt_graph/applications.rb +90 -120
- data/lib/generated/azure_mgmt_graph/graph_rbac_management_client.rb +15 -2
- data/lib/generated/azure_mgmt_graph/groups.rb +132 -121
- data/lib/generated/azure_mgmt_graph/models/aadobject.rb +13 -12
- data/lib/generated/azure_mgmt_graph/models/adgroup.rb +7 -7
- data/lib/generated/azure_mgmt_graph/models/application.rb +12 -12
- data/lib/generated/azure_mgmt_graph/models/application_create_parameters.rb +11 -11
- data/lib/generated/azure_mgmt_graph/models/application_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_graph/models/application_update_parameters.rb +10 -11
- data/lib/generated/azure_mgmt_graph/models/check_group_membership_parameters.rb +2 -2
- data/lib/generated/azure_mgmt_graph/models/check_group_membership_result.rb +2 -2
- data/lib/generated/azure_mgmt_graph/models/get_objects_parameters.rb +6 -6
- data/lib/generated/azure_mgmt_graph/models/get_objects_result.rb +4 -4
- data/lib/generated/azure_mgmt_graph/models/graph_error.rb +4 -4
- data/lib/generated/azure_mgmt_graph/models/group_add_member_parameters.rb +3 -3
- data/lib/generated/azure_mgmt_graph/models/group_create_parameters.rb +9 -9
- data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_parameters.rb +5 -5
- data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_result.rb +4 -3
- data/lib/generated/azure_mgmt_graph/models/group_list_result.rb +3 -3
- data/lib/generated/azure_mgmt_graph/models/key_credential.rb +8 -8
- data/lib/generated/azure_mgmt_graph/models/key_credential_list_result.rb +2 -2
- data/lib/generated/azure_mgmt_graph/models/key_credentials_update_parameters.rb +3 -3
- data/lib/generated/azure_mgmt_graph/models/password_credential.rb +6 -6
- data/lib/generated/azure_mgmt_graph/models/password_credential_list_result.rb +3 -2
- data/lib/generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb +4 -3
- data/lib/generated/azure_mgmt_graph/models/password_profile.rb +3 -3
- data/lib/generated/azure_mgmt_graph/models/service_principal.rb +7 -7
- data/lib/generated/azure_mgmt_graph/models/service_principal_create_parameters.rb +5 -5
- data/lib/generated/azure_mgmt_graph/models/service_principal_list_result.rb +2 -2
- data/lib/generated/azure_mgmt_graph/models/user.rb +9 -9
- data/lib/generated/azure_mgmt_graph/models/user_create_parameters.rb +9 -10
- data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_parameters.rb +5 -5
- data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_result.rb +4 -3
- data/lib/generated/azure_mgmt_graph/models/user_list_result.rb +3 -3
- data/lib/generated/azure_mgmt_graph/models/user_update_parameters.rb +6 -7
- data/lib/generated/azure_mgmt_graph/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_graph/objects.rb +36 -35
- data/lib/generated/azure_mgmt_graph/service_principals.rb +84 -101
- data/lib/generated/azure_mgmt_graph/users.rb +77 -86
- data/lib/generated/azure_mgmt_graph/version.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b91b475f72d78931ff6cb683a23d54e26b734f3
|
4
|
+
data.tar.gz: 6f93842d987248e01ef02eacf498f971265fd6a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef2df6a3ad469004ff7d5377d7b4a020a4937c0770e627d00f39e215f8cc58a2986c5d65d042c0718ac5c708324c02d57881f099b608912726fd20d8508fd649
|
7
|
+
data.tar.gz: e92503ae13360d48d6c703b49fc6cc3be947a68a0f0a94bf6aa126520b329be6807dec7d7794e27412b87ffecd3c329857e484dd099fa0b8e3ea13898935ddf7
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -28,37 +28,37 @@ module Azure::ARM::Graph
|
|
28
28
|
autoload :GraphRbacManagementClient, 'generated/azure_mgmt_graph/graph_rbac_management_client.rb'
|
29
29
|
|
30
30
|
module Models
|
31
|
-
autoload :GraphError, 'generated/azure_mgmt_graph/models/graph_error.rb'
|
32
|
-
autoload :KeyCredential, 'generated/azure_mgmt_graph/models/key_credential.rb'
|
33
|
-
autoload :PasswordCredential, 'generated/azure_mgmt_graph/models/password_credential.rb'
|
34
|
-
autoload :ApplicationCreateParameters, 'generated/azure_mgmt_graph/models/application_create_parameters.rb'
|
35
|
-
autoload :ApplicationUpdateParameters, 'generated/azure_mgmt_graph/models/application_update_parameters.rb'
|
36
|
-
autoload :Application, 'generated/azure_mgmt_graph/models/application.rb'
|
37
|
-
autoload :ApplicationListResult, 'generated/azure_mgmt_graph/models/application_list_result.rb'
|
38
|
-
autoload :KeyCredentialListResult, 'generated/azure_mgmt_graph/models/key_credential_list_result.rb'
|
39
|
-
autoload :KeyCredentialsUpdateParameters, 'generated/azure_mgmt_graph/models/key_credentials_update_parameters.rb'
|
40
|
-
autoload :PasswordCredentialListResult, 'generated/azure_mgmt_graph/models/password_credential_list_result.rb'
|
41
|
-
autoload :PasswordCredentialsUpdateParameters, 'generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb'
|
42
|
-
autoload :AADObject, 'generated/azure_mgmt_graph/models/aadobject.rb'
|
43
|
-
autoload :GetObjectsResult, 'generated/azure_mgmt_graph/models/get_objects_result.rb'
|
44
|
-
autoload :GroupAddMemberParameters, 'generated/azure_mgmt_graph/models/group_add_member_parameters.rb'
|
45
|
-
autoload :GroupCreateParameters, 'generated/azure_mgmt_graph/models/group_create_parameters.rb'
|
46
|
-
autoload :ADGroup, 'generated/azure_mgmt_graph/models/adgroup.rb'
|
47
31
|
autoload :GroupListResult, 'generated/azure_mgmt_graph/models/group_list_result.rb'
|
32
|
+
autoload :GraphError, 'generated/azure_mgmt_graph/models/graph_error.rb'
|
48
33
|
autoload :GroupGetMemberGroupsParameters, 'generated/azure_mgmt_graph/models/group_get_member_groups_parameters.rb'
|
34
|
+
autoload :PasswordCredential, 'generated/azure_mgmt_graph/models/password_credential.rb'
|
49
35
|
autoload :GroupGetMemberGroupsResult, 'generated/azure_mgmt_graph/models/group_get_member_groups_result.rb'
|
36
|
+
autoload :ApplicationUpdateParameters, 'generated/azure_mgmt_graph/models/application_update_parameters.rb'
|
50
37
|
autoload :CheckGroupMembershipParameters, 'generated/azure_mgmt_graph/models/check_group_membership_parameters.rb'
|
38
|
+
autoload :ApplicationListResult, 'generated/azure_mgmt_graph/models/application_list_result.rb'
|
51
39
|
autoload :CheckGroupMembershipResult, 'generated/azure_mgmt_graph/models/check_group_membership_result.rb'
|
40
|
+
autoload :KeyCredentialsUpdateParameters, 'generated/azure_mgmt_graph/models/key_credentials_update_parameters.rb'
|
52
41
|
autoload :ServicePrincipalCreateParameters, 'generated/azure_mgmt_graph/models/service_principal_create_parameters.rb'
|
42
|
+
autoload :PasswordCredentialsUpdateParameters, 'generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb'
|
53
43
|
autoload :ServicePrincipal, 'generated/azure_mgmt_graph/models/service_principal.rb'
|
44
|
+
autoload :GetObjectsResult, 'generated/azure_mgmt_graph/models/get_objects_result.rb'
|
54
45
|
autoload :ServicePrincipalListResult, 'generated/azure_mgmt_graph/models/service_principal_list_result.rb'
|
46
|
+
autoload :GroupCreateParameters, 'generated/azure_mgmt_graph/models/group_create_parameters.rb'
|
55
47
|
autoload :PasswordProfile, 'generated/azure_mgmt_graph/models/password_profile.rb'
|
48
|
+
autoload :KeyCredential, 'generated/azure_mgmt_graph/models/key_credential.rb'
|
56
49
|
autoload :UserCreateParameters, 'generated/azure_mgmt_graph/models/user_create_parameters.rb'
|
50
|
+
autoload :Application, 'generated/azure_mgmt_graph/models/application.rb'
|
57
51
|
autoload :UserUpdateParameters, 'generated/azure_mgmt_graph/models/user_update_parameters.rb'
|
52
|
+
autoload :PasswordCredentialListResult, 'generated/azure_mgmt_graph/models/password_credential_list_result.rb'
|
58
53
|
autoload :User, 'generated/azure_mgmt_graph/models/user.rb'
|
54
|
+
autoload :GroupAddMemberParameters, 'generated/azure_mgmt_graph/models/group_add_member_parameters.rb'
|
59
55
|
autoload :UserGetMemberGroupsParameters, 'generated/azure_mgmt_graph/models/user_get_member_groups_parameters.rb'
|
56
|
+
autoload :ApplicationCreateParameters, 'generated/azure_mgmt_graph/models/application_create_parameters.rb'
|
60
57
|
autoload :UserGetMemberGroupsResult, 'generated/azure_mgmt_graph/models/user_get_member_groups_result.rb'
|
58
|
+
autoload :AADObject, 'generated/azure_mgmt_graph/models/aadobject.rb'
|
61
59
|
autoload :UserListResult, 'generated/azure_mgmt_graph/models/user_list_result.rb'
|
60
|
+
autoload :KeyCredentialListResult, 'generated/azure_mgmt_graph/models/key_credential_list_result.rb'
|
62
61
|
autoload :GetObjectsParameters, 'generated/azure_mgmt_graph/models/get_objects_parameters.rb'
|
62
|
+
autoload :ADGroup, 'generated/azure_mgmt_graph/models/adgroup.rb'
|
63
63
|
end
|
64
64
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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::Graph
|
7
7
|
#
|
8
|
-
# Composite Swagger for
|
8
|
+
# Composite Swagger specification for Azure Active Directory Graph RBAC
|
9
|
+
# management client.
|
9
10
|
#
|
10
11
|
class Applications
|
11
12
|
include Azure::ARM::Graph::Models
|
@@ -23,11 +24,10 @@ module Azure::ARM::Graph
|
|
23
24
|
attr_reader :client
|
24
25
|
|
25
26
|
#
|
26
|
-
# Create a new application.
|
27
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
27
|
+
# Create a new application.
|
28
28
|
#
|
29
|
-
# @param parameters [ApplicationCreateParameters]
|
30
|
-
# application.
|
29
|
+
# @param parameters [ApplicationCreateParameters] The parameters for creating
|
30
|
+
# an application.
|
31
31
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
32
|
# will be added to the HTTP request.
|
33
33
|
#
|
@@ -39,11 +39,10 @@ module Azure::ARM::Graph
|
|
39
39
|
end
|
40
40
|
|
41
41
|
#
|
42
|
-
# Create a new application.
|
43
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
42
|
+
# Create a new application.
|
44
43
|
#
|
45
|
-
# @param parameters [ApplicationCreateParameters]
|
46
|
-
# application.
|
44
|
+
# @param parameters [ApplicationCreateParameters] The parameters for creating
|
45
|
+
# an application.
|
47
46
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
48
47
|
# will be added to the HTTP request.
|
49
48
|
#
|
@@ -54,11 +53,10 @@ module Azure::ARM::Graph
|
|
54
53
|
end
|
55
54
|
|
56
55
|
#
|
57
|
-
# Create a new application.
|
58
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
56
|
+
# Create a new application.
|
59
57
|
#
|
60
|
-
# @param parameters [ApplicationCreateParameters]
|
61
|
-
# application.
|
58
|
+
# @param parameters [ApplicationCreateParameters] The parameters for creating
|
59
|
+
# an application.
|
62
60
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
63
61
|
# to the HTTP request.
|
64
62
|
#
|
@@ -125,32 +123,9 @@ module Azure::ARM::Graph
|
|
125
123
|
end
|
126
124
|
|
127
125
|
#
|
128
|
-
# Lists applications by filter parameters.
|
129
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
126
|
+
# Lists applications by filter parameters.
|
130
127
|
#
|
131
|
-
# @param filter [String] The filters to apply
|
132
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
133
|
-
# will be added to the HTTP request.
|
134
|
-
#
|
135
|
-
# @return [ApplicationListResult] which provide lazy access to pages of the
|
136
|
-
# response.
|
137
|
-
#
|
138
|
-
def list_as_lazy(filter = nil, custom_headers = nil)
|
139
|
-
response = list_async(filter, custom_headers).value!
|
140
|
-
unless response.nil?
|
141
|
-
page = response.body
|
142
|
-
page.next_method = Proc.new do |next_link|
|
143
|
-
list_next_async(next_link, custom_headers)
|
144
|
-
end
|
145
|
-
page
|
146
|
-
end
|
147
|
-
end
|
148
|
-
|
149
|
-
#
|
150
|
-
# Lists applications by filter parameters. Reference:
|
151
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
152
|
-
#
|
153
|
-
# @param filter [String] The filters to apply on the operation
|
128
|
+
# @param filter [String] The filters to apply to the operation.
|
154
129
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
155
130
|
# will be added to the HTTP request.
|
156
131
|
#
|
@@ -162,10 +137,9 @@ module Azure::ARM::Graph
|
|
162
137
|
end
|
163
138
|
|
164
139
|
#
|
165
|
-
# Lists applications by filter parameters.
|
166
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
140
|
+
# Lists applications by filter parameters.
|
167
141
|
#
|
168
|
-
# @param filter [String] The filters to apply
|
142
|
+
# @param filter [String] The filters to apply to the operation.
|
169
143
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
170
144
|
# will be added to the HTTP request.
|
171
145
|
#
|
@@ -176,10 +150,9 @@ module Azure::ARM::Graph
|
|
176
150
|
end
|
177
151
|
|
178
152
|
#
|
179
|
-
# Lists applications by filter parameters.
|
180
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
153
|
+
# Lists applications by filter parameters.
|
181
154
|
#
|
182
|
-
# @param filter [String] The filters to apply
|
155
|
+
# @param filter [String] The filters to apply to the operation.
|
183
156
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
184
157
|
# to the HTTP request.
|
185
158
|
#
|
@@ -236,10 +209,9 @@ module Azure::ARM::Graph
|
|
236
209
|
end
|
237
210
|
|
238
211
|
#
|
239
|
-
# Delete an application.
|
240
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
212
|
+
# Delete an application.
|
241
213
|
#
|
242
|
-
# @param application_object_id [String] Application object
|
214
|
+
# @param application_object_id [String] Application object ID.
|
243
215
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
244
216
|
# will be added to the HTTP request.
|
245
217
|
#
|
@@ -250,10 +222,9 @@ module Azure::ARM::Graph
|
|
250
222
|
end
|
251
223
|
|
252
224
|
#
|
253
|
-
# Delete an application.
|
254
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
225
|
+
# Delete an application.
|
255
226
|
#
|
256
|
-
# @param application_object_id [String] Application object
|
227
|
+
# @param application_object_id [String] Application object ID.
|
257
228
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
258
229
|
# will be added to the HTTP request.
|
259
230
|
#
|
@@ -264,10 +235,9 @@ module Azure::ARM::Graph
|
|
264
235
|
end
|
265
236
|
|
266
237
|
#
|
267
|
-
# Delete an application.
|
268
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
238
|
+
# Delete an application.
|
269
239
|
#
|
270
|
-
# @param application_object_id [String] Application object
|
240
|
+
# @param application_object_id [String] Application object ID.
|
271
241
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
272
242
|
# to the HTTP request.
|
273
243
|
#
|
@@ -316,10 +286,9 @@ module Azure::ARM::Graph
|
|
316
286
|
end
|
317
287
|
|
318
288
|
#
|
319
|
-
# Get an application by object
|
320
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
289
|
+
# Get an application by object ID.
|
321
290
|
#
|
322
|
-
# @param application_object_id [String] Application object
|
291
|
+
# @param application_object_id [String] Application object ID.
|
323
292
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
324
293
|
# will be added to the HTTP request.
|
325
294
|
#
|
@@ -331,10 +300,9 @@ module Azure::ARM::Graph
|
|
331
300
|
end
|
332
301
|
|
333
302
|
#
|
334
|
-
# Get an application by object
|
335
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
303
|
+
# Get an application by object ID.
|
336
304
|
#
|
337
|
-
# @param application_object_id [String] Application object
|
305
|
+
# @param application_object_id [String] Application object ID.
|
338
306
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
339
307
|
# will be added to the HTTP request.
|
340
308
|
#
|
@@ -345,10 +313,9 @@ module Azure::ARM::Graph
|
|
345
313
|
end
|
346
314
|
|
347
315
|
#
|
348
|
-
# Get an application by object
|
349
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
316
|
+
# Get an application by object ID.
|
350
317
|
#
|
351
|
-
# @param application_object_id [String] Application object
|
318
|
+
# @param application_object_id [String] Application object ID.
|
352
319
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
353
320
|
# to the HTTP request.
|
354
321
|
#
|
@@ -407,10 +374,9 @@ module Azure::ARM::Graph
|
|
407
374
|
end
|
408
375
|
|
409
376
|
#
|
410
|
-
# Update existing application.
|
411
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
377
|
+
# Update an existing application.
|
412
378
|
#
|
413
|
-
# @param application_object_id [String] Application object
|
379
|
+
# @param application_object_id [String] Application object ID.
|
414
380
|
# @param parameters [ApplicationUpdateParameters] Parameters to update an
|
415
381
|
# existing application.
|
416
382
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -423,10 +389,9 @@ module Azure::ARM::Graph
|
|
423
389
|
end
|
424
390
|
|
425
391
|
#
|
426
|
-
# Update existing application.
|
427
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
392
|
+
# Update an existing application.
|
428
393
|
#
|
429
|
-
# @param application_object_id [String] Application object
|
394
|
+
# @param application_object_id [String] Application object ID.
|
430
395
|
# @param parameters [ApplicationUpdateParameters] Parameters to update an
|
431
396
|
# existing application.
|
432
397
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -439,10 +404,9 @@ module Azure::ARM::Graph
|
|
439
404
|
end
|
440
405
|
|
441
406
|
#
|
442
|
-
# Update existing application.
|
443
|
-
# http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx
|
407
|
+
# Update an existing application.
|
444
408
|
#
|
445
|
-
# @param application_object_id [String] Application object
|
409
|
+
# @param application_object_id [String] Application object ID.
|
446
410
|
# @param parameters [ApplicationUpdateParameters] Parameters to update an
|
447
411
|
# existing application.
|
448
412
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -503,10 +467,9 @@ module Azure::ARM::Graph
|
|
503
467
|
end
|
504
468
|
|
505
469
|
#
|
506
|
-
# Get keyCredentials associated with
|
507
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#keycredential-type
|
470
|
+
# Get the keyCredentials associated with an application.
|
508
471
|
#
|
509
|
-
# @param application_object_id [String] Application object
|
472
|
+
# @param application_object_id [String] Application object ID.
|
510
473
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
511
474
|
# will be added to the HTTP request.
|
512
475
|
#
|
@@ -518,10 +481,9 @@ module Azure::ARM::Graph
|
|
518
481
|
end
|
519
482
|
|
520
483
|
#
|
521
|
-
# Get keyCredentials associated with
|
522
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#keycredential-type
|
484
|
+
# Get the keyCredentials associated with an application.
|
523
485
|
#
|
524
|
-
# @param application_object_id [String] Application object
|
486
|
+
# @param application_object_id [String] Application object ID.
|
525
487
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
526
488
|
# will be added to the HTTP request.
|
527
489
|
#
|
@@ -532,10 +494,9 @@ module Azure::ARM::Graph
|
|
532
494
|
end
|
533
495
|
|
534
496
|
#
|
535
|
-
# Get keyCredentials associated with
|
536
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#keycredential-type
|
497
|
+
# Get the keyCredentials associated with an application.
|
537
498
|
#
|
538
|
-
# @param application_object_id [String] Application object
|
499
|
+
# @param application_object_id [String] Application object ID.
|
539
500
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
540
501
|
# to the HTTP request.
|
541
502
|
#
|
@@ -594,11 +555,10 @@ module Azure::ARM::Graph
|
|
594
555
|
end
|
595
556
|
|
596
557
|
#
|
597
|
-
# Update keyCredentials associated with an
|
598
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#keycredential-type
|
558
|
+
# Update the keyCredentials associated with an application.
|
599
559
|
#
|
600
|
-
# @param application_object_id [String] Application object
|
601
|
-
# @param parameters [KeyCredentialsUpdateParameters] Parameters to update
|
560
|
+
# @param application_object_id [String] Application object ID.
|
561
|
+
# @param parameters [KeyCredentialsUpdateParameters] Parameters to update the
|
602
562
|
# keyCredentials of an existing application.
|
603
563
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
604
564
|
# will be added to the HTTP request.
|
@@ -610,11 +570,10 @@ module Azure::ARM::Graph
|
|
610
570
|
end
|
611
571
|
|
612
572
|
#
|
613
|
-
# Update keyCredentials associated with an
|
614
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#keycredential-type
|
573
|
+
# Update the keyCredentials associated with an application.
|
615
574
|
#
|
616
|
-
# @param application_object_id [String] Application object
|
617
|
-
# @param parameters [KeyCredentialsUpdateParameters] Parameters to update
|
575
|
+
# @param application_object_id [String] Application object ID.
|
576
|
+
# @param parameters [KeyCredentialsUpdateParameters] Parameters to update the
|
618
577
|
# keyCredentials of an existing application.
|
619
578
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
620
579
|
# will be added to the HTTP request.
|
@@ -626,11 +585,10 @@ module Azure::ARM::Graph
|
|
626
585
|
end
|
627
586
|
|
628
587
|
#
|
629
|
-
# Update keyCredentials associated with an
|
630
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#keycredential-type
|
588
|
+
# Update the keyCredentials associated with an application.
|
631
589
|
#
|
632
|
-
# @param application_object_id [String] Application object
|
633
|
-
# @param parameters [KeyCredentialsUpdateParameters] Parameters to update
|
590
|
+
# @param application_object_id [String] Application object ID.
|
591
|
+
# @param parameters [KeyCredentialsUpdateParameters] Parameters to update the
|
634
592
|
# keyCredentials of an existing application.
|
635
593
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
636
594
|
# to the HTTP request.
|
@@ -690,10 +648,9 @@ module Azure::ARM::Graph
|
|
690
648
|
end
|
691
649
|
|
692
650
|
#
|
693
|
-
#
|
694
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#passwordcredential-type
|
651
|
+
# Get the passwordCredentials associated with an application.
|
695
652
|
#
|
696
|
-
# @param application_object_id [String] Application object
|
653
|
+
# @param application_object_id [String] Application object ID.
|
697
654
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
698
655
|
# will be added to the HTTP request.
|
699
656
|
#
|
@@ -705,10 +662,9 @@ module Azure::ARM::Graph
|
|
705
662
|
end
|
706
663
|
|
707
664
|
#
|
708
|
-
#
|
709
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#passwordcredential-type
|
665
|
+
# Get the passwordCredentials associated with an application.
|
710
666
|
#
|
711
|
-
# @param application_object_id [String] Application object
|
667
|
+
# @param application_object_id [String] Application object ID.
|
712
668
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
713
669
|
# will be added to the HTTP request.
|
714
670
|
#
|
@@ -719,10 +675,9 @@ module Azure::ARM::Graph
|
|
719
675
|
end
|
720
676
|
|
721
677
|
#
|
722
|
-
#
|
723
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#passwordcredential-type
|
678
|
+
# Get the passwordCredentials associated with an application.
|
724
679
|
#
|
725
|
-
# @param application_object_id [String] Application object
|
680
|
+
# @param application_object_id [String] Application object ID.
|
726
681
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
727
682
|
# to the HTTP request.
|
728
683
|
#
|
@@ -781,11 +736,9 @@ module Azure::ARM::Graph
|
|
781
736
|
end
|
782
737
|
|
783
738
|
#
|
784
|
-
#
|
785
|
-
# Reference:
|
786
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#passwordcredential-type
|
739
|
+
# Update passwordCredentials associated with an application.
|
787
740
|
#
|
788
|
-
# @param application_object_id [String] Application object
|
741
|
+
# @param application_object_id [String] Application object ID.
|
789
742
|
# @param parameters [PasswordCredentialsUpdateParameters] Parameters to update
|
790
743
|
# passwordCredentials of an existing application.
|
791
744
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -798,11 +751,9 @@ module Azure::ARM::Graph
|
|
798
751
|
end
|
799
752
|
|
800
753
|
#
|
801
|
-
#
|
802
|
-
# Reference:
|
803
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#passwordcredential-type
|
754
|
+
# Update passwordCredentials associated with an application.
|
804
755
|
#
|
805
|
-
# @param application_object_id [String] Application object
|
756
|
+
# @param application_object_id [String] Application object ID.
|
806
757
|
# @param parameters [PasswordCredentialsUpdateParameters] Parameters to update
|
807
758
|
# passwordCredentials of an existing application.
|
808
759
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -815,11 +766,9 @@ module Azure::ARM::Graph
|
|
815
766
|
end
|
816
767
|
|
817
768
|
#
|
818
|
-
#
|
819
|
-
# Reference:
|
820
|
-
# https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/entity-and-complex-type-reference#passwordcredential-type
|
769
|
+
# Update passwordCredentials associated with an application.
|
821
770
|
#
|
822
|
-
# @param application_object_id [String] Application object
|
771
|
+
# @param application_object_id [String] Application object ID.
|
823
772
|
# @param parameters [PasswordCredentialsUpdateParameters] Parameters to update
|
824
773
|
# passwordCredentials of an existing application.
|
825
774
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -880,9 +829,9 @@ module Azure::ARM::Graph
|
|
880
829
|
end
|
881
830
|
|
882
831
|
#
|
883
|
-
# Gets list of applications from the current tenant.
|
832
|
+
# Gets a list of applications from the current tenant.
|
884
833
|
#
|
885
|
-
# @param next_link [String] Next link for list operation.
|
834
|
+
# @param next_link [String] Next link for the list operation.
|
886
835
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
887
836
|
# will be added to the HTTP request.
|
888
837
|
#
|
@@ -894,9 +843,9 @@ module Azure::ARM::Graph
|
|
894
843
|
end
|
895
844
|
|
896
845
|
#
|
897
|
-
# Gets list of applications from the current tenant.
|
846
|
+
# Gets a list of applications from the current tenant.
|
898
847
|
#
|
899
|
-
# @param next_link [String] Next link for list operation.
|
848
|
+
# @param next_link [String] Next link for the list operation.
|
900
849
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
901
850
|
# will be added to the HTTP request.
|
902
851
|
#
|
@@ -907,9 +856,9 @@ module Azure::ARM::Graph
|
|
907
856
|
end
|
908
857
|
|
909
858
|
#
|
910
|
-
# Gets list of applications from the current tenant.
|
859
|
+
# Gets a list of applications from the current tenant.
|
911
860
|
#
|
912
|
-
# @param next_link [String] Next link for list operation.
|
861
|
+
# @param next_link [String] Next link for the list operation.
|
913
862
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
914
863
|
# to the HTTP request.
|
915
864
|
#
|
@@ -967,5 +916,26 @@ module Azure::ARM::Graph
|
|
967
916
|
promise.execute
|
968
917
|
end
|
969
918
|
|
919
|
+
#
|
920
|
+
# Lists applications by filter parameters.
|
921
|
+
#
|
922
|
+
# @param filter [String] The filters to apply to the operation.
|
923
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
924
|
+
# will be added to the HTTP request.
|
925
|
+
#
|
926
|
+
# @return [ApplicationListResult] which provide lazy access to pages of the
|
927
|
+
# response.
|
928
|
+
#
|
929
|
+
def list_as_lazy(filter = nil, custom_headers = nil)
|
930
|
+
response = list_async(filter, custom_headers).value!
|
931
|
+
unless response.nil?
|
932
|
+
page = response.body
|
933
|
+
page.next_method = Proc.new do |next_link|
|
934
|
+
list_next_async(next_link, custom_headers)
|
935
|
+
end
|
936
|
+
page
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
970
940
|
end
|
971
941
|
end
|