azure_mgmt_policy_insights 0.17.4 → 0.17.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +20 -20
  3. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights.rb +0 -0
  4. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/column.rb +0 -0
  5. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
  6. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
  7. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
  8. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
  9. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results_table.rb +0 -0
  10. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results_table_columns.rb +0 -0
  11. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results_table_metadata.rb +0 -0
  12. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
  13. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results_table.rb +0 -0
  14. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results_table_columns.rb +0 -0
  15. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results_table_metadata.rb +0 -0
  16. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
  17. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
  18. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
  19. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
  20. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
  21. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
  22. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_events.rb +8 -0
  23. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  24. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_states.rb +8 -0
  25. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights.rb +0 -0
  26. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
  27. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
  28. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
  29. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_event.rb +0 -0
  30. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
  31. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
  32. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
  33. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
  34. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
  35. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
  36. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
  37. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
  38. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
  39. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_events.rb +10 -0
  40. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  41. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_states.rb +10 -0
  42. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights.rb +0 -0
  43. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
  44. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
  45. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
  46. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +0 -0
  47. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +0 -0
  48. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_event.rb +0 -0
  49. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
  50. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
  51. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
  52. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
  53. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
  54. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
  55. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
  56. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/summarize_results.rb +0 -0
  57. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/summary.rb +0 -0
  58. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/summary_results.rb +0 -0
  59. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
  60. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
  61. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_events.rb +18 -0
  62. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  63. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_states.rb +34 -0
  64. data/lib/2018-04-04/generated/azure_mgmt_policy_insights.rb +0 -0
  65. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
  66. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
  67. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
  68. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +0 -0
  69. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +0 -0
  70. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_event.rb +0 -0
  71. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
  72. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
  73. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
  74. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
  75. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
  76. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
  77. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
  78. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/summarize_results.rb +0 -0
  79. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/summary.rb +0 -0
  80. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/summary_results.rb +0 -0
  81. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
  82. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/operations.rb +2 -0
  83. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_events.rb +18 -0
  84. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  85. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb +34 -0
  86. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights.rb +0 -0
  87. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_definition.rb +0 -0
  88. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_response.rb +0 -0
  89. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +0 -0
  90. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb +0 -0
  91. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
  92. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
  93. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
  94. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +0 -0
  95. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +0 -0
  96. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb +0 -0
  97. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb +0 -0
  98. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
  99. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
  100. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
  101. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resource.rb +0 -0
  102. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resources_query_results.rb +0 -0
  103. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
  104. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
  105. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
  106. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation.rb +0 -0
  107. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb +0 -0
  108. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb +0 -0
  109. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb +0 -0
  110. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_filters.rb +0 -0
  111. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb +0 -0
  112. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summarize_results.rb +0 -0
  113. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary.rb +0 -0
  114. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary_results.rb +0 -0
  115. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/tracked_resource_modification_details.rb +0 -0
  116. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +0 -0
  117. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
  118. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
  119. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  120. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb +34 -0
  121. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_tracked_resources.rb +16 -0
  122. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb +64 -0
  123. data/lib/2019-10-01/generated/azure_mgmt_policy_insights.rb +55 -0
  124. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/compliance_detail.rb +57 -0
  125. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_definition.rb +115 -0
  126. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_response.rb +47 -0
  127. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +103 -0
  128. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb +59 -0
  129. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operation.rb +59 -0
  130. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operation_display.rb +79 -0
  131. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +70 -0
  132. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +110 -0
  133. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +99 -0
  134. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb +69 -0
  135. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_group_summary.rb +59 -0
  136. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb +168 -0
  137. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata_collection.rb +101 -0
  138. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_state.rb +404 -0
  139. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +82 -0
  140. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +16 -0
  141. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure.rb +47 -0
  142. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +60 -0
  143. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_options.rb +123 -0
  144. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb +145 -0
  145. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summarize_results.rb +83 -0
  146. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb +91 -0
  147. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary_results.rb +140 -0
  148. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +59 -0
  149. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/module_definition.rb +9 -0
  150. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/operations.rb +109 -0
  151. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb +136 -0
  152. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_metadata_operations.rb +316 -0
  153. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_states.rb +2025 -0
  154. data/lib/azure_mgmt_policy_insights.rb +3 -2
  155. data/lib/module_definition.rb +7 -7
  156. data/lib/profiles/latest/modules/policyinsights_profile_module.rb +39 -9
  157. data/lib/profiles/latest/policyinsights_latest_profile_client.rb +40 -40
  158. data/lib/profiles/latest/policyinsights_module_definition.rb +8 -8
  159. data/lib/version.rb +1 -1
  160. metadata +36 -5
@@ -0,0 +1,79 @@
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::PolicyInsights::Mgmt::V2019_10_01
7
+ module Models
8
+ #
9
+ # Display metadata associated with the operation.
10
+ #
11
+ class OperationDisplay
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource provider name.
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Resource name on which the operation is performed.
19
+ attr_accessor :resource
20
+
21
+ # @return [String] Operation name.
22
+ attr_accessor :operation
23
+
24
+ # @return [String] Operation description.
25
+ attr_accessor :description
26
+
27
+
28
+ #
29
+ # Mapper for OperationDisplay class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'Operation_display',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'OperationDisplay',
40
+ model_properties: {
41
+ provider: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'provider',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ resource: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'resource',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ operation: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'operation',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ description: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'description',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,70 @@
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::PolicyInsights::Mgmt::V2019_10_01
7
+ module Models
8
+ #
9
+ # List of available operations.
10
+ #
11
+ class OperationsListResults
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] OData entity count; represents the number of
16
+ # operations returned.
17
+ attr_accessor :odatacount
18
+
19
+ # @return [Array<Operation>] List of available operations.
20
+ attr_accessor :value
21
+
22
+
23
+ #
24
+ # Mapper for OperationsListResults class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'OperationsListResults',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'OperationsListResults',
35
+ model_properties: {
36
+ odatacount: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: '@odata\\.count',
40
+ constraints: {
41
+ InclusiveMinimum: 1
42
+ },
43
+ type: {
44
+ name: 'Number'
45
+ }
46
+ },
47
+ value: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'value',
51
+ type: {
52
+ name: 'Sequence',
53
+ element: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'OperationElementType',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'Operation'
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,110 @@
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::PolicyInsights::Mgmt::V2019_10_01
7
+ module Models
8
+ #
9
+ # Policy assignment summary.
10
+ #
11
+ class PolicyAssignmentSummary
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Policy assignment ID.
16
+ attr_accessor :policy_assignment_id
17
+
18
+ # @return [String] Policy set definition ID, if the policy assignment is
19
+ # for a policy set.
20
+ attr_accessor :policy_set_definition_id
21
+
22
+ # @return [SummaryResults] Compliance summary for the policy assignment.
23
+ attr_accessor :results
24
+
25
+ # @return [Array<PolicyDefinitionSummary>] Policy definitions summary.
26
+ attr_accessor :policy_definitions
27
+
28
+ # @return [Array<PolicyGroupSummary>] Policy definition group summary.
29
+ attr_accessor :policy_groups
30
+
31
+
32
+ #
33
+ # Mapper for PolicyAssignmentSummary class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'PolicyAssignmentSummary',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'PolicyAssignmentSummary',
44
+ model_properties: {
45
+ policy_assignment_id: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'policyAssignmentId',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ policy_set_definition_id: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'policySetDefinitionId',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ results: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'results',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'SummaryResults'
68
+ }
69
+ },
70
+ policy_definitions: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'policyDefinitions',
74
+ type: {
75
+ name: 'Sequence',
76
+ element: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'PolicyDefinitionSummaryElementType',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'PolicyDefinitionSummary'
83
+ }
84
+ }
85
+ }
86
+ },
87
+ policy_groups: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'policyGroups',
91
+ type: {
92
+ name: 'Sequence',
93
+ element: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'PolicyGroupSummaryElementType',
97
+ type: {
98
+ name: 'Composite',
99
+ class_name: 'PolicyGroupSummary'
100
+ }
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ end
108
+ end
109
+ end
110
+ end
@@ -0,0 +1,99 @@
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::PolicyInsights::Mgmt::V2019_10_01
7
+ module Models
8
+ #
9
+ # Policy definition summary.
10
+ #
11
+ class PolicyDefinitionSummary
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Policy definition ID.
16
+ attr_accessor :policy_definition_id
17
+
18
+ # @return [String] Policy definition reference ID.
19
+ attr_accessor :policy_definition_reference_id
20
+
21
+ # @return [Array<String>] Policy definition group names.
22
+ attr_accessor :policy_definition_group_names
23
+
24
+ # @return [String] Policy effect, i.e. policy definition action.
25
+ attr_accessor :effect
26
+
27
+ # @return [SummaryResults] Compliance summary for the policy definition.
28
+ attr_accessor :results
29
+
30
+
31
+ #
32
+ # Mapper for PolicyDefinitionSummary class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'PolicyDefinitionSummary',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'PolicyDefinitionSummary',
43
+ model_properties: {
44
+ policy_definition_id: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'policyDefinitionId',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ policy_definition_reference_id: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'policyDefinitionReferenceId',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ policy_definition_group_names: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'policyDefinitionGroupNames',
64
+ type: {
65
+ name: 'Sequence',
66
+ element: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'StringElementType',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ },
76
+ effect: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'effect',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ results: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'results',
88
+ type: {
89
+ name: 'Composite',
90
+ class_name: 'SummaryResults'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +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::PolicyInsights::Mgmt::V2019_10_01
7
+ module Models
8
+ #
9
+ # Policy evaluation details.
10
+ #
11
+ class PolicyEvaluationDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<ExpressionEvaluationDetails>] Details of the evaluated
16
+ # expressions.
17
+ attr_accessor :evaluated_expressions
18
+
19
+ # @return [IfNotExistsEvaluationDetails] Evaluation details of
20
+ # IfNotExists effect.
21
+ attr_accessor :if_not_exists_details
22
+
23
+
24
+ #
25
+ # Mapper for PolicyEvaluationDetails class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'PolicyEvaluationDetails',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'PolicyEvaluationDetails',
36
+ model_properties: {
37
+ evaluated_expressions: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'evaluatedExpressions',
41
+ type: {
42
+ name: 'Sequence',
43
+ element: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'ExpressionEvaluationDetailsElementType',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'ExpressionEvaluationDetails'
50
+ }
51
+ }
52
+ }
53
+ },
54
+ if_not_exists_details: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'ifNotExistsDetails',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'IfNotExistsEvaluationDetails'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,59 @@
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::PolicyInsights::Mgmt::V2019_10_01
7
+ module Models
8
+ #
9
+ # Policy definition group summary.
10
+ #
11
+ class PolicyGroupSummary
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Policy group name.
16
+ attr_accessor :policy_group_name
17
+
18
+ # @return [SummaryResults] Compliance summary for the policy definition
19
+ # group.
20
+ attr_accessor :results
21
+
22
+
23
+ #
24
+ # Mapper for PolicyGroupSummary class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'PolicyGroupSummary',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'PolicyGroupSummary',
35
+ model_properties: {
36
+ policy_group_name: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'policyGroupName',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ results: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'results',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'SummaryResults'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end