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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_graph.rb +23 -18
  3. data/lib/generated/azure_mgmt_graph/applications.rb +1 -1
  4. data/lib/generated/azure_mgmt_graph/domains.rb +1 -1
  5. data/lib/generated/azure_mgmt_graph/graph_rbac_management_client.rb +1 -1
  6. data/lib/generated/azure_mgmt_graph/groups.rb +1 -1
  7. data/lib/generated/azure_mgmt_graph/models/aadobject.rb +1 -1
  8. data/lib/generated/azure_mgmt_graph/models/adgroup.rb +1 -1
  9. data/lib/generated/azure_mgmt_graph/models/application.rb +11 -1
  10. data/lib/generated/azure_mgmt_graph/models/application_create_parameters.rb +33 -1
  11. data/lib/generated/azure_mgmt_graph/models/application_list_result.rb +1 -1
  12. data/lib/generated/azure_mgmt_graph/models/application_update_parameters.rb +33 -1
  13. data/lib/generated/azure_mgmt_graph/models/check_group_membership_parameters.rb +1 -1
  14. data/lib/generated/azure_mgmt_graph/models/check_group_membership_result.rb +1 -1
  15. data/lib/generated/azure_mgmt_graph/models/domain.rb +1 -1
  16. data/lib/generated/azure_mgmt_graph/models/domain_list_result.rb +1 -1
  17. data/lib/generated/azure_mgmt_graph/models/get_objects_parameters.rb +1 -1
  18. data/lib/generated/azure_mgmt_graph/models/get_objects_result.rb +1 -1
  19. data/lib/generated/azure_mgmt_graph/models/graph_error.rb +1 -1
  20. data/lib/generated/azure_mgmt_graph/models/group_add_member_parameters.rb +1 -1
  21. data/lib/generated/azure_mgmt_graph/models/group_create_parameters.rb +1 -1
  22. data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_parameters.rb +1 -1
  23. data/lib/generated/azure_mgmt_graph/models/group_get_member_groups_result.rb +1 -1
  24. data/lib/generated/azure_mgmt_graph/models/group_list_result.rb +1 -1
  25. data/lib/generated/azure_mgmt_graph/models/key_credential.rb +1 -1
  26. data/lib/generated/azure_mgmt_graph/models/key_credential_list_result.rb +1 -1
  27. data/lib/generated/azure_mgmt_graph/models/key_credentials_update_parameters.rb +1 -1
  28. data/lib/generated/azure_mgmt_graph/models/password_credential.rb +1 -1
  29. data/lib/generated/azure_mgmt_graph/models/password_credential_list_result.rb +1 -1
  30. data/lib/generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb +1 -1
  31. data/lib/generated/azure_mgmt_graph/models/password_profile.rb +1 -1
  32. data/lib/generated/azure_mgmt_graph/models/required_resource_access.rb +72 -0
  33. data/lib/generated/azure_mgmt_graph/models/resource_access.rb +59 -0
  34. data/lib/generated/azure_mgmt_graph/models/service_principal.rb +1 -1
  35. data/lib/generated/azure_mgmt_graph/models/service_principal_create_parameters.rb +1 -1
  36. data/lib/generated/azure_mgmt_graph/models/service_principal_list_result.rb +1 -1
  37. data/lib/generated/azure_mgmt_graph/models/sign_in_name.rb +58 -0
  38. data/lib/generated/azure_mgmt_graph/models/user.rb +70 -30
  39. data/lib/generated/azure_mgmt_graph/models/user_base.rb +94 -0
  40. data/lib/generated/azure_mgmt_graph/models/user_create_parameters.rb +41 -22
  41. data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_parameters.rb +1 -1
  42. data/lib/generated/azure_mgmt_graph/models/user_get_member_groups_result.rb +1 -1
  43. data/lib/generated/azure_mgmt_graph/models/user_list_result.rb +1 -1
  44. data/lib/generated/azure_mgmt_graph/models/user_type.rb +16 -0
  45. data/lib/generated/azure_mgmt_graph/models/user_update_parameters.rb +45 -12
  46. data/lib/generated/azure_mgmt_graph/module_definition.rb +1 -1
  47. data/lib/generated/azure_mgmt_graph/objects.rb +1 -1
  48. data/lib/generated/azure_mgmt_graph/service_principals.rb +1 -1
  49. data/lib/generated/azure_mgmt_graph/users.rb +1 -1
  50. data/lib/generated/azure_mgmt_graph/version.rb +2 -2
  51. metadata +7 -2
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
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
 
@@ -0,0 +1,16 @@
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
+ # Defines values for UserType
10
+ #
11
+ module UserType
12
+ Member = "Member"
13
+ Guest = "Guest"
14
+ end
15
+ end
16
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
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
 
@@ -8,7 +8,7 @@ module Azure::ARM::Graph
8
8
  #
9
9
  # Request parameters for updating an existing work or school account user.
10
10
  #
11
- class UserUpdateParameters
11
+ class UserUpdateParameters < UserBase
12
12
 
13
13
  include MsRestAzure
14
14
 
@@ -22,15 +22,13 @@ module Azure::ARM::Graph
22
22
  # @return [PasswordProfile] The password profile of the user.
23
23
  attr_accessor :password_profile
24
24
 
25
+ # @return [String] The user principal name (someuser@contoso.com). It
26
+ # must contain one of the verified domains for the tenant.
27
+ attr_accessor :user_principal_name
28
+
25
29
  # @return [String] The mail alias for the user.
26
30
  attr_accessor :mail_nickname
27
31
 
28
- # @return [String] A two letter country code (ISO standard 3166).
29
- # Required for users that will be assigned licenses due to legal
30
- # requirement to check for availability of services in countries.
31
- # Examples include: "US", "JP", and "GB".
32
- attr_accessor :usage_location
33
-
34
32
 
35
33
  #
36
34
  # Mapper for UserUpdateParameters class as Ruby Hash.
@@ -44,6 +42,41 @@ module Azure::ARM::Graph
44
42
  name: 'Composite',
45
43
  class_name: 'UserUpdateParameters',
46
44
  model_properties: {
45
+ immutable_id: {
46
+ required: false,
47
+ serialized_name: 'immutableId',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ usage_location: {
53
+ required: false,
54
+ serialized_name: 'usageLocation',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ given_name: {
60
+ required: false,
61
+ serialized_name: 'givenName',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ surname: {
67
+ required: false,
68
+ serialized_name: 'surname',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ user_type: {
74
+ required: false,
75
+ serialized_name: 'userType',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
47
80
  account_enabled: {
48
81
  required: false,
49
82
  serialized_name: 'accountEnabled',
@@ -66,16 +99,16 @@ module Azure::ARM::Graph
66
99
  class_name: 'PasswordProfile'
67
100
  }
68
101
  },
69
- mail_nickname: {
102
+ user_principal_name: {
70
103
  required: false,
71
- serialized_name: 'mailNickname',
104
+ serialized_name: 'userPrincipalName',
72
105
  type: {
73
106
  name: 'String'
74
107
  }
75
108
  },
76
- usage_location: {
109
+ mail_nickname: {
77
110
  required: false,
78
- serialized_name: 'usageLocation',
111
+ serialized_name: 'mailNickname',
79
112
  type: {
80
113
  name: 'String'
81
114
  }
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
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
 
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
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
 
6
6
  module Azure::ARM::Graph
7
- VERSION = '0.12.0'
7
+ VERSION = '0.13.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_graph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-12 00:00:00.000000000 Z
11
+ date: 2017-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -119,14 +119,19 @@ files:
119
119
  - lib/generated/azure_mgmt_graph/models/password_credential_list_result.rb
120
120
  - lib/generated/azure_mgmt_graph/models/password_credentials_update_parameters.rb
121
121
  - lib/generated/azure_mgmt_graph/models/password_profile.rb
122
+ - lib/generated/azure_mgmt_graph/models/required_resource_access.rb
123
+ - lib/generated/azure_mgmt_graph/models/resource_access.rb
122
124
  - lib/generated/azure_mgmt_graph/models/service_principal.rb
123
125
  - lib/generated/azure_mgmt_graph/models/service_principal_create_parameters.rb
124
126
  - lib/generated/azure_mgmt_graph/models/service_principal_list_result.rb
127
+ - lib/generated/azure_mgmt_graph/models/sign_in_name.rb
125
128
  - lib/generated/azure_mgmt_graph/models/user.rb
129
+ - lib/generated/azure_mgmt_graph/models/user_base.rb
126
130
  - lib/generated/azure_mgmt_graph/models/user_create_parameters.rb
127
131
  - lib/generated/azure_mgmt_graph/models/user_get_member_groups_parameters.rb
128
132
  - lib/generated/azure_mgmt_graph/models/user_get_member_groups_result.rb
129
133
  - lib/generated/azure_mgmt_graph/models/user_list_result.rb
134
+ - lib/generated/azure_mgmt_graph/models/user_type.rb
130
135
  - lib/generated/azure_mgmt_graph/models/user_update_parameters.rb
131
136
  - lib/generated/azure_mgmt_graph/module_definition.rb
132
137
  - lib/generated/azure_mgmt_graph/objects.rb