azure_mgmt_policy_insights 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 (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  3. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  4. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  5. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  6. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +43 -0
  7. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +11 -0
  8. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  9. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb +998 -32
  10. data/lib/2019-07-01/generated/azure_mgmt_policy_insights.rb +39 -0
  11. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/error_definition.rb +115 -0
  12. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/error_response.rb +47 -0
  13. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/query_options.rb +54 -0
  14. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation.rb +172 -0
  15. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb +124 -0
  16. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb +75 -0
  17. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb +101 -0
  18. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_filters.rb +55 -0
  19. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb +100 -0
  20. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/resource_discovery_mode.rb +16 -0
  21. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +59 -0
  22. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/module_definition.rb +9 -0
  23. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb +131 -0
  24. data/lib/2019-07-01/generated/azure_mgmt_policy_insights/remediations.rb +3294 -0
  25. data/lib/2019-10-01/generated/azure_mgmt_policy_insights.rb +18 -13
  26. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb +132 -0
  27. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb +109 -0
  28. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +12 -0
  29. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_event.rb +416 -0
  30. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +125 -0
  31. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_state.rb +21 -0
  32. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +43 -0
  33. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_options.rb +12 -1
  34. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_events.rb +1961 -0
  35. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb +5 -1
  36. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_states.rb +998 -32
  37. data/lib/azure_mgmt_policy_insights.rb +4 -3
  38. data/lib/profiles/latest/modules/policyinsights_profile_module.rb +23 -11
  39. data/lib/version.rb +1 -1
  40. metadata +23 -3
@@ -20,36 +20,41 @@ require '2019-10-01/generated/azure_mgmt_policy_insights/module_definition'
20
20
  require 'ms_rest_azure'
21
21
 
22
22
  module Azure::PolicyInsights::Mgmt::V2019_10_01
23
+ autoload :PolicyEvents, '2019-10-01/generated/azure_mgmt_policy_insights/policy_events.rb'
23
24
  autoload :PolicyStates, '2019-10-01/generated/azure_mgmt_policy_insights/policy_states.rb'
24
25
  autoload :Operations, '2019-10-01/generated/azure_mgmt_policy_insights/operations.rb'
25
26
  autoload :PolicyMetadataOperations, '2019-10-01/generated/azure_mgmt_policy_insights/policy_metadata_operations.rb'
26
27
  autoload :PolicyInsightsClient, '2019-10-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb'
27
28
 
28
29
  module Models
29
- autoload :QueryFailureError, '2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure_error.rb'
30
- autoload :ExpressionEvaluationDetails, '2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb'
30
+ autoload :PolicyGroupSummary, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_group_summary.rb'
31
+ autoload :ComponentEventDetails, '2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb'
32
+ autoload :PolicyAssignmentSummary, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb'
33
+ autoload :PolicyEventsQueryResults, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb'
34
+ autoload :Summary, '2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb'
31
35
  autoload :QueryFailure, '2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure.rb'
32
- autoload :PolicyEvaluationDetails, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb'
36
+ autoload :SummarizeResults, '2019-10-01/generated/azure_mgmt_policy_insights/models/summarize_results.rb'
37
+ autoload :IfNotExistsEvaluationDetails, '2019-10-01/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb'
33
38
  autoload :OperationDisplay, '2019-10-01/generated/azure_mgmt_policy_insights/models/operation_display.rb'
34
- autoload :PolicyStatesQueryResults, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb'
39
+ autoload :ComponentStateDetails, '2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb'
35
40
  autoload :Operation, '2019-10-01/generated/azure_mgmt_policy_insights/models/operation.rb'
36
- autoload :SummaryResults, '2019-10-01/generated/azure_mgmt_policy_insights/models/summary_results.rb'
41
+ autoload :PolicyStatesQueryResults, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb'
37
42
  autoload :OperationsListResults, '2019-10-01/generated/azure_mgmt_policy_insights/models/operations_list_results.rb'
38
- autoload :PolicyGroupSummary, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_group_summary.rb'
43
+ autoload :SummaryResults, '2019-10-01/generated/azure_mgmt_policy_insights/models/summary_results.rb'
39
44
  autoload :PolicyMetadata, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb'
40
- autoload :Summary, '2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb'
45
+ autoload :PolicyEvent, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_event.rb'
41
46
  autoload :SlimPolicyMetadata, '2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb'
42
- autoload :IfNotExistsEvaluationDetails, '2019-10-01/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb'
47
+ autoload :ExpressionEvaluationDetails, '2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb'
43
48
  autoload :PolicyMetadataCollection, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata_collection.rb'
44
- autoload :ComplianceDetail, '2019-10-01/generated/azure_mgmt_policy_insights/models/compliance_detail.rb'
49
+ autoload :PolicyState, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_state.rb'
45
50
  autoload :TypedErrorInfo, '2019-10-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb'
46
- autoload :PolicyAssignmentSummary, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb'
51
+ autoload :PolicyDefinitionSummary, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb'
47
52
  autoload :ErrorDefinition, '2019-10-01/generated/azure_mgmt_policy_insights/models/error_definition.rb'
48
- autoload :PolicyState, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_state.rb'
53
+ autoload :PolicyEvaluationDetails, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb'
49
54
  autoload :ErrorResponse, '2019-10-01/generated/azure_mgmt_policy_insights/models/error_response.rb'
50
- autoload :SummarizeResults, '2019-10-01/generated/azure_mgmt_policy_insights/models/summarize_results.rb'
55
+ autoload :QueryFailureError, '2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure_error.rb'
51
56
  autoload :QueryOptions, '2019-10-01/generated/azure_mgmt_policy_insights/models/query_options.rb'
52
- autoload :PolicyDefinitionSummary, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb'
57
+ autoload :ComplianceDetail, '2019-10-01/generated/azure_mgmt_policy_insights/models/compliance_detail.rb'
53
58
  autoload :PolicyStatesResource, '2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb'
54
59
  end
55
60
  end
@@ -0,0 +1,132 @@
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
+ # Component event details.
10
+ #
11
+ class ComponentEventDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return Unmatched properties from the message are deserialized this
16
+ # collection
17
+ attr_accessor :additional_properties
18
+
19
+ # @return [String] Component Id.
20
+ attr_accessor :id
21
+
22
+ # @return [String] Component type.
23
+ attr_accessor :type
24
+
25
+ # @return [String] Component name.
26
+ attr_accessor :name
27
+
28
+ # @return [DateTime] Timestamp for component policy event record.
29
+ attr_accessor :timestamp
30
+
31
+ # @return [String] Tenant ID for the policy event record.
32
+ attr_accessor :tenant_id
33
+
34
+ # @return [String] Principal object ID for the user who initiated the
35
+ # resource component operation that triggered the policy event.
36
+ attr_accessor :principal_oid
37
+
38
+ # @return [String] Policy definition action, i.e. effect.
39
+ attr_accessor :policy_definition_action
40
+
41
+
42
+ #
43
+ # Mapper for ComponentEventDetails class as Ruby Hash.
44
+ # This will be used for serialization/deserialization.
45
+ #
46
+ def self.mapper()
47
+ {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'ComponentEventDetails',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'ComponentEventDetails',
54
+ model_properties: {
55
+ additional_properties: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ type: {
59
+ name: 'Dictionary',
60
+ value: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'ObjectElementType',
64
+ type: {
65
+ name: 'Object'
66
+ }
67
+ }
68
+ }
69
+ },
70
+ id: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'id',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ type: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'type',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ name: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'name',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ timestamp: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'timestamp',
98
+ type: {
99
+ name: 'DateTime'
100
+ }
101
+ },
102
+ tenant_id: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ serialized_name: 'tenantId',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ },
110
+ principal_oid: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ serialized_name: 'principalOid',
114
+ type: {
115
+ name: 'String'
116
+ }
117
+ },
118
+ policy_definition_action: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ serialized_name: 'policyDefinitionAction',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ end
130
+ end
131
+ end
132
+ end
@@ -0,0 +1,109 @@
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
+ # Component state details.
10
+ #
11
+ class ComponentStateDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return Unmatched properties from the message are deserialized this
16
+ # collection
17
+ attr_accessor :additional_properties
18
+
19
+ # @return [String] Component Id.
20
+ attr_accessor :id
21
+
22
+ # @return [String] Component type.
23
+ attr_accessor :type
24
+
25
+ # @return [String] Component name.
26
+ attr_accessor :name
27
+
28
+ # @return [DateTime] Component compliance evaluation timestamp.
29
+ attr_accessor :timestamp
30
+
31
+ # @return [String] Component compliance state.
32
+ attr_accessor :compliance_state
33
+
34
+
35
+ #
36
+ # Mapper for ComponentStateDetails class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'ComponentStateDetails',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'ComponentStateDetails',
47
+ model_properties: {
48
+ additional_properties: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ type: {
52
+ name: 'Dictionary',
53
+ value: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'ObjectElementType',
57
+ type: {
58
+ name: 'Object'
59
+ }
60
+ }
61
+ }
62
+ },
63
+ id: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'id',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ type: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'type',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ name: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'name',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ timestamp: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'timestamp',
91
+ type: {
92
+ name: 'DateTime'
93
+ }
94
+ },
95
+ compliance_state: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'complianceState',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ end
107
+ end
108
+ end
109
+ end
@@ -18,6 +18,9 @@ module Azure::PolicyInsights::Mgmt::V2019_10_01
18
18
  # @return [String] Expression evaluated.
19
19
  attr_accessor :expression
20
20
 
21
+ # @return [String] The kind of expression that was evaluated.
22
+ attr_accessor :expression_kind
23
+
21
24
  # @return [String] Property path if the expression is a field or an
22
25
  # alias.
23
26
  attr_accessor :path
@@ -62,6 +65,15 @@ module Azure::PolicyInsights::Mgmt::V2019_10_01
62
65
  name: 'String'
63
66
  }
64
67
  },
68
+ expression_kind: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'expressionKind',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
65
77
  path: {
66
78
  client_side_validation: true,
67
79
  required: false,
@@ -0,0 +1,416 @@
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 event record.
10
+ #
11
+ class PolicyEvent
12
+
13
+ include MsRestAzure
14
+
15
+ # @return Unmatched properties from the message are deserialized this
16
+ # collection
17
+ attr_accessor :additional_properties
18
+
19
+ # @return [String] OData entity ID; always set to null since policy event
20
+ # records do not have an entity ID.
21
+ attr_accessor :odataid
22
+
23
+ # @return [String] OData context string; used by OData clients to resolve
24
+ # type information based on metadata.
25
+ attr_accessor :odatacontext
26
+
27
+ # @return [DateTime] Timestamp for the policy event record.
28
+ attr_accessor :timestamp
29
+
30
+ # @return [String] Resource ID.
31
+ attr_accessor :resource_id
32
+
33
+ # @return [String] Policy assignment ID.
34
+ attr_accessor :policy_assignment_id
35
+
36
+ # @return [String] Policy definition ID.
37
+ attr_accessor :policy_definition_id
38
+
39
+ # @return [String] Effective parameters for the policy assignment.
40
+ attr_accessor :effective_parameters
41
+
42
+ # @return [Boolean] Flag which states whether the resource is compliant
43
+ # against the policy assignment it was evaluated against.
44
+ attr_accessor :is_compliant
45
+
46
+ # @return [String] Subscription ID.
47
+ attr_accessor :subscription_id
48
+
49
+ # @return [String] Resource type.
50
+ attr_accessor :resource_type
51
+
52
+ # @return [String] Resource location.
53
+ attr_accessor :resource_location
54
+
55
+ # @return [String] Resource group name.
56
+ attr_accessor :resource_group
57
+
58
+ # @return [String] List of resource tags.
59
+ attr_accessor :resource_tags
60
+
61
+ # @return [String] Policy assignment name.
62
+ attr_accessor :policy_assignment_name
63
+
64
+ # @return [String] Policy assignment owner.
65
+ attr_accessor :policy_assignment_owner
66
+
67
+ # @return [String] Policy assignment parameters.
68
+ attr_accessor :policy_assignment_parameters
69
+
70
+ # @return [String] Policy assignment scope.
71
+ attr_accessor :policy_assignment_scope
72
+
73
+ # @return [String] Policy definition name.
74
+ attr_accessor :policy_definition_name
75
+
76
+ # @return [String] Policy definition action, i.e. effect.
77
+ attr_accessor :policy_definition_action
78
+
79
+ # @return [String] Policy definition category.
80
+ attr_accessor :policy_definition_category
81
+
82
+ # @return [String] Policy set definition ID, if the policy assignment is
83
+ # for a policy set.
84
+ attr_accessor :policy_set_definition_id
85
+
86
+ # @return [String] Policy set definition name, if the policy assignment
87
+ # is for a policy set.
88
+ attr_accessor :policy_set_definition_name
89
+
90
+ # @return [String] Policy set definition owner, if the policy assignment
91
+ # is for a policy set.
92
+ attr_accessor :policy_set_definition_owner
93
+
94
+ # @return [String] Policy set definition category, if the policy
95
+ # assignment is for a policy set.
96
+ attr_accessor :policy_set_definition_category
97
+
98
+ # @return [String] Policy set definition parameters, if the policy
99
+ # assignment is for a policy set.
100
+ attr_accessor :policy_set_definition_parameters
101
+
102
+ # @return [String] Comma separated list of management group IDs, which
103
+ # represent the hierarchy of the management groups the resource is under.
104
+ attr_accessor :management_group_ids
105
+
106
+ # @return [String] Reference ID for the policy definition inside the
107
+ # policy set, if the policy assignment is for a policy set.
108
+ attr_accessor :policy_definition_reference_id
109
+
110
+ # @return [String] Compliance state of the resource.
111
+ attr_accessor :compliance_state
112
+
113
+ # @return [String] Tenant ID for the policy event record.
114
+ attr_accessor :tenant_id
115
+
116
+ # @return [String] Principal object ID for the user who initiated the
117
+ # resource operation that triggered the policy event.
118
+ attr_accessor :principal_oid
119
+
120
+ # @return [Array<ComponentEventDetails>] Components events records
121
+ # populated only when URL contains $expand=components clause.
122
+ attr_accessor :components
123
+
124
+
125
+ #
126
+ # Mapper for PolicyEvent class as Ruby Hash.
127
+ # This will be used for serialization/deserialization.
128
+ #
129
+ def self.mapper()
130
+ {
131
+ client_side_validation: true,
132
+ required: false,
133
+ serialized_name: 'PolicyEvent',
134
+ type: {
135
+ name: 'Composite',
136
+ class_name: 'PolicyEvent',
137
+ model_properties: {
138
+ additional_properties: {
139
+ client_side_validation: true,
140
+ required: false,
141
+ type: {
142
+ name: 'Dictionary',
143
+ value: {
144
+ client_side_validation: true,
145
+ required: false,
146
+ serialized_name: 'ObjectElementType',
147
+ type: {
148
+ name: 'Object'
149
+ }
150
+ }
151
+ }
152
+ },
153
+ odataid: {
154
+ client_side_validation: true,
155
+ required: false,
156
+ serialized_name: '@odata\\.id',
157
+ type: {
158
+ name: 'String'
159
+ }
160
+ },
161
+ odatacontext: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ serialized_name: '@odata\\.context',
165
+ type: {
166
+ name: 'String'
167
+ }
168
+ },
169
+ timestamp: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ serialized_name: 'timestamp',
173
+ type: {
174
+ name: 'DateTime'
175
+ }
176
+ },
177
+ resource_id: {
178
+ client_side_validation: true,
179
+ required: false,
180
+ serialized_name: 'resourceId',
181
+ type: {
182
+ name: 'String'
183
+ }
184
+ },
185
+ policy_assignment_id: {
186
+ client_side_validation: true,
187
+ required: false,
188
+ serialized_name: 'policyAssignmentId',
189
+ type: {
190
+ name: 'String'
191
+ }
192
+ },
193
+ policy_definition_id: {
194
+ client_side_validation: true,
195
+ required: false,
196
+ serialized_name: 'policyDefinitionId',
197
+ type: {
198
+ name: 'String'
199
+ }
200
+ },
201
+ effective_parameters: {
202
+ client_side_validation: true,
203
+ required: false,
204
+ serialized_name: 'effectiveParameters',
205
+ type: {
206
+ name: 'String'
207
+ }
208
+ },
209
+ is_compliant: {
210
+ client_side_validation: true,
211
+ required: false,
212
+ serialized_name: 'isCompliant',
213
+ type: {
214
+ name: 'Boolean'
215
+ }
216
+ },
217
+ subscription_id: {
218
+ client_side_validation: true,
219
+ required: false,
220
+ serialized_name: 'subscriptionId',
221
+ type: {
222
+ name: 'String'
223
+ }
224
+ },
225
+ resource_type: {
226
+ client_side_validation: true,
227
+ required: false,
228
+ serialized_name: 'resourceType',
229
+ type: {
230
+ name: 'String'
231
+ }
232
+ },
233
+ resource_location: {
234
+ client_side_validation: true,
235
+ required: false,
236
+ serialized_name: 'resourceLocation',
237
+ type: {
238
+ name: 'String'
239
+ }
240
+ },
241
+ resource_group: {
242
+ client_side_validation: true,
243
+ required: false,
244
+ serialized_name: 'resourceGroup',
245
+ type: {
246
+ name: 'String'
247
+ }
248
+ },
249
+ resource_tags: {
250
+ client_side_validation: true,
251
+ required: false,
252
+ serialized_name: 'resourceTags',
253
+ type: {
254
+ name: 'String'
255
+ }
256
+ },
257
+ policy_assignment_name: {
258
+ client_side_validation: true,
259
+ required: false,
260
+ serialized_name: 'policyAssignmentName',
261
+ type: {
262
+ name: 'String'
263
+ }
264
+ },
265
+ policy_assignment_owner: {
266
+ client_side_validation: true,
267
+ required: false,
268
+ serialized_name: 'policyAssignmentOwner',
269
+ type: {
270
+ name: 'String'
271
+ }
272
+ },
273
+ policy_assignment_parameters: {
274
+ client_side_validation: true,
275
+ required: false,
276
+ serialized_name: 'policyAssignmentParameters',
277
+ type: {
278
+ name: 'String'
279
+ }
280
+ },
281
+ policy_assignment_scope: {
282
+ client_side_validation: true,
283
+ required: false,
284
+ serialized_name: 'policyAssignmentScope',
285
+ type: {
286
+ name: 'String'
287
+ }
288
+ },
289
+ policy_definition_name: {
290
+ client_side_validation: true,
291
+ required: false,
292
+ serialized_name: 'policyDefinitionName',
293
+ type: {
294
+ name: 'String'
295
+ }
296
+ },
297
+ policy_definition_action: {
298
+ client_side_validation: true,
299
+ required: false,
300
+ serialized_name: 'policyDefinitionAction',
301
+ type: {
302
+ name: 'String'
303
+ }
304
+ },
305
+ policy_definition_category: {
306
+ client_side_validation: true,
307
+ required: false,
308
+ serialized_name: 'policyDefinitionCategory',
309
+ type: {
310
+ name: 'String'
311
+ }
312
+ },
313
+ policy_set_definition_id: {
314
+ client_side_validation: true,
315
+ required: false,
316
+ serialized_name: 'policySetDefinitionId',
317
+ type: {
318
+ name: 'String'
319
+ }
320
+ },
321
+ policy_set_definition_name: {
322
+ client_side_validation: true,
323
+ required: false,
324
+ serialized_name: 'policySetDefinitionName',
325
+ type: {
326
+ name: 'String'
327
+ }
328
+ },
329
+ policy_set_definition_owner: {
330
+ client_side_validation: true,
331
+ required: false,
332
+ serialized_name: 'policySetDefinitionOwner',
333
+ type: {
334
+ name: 'String'
335
+ }
336
+ },
337
+ policy_set_definition_category: {
338
+ client_side_validation: true,
339
+ required: false,
340
+ serialized_name: 'policySetDefinitionCategory',
341
+ type: {
342
+ name: 'String'
343
+ }
344
+ },
345
+ policy_set_definition_parameters: {
346
+ client_side_validation: true,
347
+ required: false,
348
+ serialized_name: 'policySetDefinitionParameters',
349
+ type: {
350
+ name: 'String'
351
+ }
352
+ },
353
+ management_group_ids: {
354
+ client_side_validation: true,
355
+ required: false,
356
+ serialized_name: 'managementGroupIds',
357
+ type: {
358
+ name: 'String'
359
+ }
360
+ },
361
+ policy_definition_reference_id: {
362
+ client_side_validation: true,
363
+ required: false,
364
+ serialized_name: 'policyDefinitionReferenceId',
365
+ type: {
366
+ name: 'String'
367
+ }
368
+ },
369
+ compliance_state: {
370
+ client_side_validation: true,
371
+ required: false,
372
+ serialized_name: 'complianceState',
373
+ type: {
374
+ name: 'String'
375
+ }
376
+ },
377
+ tenant_id: {
378
+ client_side_validation: true,
379
+ required: false,
380
+ serialized_name: 'tenantId',
381
+ type: {
382
+ name: 'String'
383
+ }
384
+ },
385
+ principal_oid: {
386
+ client_side_validation: true,
387
+ required: false,
388
+ serialized_name: 'principalOid',
389
+ type: {
390
+ name: 'String'
391
+ }
392
+ },
393
+ components: {
394
+ client_side_validation: true,
395
+ required: false,
396
+ serialized_name: 'components',
397
+ type: {
398
+ name: 'Sequence',
399
+ element: {
400
+ client_side_validation: true,
401
+ required: false,
402
+ serialized_name: 'ComponentEventDetailsElementType',
403
+ type: {
404
+ name: 'Composite',
405
+ class_name: 'ComponentEventDetails'
406
+ }
407
+ }
408
+ }
409
+ }
410
+ }
411
+ }
412
+ }
413
+ end
414
+ end
415
+ end
416
+ end