azure_mgmt_graph 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_graph.rb +21 -18
  3. data/lib/generated/azure_mgmt_graph/applications.rb +52 -54
  4. data/lib/generated/azure_mgmt_graph/domains.rb +198 -0
  5. data/lib/generated/azure_mgmt_graph/graph_rbac_management_client.rb +9 -1
  6. data/lib/generated/azure_mgmt_graph/groups.rb +59 -61
  7. data/lib/generated/azure_mgmt_graph/models/aadobject.rb +115 -1
  8. data/lib/generated/azure_mgmt_graph/models/adgroup.rb +2 -1
  9. data/lib/generated/azure_mgmt_graph/models/application.rb +2 -1
  10. data/lib/generated/azure_mgmt_graph/models/application_create_parameters.rb +2 -1
  11. data/lib/generated/azure_mgmt_graph/models/application_list_result.rb +2 -1
  12. data/lib/generated/azure_mgmt_graph/models/application_update_parameters.rb +2 -1
  13. data/lib/generated/azure_mgmt_graph/models/check_group_membership_parameters.rb +2 -1
  14. data/lib/generated/azure_mgmt_graph/models/check_group_membership_result.rb +2 -1
  15. data/lib/generated/azure_mgmt_graph/models/domain.rb +78 -0
  16. data/lib/generated/azure_mgmt_graph/models/domain_list_result.rb +53 -0
  17. data/lib/generated/azure_mgmt_graph/models/get_objects_parameters.rb +2 -1
  18. data/lib/generated/azure_mgmt_graph/models/get_objects_result.rb +2 -1
  19. data/lib/generated/azure_mgmt_graph/models/graph_error.rb +2 -1
  20. data/lib/generated/azure_mgmt_graph/models/group_add_member_parameters.rb +2 -1
  21. data/lib/generated/azure_mgmt_graph/models/group_create_parameters.rb +2 -1
  22. data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_parameters.rb +2 -1
  23. data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_result.rb +2 -1
  24. data/lib/generated/azure_mgmt_graph/models/group_list_result.rb +2 -1
  25. data/lib/generated/azure_mgmt_graph/models/key_credential.rb +2 -1
  26. data/lib/generated/azure_mgmt_graph/models/key_credential_list_result.rb +2 -1
  27. data/lib/generated/azure_mgmt_graph/models/key_credentials_update_parameters.rb +2 -1
  28. data/lib/generated/azure_mgmt_graph/models/password_credential.rb +2 -1
  29. data/lib/generated/azure_mgmt_graph/models/password_credential_list_result.rb +2 -1
  30. data/lib/generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb +2 -1
  31. data/lib/generated/azure_mgmt_graph/models/password_profile.rb +2 -1
  32. data/lib/generated/azure_mgmt_graph/models/service_principal.rb +2 -1
  33. data/lib/generated/azure_mgmt_graph/models/service_principal_create_parameters.rb +2 -1
  34. data/lib/generated/azure_mgmt_graph/models/service_principal_list_result.rb +2 -1
  35. data/lib/generated/azure_mgmt_graph/models/user.rb +15 -1
  36. data/lib/generated/azure_mgmt_graph/models/user_create_parameters.rb +15 -1
  37. data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_parameters.rb +2 -1
  38. data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_result.rb +2 -1
  39. data/lib/generated/azure_mgmt_graph/models/user_list_result.rb +2 -1
  40. data/lib/generated/azure_mgmt_graph/models/user_update_parameters.rb +15 -1
  41. data/lib/generated/azure_mgmt_graph/module_definition.rb +1 -1
  42. data/lib/generated/azure_mgmt_graph/objects.rb +19 -21
  43. data/lib/generated/azure_mgmt_graph/service_principals.rb +47 -49
  44. data/lib/generated/azure_mgmt_graph/users.rb +39 -41
  45. data/lib/generated/azure_mgmt_graph/version.rb +2 -2
  46. metadata +7 -4
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] The object ID.
16
17
  attr_accessor :object_id
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] The object ID.
16
17
  attr_accessor :object_id
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Boolean] Whether the application is available to other
16
17
  # tenants.
17
18
  attr_accessor :available_to_other_tenants
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<Application>] A collection of applications.
16
17
  attr_accessor :value
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Boolean] Whether the application is available to other tenants
16
17
  attr_accessor :available_to_other_tenants
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] The object ID of the group to check.
16
17
  attr_accessor :group_id
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Boolean] True if the specified user, group, contact, or
16
17
  # service principal has either direct or transitive membership in the
17
18
  # specified group; otherwise, false.
@@ -0,0 +1,78 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
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
+ # Active Directory Domain information.
10
+ #
11
+ class Domain
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] the type of the authentication into the domain.
17
+ attr_accessor :authentication_type
18
+
19
+ # @return [Boolean] if this is the default domain in the tenant.
20
+ attr_accessor :is_default
21
+
22
+ # @return [Boolean] if this domain's ownership is verified.
23
+ attr_accessor :is_verified
24
+
25
+ # @return [String] the domain name.
26
+ attr_accessor :name
27
+
28
+
29
+ #
30
+ # Mapper for Domain class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ required: false,
36
+ serialized_name: 'Domain',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'Domain',
40
+ model_properties: {
41
+ authentication_type: {
42
+ required: false,
43
+ read_only: true,
44
+ serialized_name: 'authenticationType',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ is_default: {
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'isDefault',
53
+ type: {
54
+ name: 'Boolean'
55
+ }
56
+ },
57
+ is_verified: {
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'isVerified',
61
+ type: {
62
+ name: 'Boolean'
63
+ }
64
+ },
65
+ name: {
66
+ required: true,
67
+ serialized_name: 'name',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ end
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,53 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
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
+ # Server response for Get tenant domains API call.
10
+ #
11
+ class DomainListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<Domain>] the list of domains.
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for DomainListResult class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'DomainListResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'DomainListResult',
31
+ model_properties: {
32
+ value: {
33
+ required: false,
34
+ serialized_name: 'value',
35
+ type: {
36
+ name: 'Sequence',
37
+ element: {
38
+ required: false,
39
+ serialized_name: 'DomainElementType',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Domain'
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ end
51
+ end
52
+ end
53
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<String>] The requested object IDs.
16
17
  attr_accessor :object_ids
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<AADObject>] A collection of Active Directory objects.
16
17
  attr_accessor :value
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] Error code.
16
17
  attr_accessor :code
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] A member object URL, such as
16
17
  # "https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd",
17
18
  # where "0b1f9851-1bf0-433f-aec3-cb9272f093dc" is the tenantId and
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] Group display name
16
17
  attr_accessor :display_name
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Boolean] If true, only membership in security-enabled groups
16
17
  # should be checked. Otherwise, membership in all groups should be
17
18
  # checked.
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<String>] A collection of group IDs of which the group is
16
17
  # a member.
17
18
  attr_accessor :value
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<ADGroup>] A collection of Active Directory groups.
16
17
  attr_accessor :value
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [DateTime] Start date.
16
17
  attr_accessor :start_date
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<KeyCredential>] A collection of KeyCredentials.
16
17
  attr_accessor :value
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<KeyCredential>] A collection of KeyCredentials.
16
17
  attr_accessor :value
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [DateTime] Start date.
16
17
  attr_accessor :start_date
17
18
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Graph
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<PasswordCredential>] A collection of
16
17
  # PasswordCredentials.
17
18
  attr_accessor :value