azure_mgmt_graph 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_graph.rb +23 -18
- data/lib/generated/azure_mgmt_graph/applications.rb +1 -1
- data/lib/generated/azure_mgmt_graph/domains.rb +1 -1
- data/lib/generated/azure_mgmt_graph/graph_rbac_management_client.rb +1 -1
- data/lib/generated/azure_mgmt_graph/groups.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/aadobject.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/adgroup.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/application.rb +11 -1
- data/lib/generated/azure_mgmt_graph/models/application_create_parameters.rb +33 -1
- data/lib/generated/azure_mgmt_graph/models/application_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/application_update_parameters.rb +33 -1
- data/lib/generated/azure_mgmt_graph/models/check_group_membership_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/check_group_membership_result.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/domain.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/domain_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/get_objects_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/get_objects_result.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/graph_error.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/group_add_member_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/group_create_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_result.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/group_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/key_credential.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/key_credential_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/key_credentials_update_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/password_credential.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/password_credential_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/password_profile.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/required_resource_access.rb +72 -0
- data/lib/generated/azure_mgmt_graph/models/resource_access.rb +59 -0
- data/lib/generated/azure_mgmt_graph/models/service_principal.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/service_principal_create_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/service_principal_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/sign_in_name.rb +58 -0
- data/lib/generated/azure_mgmt_graph/models/user.rb +70 -30
- data/lib/generated/azure_mgmt_graph/models/user_base.rb +94 -0
- data/lib/generated/azure_mgmt_graph/models/user_create_parameters.rb +41 -22
- data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_parameters.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_result.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/user_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_graph/models/user_type.rb +16 -0
- data/lib/generated/azure_mgmt_graph/models/user_update_parameters.rb +45 -12
- data/lib/generated/azure_mgmt_graph/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_graph/objects.rb +1 -1
- data/lib/generated/azure_mgmt_graph/service_principals.rb +1 -1
- data/lib/generated/azure_mgmt_graph/users.rb +1 -1
- data/lib/generated/azure_mgmt_graph/version.rb +2 -2
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a85dee7bae7c2fa2f154d996c371650adc8c1a82
|
4
|
+
data.tar.gz: 192782b5c814e433e080b1227219b8aab92e55c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f550a26680255560d28ea810576ce50be02d6a84fb1cc9f9df0a3a8951214143fa888396e8bf39fe27a9236bc4669be249d5b5739e2e900919b93e071d83c352
|
7
|
+
data.tar.gz: e0ced7084ab1fee3decdf3e44bb864c8d3b5d11ddb94ceafc77eedda919aa1d416ce546507ada53b9c82182757af1f9781f76a07087bd8e83633742fa1f651a7
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -34,34 +34,39 @@ module Azure::ARM::Graph
|
|
34
34
|
autoload :GroupGetMemberGroupsResult, 'generated/azure_mgmt_graph/models/group_get_member_groups_result.rb'
|
35
35
|
autoload :PasswordCredential, 'generated/azure_mgmt_graph/models/password_credential.rb'
|
36
36
|
autoload :CheckGroupMembershipParameters, 'generated/azure_mgmt_graph/models/check_group_membership_parameters.rb'
|
37
|
-
autoload :
|
37
|
+
autoload :RequiredResourceAccess, 'generated/azure_mgmt_graph/models/required_resource_access.rb'
|
38
38
|
autoload :CheckGroupMembershipResult, 'generated/azure_mgmt_graph/models/check_group_membership_result.rb'
|
39
|
-
autoload :
|
39
|
+
autoload :ApplicationUpdateParameters, 'generated/azure_mgmt_graph/models/application_update_parameters.rb'
|
40
40
|
autoload :ServicePrincipalCreateParameters, 'generated/azure_mgmt_graph/models/service_principal_create_parameters.rb'
|
41
|
-
autoload :
|
41
|
+
autoload :ApplicationListResult, 'generated/azure_mgmt_graph/models/application_list_result.rb'
|
42
42
|
autoload :ServicePrincipal, 'generated/azure_mgmt_graph/models/service_principal.rb'
|
43
|
-
autoload :
|
43
|
+
autoload :KeyCredentialsUpdateParameters, 'generated/azure_mgmt_graph/models/key_credentials_update_parameters.rb'
|
44
44
|
autoload :ServicePrincipalListResult, 'generated/azure_mgmt_graph/models/service_principal_list_result.rb'
|
45
|
-
autoload :
|
45
|
+
autoload :PasswordCredentialsUpdateParameters, 'generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb'
|
46
46
|
autoload :PasswordProfile, 'generated/azure_mgmt_graph/models/password_profile.rb'
|
47
|
+
autoload :GetObjectsResult, 'generated/azure_mgmt_graph/models/get_objects_result.rb'
|
48
|
+
autoload :UserBase, 'generated/azure_mgmt_graph/models/user_base.rb'
|
47
49
|
autoload :GroupCreateParameters, 'generated/azure_mgmt_graph/models/group_create_parameters.rb'
|
48
|
-
autoload :
|
49
|
-
autoload :
|
50
|
-
autoload :
|
50
|
+
autoload :GroupAddMemberParameters, 'generated/azure_mgmt_graph/models/group_add_member_parameters.rb'
|
51
|
+
autoload :ADGroup, 'generated/azure_mgmt_graph/models/adgroup.rb'
|
52
|
+
autoload :KeyCredential, 'generated/azure_mgmt_graph/models/key_credential.rb'
|
51
53
|
autoload :ApplicationCreateParameters, 'generated/azure_mgmt_graph/models/application_create_parameters.rb'
|
52
|
-
autoload :
|
54
|
+
autoload :DomainListResult, 'generated/azure_mgmt_graph/models/domain_list_result.rb'
|
53
55
|
autoload :KeyCredentialListResult, 'generated/azure_mgmt_graph/models/key_credential_list_result.rb'
|
54
|
-
autoload :
|
56
|
+
autoload :SignInName, 'generated/azure_mgmt_graph/models/sign_in_name.rb'
|
55
57
|
autoload :AADObject, 'generated/azure_mgmt_graph/models/aadobject.rb'
|
58
|
+
autoload :Domain, 'generated/azure_mgmt_graph/models/domain.rb'
|
59
|
+
autoload :ResourceAccess, 'generated/azure_mgmt_graph/models/resource_access.rb'
|
60
|
+
autoload :UserGetMemberGroupsParameters, 'generated/azure_mgmt_graph/models/user_get_member_groups_parameters.rb'
|
61
|
+
autoload :PasswordCredentialListResult, 'generated/azure_mgmt_graph/models/password_credential_list_result.rb'
|
56
62
|
autoload :UserGetMemberGroupsResult, 'generated/azure_mgmt_graph/models/user_get_member_groups_result.rb'
|
57
|
-
autoload :ADGroup, 'generated/azure_mgmt_graph/models/adgroup.rb'
|
58
|
-
autoload :UserListResult, 'generated/azure_mgmt_graph/models/user_list_result.rb'
|
59
63
|
autoload :Application, 'generated/azure_mgmt_graph/models/application.rb'
|
64
|
+
autoload :UserListResult, 'generated/azure_mgmt_graph/models/user_list_result.rb'
|
65
|
+
autoload :GroupListResult, 'generated/azure_mgmt_graph/models/group_list_result.rb'
|
60
66
|
autoload :GetObjectsParameters, 'generated/azure_mgmt_graph/models/get_objects_parameters.rb'
|
61
|
-
autoload :
|
62
|
-
autoload :
|
63
|
-
autoload :
|
64
|
-
autoload :
|
65
|
-
autoload :KeyCredential, 'generated/azure_mgmt_graph/models/key_credential.rb'
|
67
|
+
autoload :UserCreateParameters, 'generated/azure_mgmt_graph/models/user_create_parameters.rb'
|
68
|
+
autoload :UserUpdateParameters, 'generated/azure_mgmt_graph/models/user_update_parameters.rb'
|
69
|
+
autoload :User, 'generated/azure_mgmt_graph/models/user.rb'
|
70
|
+
autoload :UserType, 'generated/azure_mgmt_graph/models/user_type.rb'
|
66
71
|
end
|
67
72
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -41,6 +41,9 @@ module Azure::ARM::Graph
|
|
41
41
|
# @return [String] The home page of the application.
|
42
42
|
attr_accessor :homepage
|
43
43
|
|
44
|
+
# @return [Boolean] Whether to allow implicit grant flow for OAuth2
|
45
|
+
attr_accessor :oauth2allow_implicit_flow
|
46
|
+
|
44
47
|
|
45
48
|
#
|
46
49
|
# Mapper for Application class as Ruby Hash.
|
@@ -137,6 +140,13 @@ module Azure::ARM::Graph
|
|
137
140
|
type: {
|
138
141
|
name: 'String'
|
139
142
|
}
|
143
|
+
},
|
144
|
+
oauth2allow_implicit_flow: {
|
145
|
+
required: false,
|
146
|
+
serialized_name: 'oauth2AllowImplicitFlow',
|
147
|
+
type: {
|
148
|
+
name: 'Boolean'
|
149
|
+
}
|
140
150
|
}
|
141
151
|
}
|
142
152
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -36,6 +36,16 @@ module Azure::ARM::Graph
|
|
36
36
|
# objects.
|
37
37
|
attr_accessor :password_credentials
|
38
38
|
|
39
|
+
# @return [Boolean] Whether to allow implicit grant flow for OAuth2
|
40
|
+
attr_accessor :oauth2allow_implicit_flow
|
41
|
+
|
42
|
+
# @return [Array<RequiredResourceAccess>] Specifies resources that this
|
43
|
+
# application requires access to and the set of OAuth permission scopes
|
44
|
+
# and application roles that it needs under each of those resources. This
|
45
|
+
# pre-configuration of required resource access drives the consent
|
46
|
+
# experience.
|
47
|
+
attr_accessor :required_resource_access
|
48
|
+
|
39
49
|
|
40
50
|
#
|
41
51
|
# Mapper for ApplicationCreateParameters class as Ruby Hash.
|
@@ -127,6 +137,28 @@ module Azure::ARM::Graph
|
|
127
137
|
}
|
128
138
|
}
|
129
139
|
}
|
140
|
+
},
|
141
|
+
oauth2allow_implicit_flow: {
|
142
|
+
required: false,
|
143
|
+
serialized_name: 'oauth2AllowImplicitFlow',
|
144
|
+
type: {
|
145
|
+
name: 'Boolean'
|
146
|
+
}
|
147
|
+
},
|
148
|
+
required_resource_access: {
|
149
|
+
required: false,
|
150
|
+
serialized_name: 'requiredResourceAccess',
|
151
|
+
type: {
|
152
|
+
name: 'Sequence',
|
153
|
+
element: {
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'RequiredResourceAccessElementType',
|
156
|
+
type: {
|
157
|
+
name: 'Composite',
|
158
|
+
class_name: 'RequiredResourceAccess'
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
130
162
|
}
|
131
163
|
}
|
132
164
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -35,6 +35,16 @@ module Azure::ARM::Graph
|
|
35
35
|
# objects.
|
36
36
|
attr_accessor :password_credentials
|
37
37
|
|
38
|
+
# @return [Boolean] Whether to allow implicit grant flow for OAuth2
|
39
|
+
attr_accessor :oauth2allow_implicit_flow
|
40
|
+
|
41
|
+
# @return [Array<RequiredResourceAccess>] Specifies resources that this
|
42
|
+
# application requires access to and the set of OAuth permission scopes
|
43
|
+
# and application roles that it needs under each of those resources. This
|
44
|
+
# pre-configuration of required resource access drives the consent
|
45
|
+
# experience.
|
46
|
+
attr_accessor :required_resource_access
|
47
|
+
|
38
48
|
|
39
49
|
#
|
40
50
|
# Mapper for ApplicationUpdateParameters class as Ruby Hash.
|
@@ -126,6 +136,28 @@ module Azure::ARM::Graph
|
|
126
136
|
}
|
127
137
|
}
|
128
138
|
}
|
139
|
+
},
|
140
|
+
oauth2allow_implicit_flow: {
|
141
|
+
required: false,
|
142
|
+
serialized_name: 'oauth2AllowImplicitFlow',
|
143
|
+
type: {
|
144
|
+
name: 'Boolean'
|
145
|
+
}
|
146
|
+
},
|
147
|
+
required_resource_access: {
|
148
|
+
required: false,
|
149
|
+
serialized_name: 'requiredResourceAccess',
|
150
|
+
type: {
|
151
|
+
name: 'Sequence',
|
152
|
+
element: {
|
153
|
+
required: false,
|
154
|
+
serialized_name: 'RequiredResourceAccessElementType',
|
155
|
+
type: {
|
156
|
+
name: 'Composite',
|
157
|
+
class_name: 'RequiredResourceAccess'
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
129
161
|
}
|
130
162
|
}
|
131
163
|
}
|
@@ -0,0 +1,72 @@
|
|
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::ARM::Graph
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Specifies the set of OAuth 2.0 permission scopes and app roles under the
|
10
|
+
# specified resource that an application requires access to. The specified
|
11
|
+
# OAuth 2.0 permission scopes may be requested by client applications
|
12
|
+
# (through the requiredResourceAccess collection) when calling a resource
|
13
|
+
# application. The requiredResourceAccess property of the Application
|
14
|
+
# entity is a collection of ReqiredResourceAccess.
|
15
|
+
#
|
16
|
+
class RequiredResourceAccess
|
17
|
+
|
18
|
+
include MsRestAzure
|
19
|
+
|
20
|
+
include MsRest::JSONable
|
21
|
+
# @return [Array<ResourceAccess>] The list of OAuth2.0 permission scopes
|
22
|
+
# and app roles that the application requires from the specified
|
23
|
+
# resource.
|
24
|
+
attr_accessor :resource_access
|
25
|
+
|
26
|
+
# @return [String] The unique identifier for the resource that the
|
27
|
+
# application requires access to. This should be equal to the appId
|
28
|
+
# declared on the target resource application.
|
29
|
+
attr_accessor :resource_app_id
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for RequiredResourceAccess class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'RequiredResourceAccess',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'RequiredResourceAccess',
|
43
|
+
model_properties: {
|
44
|
+
resource_access: {
|
45
|
+
required: true,
|
46
|
+
serialized_name: 'resourceAccess',
|
47
|
+
type: {
|
48
|
+
name: 'Sequence',
|
49
|
+
element: {
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'ResourceAccessElementType',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'ResourceAccess'
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
},
|
59
|
+
resource_app_id: {
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'resourceAppId',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|