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
  #
8
8
  # The Graph RBAC Management Client
9
9
  #
@@ -72,7 +72,7 @@ module Azure::ARM::Graph
72
72
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
73
73
 
74
74
  # Serialize Request
75
- request_mapper = Azure::ARM::Graph::Models::UserCreateParameters.mapper()
75
+ request_mapper = Azure::Graph::Mgmt::V1_6::Models::UserCreateParameters.mapper()
76
76
  request_content = @client.serialize(request_mapper, parameters)
77
77
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
78
78
 
@@ -104,7 +104,7 @@ module Azure::ARM::Graph
104
104
  if status_code == 201
105
105
  begin
106
106
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
107
- result_mapper = Azure::ARM::Graph::Models::User.mapper()
107
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::User.mapper()
108
108
  result.body = @client.deserialize(result_mapper, parsed_response)
109
109
  rescue Exception => e
110
110
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -190,7 +190,7 @@ module Azure::ARM::Graph
190
190
  if status_code == 200
191
191
  begin
192
192
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
193
- result_mapper = Azure::ARM::Graph::Models::UserListResult.mapper()
193
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::UserListResult.mapper()
194
194
  result.body = @client.deserialize(result_mapper, parsed_response)
195
195
  rescue Exception => e
196
196
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -281,7 +281,7 @@ module Azure::ARM::Graph
281
281
  if status_code == 200
282
282
  begin
283
283
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
284
- result_mapper = Azure::ARM::Graph::Models::User.mapper()
284
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::User.mapper()
285
285
  result.body = @client.deserialize(result_mapper, parsed_response)
286
286
  rescue Exception => e
287
287
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -354,7 +354,7 @@ module Azure::ARM::Graph
354
354
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
355
355
 
356
356
  # Serialize Request
357
- request_mapper = Azure::ARM::Graph::Models::UserUpdateParameters.mapper()
357
+ request_mapper = Azure::Graph::Mgmt::V1_6::Models::UserUpdateParameters.mapper()
358
358
  request_content = @client.serialize(request_mapper, parameters)
359
359
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
360
360
 
@@ -531,7 +531,7 @@ module Azure::ARM::Graph
531
531
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
532
532
 
533
533
  # Serialize Request
534
- request_mapper = Azure::ARM::Graph::Models::UserGetMemberGroupsParameters.mapper()
534
+ request_mapper = Azure::Graph::Mgmt::V1_6::Models::UserGetMemberGroupsParameters.mapper()
535
535
  request_content = @client.serialize(request_mapper, parameters)
536
536
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
537
537
 
@@ -564,7 +564,7 @@ module Azure::ARM::Graph
564
564
  if status_code == 200
565
565
  begin
566
566
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
567
- result_mapper = Azure::ARM::Graph::Models::UserGetMemberGroupsResult.mapper()
567
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::UserGetMemberGroupsResult.mapper()
568
568
  result.body = @client.deserialize(result_mapper, parsed_response)
569
569
  rescue Exception => e
570
570
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -652,7 +652,7 @@ module Azure::ARM::Graph
652
652
  if status_code == 200
653
653
  begin
654
654
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
655
- result_mapper = Azure::ARM::Graph::Models::UserListResult.mapper()
655
+ result_mapper = Azure::Graph::Mgmt::V1_6::Models::UserListResult.mapper()
656
656
  result.body = @client.deserialize(result_mapper, parsed_response)
657
657
  rescue Exception => e
658
658
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,6 +3,6 @@
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
7
- VERSION = '0.14.0'
6
+ module Azure::Graph::Mgmt::V1_6
7
+ VERSION = '0.15.0'
8
8
  end
@@ -2,4 +2,5 @@
2
2
  # Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
- require 'generated/azure_mgmt_graph'
5
+ require '1.6/generated/azure_mgmt_graph'
6
+ require 'profiles/latest/graph_latest_profile_client'
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::Graph end
7
+ module Azure::Graph::Mgmt end
8
+
@@ -0,0 +1,73 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::ARM
6
+ # The Azure::ARM::Configurable module provides basic configuration for Azure ARM activities.
7
+ module Configurable
8
+ # @return [String] Azure tenant id (also known as domain).
9
+ attr_accessor :tenant_id
10
+
11
+ # @return [String] Azure client id.
12
+ attr_accessor :client_id
13
+
14
+ # @return [String] Azure secret key.
15
+ attr_accessor :client_secret
16
+
17
+ # @return [String] Azure subscription id.
18
+ attr_accessor :subscription_id
19
+
20
+ # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
21
+ attr_accessor :active_directory_settings
22
+
23
+ # @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
24
+ attr_accessor :credentials
25
+
26
+ class << self
27
+ #
28
+ # List of configurable keys for {Azure::ARM::Client}.
29
+ # @return [Array] of option keys.
30
+ #
31
+ def keys
32
+ @keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings, :credentials]
33
+ end
34
+ end
35
+
36
+ #
37
+ # Set configuration options using a block.
38
+ #
39
+ def configure
40
+ yield self
41
+ end
42
+
43
+ #
44
+ # Resets the configurable options to provided options or defaults.
45
+ # This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
46
+ #
47
+ def reset!(options = {})
48
+ Azure::ARM::Configurable.keys.each do |key|
49
+ default_value = Azure::ARM::Default.options[key]
50
+ instance_variable_set(:"@#{key}", options.fetch(key, default_value))
51
+ end
52
+
53
+ self
54
+ end
55
+
56
+ def config
57
+ self
58
+ end
59
+
60
+ private
61
+
62
+ #
63
+ # configures configurable options to default values
64
+ #
65
+ def setup_options
66
+ opts = {}
67
+ Azure::ARM::Configurable.keys.map do |key|
68
+ opts[key] = Azure::ARM::Default.options[key]
69
+ end
70
+ opts
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,68 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::ARM
6
+ # Default configuration options for {Azure::ARM.Client}
7
+ module Default
8
+ class << self
9
+ #
10
+ # Default Azure Tenant Id.
11
+ # @return [String] Azure Tenant Id.
12
+ #
13
+ def tenant_id
14
+ ENV['AZURE_TENANT_ID']
15
+ end
16
+
17
+ #
18
+ # Default Azure Client Id.
19
+ # @return [String] Azure Client Id.
20
+ #
21
+ def client_id
22
+ ENV['AZURE_CLIENT_ID']
23
+ end
24
+
25
+ #
26
+ # Default Azure Client Secret.
27
+ # @return [String] Azure Client Secret.
28
+ #
29
+ def client_secret
30
+ ENV['AZURE_CLIENT_SECRET']
31
+ end
32
+
33
+ #
34
+ # Default Azure Subscription Id.
35
+ # @return [String] Azure Subscription Id.
36
+ #
37
+ def subscription_id
38
+ ENV['AZURE_SUBSCRIPTION_ID']
39
+ end
40
+
41
+ #
42
+ # Default Azure credentials to authorize HTTP requests made by the service client.
43
+ # @return [MsRest::ServiceClientCredentials] Azure credentials to authorize HTTP requests made by the service client.
44
+ #
45
+ def credentials
46
+ MsRest::TokenCredentials.new(
47
+ MsRestAzure::ApplicationTokenProvider.new(
48
+ self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
49
+ end
50
+
51
+ #
52
+ # Default Azure Active Directory Service Settings.
53
+ # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
54
+ #
55
+ def active_directory_settings
56
+ MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
57
+ end
58
+
59
+ #
60
+ # Configuration options.
61
+ # @return [Hash] Configuration options.
62
+ #
63
+ def options
64
+ Hash[Azure::ARM::Configurable.keys.map{|key| [key, send(key)]}]
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,33 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/latest/graph_module_definition'
6
+ require 'profiles/latest/modules/graph_profile_module'
7
+ require 'profiles/common/configurable'
8
+ require 'profiles/common/default'
9
+
10
+ module Azure::Graph::Profiles::Latest::Mgmt
11
+ #
12
+ # Client class for the Latest profile SDK.
13
+ #
14
+ class Client < GraphClass
15
+ include Azure::ARM::Configurable
16
+
17
+
18
+ def initialize(options = {})
19
+ super(options)
20
+ end
21
+
22
+ def credentials
23
+ if @credentials.nil?
24
+ self.active_directory_settings ||= Azure::ARM::Default.active_directory_settings
25
+
26
+ @credentials = MsRest::TokenCredentials.new(
27
+ MsRestAzure::ApplicationTokenProvider.new(
28
+ self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
29
+ end
30
+ @credentials
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::Graph end
7
+ module Azure::Graph::Profiles end
8
+ module Azure::Graph::Profiles::Latest end
9
+ module Azure::Graph::Profiles::Latest::Mgmt end
@@ -0,0 +1,208 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_graph'
6
+
7
+ module Azure::Graph::Profiles::Latest::Mgmt
8
+ Objects = Azure::Graph::Mgmt::V1_6::Objects
9
+ Applications = Azure::Graph::Mgmt::V1_6::Applications
10
+ Groups = Azure::Graph::Mgmt::V1_6::Groups
11
+ ServicePrincipals = Azure::Graph::Mgmt::V1_6::ServicePrincipals
12
+ Users = Azure::Graph::Mgmt::V1_6::Users
13
+ Domains = Azure::Graph::Mgmt::V1_6::Domains
14
+
15
+ module Models
16
+ GroupGetMemberGroupsParameters = Azure::Graph::Mgmt::V1_6::Models::GroupGetMemberGroupsParameters
17
+ GraphError = Azure::Graph::Mgmt::V1_6::Models::GraphError
18
+ GroupGetMemberGroupsResult = Azure::Graph::Mgmt::V1_6::Models::GroupGetMemberGroupsResult
19
+ PasswordCredential = Azure::Graph::Mgmt::V1_6::Models::PasswordCredential
20
+ CheckGroupMembershipParameters = Azure::Graph::Mgmt::V1_6::Models::CheckGroupMembershipParameters
21
+ RequiredResourceAccess = Azure::Graph::Mgmt::V1_6::Models::RequiredResourceAccess
22
+ CheckGroupMembershipResult = Azure::Graph::Mgmt::V1_6::Models::CheckGroupMembershipResult
23
+ ApplicationUpdateParameters = Azure::Graph::Mgmt::V1_6::Models::ApplicationUpdateParameters
24
+ ServicePrincipalCreateParameters = Azure::Graph::Mgmt::V1_6::Models::ServicePrincipalCreateParameters
25
+ ApplicationListResult = Azure::Graph::Mgmt::V1_6::Models::ApplicationListResult
26
+ ServicePrincipal = Azure::Graph::Mgmt::V1_6::Models::ServicePrincipal
27
+ KeyCredentialsUpdateParameters = Azure::Graph::Mgmt::V1_6::Models::KeyCredentialsUpdateParameters
28
+ ServicePrincipalListResult = Azure::Graph::Mgmt::V1_6::Models::ServicePrincipalListResult
29
+ PasswordCredentialsUpdateParameters = Azure::Graph::Mgmt::V1_6::Models::PasswordCredentialsUpdateParameters
30
+ PasswordProfile = Azure::Graph::Mgmt::V1_6::Models::PasswordProfile
31
+ GetObjectsResult = Azure::Graph::Mgmt::V1_6::Models::GetObjectsResult
32
+ UserBase = Azure::Graph::Mgmt::V1_6::Models::UserBase
33
+ GroupCreateParameters = Azure::Graph::Mgmt::V1_6::Models::GroupCreateParameters
34
+ GroupAddMemberParameters = Azure::Graph::Mgmt::V1_6::Models::GroupAddMemberParameters
35
+ ADGroup = Azure::Graph::Mgmt::V1_6::Models::ADGroup
36
+ KeyCredential = Azure::Graph::Mgmt::V1_6::Models::KeyCredential
37
+ ApplicationCreateParameters = Azure::Graph::Mgmt::V1_6::Models::ApplicationCreateParameters
38
+ DomainListResult = Azure::Graph::Mgmt::V1_6::Models::DomainListResult
39
+ KeyCredentialListResult = Azure::Graph::Mgmt::V1_6::Models::KeyCredentialListResult
40
+ SignInName = Azure::Graph::Mgmt::V1_6::Models::SignInName
41
+ AADObject = Azure::Graph::Mgmt::V1_6::Models::AADObject
42
+ Domain = Azure::Graph::Mgmt::V1_6::Models::Domain
43
+ ResourceAccess = Azure::Graph::Mgmt::V1_6::Models::ResourceAccess
44
+ UserGetMemberGroupsParameters = Azure::Graph::Mgmt::V1_6::Models::UserGetMemberGroupsParameters
45
+ PasswordCredentialListResult = Azure::Graph::Mgmt::V1_6::Models::PasswordCredentialListResult
46
+ UserGetMemberGroupsResult = Azure::Graph::Mgmt::V1_6::Models::UserGetMemberGroupsResult
47
+ Application = Azure::Graph::Mgmt::V1_6::Models::Application
48
+ UserListResult = Azure::Graph::Mgmt::V1_6::Models::UserListResult
49
+ GroupListResult = Azure::Graph::Mgmt::V1_6::Models::GroupListResult
50
+ GetObjectsParameters = Azure::Graph::Mgmt::V1_6::Models::GetObjectsParameters
51
+ UserCreateParameters = Azure::Graph::Mgmt::V1_6::Models::UserCreateParameters
52
+ UserUpdateParameters = Azure::Graph::Mgmt::V1_6::Models::UserUpdateParameters
53
+ User = Azure::Graph::Mgmt::V1_6::Models::User
54
+ UserType = Azure::Graph::Mgmt::V1_6::Models::UserType
55
+ end
56
+
57
+ #
58
+ # Graph
59
+ #
60
+ class GraphClass
61
+ attr_reader :objects, :applications, :groups, :service_principals, :users, :domains, :configurable, :base_url, :options, :model_classes
62
+
63
+ def initialize(options = {})
64
+ if options.is_a?(Hash) && options.length == 0
65
+ @options = setup_options
66
+ else
67
+ @options = options
68
+ end
69
+
70
+ reset!(options)
71
+
72
+ @configurable, @base_url, @options = self, nil, nil
73
+
74
+ client_0 = Azure::Graph::Mgmt::V1_6::GraphRbacManagementClient.new(configurable.credentials, base_url, options)
75
+ if(client_0.respond_to?(:subscription_id))
76
+ client_0.subscription_id = configurable.subscription_id
77
+ end
78
+ @objects = client_0.objects
79
+ @applications = client_0.applications
80
+ @groups = client_0.groups
81
+ @service_principals = client_0.service_principals
82
+ @users = client_0.users
83
+ @domains = client_0.domains
84
+
85
+ @model_classes = ModelClasses.new
86
+ end
87
+
88
+ class ModelClasses
89
+ def group_get_member_groups_parameters
90
+ Azure::Graph::Mgmt::V1_6::Models::GroupGetMemberGroupsParameters
91
+ end
92
+ def graph_error
93
+ Azure::Graph::Mgmt::V1_6::Models::GraphError
94
+ end
95
+ def group_get_member_groups_result
96
+ Azure::Graph::Mgmt::V1_6::Models::GroupGetMemberGroupsResult
97
+ end
98
+ def password_credential
99
+ Azure::Graph::Mgmt::V1_6::Models::PasswordCredential
100
+ end
101
+ def check_group_membership_parameters
102
+ Azure::Graph::Mgmt::V1_6::Models::CheckGroupMembershipParameters
103
+ end
104
+ def required_resource_access
105
+ Azure::Graph::Mgmt::V1_6::Models::RequiredResourceAccess
106
+ end
107
+ def check_group_membership_result
108
+ Azure::Graph::Mgmt::V1_6::Models::CheckGroupMembershipResult
109
+ end
110
+ def application_update_parameters
111
+ Azure::Graph::Mgmt::V1_6::Models::ApplicationUpdateParameters
112
+ end
113
+ def service_principal_create_parameters
114
+ Azure::Graph::Mgmt::V1_6::Models::ServicePrincipalCreateParameters
115
+ end
116
+ def application_list_result
117
+ Azure::Graph::Mgmt::V1_6::Models::ApplicationListResult
118
+ end
119
+ def service_principal
120
+ Azure::Graph::Mgmt::V1_6::Models::ServicePrincipal
121
+ end
122
+ def key_credentials_update_parameters
123
+ Azure::Graph::Mgmt::V1_6::Models::KeyCredentialsUpdateParameters
124
+ end
125
+ def service_principal_list_result
126
+ Azure::Graph::Mgmt::V1_6::Models::ServicePrincipalListResult
127
+ end
128
+ def password_credentials_update_parameters
129
+ Azure::Graph::Mgmt::V1_6::Models::PasswordCredentialsUpdateParameters
130
+ end
131
+ def password_profile
132
+ Azure::Graph::Mgmt::V1_6::Models::PasswordProfile
133
+ end
134
+ def get_objects_result
135
+ Azure::Graph::Mgmt::V1_6::Models::GetObjectsResult
136
+ end
137
+ def user_base
138
+ Azure::Graph::Mgmt::V1_6::Models::UserBase
139
+ end
140
+ def group_create_parameters
141
+ Azure::Graph::Mgmt::V1_6::Models::GroupCreateParameters
142
+ end
143
+ def group_add_member_parameters
144
+ Azure::Graph::Mgmt::V1_6::Models::GroupAddMemberParameters
145
+ end
146
+ def adgroup
147
+ Azure::Graph::Mgmt::V1_6::Models::ADGroup
148
+ end
149
+ def key_credential
150
+ Azure::Graph::Mgmt::V1_6::Models::KeyCredential
151
+ end
152
+ def application_create_parameters
153
+ Azure::Graph::Mgmt::V1_6::Models::ApplicationCreateParameters
154
+ end
155
+ def domain_list_result
156
+ Azure::Graph::Mgmt::V1_6::Models::DomainListResult
157
+ end
158
+ def key_credential_list_result
159
+ Azure::Graph::Mgmt::V1_6::Models::KeyCredentialListResult
160
+ end
161
+ def sign_in_name
162
+ Azure::Graph::Mgmt::V1_6::Models::SignInName
163
+ end
164
+ def aadobject
165
+ Azure::Graph::Mgmt::V1_6::Models::AADObject
166
+ end
167
+ def domain
168
+ Azure::Graph::Mgmt::V1_6::Models::Domain
169
+ end
170
+ def resource_access
171
+ Azure::Graph::Mgmt::V1_6::Models::ResourceAccess
172
+ end
173
+ def user_get_member_groups_parameters
174
+ Azure::Graph::Mgmt::V1_6::Models::UserGetMemberGroupsParameters
175
+ end
176
+ def password_credential_list_result
177
+ Azure::Graph::Mgmt::V1_6::Models::PasswordCredentialListResult
178
+ end
179
+ def user_get_member_groups_result
180
+ Azure::Graph::Mgmt::V1_6::Models::UserGetMemberGroupsResult
181
+ end
182
+ def application
183
+ Azure::Graph::Mgmt::V1_6::Models::Application
184
+ end
185
+ def user_list_result
186
+ Azure::Graph::Mgmt::V1_6::Models::UserListResult
187
+ end
188
+ def group_list_result
189
+ Azure::Graph::Mgmt::V1_6::Models::GroupListResult
190
+ end
191
+ def get_objects_parameters
192
+ Azure::Graph::Mgmt::V1_6::Models::GetObjectsParameters
193
+ end
194
+ def user_create_parameters
195
+ Azure::Graph::Mgmt::V1_6::Models::UserCreateParameters
196
+ end
197
+ def user_update_parameters
198
+ Azure::Graph::Mgmt::V1_6::Models::UserUpdateParameters
199
+ end
200
+ def user
201
+ Azure::Graph::Mgmt::V1_6::Models::User
202
+ end
203
+ def user_type
204
+ Azure::Graph::Mgmt::V1_6::Models::UserType
205
+ end
206
+ end
207
+ end
208
+ end