azure_mgmt_authorization 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-07-01/generated/azure_mgmt_authorization/authorization_management_client.rb +1 -3
  3. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/classic_administrator.rb +5 -0
  4. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/classic_administrator_list_result.rb +4 -0
  5. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/classic_administrator_properties.rb +3 -0
  6. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/permission.rb +5 -0
  7. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/permission_get_result.rb +4 -0
  8. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/provider_operation.rb +6 -0
  9. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/provider_operations_metadata.rb +9 -0
  10. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/provider_operations_metadata_list_result.rb +4 -0
  11. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/resource_type.rb +5 -0
  12. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/role_assignment.rb +5 -0
  13. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/role_assignment_create_parameters.rb +2 -0
  14. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/role_assignment_filter.rb +2 -0
  15. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/role_assignment_list_result.rb +4 -0
  16. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/role_assignment_properties.rb +3 -0
  17. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/role_assignment_properties_with_scope.rb +4 -0
  18. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/role_definition.rb +5 -0
  19. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/role_definition_filter.rb +2 -0
  20. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/role_definition_list_result.rb +4 -0
  21. data/lib/2015-07-01/generated/azure_mgmt_authorization/models/role_definition_properties.rb +8 -0
  22. data/lib/profiles/latest/authorization_latest_profile_client.rb +1 -3
  23. data/lib/version.rb +1 -1
  24. metadata +10 -8
  25. data/lib/2015-07-01/generated/azure_mgmt_authorization/version.rb +0 -8
  26. data/lib/profiles/common/configurable.rb +0 -86
  27. data/lib/profiles/common/default.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e2d0219e1fd286cf2d023be371e7bf2f02cf2ca
4
- data.tar.gz: aaf69704c8d0849793963004a05dae4dfac8de7e
3
+ metadata.gz: 9af43300c9ff41fb308fe66458f7c9a47817236d
4
+ data.tar.gz: 20c1a910de5d8bb3de58949ec84fb93294463f5b
5
5
  SHA512:
6
- metadata.gz: 41d60b1062e77928b434c5f503069a04e53a656577c559912dd3ec5003c27c8dfcdc6054c33caddd5e803fb120a1d0f2f74475b7a6e10f43c14cf0477ea5ed68
7
- data.tar.gz: a5cc5148698e5deb92201d41da7c24e3d84f736465932062a2da0258e16d3c3e4ac030a6566efad388a1f2e44a457b97884602ac173a73890bff599bf6292a01
6
+ metadata.gz: ac615d4e132ac5563d3c33535c5e3e992f5f2950b6e69274b5b1bfee38856323510b3cf05deb98da30d2c70a8e1cf905cc25523cc8f111a59299f011dbfb5d79
7
+ data.tar.gz: 10851e0c7ee68b811387a6144362a679b43c2ac8fe911ba0762eee40c28fa9784ff85aaf8f25eca1ca2173e29f67a6af497024987494ea0423ef9628eb20aad7
@@ -137,9 +137,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
137
137
  #
138
138
  def add_telemetry
139
139
  sdk_information = 'azure_mgmt_authorization'
140
- if defined? Azure::Authorization::Mgmt::V2015_07_01::VERSION
141
- sdk_information = "#{sdk_information}/#{Azure::Authorization::Mgmt::V2015_07_01::VERSION}"
142
- end
140
+ sdk_information = "#{sdk_information}/0.15.2"
143
141
  add_user_agent_information(sdk_information)
144
142
  end
145
143
  end
@@ -32,6 +32,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
32
32
  #
33
33
  def self.mapper()
34
34
  {
35
+ client_side_validation: true,
35
36
  required: false,
36
37
  serialized_name: 'ClassicAdministrator',
37
38
  type: {
@@ -39,6 +40,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
39
40
  class_name: 'ClassicAdministrator',
40
41
  model_properties: {
41
42
  id: {
43
+ client_side_validation: true,
42
44
  required: false,
43
45
  serialized_name: 'id',
44
46
  type: {
@@ -46,6 +48,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
46
48
  }
47
49
  },
48
50
  name: {
51
+ client_side_validation: true,
49
52
  required: false,
50
53
  serialized_name: 'name',
51
54
  type: {
@@ -53,6 +56,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
53
56
  }
54
57
  },
55
58
  type: {
59
+ client_side_validation: true,
56
60
  required: false,
57
61
  serialized_name: 'type',
58
62
  type: {
@@ -60,6 +64,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
60
64
  }
61
65
  },
62
66
  properties: {
67
+ client_side_validation: true,
63
68
  required: false,
64
69
  serialized_name: 'properties',
65
70
  type: {
@@ -57,6 +57,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
+ client_side_validation: true,
60
61
  required: false,
61
62
  serialized_name: 'ClassicAdministratorListResult',
62
63
  type: {
@@ -64,11 +65,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
64
65
  class_name: 'ClassicAdministratorListResult',
65
66
  model_properties: {
66
67
  value: {
68
+ client_side_validation: true,
67
69
  required: false,
68
70
  serialized_name: 'value',
69
71
  type: {
70
72
  name: 'Sequence',
71
73
  element: {
74
+ client_side_validation: true,
72
75
  required: false,
73
76
  serialized_name: 'ClassicAdministratorElementType',
74
77
  type: {
@@ -79,6 +82,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
79
82
  }
80
83
  },
81
84
  next_link: {
85
+ client_side_validation: true,
82
86
  required: false,
83
87
  serialized_name: 'nextLink',
84
88
  type: {
@@ -25,6 +25,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'ClassicAdministratorProperties',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
32
33
  class_name: 'ClassicAdministratorProperties',
33
34
  model_properties: {
34
35
  email_address: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  serialized_name: 'emailAddress',
37
39
  type: {
@@ -39,6 +41,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
39
41
  }
40
42
  },
41
43
  role: {
44
+ client_side_validation: true,
42
45
  required: false,
43
46
  serialized_name: 'role',
44
47
  type: {
@@ -25,6 +25,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'Permission',
30
31
  type: {
@@ -32,11 +33,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
32
33
  class_name: 'Permission',
33
34
  model_properties: {
34
35
  actions: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  serialized_name: 'actions',
37
39
  type: {
38
40
  name: 'Sequence',
39
41
  element: {
42
+ client_side_validation: true,
40
43
  required: false,
41
44
  serialized_name: 'StringElementType',
42
45
  type: {
@@ -46,11 +49,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
46
49
  }
47
50
  },
48
51
  not_actions: {
52
+ client_side_validation: true,
49
53
  required: false,
50
54
  serialized_name: 'notActions',
51
55
  type: {
52
56
  name: 'Sequence',
53
57
  element: {
58
+ client_side_validation: true,
54
59
  required: false,
55
60
  serialized_name: 'StringElementType',
56
61
  type: {
@@ -57,6 +57,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
+ client_side_validation: true,
60
61
  required: false,
61
62
  serialized_name: 'PermissionGetResult',
62
63
  type: {
@@ -64,11 +65,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
64
65
  class_name: 'PermissionGetResult',
65
66
  model_properties: {
66
67
  value: {
68
+ client_side_validation: true,
67
69
  required: false,
68
70
  serialized_name: 'value',
69
71
  type: {
70
72
  name: 'Sequence',
71
73
  element: {
74
+ client_side_validation: true,
72
75
  required: false,
73
76
  serialized_name: 'PermissionElementType',
74
77
  type: {
@@ -79,6 +82,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
79
82
  }
80
83
  },
81
84
  next_link: {
85
+ client_side_validation: true,
82
86
  required: false,
83
87
  serialized_name: 'nextLink',
84
88
  type: {
@@ -34,6 +34,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
34
34
  #
35
35
  def self.mapper()
36
36
  {
37
+ client_side_validation: true,
37
38
  required: false,
38
39
  serialized_name: 'ProviderOperation',
39
40
  type: {
@@ -41,6 +42,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
41
42
  class_name: 'ProviderOperation',
42
43
  model_properties: {
43
44
  name: {
45
+ client_side_validation: true,
44
46
  required: false,
45
47
  serialized_name: 'name',
46
48
  type: {
@@ -48,6 +50,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
48
50
  }
49
51
  },
50
52
  display_name: {
53
+ client_side_validation: true,
51
54
  required: false,
52
55
  serialized_name: 'displayName',
53
56
  type: {
@@ -55,6 +58,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
55
58
  }
56
59
  },
57
60
  description: {
61
+ client_side_validation: true,
58
62
  required: false,
59
63
  serialized_name: 'description',
60
64
  type: {
@@ -62,6 +66,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
62
66
  }
63
67
  },
64
68
  origin: {
69
+ client_side_validation: true,
65
70
  required: false,
66
71
  serialized_name: 'origin',
67
72
  type: {
@@ -69,6 +74,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
69
74
  }
70
75
  },
71
76
  properties: {
77
+ client_side_validation: true,
72
78
  required: false,
73
79
  serialized_name: 'properties',
74
80
  type: {
@@ -37,6 +37,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
37
37
  #
38
38
  def self.mapper()
39
39
  {
40
+ client_side_validation: true,
40
41
  required: false,
41
42
  serialized_name: 'ProviderOperationsMetadata',
42
43
  type: {
@@ -44,6 +45,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
44
45
  class_name: 'ProviderOperationsMetadata',
45
46
  model_properties: {
46
47
  id: {
48
+ client_side_validation: true,
47
49
  required: false,
48
50
  serialized_name: 'id',
49
51
  type: {
@@ -51,6 +53,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
51
53
  }
52
54
  },
53
55
  name: {
56
+ client_side_validation: true,
54
57
  required: false,
55
58
  serialized_name: 'name',
56
59
  type: {
@@ -58,6 +61,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
58
61
  }
59
62
  },
60
63
  type: {
64
+ client_side_validation: true,
61
65
  required: false,
62
66
  serialized_name: 'type',
63
67
  type: {
@@ -65,6 +69,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
65
69
  }
66
70
  },
67
71
  display_name: {
72
+ client_side_validation: true,
68
73
  required: false,
69
74
  serialized_name: 'displayName',
70
75
  type: {
@@ -72,11 +77,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
72
77
  }
73
78
  },
74
79
  resource_types: {
80
+ client_side_validation: true,
75
81
  required: false,
76
82
  serialized_name: 'resourceTypes',
77
83
  type: {
78
84
  name: 'Sequence',
79
85
  element: {
86
+ client_side_validation: true,
80
87
  required: false,
81
88
  serialized_name: 'ResourceTypeElementType',
82
89
  type: {
@@ -87,11 +94,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
87
94
  }
88
95
  },
89
96
  operations: {
97
+ client_side_validation: true,
90
98
  required: false,
91
99
  serialized_name: 'operations',
92
100
  type: {
93
101
  name: 'Sequence',
94
102
  element: {
103
+ client_side_validation: true,
95
104
  required: false,
96
105
  serialized_name: 'ProviderOperationElementType',
97
106
  type: {
@@ -57,6 +57,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
+ client_side_validation: true,
60
61
  required: false,
61
62
  serialized_name: 'ProviderOperationsMetadataListResult',
62
63
  type: {
@@ -64,11 +65,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
64
65
  class_name: 'ProviderOperationsMetadataListResult',
65
66
  model_properties: {
66
67
  value: {
68
+ client_side_validation: true,
67
69
  required: false,
68
70
  serialized_name: 'value',
69
71
  type: {
70
72
  name: 'Sequence',
71
73
  element: {
74
+ client_side_validation: true,
72
75
  required: false,
73
76
  serialized_name: 'ProviderOperationsMetadataElementType',
74
77
  type: {
@@ -79,6 +82,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
79
82
  }
80
83
  },
81
84
  next_link: {
85
+ client_side_validation: true,
82
86
  required: false,
83
87
  serialized_name: 'nextLink',
84
88
  type: {
@@ -28,6 +28,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
28
28
  #
29
29
  def self.mapper()
30
30
  {
31
+ client_side_validation: true,
31
32
  required: false,
32
33
  serialized_name: 'ResourceType',
33
34
  type: {
@@ -35,6 +36,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
35
36
  class_name: 'ResourceType',
36
37
  model_properties: {
37
38
  name: {
39
+ client_side_validation: true,
38
40
  required: false,
39
41
  serialized_name: 'name',
40
42
  type: {
@@ -42,6 +44,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
42
44
  }
43
45
  },
44
46
  display_name: {
47
+ client_side_validation: true,
45
48
  required: false,
46
49
  serialized_name: 'displayName',
47
50
  type: {
@@ -49,11 +52,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
49
52
  }
50
53
  },
51
54
  operations: {
55
+ client_side_validation: true,
52
56
  required: false,
53
57
  serialized_name: 'operations',
54
58
  type: {
55
59
  name: 'Sequence',
56
60
  element: {
61
+ client_side_validation: true,
57
62
  required: false,
58
63
  serialized_name: 'ProviderOperationElementType',
59
64
  type: {
@@ -31,6 +31,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
31
31
  #
32
32
  def self.mapper()
33
33
  {
34
+ client_side_validation: true,
34
35
  required: false,
35
36
  serialized_name: 'RoleAssignment',
36
37
  type: {
@@ -38,6 +39,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
38
39
  class_name: 'RoleAssignment',
39
40
  model_properties: {
40
41
  id: {
42
+ client_side_validation: true,
41
43
  required: false,
42
44
  serialized_name: 'id',
43
45
  type: {
@@ -45,6 +47,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
45
47
  }
46
48
  },
47
49
  name: {
50
+ client_side_validation: true,
48
51
  required: false,
49
52
  serialized_name: 'name',
50
53
  type: {
@@ -52,6 +55,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
52
55
  }
53
56
  },
54
57
  type: {
58
+ client_side_validation: true,
55
59
  required: false,
56
60
  serialized_name: 'type',
57
61
  type: {
@@ -59,6 +63,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
59
63
  }
60
64
  },
61
65
  properties: {
66
+ client_side_validation: true,
62
67
  required: false,
63
68
  serialized_name: 'properties',
64
69
  type: {
@@ -22,6 +22,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'RoleAssignmentCreateParameters',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
29
30
  class_name: 'RoleAssignmentCreateParameters',
30
31
  model_properties: {
31
32
  properties: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'properties',
34
36
  type: {
@@ -22,6 +22,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'RoleAssignmentFilter',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
29
30
  class_name: 'RoleAssignmentFilter',
30
31
  model_properties: {
31
32
  principal_id: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'principalId',
34
36
  type: {
@@ -57,6 +57,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
+ client_side_validation: true,
60
61
  required: false,
61
62
  serialized_name: 'RoleAssignmentListResult',
62
63
  type: {
@@ -64,11 +65,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
64
65
  class_name: 'RoleAssignmentListResult',
65
66
  model_properties: {
66
67
  value: {
68
+ client_side_validation: true,
67
69
  required: false,
68
70
  serialized_name: 'value',
69
71
  type: {
70
72
  name: 'Sequence',
71
73
  element: {
74
+ client_side_validation: true,
72
75
  required: false,
73
76
  serialized_name: 'RoleAssignmentElementType',
74
77
  type: {
@@ -79,6 +82,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
79
82
  }
80
83
  },
81
84
  next_link: {
85
+ client_side_validation: true,
82
86
  required: false,
83
87
  serialized_name: 'nextLink',
84
88
  type: {
@@ -27,6 +27,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
27
27
  #
28
28
  def self.mapper()
29
29
  {
30
+ client_side_validation: true,
30
31
  required: false,
31
32
  serialized_name: 'RoleAssignmentProperties',
32
33
  type: {
@@ -34,6 +35,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
34
35
  class_name: 'RoleAssignmentProperties',
35
36
  model_properties: {
36
37
  role_definition_id: {
38
+ client_side_validation: true,
37
39
  required: false,
38
40
  serialized_name: 'roleDefinitionId',
39
41
  type: {
@@ -41,6 +43,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
41
43
  }
42
44
  },
43
45
  principal_id: {
46
+ client_side_validation: true,
44
47
  required: false,
45
48
  serialized_name: 'principalId',
46
49
  type: {
@@ -28,6 +28,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
28
28
  #
29
29
  def self.mapper()
30
30
  {
31
+ client_side_validation: true,
31
32
  required: false,
32
33
  serialized_name: 'RoleAssignmentPropertiesWithScope',
33
34
  type: {
@@ -35,6 +36,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
35
36
  class_name: 'RoleAssignmentPropertiesWithScope',
36
37
  model_properties: {
37
38
  scope: {
39
+ client_side_validation: true,
38
40
  required: false,
39
41
  serialized_name: 'scope',
40
42
  type: {
@@ -42,6 +44,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
42
44
  }
43
45
  },
44
46
  role_definition_id: {
47
+ client_side_validation: true,
45
48
  required: false,
46
49
  serialized_name: 'roleDefinitionId',
47
50
  type: {
@@ -49,6 +52,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
49
52
  }
50
53
  },
51
54
  principal_id: {
55
+ client_side_validation: true,
52
56
  required: false,
53
57
  serialized_name: 'principalId',
54
58
  type: {
@@ -31,6 +31,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
31
31
  #
32
32
  def self.mapper()
33
33
  {
34
+ client_side_validation: true,
34
35
  required: false,
35
36
  serialized_name: 'RoleDefinition',
36
37
  type: {
@@ -38,6 +39,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
38
39
  class_name: 'RoleDefinition',
39
40
  model_properties: {
40
41
  id: {
42
+ client_side_validation: true,
41
43
  required: false,
42
44
  serialized_name: 'id',
43
45
  type: {
@@ -45,6 +47,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
45
47
  }
46
48
  },
47
49
  name: {
50
+ client_side_validation: true,
48
51
  required: false,
49
52
  serialized_name: 'name',
50
53
  type: {
@@ -52,6 +55,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
52
55
  }
53
56
  },
54
57
  type: {
58
+ client_side_validation: true,
55
59
  required: false,
56
60
  serialized_name: 'type',
57
61
  type: {
@@ -59,6 +63,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
59
63
  }
60
64
  },
61
65
  properties: {
66
+ client_side_validation: true,
62
67
  required: false,
63
68
  serialized_name: 'properties',
64
69
  type: {
@@ -22,6 +22,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'RoleDefinitionFilter',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
29
30
  class_name: 'RoleDefinitionFilter',
30
31
  model_properties: {
31
32
  role_name: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'roleName',
34
36
  type: {
@@ -57,6 +57,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
+ client_side_validation: true,
60
61
  required: false,
61
62
  serialized_name: 'RoleDefinitionListResult',
62
63
  type: {
@@ -64,11 +65,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
64
65
  class_name: 'RoleDefinitionListResult',
65
66
  model_properties: {
66
67
  value: {
68
+ client_side_validation: true,
67
69
  required: false,
68
70
  serialized_name: 'value',
69
71
  type: {
70
72
  name: 'Sequence',
71
73
  element: {
74
+ client_side_validation: true,
72
75
  required: false,
73
76
  serialized_name: 'RoleDefinitionElementType',
74
77
  type: {
@@ -79,6 +82,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
79
82
  }
80
83
  },
81
84
  next_link: {
85
+ client_side_validation: true,
82
86
  required: false,
83
87
  serialized_name: 'nextLink',
84
88
  type: {
@@ -34,6 +34,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
34
34
  #
35
35
  def self.mapper()
36
36
  {
37
+ client_side_validation: true,
37
38
  required: false,
38
39
  serialized_name: 'RoleDefinitionProperties',
39
40
  type: {
@@ -41,6 +42,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
41
42
  class_name: 'RoleDefinitionProperties',
42
43
  model_properties: {
43
44
  role_name: {
45
+ client_side_validation: true,
44
46
  required: false,
45
47
  serialized_name: 'roleName',
46
48
  type: {
@@ -48,6 +50,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
48
50
  }
49
51
  },
50
52
  description: {
53
+ client_side_validation: true,
51
54
  required: false,
52
55
  serialized_name: 'description',
53
56
  type: {
@@ -55,6 +58,7 @@ module Azure::Authorization::Mgmt::V2015_07_01
55
58
  }
56
59
  },
57
60
  type: {
61
+ client_side_validation: true,
58
62
  required: false,
59
63
  serialized_name: 'type',
60
64
  type: {
@@ -62,11 +66,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
62
66
  }
63
67
  },
64
68
  permissions: {
69
+ client_side_validation: true,
65
70
  required: false,
66
71
  serialized_name: 'permissions',
67
72
  type: {
68
73
  name: 'Sequence',
69
74
  element: {
75
+ client_side_validation: true,
70
76
  required: false,
71
77
  serialized_name: 'PermissionElementType',
72
78
  type: {
@@ -77,11 +83,13 @@ module Azure::Authorization::Mgmt::V2015_07_01
77
83
  }
78
84
  },
79
85
  assignable_scopes: {
86
+ client_side_validation: true,
80
87
  required: false,
81
88
  serialized_name: 'assignableScopes',
82
89
  type: {
83
90
  name: 'Sequence',
84
91
  element: {
92
+ client_side_validation: true,
85
93
  required: false,
86
94
  serialized_name: 'StringElementType',
87
95
  type: {
@@ -4,15 +4,13 @@
4
4
 
5
5
  require 'profiles/latest/authorization_module_definition'
6
6
  require 'profiles/latest/modules/authorization_profile_module'
7
- require 'profiles/common/configurable'
8
- require 'profiles/common/default'
9
7
 
10
8
  module Azure::Authorization::Profiles::Latest::Mgmt
11
9
  #
12
10
  # Client class for the Latest profile SDK.
13
11
  #
14
12
  class Client < AuthorizationClass
15
- include Azure::Common::Configurable
13
+ include MsRestAzure::Common::Configurable
16
14
 
17
15
 
18
16
  def initialize(options = {})
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Authorization::Mgmt
6
- VERSION = '0.15.1'
6
+ VERSION = '0.15.2'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_authorization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.15.2
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-10-30 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.9.0
75
+ version: 0.10.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.9.0
82
+ version: 0.10.0
83
83
  description: Microsoft Azure Role Based Authorization Management Client Library for
84
84
  Ruby
85
85
  email: azrubyteam@microsoft.com
@@ -115,11 +115,8 @@ files:
115
115
  - lib/2015-07-01/generated/azure_mgmt_authorization/provider_operations_metadata_operations.rb
116
116
  - lib/2015-07-01/generated/azure_mgmt_authorization/role_assignments.rb
117
117
  - lib/2015-07-01/generated/azure_mgmt_authorization/role_definitions.rb
118
- - lib/2015-07-01/generated/azure_mgmt_authorization/version.rb
119
118
  - lib/azure_mgmt_authorization.rb
120
119
  - lib/module_definition.rb
121
- - lib/profiles/common/configurable.rb
122
- - lib/profiles/common/default.rb
123
120
  - lib/profiles/latest/authorization_latest_profile_client.rb
124
121
  - lib/profiles/latest/authorization_module_definition.rb
125
122
  - lib/profiles/latest/modules/authorization_profile_module.rb
@@ -127,7 +124,12 @@ files:
127
124
  homepage: https://aka.ms/azure-sdk-for-ruby
128
125
  licenses:
129
126
  - MIT
130
- metadata: {}
127
+ metadata:
128
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
129
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
130
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
131
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
132
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_authorization
131
133
  post_install_message:
132
134
  rdoc_options: []
133
135
  require_paths:
@@ -1,8 +0,0 @@
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::Authorization::Mgmt::V2015_07_01
7
- VERSION = '0.15.1'
8
- end
@@ -1,86 +0,0 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure::Common
6
- # The Azure::Common::Configurable module provides basic configuration for Azure activities.
7
- module Configurable
8
- # @return [String] Azure tenant id (also known as domain).
9
- attr_accessor :tenant_id
10
-
11
- # @return [String] Azure client id.
12
- attr_accessor :client_id
13
-
14
- # @return [String] Azure secret key.
15
- attr_accessor :client_secret
16
-
17
- # @return [String] Azure subscription id.
18
- attr_accessor :subscription_id
19
-
20
- # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
21
- attr_accessor :active_directory_settings
22
-
23
- # @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
24
- attr_accessor :credentials
25
-
26
- class << self
27
- #
28
- # List of configurable keys for {Azure::Common::Client}.
29
- # @return [Array] of option keys.
30
- #
31
- def keys
32
- @keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings]
33
- end
34
- end
35
-
36
- #
37
- # Set configuration options using a block.
38
- #
39
- def configure
40
- yield self
41
- end
42
-
43
- #
44
- # Resets the configurable options to provided options or defaults.
45
- # This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
46
- #
47
- def reset!(options = {})
48
- Azure::Common::Configurable.keys.each do |key|
49
- default_value = Azure::Common::Default.options[key]
50
- instance_variable_set(:"@#{key}", options.fetch(key, default_value))
51
- end
52
-
53
- fail ArgumentError, 'tenant_id is nil' if self.tenant_id.nil?
54
- fail ArgumentError, 'client_id is nil' if self.client_id.nil?
55
- fail ArgumentError, 'client_secret is nil' if self.client_secret.nil?
56
- fail ArgumentError, 'subscription_id is nil' if self.subscription_id.nil?
57
- fail ArgumentError, 'active_directory_settings is nil' if self.active_directory_settings.nil?
58
-
59
- default_value = MsRest::TokenCredentials.new(
60
- MsRestAzure::ApplicationTokenProvider.new(
61
- self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
62
-
63
- instance_variable_set(:"@credentials", options.fetch(:credentials, default_value))
64
-
65
- self
66
- end
67
-
68
- def config
69
- self
70
- end
71
-
72
- private
73
-
74
- #
75
- # configures configurable options to default values
76
- #
77
- def setup_default_options
78
- opts = {}
79
- Azure::Common::Configurable.keys.map do |key|
80
- opts[key] = Azure::Common::Default.options[key]
81
- end
82
-
83
- opts
84
- end
85
- end
86
- end
@@ -1,57 +0,0 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure::Common
6
- module Default
7
- class << self
8
- #
9
- # Default Azure Tenant Id.
10
- # @return [String] Azure Tenant Id.
11
- #
12
- def tenant_id
13
- ENV['AZURE_TENANT_ID']
14
- end
15
-
16
- #
17
- # Default Azure Client Id.
18
- # @return [String] Azure Client Id.
19
- #
20
- def client_id
21
- ENV['AZURE_CLIENT_ID']
22
- end
23
-
24
- #
25
- # Default Azure Client Secret.
26
- # @return [String] Azure Client Secret.
27
- #
28
- def client_secret
29
- ENV['AZURE_CLIENT_SECRET']
30
- end
31
-
32
- #
33
- # Default Azure Subscription Id.
34
- # @return [String] Azure Subscription Id.
35
- #
36
- def subscription_id
37
- ENV['AZURE_SUBSCRIPTION_ID']
38
- end
39
-
40
- #
41
- # Default Azure Active Directory Service Settings.
42
- # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
43
- #
44
- def active_directory_settings
45
- MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
46
- end
47
-
48
- #
49
- # Configuration options.
50
- # @return [Hash] Configuration options.
51
- #
52
- def options
53
- Hash[Azure::Common::Configurable.keys.map { |key| [key, send(key)]}]
54
- end
55
- end
56
- end
57
- end