azure_mgmt_policy 0.17.7 → 0.17.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_policy.rb +34 -34
  3. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/models/policy_assignment.rb +101 -101
  4. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -98
  5. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/models/policy_definition.rb +106 -106
  6. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -98
  7. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/models/policy_type.rb +17 -17
  8. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/module_definition.rb +9 -9
  9. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +1356 -1356
  10. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
  11. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_definitions.rb +505 -505
  12. data/lib/2016-04-01/generated/azure_mgmt_policy.rb +34 -34
  13. data/lib/2016-04-01/generated/azure_mgmt_policy/models/policy_assignment.rb +101 -101
  14. data/lib/2016-04-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -98
  15. data/lib/2016-04-01/generated/azure_mgmt_policy/models/policy_definition.rb +106 -106
  16. data/lib/2016-04-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -98
  17. data/lib/2016-04-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -17
  18. data/lib/2016-04-01/generated/azure_mgmt_policy/module_definition.rb +9 -9
  19. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_assignments.rb +1356 -1356
  20. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  21. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_definitions.rb +505 -505
  22. data/lib/2016-12-01/generated/azure_mgmt_policy.rb +35 -35
  23. data/lib/2016-12-01/generated/azure_mgmt_policy/models/policy_assignment.rb +125 -125
  24. data/lib/2016-12-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -98
  25. data/lib/2016-12-01/generated/azure_mgmt_policy/models/policy_definition.rb +140 -140
  26. data/lib/2016-12-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -98
  27. data/lib/2016-12-01/generated/azure_mgmt_policy/models/policy_mode.rb +17 -17
  28. data/lib/2016-12-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -17
  29. data/lib/2016-12-01/generated/azure_mgmt_policy/module_definition.rb +9 -9
  30. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_assignments.rb +1356 -1356
  31. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  32. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_definitions.rb +1275 -1275
  33. data/lib/2017-06-01-preview/generated/azure_mgmt_policy.rb +37 -37
  34. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/models/error_response.rb +69 -69
  35. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/models/policy_assignment.rb +169 -169
  36. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -98
  37. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -58
  38. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -151
  39. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -99
  40. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/models/policy_sku.rb +59 -59
  41. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/models/policy_type.rb +17 -17
  42. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/module_definition.rb +9 -9
  43. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +1356 -1356
  44. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
  45. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_set_definitions.rb +1295 -1295
  46. data/lib/2018-03-01/generated/azure_mgmt_policy.rb +41 -41
  47. data/lib/2018-03-01/generated/azure_mgmt_policy/models/error_response.rb +69 -69
  48. data/lib/2018-03-01/generated/azure_mgmt_policy/models/policy_assignment.rb +171 -171
  49. data/lib/2018-03-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -98
  50. data/lib/2018-03-01/generated/azure_mgmt_policy/models/policy_definition.rb +153 -153
  51. data/lib/2018-03-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -98
  52. data/lib/2018-03-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -58
  53. data/lib/2018-03-01/generated/azure_mgmt_policy/models/policy_mode.rb +17 -17
  54. data/lib/2018-03-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -151
  55. data/lib/2018-03-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -99
  56. data/lib/2018-03-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -59
  57. data/lib/2018-03-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -17
  58. data/lib/2018-03-01/generated/azure_mgmt_policy/module_definition.rb +9 -9
  59. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_assignments.rb +1902 -1902
  60. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  61. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -1391
  62. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -1414
  63. data/lib/2018-05-01/generated/azure_mgmt_policy.rb +43 -43
  64. data/lib/2018-05-01/generated/azure_mgmt_policy/models/error_response.rb +69 -69
  65. data/lib/2018-05-01/generated/azure_mgmt_policy/models/identity.rb +72 -72
  66. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_assignment.rb +196 -196
  67. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -98
  68. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition.rb +153 -153
  69. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -98
  70. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -58
  71. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_mode.rb +17 -17
  72. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -151
  73. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -99
  74. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -59
  75. data/lib/2018-05-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -17
  76. data/lib/2018-05-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -16
  77. data/lib/2018-05-01/generated/azure_mgmt_policy/module_definition.rb +9 -9
  78. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_assignments.rb +1902 -1902
  79. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  80. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -1391
  81. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -1414
  82. data/lib/2019-01-01/generated/azure_mgmt_policy.rb +42 -42
  83. data/lib/2019-01-01/generated/azure_mgmt_policy/models/error_response.rb +69 -69
  84. data/lib/2019-01-01/generated/azure_mgmt_policy/models/identity.rb +72 -72
  85. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment.rb +196 -196
  86. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -98
  87. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition.rb +152 -152
  88. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -98
  89. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -58
  90. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -151
  91. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -99
  92. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -59
  93. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -17
  94. data/lib/2019-01-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -16
  95. data/lib/2019-01-01/generated/azure_mgmt_policy/module_definition.rb +9 -9
  96. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_assignments.rb +1902 -1902
  97. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  98. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -1391
  99. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -1414
  100. data/lib/2019-06-01/generated/azure_mgmt_policy.rb +43 -43
  101. data/lib/2019-06-01/generated/azure_mgmt_policy/models/enforcement_mode.rb +16 -16
  102. data/lib/2019-06-01/generated/azure_mgmt_policy/models/error_response.rb +69 -69
  103. data/lib/2019-06-01/generated/azure_mgmt_policy/models/identity.rb +72 -72
  104. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_assignment.rb +209 -209
  105. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -98
  106. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition.rb +152 -152
  107. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -98
  108. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -58
  109. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -151
  110. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -99
  111. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -59
  112. data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -17
  113. data/lib/2019-06-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -16
  114. data/lib/2019-06-01/generated/azure_mgmt_policy/module_definition.rb +9 -9
  115. data/lib/2019-06-01/generated/azure_mgmt_policy/policy_assignments.rb +1902 -1902
  116. data/lib/2019-06-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  117. data/lib/2019-06-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -1391
  118. data/lib/2019-06-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -1414
  119. data/lib/2019-09-01/generated/azure_mgmt_policy.rb +49 -49
  120. data/lib/2019-09-01/generated/azure_mgmt_policy/models/enforcement_mode.rb +16 -16
  121. data/lib/2019-09-01/generated/azure_mgmt_policy/models/error_additional_info.rb +59 -59
  122. data/lib/2019-09-01/generated/azure_mgmt_policy/models/error_response.rb +113 -113
  123. data/lib/2019-09-01/generated/azure_mgmt_policy/models/identity.rb +3 -2
  124. data/lib/2019-09-01/generated/azure_mgmt_policy/models/parameter_definitions_value.rb +1 -2
  125. data/lib/2019-09-01/generated/azure_mgmt_policy/models/parameter_definitions_value_metadata.rb +76 -76
  126. data/lib/2019-09-01/generated/azure_mgmt_policy/models/parameter_type.rb +21 -21
  127. data/lib/2019-09-01/generated/azure_mgmt_policy/models/parameter_values_value.rb +1 -2
  128. data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_assignment.rb +220 -220
  129. data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -98
  130. data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_definition.rb +164 -164
  131. data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_definition_group.rb +91 -91
  132. data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -98
  133. data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +100 -100
  134. data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +182 -182
  135. data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -99
  136. data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -59
  137. data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_type.rb +18 -18
  138. data/lib/2019-09-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -16
  139. data/lib/2019-09-01/generated/azure_mgmt_policy/module_definition.rb +9 -9
  140. data/lib/2019-09-01/generated/azure_mgmt_policy/policy_assignments.rb +277 -0
  141. data/lib/2019-09-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  142. data/lib/2019-09-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -1391
  143. data/lib/2019-09-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -1414
  144. data/lib/azure_mgmt_policy.rb +17 -17
  145. data/lib/version.rb +1 -1
  146. metadata +3 -3
@@ -1,42 +1,42 @@
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
- require 'uri'
7
- require 'cgi'
8
- require 'date'
9
- require 'json'
10
- require 'base64'
11
- require 'erb'
12
- require 'securerandom'
13
- require 'time'
14
- require 'timeliness'
15
- require 'faraday'
16
- require 'faraday-cookie_jar'
17
- require 'concurrent'
18
- require 'ms_rest'
19
- require '2019-01-01/generated/azure_mgmt_policy/module_definition'
20
- require 'ms_rest_azure'
21
-
22
- module Azure::Policy::Mgmt::V2019_01_01
23
- autoload :PolicyAssignments, '2019-01-01/generated/azure_mgmt_policy/policy_assignments.rb'
24
- autoload :PolicyDefinitions, '2019-01-01/generated/azure_mgmt_policy/policy_definitions.rb'
25
- autoload :PolicySetDefinitions, '2019-01-01/generated/azure_mgmt_policy/policy_set_definitions.rb'
26
- autoload :PolicyClient, '2019-01-01/generated/azure_mgmt_policy/policy_client.rb'
27
-
28
- module Models
29
- autoload :PolicyDefinition, '2019-01-01/generated/azure_mgmt_policy/models/policy_definition.rb'
30
- autoload :PolicySku, '2019-01-01/generated/azure_mgmt_policy/models/policy_sku.rb'
31
- autoload :PolicyDefinitionListResult, '2019-01-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb'
32
- autoload :PolicyAssignment, '2019-01-01/generated/azure_mgmt_policy/models/policy_assignment.rb'
33
- autoload :PolicyDefinitionReference, '2019-01-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb'
34
- autoload :ErrorResponse, '2019-01-01/generated/azure_mgmt_policy/models/error_response.rb'
35
- autoload :PolicySetDefinition, '2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition.rb'
36
- autoload :PolicyAssignmentListResult, '2019-01-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb'
37
- autoload :PolicySetDefinitionListResult, '2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb'
38
- autoload :Identity, '2019-01-01/generated/azure_mgmt_policy/models/identity.rb'
39
- autoload :ResourceIdentityType, '2019-01-01/generated/azure_mgmt_policy/models/resource_identity_type.rb'
40
- autoload :PolicyType, '2019-01-01/generated/azure_mgmt_policy/models/policy_type.rb'
41
- end
42
- end
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2019-01-01/generated/azure_mgmt_policy/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::Policy::Mgmt::V2019_01_01
23
+ autoload :PolicyAssignments, '2019-01-01/generated/azure_mgmt_policy/policy_assignments.rb'
24
+ autoload :PolicyDefinitions, '2019-01-01/generated/azure_mgmt_policy/policy_definitions.rb'
25
+ autoload :PolicySetDefinitions, '2019-01-01/generated/azure_mgmt_policy/policy_set_definitions.rb'
26
+ autoload :PolicyClient, '2019-01-01/generated/azure_mgmt_policy/policy_client.rb'
27
+
28
+ module Models
29
+ autoload :PolicyDefinition, '2019-01-01/generated/azure_mgmt_policy/models/policy_definition.rb'
30
+ autoload :PolicySku, '2019-01-01/generated/azure_mgmt_policy/models/policy_sku.rb'
31
+ autoload :PolicyDefinitionListResult, '2019-01-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb'
32
+ autoload :PolicyAssignment, '2019-01-01/generated/azure_mgmt_policy/models/policy_assignment.rb'
33
+ autoload :PolicyDefinitionReference, '2019-01-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb'
34
+ autoload :ErrorResponse, '2019-01-01/generated/azure_mgmt_policy/models/error_response.rb'
35
+ autoload :PolicySetDefinition, '2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition.rb'
36
+ autoload :PolicyAssignmentListResult, '2019-01-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb'
37
+ autoload :PolicySetDefinitionListResult, '2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb'
38
+ autoload :Identity, '2019-01-01/generated/azure_mgmt_policy/models/identity.rb'
39
+ autoload :ResourceIdentityType, '2019-01-01/generated/azure_mgmt_policy/models/resource_identity_type.rb'
40
+ autoload :PolicyType, '2019-01-01/generated/azure_mgmt_policy/models/policy_type.rb'
41
+ end
42
+ end
@@ -1,69 +1,69 @@
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::Policy::Mgmt::V2019_01_01
7
- module Models
8
- #
9
- # Error response indicates Azure Resource Manager is not able to process
10
- # the incoming request. The reason is provided in the error message.
11
- #
12
- class ErrorResponse
13
-
14
- include MsRestAzure
15
-
16
- # @return [String] Http status code.
17
- attr_accessor :http_status
18
-
19
- # @return [String] Error code.
20
- attr_accessor :error_code
21
-
22
- # @return [String] Error message indicating why the operation failed.
23
- attr_accessor :error_message
24
-
25
-
26
- #
27
- # Mapper for ErrorResponse class as Ruby Hash.
28
- # This will be used for serialization/deserialization.
29
- #
30
- def self.mapper()
31
- {
32
- client_side_validation: true,
33
- required: false,
34
- serialized_name: 'ErrorResponse',
35
- type: {
36
- name: 'Composite',
37
- class_name: 'ErrorResponse',
38
- model_properties: {
39
- http_status: {
40
- client_side_validation: true,
41
- required: false,
42
- serialized_name: 'httpStatus',
43
- type: {
44
- name: 'String'
45
- }
46
- },
47
- error_code: {
48
- client_side_validation: true,
49
- required: false,
50
- serialized_name: 'errorCode',
51
- type: {
52
- name: 'String'
53
- }
54
- },
55
- error_message: {
56
- client_side_validation: true,
57
- required: false,
58
- serialized_name: 'errorMessage',
59
- type: {
60
- name: 'String'
61
- }
62
- }
63
- }
64
- }
65
- }
66
- end
67
- end
68
- end
69
- end
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::Policy::Mgmt::V2019_01_01
7
+ module Models
8
+ #
9
+ # Error response indicates Azure Resource Manager is not able to process
10
+ # the incoming request. The reason is provided in the error message.
11
+ #
12
+ class ErrorResponse
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Http status code.
17
+ attr_accessor :http_status
18
+
19
+ # @return [String] Error code.
20
+ attr_accessor :error_code
21
+
22
+ # @return [String] Error message indicating why the operation failed.
23
+ attr_accessor :error_message
24
+
25
+
26
+ #
27
+ # Mapper for ErrorResponse class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'ErrorResponse',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ErrorResponse',
38
+ model_properties: {
39
+ http_status: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'httpStatus',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ error_code: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'errorCode',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ error_message: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'errorMessage',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -1,72 +1,72 @@
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::Policy::Mgmt::V2019_01_01
7
- module Models
8
- #
9
- # Identity for the resource.
10
- #
11
- class Identity
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] The principal ID of the resource identity.
16
- attr_accessor :principal_id
17
-
18
- # @return [String] The tenant ID of the resource identity.
19
- attr_accessor :tenant_id
20
-
21
- # @return [ResourceIdentityType] The identity type. Possible values
22
- # include: 'SystemAssigned', 'None'
23
- attr_accessor :type
24
-
25
-
26
- #
27
- # Mapper for Identity class as Ruby Hash.
28
- # This will be used for serialization/deserialization.
29
- #
30
- def self.mapper()
31
- {
32
- client_side_validation: true,
33
- required: false,
34
- serialized_name: 'Identity',
35
- type: {
36
- name: 'Composite',
37
- class_name: 'Identity',
38
- model_properties: {
39
- principal_id: {
40
- client_side_validation: true,
41
- required: false,
42
- read_only: true,
43
- serialized_name: 'principalId',
44
- type: {
45
- name: 'String'
46
- }
47
- },
48
- tenant_id: {
49
- client_side_validation: true,
50
- required: false,
51
- read_only: true,
52
- serialized_name: 'tenantId',
53
- type: {
54
- name: 'String'
55
- }
56
- },
57
- type: {
58
- client_side_validation: true,
59
- required: false,
60
- serialized_name: 'type',
61
- type: {
62
- name: 'Enum',
63
- module: 'ResourceIdentityType'
64
- }
65
- }
66
- }
67
- }
68
- }
69
- end
70
- end
71
- end
72
- end
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::Policy::Mgmt::V2019_01_01
7
+ module Models
8
+ #
9
+ # Identity for the resource.
10
+ #
11
+ class Identity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The principal ID of the resource identity.
16
+ attr_accessor :principal_id
17
+
18
+ # @return [String] The tenant ID of the resource identity.
19
+ attr_accessor :tenant_id
20
+
21
+ # @return [ResourceIdentityType] The identity type. Possible values
22
+ # include: 'SystemAssigned', 'None'
23
+ attr_accessor :type
24
+
25
+
26
+ #
27
+ # Mapper for Identity class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'Identity',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'Identity',
38
+ model_properties: {
39
+ principal_id: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'principalId',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ tenant_id: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'tenantId',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ type: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'type',
61
+ type: {
62
+ name: 'Enum',
63
+ module: 'ResourceIdentityType'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end
@@ -1,196 +1,196 @@
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::Policy::Mgmt::V2019_01_01
7
- module Models
8
- #
9
- # The policy assignment.
10
- #
11
- class PolicyAssignment
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] The display name of the policy assignment.
16
- attr_accessor :display_name
17
-
18
- # @return [String] The ID of the policy definition or policy set
19
- # definition being assigned.
20
- attr_accessor :policy_definition_id
21
-
22
- # @return [String] The scope for the policy assignment.
23
- attr_accessor :scope
24
-
25
- # @return [Array<String>] The policy's excluded scopes.
26
- attr_accessor :not_scopes
27
-
28
- # @return Required if a parameter is used in policy rule.
29
- attr_accessor :parameters
30
-
31
- # @return [String] This message will be part of response in case of
32
- # policy violation.
33
- attr_accessor :description
34
-
35
- # @return The policy assignment metadata.
36
- attr_accessor :metadata
37
-
38
- # @return [String] The ID of the policy assignment.
39
- attr_accessor :id
40
-
41
- # @return [String] The type of the policy assignment.
42
- attr_accessor :type
43
-
44
- # @return [String] The name of the policy assignment.
45
- attr_accessor :name
46
-
47
- # @return [PolicySku] The policy sku. This property is optional,
48
- # obsolete, and will be ignored.
49
- attr_accessor :sku
50
-
51
- # @return [String] The location of the policy assignment. Only required
52
- # when utilizing managed identity.
53
- attr_accessor :location
54
-
55
- # @return [Identity] The managed identity associated with the policy
56
- # assignment.
57
- attr_accessor :identity
58
-
59
-
60
- #
61
- # Mapper for PolicyAssignment class as Ruby Hash.
62
- # This will be used for serialization/deserialization.
63
- #
64
- def self.mapper()
65
- {
66
- client_side_validation: true,
67
- required: false,
68
- serialized_name: 'PolicyAssignment',
69
- type: {
70
- name: 'Composite',
71
- class_name: 'PolicyAssignment',
72
- model_properties: {
73
- display_name: {
74
- client_side_validation: true,
75
- required: false,
76
- serialized_name: 'properties.displayName',
77
- type: {
78
- name: 'String'
79
- }
80
- },
81
- policy_definition_id: {
82
- client_side_validation: true,
83
- required: false,
84
- serialized_name: 'properties.policyDefinitionId',
85
- type: {
86
- name: 'String'
87
- }
88
- },
89
- scope: {
90
- client_side_validation: true,
91
- required: false,
92
- serialized_name: 'properties.scope',
93
- type: {
94
- name: 'String'
95
- }
96
- },
97
- not_scopes: {
98
- client_side_validation: true,
99
- required: false,
100
- serialized_name: 'properties.notScopes',
101
- type: {
102
- name: 'Sequence',
103
- element: {
104
- client_side_validation: true,
105
- required: false,
106
- serialized_name: 'StringElementType',
107
- type: {
108
- name: 'String'
109
- }
110
- }
111
- }
112
- },
113
- parameters: {
114
- client_side_validation: true,
115
- required: false,
116
- serialized_name: 'properties.parameters',
117
- type: {
118
- name: 'Object'
119
- }
120
- },
121
- description: {
122
- client_side_validation: true,
123
- required: false,
124
- serialized_name: 'properties.description',
125
- type: {
126
- name: 'String'
127
- }
128
- },
129
- metadata: {
130
- client_side_validation: true,
131
- required: false,
132
- serialized_name: 'properties.metadata',
133
- type: {
134
- name: 'Object'
135
- }
136
- },
137
- id: {
138
- client_side_validation: true,
139
- required: false,
140
- read_only: true,
141
- serialized_name: 'id',
142
- type: {
143
- name: 'String'
144
- }
145
- },
146
- type: {
147
- client_side_validation: true,
148
- required: false,
149
- read_only: true,
150
- serialized_name: 'type',
151
- type: {
152
- name: 'String'
153
- }
154
- },
155
- name: {
156
- client_side_validation: true,
157
- required: false,
158
- read_only: true,
159
- serialized_name: 'name',
160
- type: {
161
- name: 'String'
162
- }
163
- },
164
- sku: {
165
- client_side_validation: true,
166
- required: false,
167
- serialized_name: 'sku',
168
- type: {
169
- name: 'Composite',
170
- class_name: 'PolicySku'
171
- }
172
- },
173
- location: {
174
- client_side_validation: true,
175
- required: false,
176
- serialized_name: 'location',
177
- type: {
178
- name: 'String'
179
- }
180
- },
181
- identity: {
182
- client_side_validation: true,
183
- required: false,
184
- serialized_name: 'identity',
185
- type: {
186
- name: 'Composite',
187
- class_name: 'Identity'
188
- }
189
- }
190
- }
191
- }
192
- }
193
- end
194
- end
195
- end
196
- end
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::Policy::Mgmt::V2019_01_01
7
+ module Models
8
+ #
9
+ # The policy assignment.
10
+ #
11
+ class PolicyAssignment
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The display name of the policy assignment.
16
+ attr_accessor :display_name
17
+
18
+ # @return [String] The ID of the policy definition or policy set
19
+ # definition being assigned.
20
+ attr_accessor :policy_definition_id
21
+
22
+ # @return [String] The scope for the policy assignment.
23
+ attr_accessor :scope
24
+
25
+ # @return [Array<String>] The policy's excluded scopes.
26
+ attr_accessor :not_scopes
27
+
28
+ # @return Required if a parameter is used in policy rule.
29
+ attr_accessor :parameters
30
+
31
+ # @return [String] This message will be part of response in case of
32
+ # policy violation.
33
+ attr_accessor :description
34
+
35
+ # @return The policy assignment metadata.
36
+ attr_accessor :metadata
37
+
38
+ # @return [String] The ID of the policy assignment.
39
+ attr_accessor :id
40
+
41
+ # @return [String] The type of the policy assignment.
42
+ attr_accessor :type
43
+
44
+ # @return [String] The name of the policy assignment.
45
+ attr_accessor :name
46
+
47
+ # @return [PolicySku] The policy sku. This property is optional,
48
+ # obsolete, and will be ignored.
49
+ attr_accessor :sku
50
+
51
+ # @return [String] The location of the policy assignment. Only required
52
+ # when utilizing managed identity.
53
+ attr_accessor :location
54
+
55
+ # @return [Identity] The managed identity associated with the policy
56
+ # assignment.
57
+ attr_accessor :identity
58
+
59
+
60
+ #
61
+ # Mapper for PolicyAssignment class as Ruby Hash.
62
+ # This will be used for serialization/deserialization.
63
+ #
64
+ def self.mapper()
65
+ {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'PolicyAssignment',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'PolicyAssignment',
72
+ model_properties: {
73
+ display_name: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'properties.displayName',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ policy_definition_id: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'properties.policyDefinitionId',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ scope: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'properties.scope',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ not_scopes: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'properties.notScopes',
101
+ type: {
102
+ name: 'Sequence',
103
+ element: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ serialized_name: 'StringElementType',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ }
111
+ }
112
+ },
113
+ parameters: {
114
+ client_side_validation: true,
115
+ required: false,
116
+ serialized_name: 'properties.parameters',
117
+ type: {
118
+ name: 'Object'
119
+ }
120
+ },
121
+ description: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ serialized_name: 'properties.description',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ },
129
+ metadata: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ serialized_name: 'properties.metadata',
133
+ type: {
134
+ name: 'Object'
135
+ }
136
+ },
137
+ id: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ read_only: true,
141
+ serialized_name: 'id',
142
+ type: {
143
+ name: 'String'
144
+ }
145
+ },
146
+ type: {
147
+ client_side_validation: true,
148
+ required: false,
149
+ read_only: true,
150
+ serialized_name: 'type',
151
+ type: {
152
+ name: 'String'
153
+ }
154
+ },
155
+ name: {
156
+ client_side_validation: true,
157
+ required: false,
158
+ read_only: true,
159
+ serialized_name: 'name',
160
+ type: {
161
+ name: 'String'
162
+ }
163
+ },
164
+ sku: {
165
+ client_side_validation: true,
166
+ required: false,
167
+ serialized_name: 'sku',
168
+ type: {
169
+ name: 'Composite',
170
+ class_name: 'PolicySku'
171
+ }
172
+ },
173
+ location: {
174
+ client_side_validation: true,
175
+ required: false,
176
+ serialized_name: 'location',
177
+ type: {
178
+ name: 'String'
179
+ }
180
+ },
181
+ identity: {
182
+ client_side_validation: true,
183
+ required: false,
184
+ serialized_name: 'identity',
185
+ type: {
186
+ name: 'Composite',
187
+ class_name: 'Identity'
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
193
+ end
194
+ end
195
+ end
196
+ end