azure_mgmt_graph 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/lib/{generated → 1.6/generated}/azure_mgmt_graph.rb +48 -48
  3. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/applications.rb +11 -11
  4. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/domains.rb +3 -3
  5. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/graph_rbac_management_client.rb +3 -3
  6. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/groups.rb +13 -13
  7. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/aadobject.rb +1 -1
  8. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/adgroup.rb +1 -1
  9. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/application.rb +1 -1
  10. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/application_create_parameters.rb +1 -1
  11. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/application_list_result.rb +1 -1
  12. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/application_update_parameters.rb +1 -1
  13. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/check_group_membership_parameters.rb +1 -1
  14. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/check_group_membership_result.rb +1 -1
  15. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/domain.rb +1 -1
  16. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/domain_list_result.rb +1 -1
  17. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/get_objects_parameters.rb +1 -1
  18. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/get_objects_result.rb +1 -1
  19. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/graph_error.rb +1 -1
  20. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/group_add_member_parameters.rb +1 -1
  21. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/group_create_parameters.rb +1 -1
  22. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/group_get_member_groups_parameters.rb +1 -1
  23. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/group_get_member_groups_result.rb +1 -1
  24. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/group_list_result.rb +1 -1
  25. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/key_credential.rb +1 -1
  26. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/key_credential_list_result.rb +1 -1
  27. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/key_credentials_update_parameters.rb +1 -1
  28. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/password_credential.rb +1 -1
  29. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/password_credential_list_result.rb +1 -1
  30. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/password_credentials_update_parameters.rb +1 -1
  31. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/password_profile.rb +1 -1
  32. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/required_resource_access.rb +1 -1
  33. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/resource_access.rb +1 -1
  34. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/service_principal.rb +1 -1
  35. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/service_principal_create_parameters.rb +1 -1
  36. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/service_principal_list_result.rb +1 -1
  37. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/sign_in_name.rb +1 -1
  38. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/user.rb +1 -1
  39. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/user_base.rb +1 -1
  40. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/user_create_parameters.rb +1 -1
  41. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/user_get_member_groups_parameters.rb +1 -1
  42. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/user_get_member_groups_result.rb +1 -1
  43. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/user_list_result.rb +1 -1
  44. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/user_type.rb +1 -1
  45. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/models/user_update_parameters.rb +1 -1
  46. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/module_definition.rb +3 -2
  47. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/objects.rb +5 -5
  48. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/service_principals.rb +10 -10
  49. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/users.rb +9 -9
  50. data/lib/{generated → 1.6/generated}/azure_mgmt_graph/version.rb +2 -2
  51. data/lib/azure_mgmt_graph.rb +2 -1
  52. data/lib/module_definition.rb +8 -0
  53. data/lib/profiles/common/configurable.rb +73 -0
  54. data/lib/profiles/common/default.rb +68 -0
  55. data/lib/profiles/latest/graph_latest_profile_client.rb +33 -0
  56. data/lib/profiles/latest/graph_module_definition.rb +9 -0
  57. data/lib/profiles/latest/modules/graph_profile_module.rb +208 -0
  58. data/lib/version.rb +7 -0
  59. metadata +58 -51
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Active Directory Domain information.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Server response for Get tenant domains API call.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Request parameters for the GetObjectsByObjectIds API.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # The response to an Active Directory object inquiry API request.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Active Directory error information.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Request parameters for adding a member to a group.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Request parameters for creating a new group.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Request parameters for GetMemberGroups API call.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Server response for GetMemberGroups API call.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Server response for Get tenant groups API call
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Active Directory Key Credential information.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # KeyCredential list operation result.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Request parameters for a KeyCredentials update operation
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Active Directory Password Credential information.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # PasswordCredential list operation result.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Request parameters for a PasswordCredentials update operation.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # The password profile associated with a user.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Specifies the set of OAuth 2.0 permission scopes and app roles under the
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Specifies an OAuth 2.0 permission scope or an app role that an
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Active Directory service principal information.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Request parameters for creating a new service principal.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Server response for get tenant service principals API call.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Contains information about a sign-in name of a local account user in an
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Active Directory user information.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Model object.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Request parameters for creating a new work or school account user.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Request parameters for GetMemberGroups API call.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Server response for GetMemberGroups API call.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Server response for Get tenant users API call.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Defines values for UserType
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  module Models
8
8
  #
9
9
  # Request parameters for updating an existing work or school account user.
@@ -4,5 +4,6 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure end
7
- module Azure::ARM end
8
- module Azure::ARM::Graph end
7
+ module Azure::Graph end
8
+ module Azure::Graph::Mgmt end
9
+ module Azure::Graph::Mgmt::V1_6 end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  #
8
8
  # The Graph RBAC Management Client
9
9
  #
@@ -91,7 +91,7 @@ module Azure::ARM::Graph
91
91
  if status_code == 200
92
92
  begin
93
93
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
94
- result_mapper = Azure::ARM::Graph::Models::AADObject.mapper()
94
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::AADObject.mapper()
95
95
  result.body = @client.deserialize(result_mapper, parsed_response)
96
96
  rescue Exception => e
97
97
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -155,7 +155,7 @@ module Azure::ARM::Graph
155
155
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
156
156
 
157
157
  # Serialize Request
158
- request_mapper = Azure::ARM::Graph::Models::GetObjectsParameters.mapper()
158
+ request_mapper = Azure::Graph::Mgmt::V1_6::Models::GetObjectsParameters.mapper()
159
159
  request_content = @client.serialize(request_mapper, parameters)
160
160
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
161
161
 
@@ -187,7 +187,7 @@ module Azure::ARM::Graph
187
187
  if status_code == 200
188
188
  begin
189
189
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
190
- result_mapper = Azure::ARM::Graph::Models::GetObjectsResult.mapper()
190
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::GetObjectsResult.mapper()
191
191
  result.body = @client.deserialize(result_mapper, parsed_response)
192
192
  rescue Exception => e
193
193
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -275,7 +275,7 @@ module Azure::ARM::Graph
275
275
  if status_code == 200
276
276
  begin
277
277
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
278
- result_mapper = Azure::ARM::Graph::Models::GetObjectsResult.mapper()
278
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::GetObjectsResult.mapper()
279
279
  result.body = @client.deserialize(result_mapper, parsed_response)
280
280
  rescue Exception => e
281
281
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Graph
6
+ module Azure::Graph::Mgmt::V1_6
7
7
  #
8
8
  # The Graph RBAC Management Client
9
9
  #
@@ -75,7 +75,7 @@ module Azure::ARM::Graph
75
75
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
76
76
 
77
77
  # Serialize Request
78
- request_mapper = Azure::ARM::Graph::Models::ServicePrincipalCreateParameters.mapper()
78
+ request_mapper = Azure::Graph::Mgmt::V1_6::Models::ServicePrincipalCreateParameters.mapper()
79
79
  request_content = @client.serialize(request_mapper, parameters)
80
80
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
81
81
 
@@ -107,7 +107,7 @@ module Azure::ARM::Graph
107
107
  if status_code == 201
108
108
  begin
109
109
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
110
- result_mapper = Azure::ARM::Graph::Models::ServicePrincipal.mapper()
110
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::ServicePrincipal.mapper()
111
111
  result.body = @client.deserialize(result_mapper, parsed_response)
112
112
  rescue Exception => e
113
113
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -193,7 +193,7 @@ module Azure::ARM::Graph
193
193
  if status_code == 200
194
194
  begin
195
195
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
196
- result_mapper = Azure::ARM::Graph::Models::ServicePrincipalListResult.mapper()
196
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::ServicePrincipalListResult.mapper()
197
197
  result.body = @client.deserialize(result_mapper, parsed_response)
198
198
  rescue Exception => e
199
199
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -358,7 +358,7 @@ module Azure::ARM::Graph
358
358
  if status_code == 200
359
359
  begin
360
360
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
361
- result_mapper = Azure::ARM::Graph::Models::ServicePrincipal.mapper()
361
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::ServicePrincipal.mapper()
362
362
  result.body = @client.deserialize(result_mapper, parsed_response)
363
363
  rescue Exception => e
364
364
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -449,7 +449,7 @@ module Azure::ARM::Graph
449
449
  if status_code == 200
450
450
  begin
451
451
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
452
- result_mapper = Azure::ARM::Graph::Models::KeyCredentialListResult.mapper()
452
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::KeyCredentialListResult.mapper()
453
453
  result.body = @client.deserialize(result_mapper, parsed_response)
454
454
  rescue Exception => e
455
455
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -522,7 +522,7 @@ module Azure::ARM::Graph
522
522
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
523
523
 
524
524
  # Serialize Request
525
- request_mapper = Azure::ARM::Graph::Models::KeyCredentialsUpdateParameters.mapper()
525
+ request_mapper = Azure::Graph::Mgmt::V1_6::Models::KeyCredentialsUpdateParameters.mapper()
526
526
  request_content = @client.serialize(request_mapper, parameters)
527
527
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
528
528
 
@@ -633,7 +633,7 @@ module Azure::ARM::Graph
633
633
  if status_code == 200
634
634
  begin
635
635
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
636
- result_mapper = Azure::ARM::Graph::Models::PasswordCredentialListResult.mapper()
636
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::PasswordCredentialListResult.mapper()
637
637
  result.body = @client.deserialize(result_mapper, parsed_response)
638
638
  rescue Exception => e
639
639
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -703,7 +703,7 @@ module Azure::ARM::Graph
703
703
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
704
704
 
705
705
  # Serialize Request
706
- request_mapper = Azure::ARM::Graph::Models::PasswordCredentialsUpdateParameters.mapper()
706
+ request_mapper = Azure::Graph::Mgmt::V1_6::Models::PasswordCredentialsUpdateParameters.mapper()
707
707
  request_content = @client.serialize(request_mapper, parameters)
708
708
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
709
709
 
@@ -814,7 +814,7 @@ module Azure::ARM::Graph
814
814
  if status_code == 200
815
815
  begin
816
816
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
817
- result_mapper = Azure::ARM::Graph::Models::ServicePrincipalListResult.mapper()
817
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::ServicePrincipalListResult.mapper()
818
818
  result.body = @client.deserialize(result_mapper, parsed_response)
819
819
  rescue Exception => e
820
820
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)