azure_graph_rbac2 0.18.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 +7 -0
- data/LICENSE.txt +21 -0
- data/lib/1.6/generated/azure_graph_rbac2/applications.rb +1131 -0
- data/lib/1.6/generated/azure_graph_rbac2/domains.rb +200 -0
- data/lib/1.6/generated/azure_graph_rbac2/graph_rbac_client.rb +151 -0
- data/lib/1.6/generated/azure_graph_rbac2/groups.rb +1079 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/aadobject.rb +297 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/adgroup.rb +116 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/application.rb +196 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/application_add_owner_parameters.rb +69 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/application_create_parameters.rb +202 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/application_list_result.rb +98 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/application_update_parameters.rb +201 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/check_group_membership_parameters.rb +77 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/check_group_membership_result.rb +67 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/directory_object.rb +92 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/directory_object_list_result.rb +57 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/domain.rb +101 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/domain_list_result.rb +55 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/get_objects_parameters.rb +104 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/get_objects_result.rb +98 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/graph_error.rb +57 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/group_add_member_parameters.rb +69 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/group_create_parameters.rb +106 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/group_get_member_groups_parameters.rb +67 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/group_get_member_groups_result.rb +55 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/group_list_result.rb +98 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/key_credential.rb +132 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/key_credential_list_result.rb +55 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/key_credentials_update_parameters.rb +55 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/password_credential.rb +98 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/password_credential_list_result.rb +56 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/password_credentials_update_parameters.rb +56 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/password_profile.rb +76 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/required_resource_access.rb +94 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/resource_access.rb +80 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/service_principal.rb +124 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/service_principal_create_parameters.rb +117 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/service_principal_list_result.rb +98 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/sign_in_name.rb +79 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/user.rb +221 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/user_base.rb +118 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/user_create_parameters.rb +158 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/user_get_member_groups_parameters.rb +67 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/user_get_member_groups_result.rb +55 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/user_list_result.rb +98 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/user_type.rb +16 -0
- data/lib/1.6/generated/azure_graph_rbac2/models/user_update_parameters.rb +147 -0
- data/lib/1.6/generated/azure_graph_rbac2/module_definition.rb +8 -0
- data/lib/1.6/generated/azure_graph_rbac2/objects.rb +314 -0
- data/lib/1.6/generated/azure_graph_rbac2/service_principals.rb +949 -0
- data/lib/1.6/generated/azure_graph_rbac2/users.rb +686 -0
- data/lib/1.6/generated/azure_graph_rbac2.rb +75 -0
- data/lib/azure_graph_rbac2.rb +6 -0
- data/lib/module_definition.rb +6 -0
- data/lib/profiles/latest/graphrbac_latest_profile_client.rb +38 -0
- data/lib/profiles/latest/graphrbac_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/graphrbac_profile_module.rb +237 -0
- data/lib/version.rb +7 -0
- metadata +190 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::GraphRbac2::V1_6
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Request parameters for creating a new application.
|
|
10
|
+
#
|
|
11
|
+
class ApplicationCreateParameters
|
|
12
|
+
|
|
13
|
+
include MsRestAzure2
|
|
14
|
+
|
|
15
|
+
# @return Unmatched properties from the message are deserialized this
|
|
16
|
+
# collection
|
|
17
|
+
attr_accessor :additional_properties
|
|
18
|
+
|
|
19
|
+
# @return [Boolean] Whether the application is available to other
|
|
20
|
+
# tenants.
|
|
21
|
+
attr_accessor :available_to_other_tenants
|
|
22
|
+
|
|
23
|
+
# @return [String] The display name of the application.
|
|
24
|
+
attr_accessor :display_name
|
|
25
|
+
|
|
26
|
+
# @return [String] The home page of the application.
|
|
27
|
+
attr_accessor :homepage
|
|
28
|
+
|
|
29
|
+
# @return [Array<String>] A collection of URIs for the application.
|
|
30
|
+
attr_accessor :identifier_uris
|
|
31
|
+
|
|
32
|
+
# @return [Array<String>] A collection of reply URLs for the application.
|
|
33
|
+
attr_accessor :reply_urls
|
|
34
|
+
|
|
35
|
+
# @return [Array<KeyCredential>] The list of KeyCredential objects.
|
|
36
|
+
attr_accessor :key_credentials
|
|
37
|
+
|
|
38
|
+
# @return [Array<PasswordCredential>] The list of PasswordCredential
|
|
39
|
+
# objects.
|
|
40
|
+
attr_accessor :password_credentials
|
|
41
|
+
|
|
42
|
+
# @return [Boolean] Whether to allow implicit grant flow for OAuth2
|
|
43
|
+
attr_accessor :oauth2allow_implicit_flow
|
|
44
|
+
|
|
45
|
+
# @return [Array<RequiredResourceAccess>] Specifies resources that this
|
|
46
|
+
# application requires access to and the set of OAuth permission scopes
|
|
47
|
+
# and application roles that it needs under each of those resources. This
|
|
48
|
+
# pre-configuration of required resource access drives the consent
|
|
49
|
+
# experience.
|
|
50
|
+
attr_accessor :required_resource_access
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
#
|
|
54
|
+
# Mapper for ApplicationCreateParameters class as Ruby Hash.
|
|
55
|
+
# This will be used for serialization/deserialization.
|
|
56
|
+
#
|
|
57
|
+
def self.mapper()
|
|
58
|
+
{
|
|
59
|
+
client_side_validation: true,
|
|
60
|
+
required: false,
|
|
61
|
+
serialized_name: 'ApplicationCreateParameters',
|
|
62
|
+
type: {
|
|
63
|
+
name: 'Composite',
|
|
64
|
+
class_name: 'ApplicationCreateParameters',
|
|
65
|
+
model_properties: {
|
|
66
|
+
additional_properties: {
|
|
67
|
+
client_side_validation: true,
|
|
68
|
+
required: false,
|
|
69
|
+
type: {
|
|
70
|
+
name: 'Dictionary',
|
|
71
|
+
value: {
|
|
72
|
+
client_side_validation: true,
|
|
73
|
+
required: false,
|
|
74
|
+
serialized_name: 'ObjectElementType',
|
|
75
|
+
type: {
|
|
76
|
+
name: 'Object'
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
available_to_other_tenants: {
|
|
82
|
+
client_side_validation: true,
|
|
83
|
+
required: true,
|
|
84
|
+
serialized_name: 'availableToOtherTenants',
|
|
85
|
+
type: {
|
|
86
|
+
name: 'Boolean'
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
display_name: {
|
|
90
|
+
client_side_validation: true,
|
|
91
|
+
required: true,
|
|
92
|
+
serialized_name: 'displayName',
|
|
93
|
+
type: {
|
|
94
|
+
name: 'String'
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
homepage: {
|
|
98
|
+
client_side_validation: true,
|
|
99
|
+
required: false,
|
|
100
|
+
serialized_name: 'homepage',
|
|
101
|
+
type: {
|
|
102
|
+
name: 'String'
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
identifier_uris: {
|
|
106
|
+
client_side_validation: true,
|
|
107
|
+
required: true,
|
|
108
|
+
serialized_name: 'identifierUris',
|
|
109
|
+
type: {
|
|
110
|
+
name: 'Sequence',
|
|
111
|
+
element: {
|
|
112
|
+
client_side_validation: true,
|
|
113
|
+
required: false,
|
|
114
|
+
serialized_name: 'StringElementType',
|
|
115
|
+
type: {
|
|
116
|
+
name: 'String'
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
reply_urls: {
|
|
122
|
+
client_side_validation: true,
|
|
123
|
+
required: false,
|
|
124
|
+
serialized_name: 'replyUrls',
|
|
125
|
+
type: {
|
|
126
|
+
name: 'Sequence',
|
|
127
|
+
element: {
|
|
128
|
+
client_side_validation: true,
|
|
129
|
+
required: false,
|
|
130
|
+
serialized_name: 'StringElementType',
|
|
131
|
+
type: {
|
|
132
|
+
name: 'String'
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
key_credentials: {
|
|
138
|
+
client_side_validation: true,
|
|
139
|
+
required: false,
|
|
140
|
+
serialized_name: 'keyCredentials',
|
|
141
|
+
type: {
|
|
142
|
+
name: 'Sequence',
|
|
143
|
+
element: {
|
|
144
|
+
client_side_validation: true,
|
|
145
|
+
required: false,
|
|
146
|
+
serialized_name: 'KeyCredentialElementType',
|
|
147
|
+
type: {
|
|
148
|
+
name: 'Composite',
|
|
149
|
+
class_name: 'KeyCredential'
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
password_credentials: {
|
|
155
|
+
client_side_validation: true,
|
|
156
|
+
required: false,
|
|
157
|
+
serialized_name: 'passwordCredentials',
|
|
158
|
+
type: {
|
|
159
|
+
name: 'Sequence',
|
|
160
|
+
element: {
|
|
161
|
+
client_side_validation: true,
|
|
162
|
+
required: false,
|
|
163
|
+
serialized_name: 'PasswordCredentialElementType',
|
|
164
|
+
type: {
|
|
165
|
+
name: 'Composite',
|
|
166
|
+
class_name: 'PasswordCredential'
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
oauth2allow_implicit_flow: {
|
|
172
|
+
client_side_validation: true,
|
|
173
|
+
required: false,
|
|
174
|
+
serialized_name: 'oauth2AllowImplicitFlow',
|
|
175
|
+
type: {
|
|
176
|
+
name: 'Boolean'
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
required_resource_access: {
|
|
180
|
+
client_side_validation: true,
|
|
181
|
+
required: false,
|
|
182
|
+
serialized_name: 'requiredResourceAccess',
|
|
183
|
+
type: {
|
|
184
|
+
name: 'Sequence',
|
|
185
|
+
element: {
|
|
186
|
+
client_side_validation: true,
|
|
187
|
+
required: false,
|
|
188
|
+
serialized_name: 'RequiredResourceAccessElementType',
|
|
189
|
+
type: {
|
|
190
|
+
name: 'Composite',
|
|
191
|
+
class_name: 'RequiredResourceAccess'
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
end
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::GraphRbac2::V1_6
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Application list operation result.
|
|
10
|
+
#
|
|
11
|
+
class ApplicationListResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure2
|
|
14
|
+
|
|
15
|
+
include MsRest2::JSONable
|
|
16
|
+
# @return [Array<Application>] A collection of applications.
|
|
17
|
+
attr_accessor :value
|
|
18
|
+
|
|
19
|
+
# @return [String] The URL to get the next set of results.
|
|
20
|
+
attr_accessor :odatanext_link
|
|
21
|
+
|
|
22
|
+
# return [Proc] with next page method call.
|
|
23
|
+
attr_accessor :next_method
|
|
24
|
+
|
|
25
|
+
#
|
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
|
27
|
+
#
|
|
28
|
+
# @return [Array<Application>] operation results.
|
|
29
|
+
#
|
|
30
|
+
def get_all_items
|
|
31
|
+
items = @value
|
|
32
|
+
page = self
|
|
33
|
+
while page.odatanext_link != nil && !page.odatanext_link.strip.empty? do
|
|
34
|
+
page = page.get_next_page
|
|
35
|
+
items.concat(page.value)
|
|
36
|
+
end
|
|
37
|
+
items
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
#
|
|
41
|
+
# Gets the next page of results.
|
|
42
|
+
#
|
|
43
|
+
# @return [ApplicationListResult] with next page content.
|
|
44
|
+
#
|
|
45
|
+
def get_next_page
|
|
46
|
+
response = @next_method.call(@odatanext_link).value! unless @next_method.nil?
|
|
47
|
+
unless response.nil?
|
|
48
|
+
@odatanext_link = response.body.odatanext_link
|
|
49
|
+
@value = response.body.value
|
|
50
|
+
self
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
#
|
|
55
|
+
# Mapper for ApplicationListResult class as Ruby Hash.
|
|
56
|
+
# This will be used for serialization/deserialization.
|
|
57
|
+
#
|
|
58
|
+
def self.mapper()
|
|
59
|
+
{
|
|
60
|
+
client_side_validation: true,
|
|
61
|
+
required: false,
|
|
62
|
+
serialized_name: 'ApplicationListResult',
|
|
63
|
+
type: {
|
|
64
|
+
name: 'Composite',
|
|
65
|
+
class_name: 'ApplicationListResult',
|
|
66
|
+
model_properties: {
|
|
67
|
+
value: {
|
|
68
|
+
client_side_validation: true,
|
|
69
|
+
required: false,
|
|
70
|
+
serialized_name: 'value',
|
|
71
|
+
type: {
|
|
72
|
+
name: 'Sequence',
|
|
73
|
+
element: {
|
|
74
|
+
client_side_validation: true,
|
|
75
|
+
required: false,
|
|
76
|
+
serialized_name: 'ApplicationElementType',
|
|
77
|
+
type: {
|
|
78
|
+
name: 'Composite',
|
|
79
|
+
class_name: 'Application'
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
odatanext_link: {
|
|
85
|
+
client_side_validation: true,
|
|
86
|
+
required: false,
|
|
87
|
+
serialized_name: 'odata\\.nextLink',
|
|
88
|
+
type: {
|
|
89
|
+
name: 'String'
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::GraphRbac2::V1_6
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Request parameters for updating an existing application.
|
|
10
|
+
#
|
|
11
|
+
class ApplicationUpdateParameters
|
|
12
|
+
|
|
13
|
+
include MsRestAzure2
|
|
14
|
+
|
|
15
|
+
# @return Unmatched properties from the message are deserialized this
|
|
16
|
+
# collection
|
|
17
|
+
attr_accessor :additional_properties
|
|
18
|
+
|
|
19
|
+
# @return [Boolean] Whether the application is available to other tenants
|
|
20
|
+
attr_accessor :available_to_other_tenants
|
|
21
|
+
|
|
22
|
+
# @return [String] The display name of the application.
|
|
23
|
+
attr_accessor :display_name
|
|
24
|
+
|
|
25
|
+
# @return [String] The home page of the application.
|
|
26
|
+
attr_accessor :homepage
|
|
27
|
+
|
|
28
|
+
# @return [Array<String>] A collection of URIs for the application.
|
|
29
|
+
attr_accessor :identifier_uris
|
|
30
|
+
|
|
31
|
+
# @return [Array<String>] A collection of reply URLs for the application.
|
|
32
|
+
attr_accessor :reply_urls
|
|
33
|
+
|
|
34
|
+
# @return [Array<KeyCredential>] The list of KeyCredential objects.
|
|
35
|
+
attr_accessor :key_credentials
|
|
36
|
+
|
|
37
|
+
# @return [Array<PasswordCredential>] The list of PasswordCredential
|
|
38
|
+
# objects.
|
|
39
|
+
attr_accessor :password_credentials
|
|
40
|
+
|
|
41
|
+
# @return [Boolean] Whether to allow implicit grant flow for OAuth2
|
|
42
|
+
attr_accessor :oauth2allow_implicit_flow
|
|
43
|
+
|
|
44
|
+
# @return [Array<RequiredResourceAccess>] Specifies resources that this
|
|
45
|
+
# application requires access to and the set of OAuth permission scopes
|
|
46
|
+
# and application roles that it needs under each of those resources. This
|
|
47
|
+
# pre-configuration of required resource access drives the consent
|
|
48
|
+
# experience.
|
|
49
|
+
attr_accessor :required_resource_access
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
#
|
|
53
|
+
# Mapper for ApplicationUpdateParameters class as Ruby Hash.
|
|
54
|
+
# This will be used for serialization/deserialization.
|
|
55
|
+
#
|
|
56
|
+
def self.mapper()
|
|
57
|
+
{
|
|
58
|
+
client_side_validation: true,
|
|
59
|
+
required: false,
|
|
60
|
+
serialized_name: 'ApplicationUpdateParameters',
|
|
61
|
+
type: {
|
|
62
|
+
name: 'Composite',
|
|
63
|
+
class_name: 'ApplicationUpdateParameters',
|
|
64
|
+
model_properties: {
|
|
65
|
+
additional_properties: {
|
|
66
|
+
client_side_validation: true,
|
|
67
|
+
required: false,
|
|
68
|
+
type: {
|
|
69
|
+
name: 'Dictionary',
|
|
70
|
+
value: {
|
|
71
|
+
client_side_validation: true,
|
|
72
|
+
required: false,
|
|
73
|
+
serialized_name: 'ObjectElementType',
|
|
74
|
+
type: {
|
|
75
|
+
name: 'Object'
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
available_to_other_tenants: {
|
|
81
|
+
client_side_validation: true,
|
|
82
|
+
required: false,
|
|
83
|
+
serialized_name: 'availableToOtherTenants',
|
|
84
|
+
type: {
|
|
85
|
+
name: 'Boolean'
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
display_name: {
|
|
89
|
+
client_side_validation: true,
|
|
90
|
+
required: false,
|
|
91
|
+
serialized_name: 'displayName',
|
|
92
|
+
type: {
|
|
93
|
+
name: 'String'
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
homepage: {
|
|
97
|
+
client_side_validation: true,
|
|
98
|
+
required: false,
|
|
99
|
+
serialized_name: 'homepage',
|
|
100
|
+
type: {
|
|
101
|
+
name: 'String'
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
identifier_uris: {
|
|
105
|
+
client_side_validation: true,
|
|
106
|
+
required: false,
|
|
107
|
+
serialized_name: 'identifierUris',
|
|
108
|
+
type: {
|
|
109
|
+
name: 'Sequence',
|
|
110
|
+
element: {
|
|
111
|
+
client_side_validation: true,
|
|
112
|
+
required: false,
|
|
113
|
+
serialized_name: 'StringElementType',
|
|
114
|
+
type: {
|
|
115
|
+
name: 'String'
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
reply_urls: {
|
|
121
|
+
client_side_validation: true,
|
|
122
|
+
required: false,
|
|
123
|
+
serialized_name: 'replyUrls',
|
|
124
|
+
type: {
|
|
125
|
+
name: 'Sequence',
|
|
126
|
+
element: {
|
|
127
|
+
client_side_validation: true,
|
|
128
|
+
required: false,
|
|
129
|
+
serialized_name: 'StringElementType',
|
|
130
|
+
type: {
|
|
131
|
+
name: 'String'
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
key_credentials: {
|
|
137
|
+
client_side_validation: true,
|
|
138
|
+
required: false,
|
|
139
|
+
serialized_name: 'keyCredentials',
|
|
140
|
+
type: {
|
|
141
|
+
name: 'Sequence',
|
|
142
|
+
element: {
|
|
143
|
+
client_side_validation: true,
|
|
144
|
+
required: false,
|
|
145
|
+
serialized_name: 'KeyCredentialElementType',
|
|
146
|
+
type: {
|
|
147
|
+
name: 'Composite',
|
|
148
|
+
class_name: 'KeyCredential'
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
password_credentials: {
|
|
154
|
+
client_side_validation: true,
|
|
155
|
+
required: false,
|
|
156
|
+
serialized_name: 'passwordCredentials',
|
|
157
|
+
type: {
|
|
158
|
+
name: 'Sequence',
|
|
159
|
+
element: {
|
|
160
|
+
client_side_validation: true,
|
|
161
|
+
required: false,
|
|
162
|
+
serialized_name: 'PasswordCredentialElementType',
|
|
163
|
+
type: {
|
|
164
|
+
name: 'Composite',
|
|
165
|
+
class_name: 'PasswordCredential'
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
oauth2allow_implicit_flow: {
|
|
171
|
+
client_side_validation: true,
|
|
172
|
+
required: false,
|
|
173
|
+
serialized_name: 'oauth2AllowImplicitFlow',
|
|
174
|
+
type: {
|
|
175
|
+
name: 'Boolean'
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
required_resource_access: {
|
|
179
|
+
client_side_validation: true,
|
|
180
|
+
required: false,
|
|
181
|
+
serialized_name: 'requiredResourceAccess',
|
|
182
|
+
type: {
|
|
183
|
+
name: 'Sequence',
|
|
184
|
+
element: {
|
|
185
|
+
client_side_validation: true,
|
|
186
|
+
required: false,
|
|
187
|
+
serialized_name: 'RequiredResourceAccessElementType',
|
|
188
|
+
type: {
|
|
189
|
+
name: 'Composite',
|
|
190
|
+
class_name: 'RequiredResourceAccess'
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::GraphRbac2::V1_6
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Request parameters for IsMemberOf API call.
|
|
10
|
+
#
|
|
11
|
+
class CheckGroupMembershipParameters
|
|
12
|
+
|
|
13
|
+
include MsRestAzure2
|
|
14
|
+
|
|
15
|
+
# @return Unmatched properties from the message are deserialized this
|
|
16
|
+
# collection
|
|
17
|
+
attr_accessor :additional_properties
|
|
18
|
+
|
|
19
|
+
# @return [String] The object ID of the group to check.
|
|
20
|
+
attr_accessor :group_id
|
|
21
|
+
|
|
22
|
+
# @return [String] The object ID of the contact, group, user, or service
|
|
23
|
+
# principal to check for membership in the specified group.
|
|
24
|
+
attr_accessor :member_id
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
# Mapper for CheckGroupMembershipParameters class as Ruby Hash.
|
|
29
|
+
# This will be used for serialization/deserialization.
|
|
30
|
+
#
|
|
31
|
+
def self.mapper()
|
|
32
|
+
{
|
|
33
|
+
client_side_validation: true,
|
|
34
|
+
required: false,
|
|
35
|
+
serialized_name: 'CheckGroupMembershipParameters',
|
|
36
|
+
type: {
|
|
37
|
+
name: 'Composite',
|
|
38
|
+
class_name: 'CheckGroupMembershipParameters',
|
|
39
|
+
model_properties: {
|
|
40
|
+
additional_properties: {
|
|
41
|
+
client_side_validation: true,
|
|
42
|
+
required: false,
|
|
43
|
+
type: {
|
|
44
|
+
name: 'Dictionary',
|
|
45
|
+
value: {
|
|
46
|
+
client_side_validation: true,
|
|
47
|
+
required: false,
|
|
48
|
+
serialized_name: 'ObjectElementType',
|
|
49
|
+
type: {
|
|
50
|
+
name: 'Object'
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
group_id: {
|
|
56
|
+
client_side_validation: true,
|
|
57
|
+
required: true,
|
|
58
|
+
serialized_name: 'groupId',
|
|
59
|
+
type: {
|
|
60
|
+
name: 'String'
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
member_id: {
|
|
64
|
+
client_side_validation: true,
|
|
65
|
+
required: true,
|
|
66
|
+
serialized_name: 'memberId',
|
|
67
|
+
type: {
|
|
68
|
+
name: 'String'
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
|
4
|
+
# regenerated.
|
|
5
|
+
|
|
6
|
+
module Azure::GraphRbac2::V1_6
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Server response for IsMemberOf API call
|
|
10
|
+
#
|
|
11
|
+
class CheckGroupMembershipResult
|
|
12
|
+
|
|
13
|
+
include MsRestAzure2
|
|
14
|
+
|
|
15
|
+
# @return Unmatched properties from the message are deserialized this
|
|
16
|
+
# collection
|
|
17
|
+
attr_accessor :additional_properties
|
|
18
|
+
|
|
19
|
+
# @return [Boolean] True if the specified user, group, contact, or
|
|
20
|
+
# service principal has either direct or transitive membership in the
|
|
21
|
+
# specified group; otherwise, false.
|
|
22
|
+
attr_accessor :value
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
#
|
|
26
|
+
# Mapper for CheckGroupMembershipResult class as Ruby Hash.
|
|
27
|
+
# This will be used for serialization/deserialization.
|
|
28
|
+
#
|
|
29
|
+
def self.mapper()
|
|
30
|
+
{
|
|
31
|
+
client_side_validation: true,
|
|
32
|
+
required: false,
|
|
33
|
+
serialized_name: 'CheckGroupMembershipResult',
|
|
34
|
+
type: {
|
|
35
|
+
name: 'Composite',
|
|
36
|
+
class_name: 'CheckGroupMembershipResult',
|
|
37
|
+
model_properties: {
|
|
38
|
+
additional_properties: {
|
|
39
|
+
client_side_validation: true,
|
|
40
|
+
required: false,
|
|
41
|
+
type: {
|
|
42
|
+
name: 'Dictionary',
|
|
43
|
+
value: {
|
|
44
|
+
client_side_validation: true,
|
|
45
|
+
required: false,
|
|
46
|
+
serialized_name: 'ObjectElementType',
|
|
47
|
+
type: {
|
|
48
|
+
name: 'Object'
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
value: {
|
|
54
|
+
client_side_validation: true,
|
|
55
|
+
required: false,
|
|
56
|
+
serialized_name: 'value',
|
|
57
|
+
type: {
|
|
58
|
+
name: 'Boolean'
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|