azure_mgmt_graph 0.7.0 → 0.8.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 +4 -4
- data/lib/generated/azure_mgmt_graph.rb +17 -17
- data/lib/generated/azure_mgmt_graph/applications.rb +90 -120
- data/lib/generated/azure_mgmt_graph/graph_rbac_management_client.rb +15 -2
- data/lib/generated/azure_mgmt_graph/groups.rb +132 -121
- data/lib/generated/azure_mgmt_graph/models/aadobject.rb +13 -12
- data/lib/generated/azure_mgmt_graph/models/adgroup.rb +7 -7
- data/lib/generated/azure_mgmt_graph/models/application.rb +12 -12
- data/lib/generated/azure_mgmt_graph/models/application_create_parameters.rb +11 -11
- data/lib/generated/azure_mgmt_graph/models/application_list_result.rb +4 -4
- data/lib/generated/azure_mgmt_graph/models/application_update_parameters.rb +10 -11
- data/lib/generated/azure_mgmt_graph/models/check_group_membership_parameters.rb +2 -2
- data/lib/generated/azure_mgmt_graph/models/check_group_membership_result.rb +2 -2
- data/lib/generated/azure_mgmt_graph/models/get_objects_parameters.rb +6 -6
- data/lib/generated/azure_mgmt_graph/models/get_objects_result.rb +4 -4
- data/lib/generated/azure_mgmt_graph/models/graph_error.rb +4 -4
- data/lib/generated/azure_mgmt_graph/models/group_add_member_parameters.rb +3 -3
- data/lib/generated/azure_mgmt_graph/models/group_create_parameters.rb +9 -9
- data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_parameters.rb +5 -5
- data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_result.rb +4 -3
- data/lib/generated/azure_mgmt_graph/models/group_list_result.rb +3 -3
- data/lib/generated/azure_mgmt_graph/models/key_credential.rb +8 -8
- data/lib/generated/azure_mgmt_graph/models/key_credential_list_result.rb +2 -2
- data/lib/generated/azure_mgmt_graph/models/key_credentials_update_parameters.rb +3 -3
- data/lib/generated/azure_mgmt_graph/models/password_credential.rb +6 -6
- data/lib/generated/azure_mgmt_graph/models/password_credential_list_result.rb +3 -2
- data/lib/generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb +4 -3
- data/lib/generated/azure_mgmt_graph/models/password_profile.rb +3 -3
- data/lib/generated/azure_mgmt_graph/models/service_principal.rb +7 -7
- data/lib/generated/azure_mgmt_graph/models/service_principal_create_parameters.rb +5 -5
- data/lib/generated/azure_mgmt_graph/models/service_principal_list_result.rb +2 -2
- data/lib/generated/azure_mgmt_graph/models/user.rb +9 -9
- data/lib/generated/azure_mgmt_graph/models/user_create_parameters.rb +9 -10
- data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_parameters.rb +5 -5
- data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_result.rb +4 -3
- data/lib/generated/azure_mgmt_graph/models/user_list_result.rb +3 -3
- data/lib/generated/azure_mgmt_graph/models/user_update_parameters.rb +6 -7
- data/lib/generated/azure_mgmt_graph/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_graph/objects.rb +36 -35
- data/lib/generated/azure_mgmt_graph/service_principals.rb +84 -101
- data/lib/generated/azure_mgmt_graph/users.rb +77 -86
- data/lib/generated/azure_mgmt_graph/version.rb +2 -2
- metadata +4 -4
@@ -1,45 +1,46 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Active Directory object
|
9
|
+
# The properties of an Active Directory object.
|
10
10
|
#
|
11
11
|
class AADObject
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] object
|
15
|
+
# @return [String] The ID of the object.
|
16
16
|
attr_accessor :object_id
|
17
17
|
|
18
|
-
# @return [String]
|
18
|
+
# @return [String] The type of AAD object.
|
19
19
|
attr_accessor :object_type
|
20
20
|
|
21
|
-
# @return [String]
|
21
|
+
# @return [String] The display name of the object.
|
22
22
|
attr_accessor :display_name
|
23
23
|
|
24
|
-
# @return [String] principal name
|
24
|
+
# @return [String] The principal name of the object.
|
25
25
|
attr_accessor :user_principal_name
|
26
26
|
|
27
|
-
# @return [String]
|
27
|
+
# @return [String] The primary email address of the object.
|
28
28
|
attr_accessor :mail
|
29
29
|
|
30
|
-
# @return [Boolean]
|
30
|
+
# @return [Boolean] Whether the AAD object is mail-enabled.
|
31
31
|
attr_accessor :mail_enabled
|
32
32
|
|
33
|
-
# @return [Boolean]
|
33
|
+
# @return [Boolean] Whether the AAD object is security-enabled.
|
34
34
|
attr_accessor :security_enabled
|
35
35
|
|
36
|
-
# @return [String]
|
36
|
+
# @return [String] The sign-in name of the object.
|
37
37
|
attr_accessor :sign_in_name
|
38
38
|
|
39
|
-
# @return [Array<String>]
|
39
|
+
# @return [Array<String>] A collection of service principal names
|
40
|
+
# associated with the object.
|
40
41
|
attr_accessor :service_principal_names
|
41
42
|
|
42
|
-
# @return [String]
|
43
|
+
# @return [String] The user type of the object.
|
43
44
|
attr_accessor :user_type
|
44
45
|
|
45
46
|
|
@@ -1,30 +1,30 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Active Directory group information
|
9
|
+
# Active Directory group information.
|
10
10
|
#
|
11
11
|
class ADGroup
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] object
|
15
|
+
# @return [String] The object ID.
|
16
16
|
attr_accessor :object_id
|
17
17
|
|
18
|
-
# @return [String] object type
|
18
|
+
# @return [String] The object type.
|
19
19
|
attr_accessor :object_type
|
20
20
|
|
21
|
-
# @return [String]
|
21
|
+
# @return [String] The display name of the group.
|
22
22
|
attr_accessor :display_name
|
23
23
|
|
24
|
-
# @return [Boolean]
|
24
|
+
# @return [Boolean] Whether the group is security-enable.
|
25
25
|
attr_accessor :security_enabled
|
26
26
|
|
27
|
-
# @return [String]
|
27
|
+
# @return [String] The primary email address of the group.
|
28
28
|
attr_accessor :mail
|
29
29
|
|
30
30
|
|
@@ -1,43 +1,43 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Active Directory
|
9
|
+
# Active Directory application information.
|
10
10
|
#
|
11
11
|
class Application
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] object
|
15
|
+
# @return [String] The object ID.
|
16
16
|
attr_accessor :object_id
|
17
17
|
|
18
|
-
# @return [String] object type
|
18
|
+
# @return [String] The object type.
|
19
19
|
attr_accessor :object_type
|
20
20
|
|
21
|
-
# @return [String] application
|
21
|
+
# @return [String] The application ID.
|
22
22
|
attr_accessor :app_id
|
23
23
|
|
24
|
-
# @return [Array<String>] application permissions
|
24
|
+
# @return [Array<String>] The application permissions.
|
25
25
|
attr_accessor :app_permissions
|
26
26
|
|
27
|
-
# @return [Boolean]
|
28
|
-
#
|
27
|
+
# @return [Boolean] Whether the application is be available to other
|
28
|
+
# tenants.
|
29
29
|
attr_accessor :available_to_other_tenants
|
30
30
|
|
31
|
-
# @return [String] the
|
31
|
+
# @return [String] The display name of the application.
|
32
32
|
attr_accessor :display_name
|
33
33
|
|
34
|
-
# @return [Array<String>] the application
|
34
|
+
# @return [Array<String>] A collection of URIs for the application.
|
35
35
|
attr_accessor :identifier_uris
|
36
36
|
|
37
|
-
# @return [Array<String>]
|
37
|
+
# @return [Array<String>] A collection of reply URLs for the application.
|
38
38
|
attr_accessor :reply_urls
|
39
39
|
|
40
|
-
# @return [String]
|
40
|
+
# @return [String] The home page of the application.
|
41
41
|
attr_accessor :homepage
|
42
42
|
|
43
43
|
|
@@ -1,38 +1,38 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Request parameters for
|
9
|
+
# Request parameters for creating a new application.
|
10
10
|
#
|
11
11
|
class ApplicationCreateParameters
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Boolean]
|
16
|
-
#
|
15
|
+
# @return [Boolean] Whether the application is available to other
|
16
|
+
# tenants.
|
17
17
|
attr_accessor :available_to_other_tenants
|
18
18
|
|
19
|
-
# @return [String]
|
19
|
+
# @return [String] The display name of the application.
|
20
20
|
attr_accessor :display_name
|
21
21
|
|
22
|
-
# @return [String]
|
22
|
+
# @return [String] The home page of the application.
|
23
23
|
attr_accessor :homepage
|
24
24
|
|
25
|
-
# @return [Array<String>]
|
25
|
+
# @return [Array<String>] A collection of URIs for the application.
|
26
26
|
attr_accessor :identifier_uris
|
27
27
|
|
28
|
-
# @return [Array<String>]
|
28
|
+
# @return [Array<String>] A collection of reply URLs for the application.
|
29
29
|
attr_accessor :reply_urls
|
30
30
|
|
31
|
-
# @return [Array<KeyCredential>]
|
31
|
+
# @return [Array<KeyCredential>] The list of KeyCredential objects.
|
32
32
|
attr_accessor :key_credentials
|
33
33
|
|
34
|
-
# @return [Array<PasswordCredential>]
|
35
|
-
# objects
|
34
|
+
# @return [Array<PasswordCredential>] The list of PasswordCredential
|
35
|
+
# objects.
|
36
36
|
attr_accessor :password_credentials
|
37
37
|
|
38
38
|
|
@@ -1,21 +1,21 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Application list operation result.
|
10
10
|
#
|
11
11
|
class ApplicationListResult
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Array<Application>]
|
15
|
+
# @return [Array<Application>] A collection of applications.
|
16
16
|
attr_accessor :value
|
17
17
|
|
18
|
-
# @return [String]
|
18
|
+
# @return [String] The URL to get the next set of results.
|
19
19
|
attr_accessor :odatanext_link
|
20
20
|
|
21
21
|
# return [Proc] with next page method call.
|
@@ -1,38 +1,37 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Request parameters for updating an existing application
|
9
|
+
# Request parameters for updating an existing application.
|
10
10
|
#
|
11
11
|
class ApplicationUpdateParameters
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Boolean]
|
16
|
-
# other tenants
|
15
|
+
# @return [Boolean] Whether the application is available to other tenants
|
17
16
|
attr_accessor :available_to_other_tenants
|
18
17
|
|
19
|
-
# @return [String]
|
18
|
+
# @return [String] The display name of the application.
|
20
19
|
attr_accessor :display_name
|
21
20
|
|
22
|
-
# @return [String]
|
21
|
+
# @return [String] The home page of the application.
|
23
22
|
attr_accessor :homepage
|
24
23
|
|
25
|
-
# @return [Array<String>]
|
24
|
+
# @return [Array<String>] A collection of URIs for the application.
|
26
25
|
attr_accessor :identifier_uris
|
27
26
|
|
28
|
-
# @return [Array<String>]
|
27
|
+
# @return [Array<String>] A collection of reply URLs for the application.
|
29
28
|
attr_accessor :reply_urls
|
30
29
|
|
31
|
-
# @return [Array<KeyCredential>]
|
30
|
+
# @return [Array<KeyCredential>] The list of KeyCredential objects.
|
32
31
|
attr_accessor :key_credentials
|
33
32
|
|
34
|
-
# @return [Array<PasswordCredential>]
|
35
|
-
# objects
|
33
|
+
# @return [Array<PasswordCredential>] The list of PasswordCredential
|
34
|
+
# objects.
|
36
35
|
attr_accessor :password_credentials
|
37
36
|
|
38
37
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Request parameters for IsMemberOf API call
|
9
|
+
# Request parameters for IsMemberOf API call.
|
10
10
|
#
|
11
11
|
class CheckGroupMembershipParameters
|
12
12
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,7 +12,7 @@ module Azure::ARM::Graph
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Boolean]
|
15
|
+
# @return [Boolean] True if the specified user, group, contact, or
|
16
16
|
# service principal has either direct or transitive membership in the
|
17
17
|
# specified group; otherwise, false.
|
18
18
|
attr_accessor :value
|
@@ -1,25 +1,25 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Request parameters for GetObjectsByObjectIds API
|
9
|
+
# Request parameters for the GetObjectsByObjectIds API.
|
10
10
|
#
|
11
11
|
class GetObjectsParameters
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Array<String>]
|
15
|
+
# @return [Array<String>] The requested object IDs.
|
16
16
|
attr_accessor :object_ids
|
17
17
|
|
18
|
-
# @return [Array<String>]
|
18
|
+
# @return [Array<String>] The requested object types.
|
19
19
|
attr_accessor :types
|
20
20
|
|
21
|
-
# @return [Boolean] If true, also searches for object
|
22
|
-
# tenant
|
21
|
+
# @return [Boolean] If true, also searches for object IDs in the partner
|
22
|
+
# tenant.
|
23
23
|
attr_accessor :include_directory_object_references
|
24
24
|
|
25
25
|
|
@@ -1,21 +1,21 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# The response to an Active Directory object inquiry API request.
|
10
10
|
#
|
11
11
|
class GetObjectsResult
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Array<AADObject>]
|
15
|
+
# @return [Array<AADObject>] A collection of Active Directory objects.
|
16
16
|
attr_accessor :value
|
17
17
|
|
18
|
-
# @return [String]
|
18
|
+
# @return [String] The URL to get the next set of results.
|
19
19
|
attr_accessor :odatanext_link
|
20
20
|
|
21
21
|
# return [Proc] with next page method call.
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Active Directory error information
|
9
|
+
# Active Directory error information.
|
10
10
|
#
|
11
11
|
class GraphError
|
12
12
|
|
@@ -33,14 +33,14 @@ module Azure::ARM::Graph
|
|
33
33
|
model_properties: {
|
34
34
|
code: {
|
35
35
|
required: false,
|
36
|
-
serialized_name: 'odata
|
36
|
+
serialized_name: 'odata.error.code',
|
37
37
|
type: {
|
38
38
|
name: 'String'
|
39
39
|
}
|
40
40
|
},
|
41
41
|
message: {
|
42
42
|
required: false,
|
43
|
-
serialized_name: 'odata
|
43
|
+
serialized_name: 'odata.error.message.value',
|
44
44
|
type: {
|
45
45
|
name: 'String'
|
46
46
|
}
|
@@ -1,18 +1,18 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Request parameters for adding a member to a group
|
9
|
+
# Request parameters for adding a member to a group.
|
10
10
|
#
|
11
11
|
class GroupAddMemberParameters
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String]
|
15
|
+
# @return [String] A member object URL, such as
|
16
16
|
# "https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd",
|
17
17
|
# where "0b1f9851-1bf0-433f-aec3-cb9272f093dc" is the tenantId and
|
18
18
|
# "f260bbc4-c254-447b-94cf-293b5ec434dd" is the objectId of the member
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Graph
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Request parameters for
|
9
|
+
# Request parameters for creating a new group.
|
10
10
|
#
|
11
11
|
class GroupCreateParameters
|
12
12
|
|
@@ -15,17 +15,17 @@ module Azure::ARM::Graph
|
|
15
15
|
# @return [String] Group display name
|
16
16
|
attr_accessor :display_name
|
17
17
|
|
18
|
-
# @return [Boolean]
|
19
|
-
#
|
20
|
-
#
|
18
|
+
# @return [Boolean] Whether the group is mail-enabled. Must be false.
|
19
|
+
# This is because only pure security groups can be created using the
|
20
|
+
# Graph API. Default value: false .
|
21
21
|
attr_accessor :mail_enabled
|
22
22
|
|
23
|
-
# @return [String] Mail
|
23
|
+
# @return [String] Mail nickname
|
24
24
|
attr_accessor :mail_nickname
|
25
25
|
|
26
|
-
# @return [Boolean]
|
27
|
-
#
|
28
|
-
#
|
26
|
+
# @return [Boolean] Whether the group is a security group. Must be true.
|
27
|
+
# This is because only pure security groups can be created using the
|
28
|
+
# Graph API. Default value: true .
|
29
29
|
attr_accessor :security_enabled
|
30
30
|
|
31
31
|
|