azure_mgmt_graph 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/azure_mgmt_graph.gemspec +1 -1
  3. data/lib/generated/azure_mgmt_graph.rb +5 -0
  4. data/lib/generated/azure_mgmt_graph/applications.rb +395 -6
  5. data/lib/generated/azure_mgmt_graph/graph_rbac_management_client.rb +2 -2
  6. data/lib/generated/azure_mgmt_graph/groups.rb +16 -16
  7. data/lib/generated/azure_mgmt_graph/models/aadobject.rb +10 -11
  8. data/lib/generated/azure_mgmt_graph/models/adgroup.rb +5 -5
  9. data/lib/generated/azure_mgmt_graph/models/application.rb +7 -7
  10. data/lib/generated/azure_mgmt_graph/models/application_create_parameters.rb +4 -5
  11. data/lib/generated/azure_mgmt_graph/models/application_update_parameters.rb +14 -4
  12. data/lib/generated/azure_mgmt_graph/models/get_objects_result.rb +1 -1
  13. data/lib/generated/azure_mgmt_graph/models/graph_error.rb +54 -0
  14. data/lib/generated/azure_mgmt_graph/models/group_list_result.rb +2 -2
  15. data/lib/generated/azure_mgmt_graph/models/key_credential.rb +8 -7
  16. data/lib/generated/azure_mgmt_graph/models/key_credential_list_result.rb +52 -0
  17. data/lib/generated/azure_mgmt_graph/models/key_credentials_update_parameters.rb +52 -0
  18. data/lib/generated/azure_mgmt_graph/models/password_credential.rb +5 -5
  19. data/lib/generated/azure_mgmt_graph/models/password_credential_list_result.rb +52 -0
  20. data/lib/generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb +52 -0
  21. data/lib/generated/azure_mgmt_graph/models/service_principal.rb +5 -5
  22. data/lib/generated/azure_mgmt_graph/models/service_principal_create_parameters.rb +38 -1
  23. data/lib/generated/azure_mgmt_graph/models/service_principal_list_result.rb +2 -3
  24. data/lib/generated/azure_mgmt_graph/models/user.rb +6 -6
  25. data/lib/generated/azure_mgmt_graph/models/user_list_result.rb +2 -2
  26. data/lib/generated/azure_mgmt_graph/objects.rb +2 -2
  27. data/lib/generated/azure_mgmt_graph/service_principals.rb +406 -8
  28. data/lib/generated/azure_mgmt_graph/users.rb +10 -10
  29. data/lib/generated/azure_mgmt_graph/version.rb +1 -1
  30. metadata +9 -4
@@ -19,7 +19,7 @@ module Azure::ARM::Graph
19
19
  @client = client
20
20
  end
21
21
 
22
- # @return reference to the GraphRbacManagementClient
22
+ # @return [GraphRbacManagementClient] reference to the GraphRbacManagementClient
23
23
  attr_reader :client
24
24
 
25
25
  #
@@ -101,7 +101,7 @@ module Azure::ARM::Graph
101
101
  response_content = http_response.body
102
102
  unless status_code == 201
103
103
  error_model = JSON.load(response_content)
104
- fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
104
+ fail MsRest::HttpOperationError.new(request, http_response, error_model)
105
105
  end
106
106
 
107
107
  # Create Result
@@ -153,7 +153,7 @@ module Azure::ARM::Graph
153
153
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
154
154
  # will be added to the HTTP request.
155
155
  #
156
- # @return [UserListResult] operation results.
156
+ # @return [Array<User>] operation results.
157
157
  #
158
158
  def list(filter = nil, custom_headers = nil)
159
159
  first_page = list_as_lazy(filter, custom_headers)
@@ -214,7 +214,7 @@ module Azure::ARM::Graph
214
214
  response_content = http_response.body
215
215
  unless status_code == 200
216
216
  error_model = JSON.load(response_content)
217
- fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
217
+ fail MsRest::HttpOperationError.new(request, http_response, error_model)
218
218
  end
219
219
 
220
220
  # Create Result
@@ -311,7 +311,7 @@ module Azure::ARM::Graph
311
311
  response_content = http_response.body
312
312
  unless status_code == 200
313
313
  error_model = JSON.load(response_content)
314
- fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
314
+ fail MsRest::HttpOperationError.new(request, http_response, error_model)
315
315
  end
316
316
 
317
317
  # Create Result
@@ -423,7 +423,7 @@ module Azure::ARM::Graph
423
423
  response_content = http_response.body
424
424
  unless status_code == 204
425
425
  error_model = JSON.load(response_content)
426
- fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
426
+ fail MsRest::HttpOperationError.new(request, http_response, error_model)
427
427
  end
428
428
 
429
429
  # Create Result
@@ -506,7 +506,7 @@ module Azure::ARM::Graph
506
506
  response_content = http_response.body
507
507
  unless status_code == 204
508
508
  error_model = JSON.load(response_content)
509
- fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
509
+ fail MsRest::HttpOperationError.new(request, http_response, error_model)
510
510
  end
511
511
 
512
512
  # Create Result
@@ -603,7 +603,7 @@ module Azure::ARM::Graph
603
603
  response_content = http_response.body
604
604
  unless status_code == 200
605
605
  error_model = JSON.load(response_content)
606
- fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
606
+ fail MsRest::HttpOperationError.new(request, http_response, error_model)
607
607
  end
608
608
 
609
609
  # Create Result
@@ -633,7 +633,7 @@ module Azure::ARM::Graph
633
633
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
634
634
  # will be added to the HTTP request.
635
635
  #
636
- # @return [UserListResult] operation results.
636
+ # @return [Array<User>] operation results.
637
637
  #
638
638
  def list_next(next_link, custom_headers = nil)
639
639
  response = list_next_async(next_link, custom_headers).value!
@@ -694,7 +694,7 @@ module Azure::ARM::Graph
694
694
  response_content = http_response.body
695
695
  unless status_code == 200
696
696
  error_model = JSON.load(response_content)
697
- fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
697
+ fail MsRest::HttpOperationError.new(request, http_response, error_model)
698
698
  end
699
699
 
700
700
  # Create Result
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Graph
7
- VERSION = '0.4.0'
7
+ VERSION = '0.5.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_graph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-22 00:00:00.000000000 Z
11
+ date: 2016-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.3.0
75
+ version: 0.4.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.3.0
82
+ version: 0.4.0
83
83
  description: Microsoft Azure Active Directory Graph Management Client Library for
84
84
  Ruby
85
85
  email: azrubyteam@microsoft.com
@@ -105,13 +105,18 @@ files:
105
105
  - lib/generated/azure_mgmt_graph/models/check_group_membership_parameters.rb
106
106
  - lib/generated/azure_mgmt_graph/models/check_group_membership_result.rb
107
107
  - lib/generated/azure_mgmt_graph/models/get_objects_result.rb
108
+ - lib/generated/azure_mgmt_graph/models/graph_error.rb
108
109
  - lib/generated/azure_mgmt_graph/models/group_add_member_parameters.rb
109
110
  - lib/generated/azure_mgmt_graph/models/group_create_parameters.rb
110
111
  - lib/generated/azure_mgmt_graph/models/group_get_member_groups_parameters.rb
111
112
  - lib/generated/azure_mgmt_graph/models/group_get_member_groups_result.rb
112
113
  - lib/generated/azure_mgmt_graph/models/group_list_result.rb
113
114
  - lib/generated/azure_mgmt_graph/models/key_credential.rb
115
+ - lib/generated/azure_mgmt_graph/models/key_credential_list_result.rb
116
+ - lib/generated/azure_mgmt_graph/models/key_credentials_update_parameters.rb
114
117
  - lib/generated/azure_mgmt_graph/models/password_credential.rb
118
+ - lib/generated/azure_mgmt_graph/models/password_credential_list_result.rb
119
+ - lib/generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb
115
120
  - lib/generated/azure_mgmt_graph/models/password_profile.rb
116
121
  - lib/generated/azure_mgmt_graph/models/service_principal.rb
117
122
  - lib/generated/azure_mgmt_graph/models/service_principal_create_parameters.rb