azure_mgmt_graph 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_graph.rb +17 -17
  3. data/lib/generated/azure_mgmt_graph/applications.rb +90 -120
  4. data/lib/generated/azure_mgmt_graph/graph_rbac_management_client.rb +15 -2
  5. data/lib/generated/azure_mgmt_graph/groups.rb +132 -121
  6. data/lib/generated/azure_mgmt_graph/models/aadobject.rb +13 -12
  7. data/lib/generated/azure_mgmt_graph/models/adgroup.rb +7 -7
  8. data/lib/generated/azure_mgmt_graph/models/application.rb +12 -12
  9. data/lib/generated/azure_mgmt_graph/models/application_create_parameters.rb +11 -11
  10. data/lib/generated/azure_mgmt_graph/models/application_list_result.rb +4 -4
  11. data/lib/generated/azure_mgmt_graph/models/application_update_parameters.rb +10 -11
  12. data/lib/generated/azure_mgmt_graph/models/check_group_membership_parameters.rb +2 -2
  13. data/lib/generated/azure_mgmt_graph/models/check_group_membership_result.rb +2 -2
  14. data/lib/generated/azure_mgmt_graph/models/get_objects_parameters.rb +6 -6
  15. data/lib/generated/azure_mgmt_graph/models/get_objects_result.rb +4 -4
  16. data/lib/generated/azure_mgmt_graph/models/graph_error.rb +4 -4
  17. data/lib/generated/azure_mgmt_graph/models/group_add_member_parameters.rb +3 -3
  18. data/lib/generated/azure_mgmt_graph/models/group_create_parameters.rb +9 -9
  19. data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_parameters.rb +5 -5
  20. data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_result.rb +4 -3
  21. data/lib/generated/azure_mgmt_graph/models/group_list_result.rb +3 -3
  22. data/lib/generated/azure_mgmt_graph/models/key_credential.rb +8 -8
  23. data/lib/generated/azure_mgmt_graph/models/key_credential_list_result.rb +2 -2
  24. data/lib/generated/azure_mgmt_graph/models/key_credentials_update_parameters.rb +3 -3
  25. data/lib/generated/azure_mgmt_graph/models/password_credential.rb +6 -6
  26. data/lib/generated/azure_mgmt_graph/models/password_credential_list_result.rb +3 -2
  27. data/lib/generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb +4 -3
  28. data/lib/generated/azure_mgmt_graph/models/password_profile.rb +3 -3
  29. data/lib/generated/azure_mgmt_graph/models/service_principal.rb +7 -7
  30. data/lib/generated/azure_mgmt_graph/models/service_principal_create_parameters.rb +5 -5
  31. data/lib/generated/azure_mgmt_graph/models/service_principal_list_result.rb +2 -2
  32. data/lib/generated/azure_mgmt_graph/models/user.rb +9 -9
  33. data/lib/generated/azure_mgmt_graph/models/user_create_parameters.rb +9 -10
  34. data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_parameters.rb +5 -5
  35. data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_result.rb +4 -3
  36. data/lib/generated/azure_mgmt_graph/models/user_list_result.rb +3 -3
  37. data/lib/generated/azure_mgmt_graph/models/user_update_parameters.rb +6 -7
  38. data/lib/generated/azure_mgmt_graph/module_definition.rb +1 -1
  39. data/lib/generated/azure_mgmt_graph/objects.rb +36 -35
  40. data/lib/generated/azure_mgmt_graph/service_principals.rb +84 -101
  41. data/lib/generated/azure_mgmt_graph/users.rb +77 -86
  42. data/lib/generated/azure_mgmt_graph/version.rb +2 -2
  43. metadata +4 -4
@@ -1,45 +1,46 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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 information
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 Id
15
+ # @return [String] The ID of the object.
16
16
  attr_accessor :object_id
17
17
 
18
- # @return [String] object type
18
+ # @return [String] The type of AAD object.
19
19
  attr_accessor :object_type
20
20
 
21
- # @return [String] object display name
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] mail
27
+ # @return [String] The primary email address of the object.
28
28
  attr_accessor :mail
29
29
 
30
- # @return [Boolean] MailEnabled field
30
+ # @return [Boolean] Whether the AAD object is mail-enabled.
31
31
  attr_accessor :mail_enabled
32
32
 
33
- # @return [Boolean] SecurityEnabled field
33
+ # @return [Boolean] Whether the AAD object is security-enabled.
34
34
  attr_accessor :security_enabled
35
35
 
36
- # @return [String] signIn name
36
+ # @return [String] The sign-in name of the object.
37
37
  attr_accessor :sign_in_name
38
38
 
39
- # @return [Array<String>] the list of service principal names.
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] the user type
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.17.0.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 Id
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] group display name
21
+ # @return [String] The display name of the group.
22
22
  attr_accessor :display_name
23
23
 
24
- # @return [Boolean] security enabled field
24
+ # @return [Boolean] Whether the group is security-enable.
25
25
  attr_accessor :security_enabled
26
26
 
27
- # @return [String] mail field
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.17.0.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 user information
9
+ # Active Directory application information.
10
10
  #
11
11
  class Application
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] object Id
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 Id
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] Indicates if the application will be available to
28
- # other tenants
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 displayName
31
+ # @return [String] The display name of the application.
32
32
  attr_accessor :display_name
33
33
 
34
- # @return [Array<String>] the application identifier Uris
34
+ # @return [Array<String>] A collection of URIs for the application.
35
35
  attr_accessor :identifier_uris
36
36
 
37
- # @return [Array<String>] the application reply Urls
37
+ # @return [Array<String>] A collection of reply URLs for the application.
38
38
  attr_accessor :reply_urls
39
39
 
40
- # @return [String] Application homepage
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.17.0.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 create a new application
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] Indicates if the application will be available to
16
- # other tenants
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] Application display name
19
+ # @return [String] The display name of the application.
20
20
  attr_accessor :display_name
21
21
 
22
- # @return [String] Application homepage
22
+ # @return [String] The home page of the application.
23
23
  attr_accessor :homepage
24
24
 
25
- # @return [Array<String>] Application Uris
25
+ # @return [Array<String>] A collection of URIs for the application.
26
26
  attr_accessor :identifier_uris
27
27
 
28
- # @return [Array<String>] Application reply Urls
28
+ # @return [Array<String>] A collection of reply URLs for the application.
29
29
  attr_accessor :reply_urls
30
30
 
31
- # @return [Array<KeyCredential>] the list of KeyCredential objects
31
+ # @return [Array<KeyCredential>] The list of KeyCredential objects.
32
32
  attr_accessor :key_credentials
33
33
 
34
- # @return [Array<PasswordCredential>] the list of 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.17.0.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
- # Role assignment list operation result.
9
+ # Application list operation result.
10
10
  #
11
11
  class ApplicationListResult
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<Application>] Application list.
15
+ # @return [Array<Application>] A collection of applications.
16
16
  attr_accessor :value
17
17
 
18
- # @return [String] the URL to get the next set of results.
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.17.0.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] Indicates if the application will be available to
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] Application display name
18
+ # @return [String] The display name of the application.
20
19
  attr_accessor :display_name
21
20
 
22
- # @return [String] Application homepage
21
+ # @return [String] The home page of the application.
23
22
  attr_accessor :homepage
24
23
 
25
- # @return [Array<String>] Application Uris
24
+ # @return [Array<String>] A collection of URIs for the application.
26
25
  attr_accessor :identifier_uris
27
26
 
28
- # @return [Array<String>] Application reply Urls
27
+ # @return [Array<String>] A collection of reply URLs for the application.
29
28
  attr_accessor :reply_urls
30
29
 
31
- # @return [Array<KeyCredential>] the list of KeyCredential objects
30
+ # @return [Array<KeyCredential>] The list of KeyCredential objects.
32
31
  attr_accessor :key_credentials
33
32
 
34
- # @return [Array<PasswordCredential>] the list of 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.17.0.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.17.0.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] true if the specified user, group, contact, or
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.17.0.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 call
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>] Requested object Ids
15
+ # @return [Array<String>] The requested object IDs.
16
16
  attr_accessor :object_ids
17
17
 
18
- # @return [Array<String>] Requested object types
18
+ # @return [Array<String>] The requested object types.
19
19
  attr_accessor :types
20
20
 
21
- # @return [Boolean] If true, also searches for object ids in the partner
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.17.0.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
- # Server response for Active Directory objects inquiry API calls
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>] Collection of Active Directory object
15
+ # @return [Array<AADObject>] A collection of Active Directory objects.
16
16
  attr_accessor :value
17
17
 
18
- # @return [String] the URL to get the next set of results.
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.17.0.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\\.error.code',
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\\.error.message.value',
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.17.0.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] Member Object Url as
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.17.0.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 create a new group
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] Specifies whether the group is mail-enabled. Must be
19
- # false. This is because only pure security groups can be created using
20
- # the Graph API. Default value: false .
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 nick name
23
+ # @return [String] Mail nickname
24
24
  attr_accessor :mail_nickname
25
25
 
26
- # @return [Boolean] Specifies whether the group is a security group.
27
- # Must be true. This is because only pure security groups can be
28
- # created using the Graph API. Default value: true .
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