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.
- checksums.yaml +4 -4
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +43 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +11 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb +998 -32
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights.rb +39 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/error_definition.rb +115 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/error_response.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/query_options.rb +54 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation.rb +172 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb +124 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb +75 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_filters.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/resource_discovery_mode.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/module_definition.rb +9 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb +131 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/remediations.rb +3294 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights.rb +18 -13
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb +132 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb +109 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +12 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_event.rb +416 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +125 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_state.rb +21 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +43 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_options.rb +12 -1
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_events.rb +1961 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb +5 -1
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_states.rb +998 -32
- data/lib/azure_mgmt_policy_insights.rb +4 -3
- data/lib/profiles/latest/modules/policyinsights_profile_module.rb +23 -11
- data/lib/version.rb +1 -1
- metadata +23 -3
@@ -2,10 +2,11 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
|
+
require '2018-04-04/generated/azure_mgmt_policy_insights'
|
6
|
+
require '2017-10-17-preview/generated/azure_mgmt_policy_insights'
|
7
|
+
require '2017-12-12-preview/generated/azure_mgmt_policy_insights'
|
5
8
|
require '2019-10-01/generated/azure_mgmt_policy_insights'
|
9
|
+
require '2019-07-01/generated/azure_mgmt_policy_insights'
|
6
10
|
require '2018-07-01-preview/generated/azure_mgmt_policy_insights'
|
7
|
-
require '2017-12-12-preview/generated/azure_mgmt_policy_insights'
|
8
|
-
require '2018-04-04/generated/azure_mgmt_policy_insights'
|
9
11
|
require '2017-08-09-preview/generated/azure_mgmt_policy_insights'
|
10
|
-
require '2017-10-17-preview/generated/azure_mgmt_policy_insights'
|
11
12
|
require 'profiles/latest/policyinsights_latest_profile_client'
|
@@ -6,8 +6,8 @@ require 'azure_mgmt_policy_insights'
|
|
6
6
|
|
7
7
|
module Azure::PolicyInsights::Profiles::Latest
|
8
8
|
module Mgmt
|
9
|
+
PolicyEvents = Azure::PolicyInsights::Mgmt::V2019_10_01::PolicyEvents
|
9
10
|
PolicyMetadataOperations = Azure::PolicyInsights::Mgmt::V2019_10_01::PolicyMetadataOperations
|
10
|
-
PolicyEvents = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyEvents
|
11
11
|
PolicyTrackedResources = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::PolicyTrackedResources
|
12
12
|
Remediations = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Remediations
|
13
13
|
PolicyStates = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::PolicyStates
|
@@ -15,12 +15,15 @@ module Azure::PolicyInsights::Profiles::Latest
|
|
15
15
|
|
16
16
|
module Models
|
17
17
|
PolicyGroupSummary = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyGroupSummary
|
18
|
+
ComponentEventDetails = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentEventDetails
|
19
|
+
PolicyEventsQueryResults = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyEventsQueryResults
|
20
|
+
ComponentStateDetails = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentStateDetails
|
18
21
|
PolicyMetadata = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadata
|
22
|
+
PolicyEvent = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyEvent
|
19
23
|
SlimPolicyMetadata = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::SlimPolicyMetadata
|
20
24
|
PolicyMetadataCollection = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadataCollection
|
21
25
|
ComplianceDetail = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComplianceDetail
|
22
|
-
|
23
|
-
PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent
|
26
|
+
ResourceDiscoveryMode = Azure::PolicyInsights::Mgmt::V2019_07_01::Models::ResourceDiscoveryMode
|
24
27
|
ErrorResponse = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorResponse
|
25
28
|
ExpressionEvaluationDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ExpressionEvaluationDetails
|
26
29
|
TrackedResourceModificationDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TrackedResourceModificationDetails
|
@@ -57,7 +60,7 @@ module Azure::PolicyInsights::Profiles::Latest
|
|
57
60
|
# PolicyInsightsManagementClass
|
58
61
|
#
|
59
62
|
class PolicyInsightsManagementClass
|
60
|
-
attr_reader :
|
63
|
+
attr_reader :policy_events, :policy_metadata_operations, :policy_tracked_resources, :remediations, :policy_states, :operations, :configurable, :base_url, :options, :model_classes
|
61
64
|
|
62
65
|
def initialize(options = {})
|
63
66
|
if options.is_a?(Hash) && options.length == 0
|
@@ -77,14 +80,14 @@ module Azure::PolicyInsights::Profiles::Latest
|
|
77
80
|
@client_0.subscription_id = configurable.subscription_id
|
78
81
|
end
|
79
82
|
add_telemetry(@client_0)
|
83
|
+
@policy_events = @client_0.policy_events
|
80
84
|
@policy_metadata_operations = @client_0.policy_metadata_operations
|
81
85
|
|
82
|
-
@client_1 = Azure::PolicyInsights::Mgmt::
|
86
|
+
@client_1 = Azure::PolicyInsights::Mgmt::V2019_07_01::PolicyInsightsClient.new(configurable.credentials, base_url, options)
|
83
87
|
if(@client_1.respond_to?(:subscription_id))
|
84
88
|
@client_1.subscription_id = configurable.subscription_id
|
85
89
|
end
|
86
90
|
add_telemetry(@client_1)
|
87
|
-
@policy_events = @client_1.policy_events
|
88
91
|
|
89
92
|
@client_2 = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::PolicyInsightsClient.new(configurable.credentials, base_url, options)
|
90
93
|
if(@client_2.respond_to?(:subscription_id))
|
@@ -122,9 +125,21 @@ module Azure::PolicyInsights::Profiles::Latest
|
|
122
125
|
def policy_group_summary
|
123
126
|
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyGroupSummary
|
124
127
|
end
|
128
|
+
def component_event_details
|
129
|
+
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentEventDetails
|
130
|
+
end
|
131
|
+
def policy_events_query_results
|
132
|
+
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyEventsQueryResults
|
133
|
+
end
|
134
|
+
def component_state_details
|
135
|
+
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentStateDetails
|
136
|
+
end
|
125
137
|
def policy_metadata
|
126
138
|
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadata
|
127
139
|
end
|
140
|
+
def policy_event
|
141
|
+
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyEvent
|
142
|
+
end
|
128
143
|
def slim_policy_metadata
|
129
144
|
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::SlimPolicyMetadata
|
130
145
|
end
|
@@ -134,11 +149,8 @@ module Azure::PolicyInsights::Profiles::Latest
|
|
134
149
|
def compliance_detail
|
135
150
|
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComplianceDetail
|
136
151
|
end
|
137
|
-
def
|
138
|
-
Azure::PolicyInsights::Mgmt::
|
139
|
-
end
|
140
|
-
def policy_event
|
141
|
-
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent
|
152
|
+
def resource_discovery_mode
|
153
|
+
Azure::PolicyInsights::Mgmt::V2019_07_01::Models::ResourceDiscoveryMode
|
142
154
|
end
|
143
155
|
def error_response
|
144
156
|
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorResponse
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_policy_insights
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -208,8 +208,25 @@ files:
|
|
208
208
|
- lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb
|
209
209
|
- lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_tracked_resources.rb
|
210
210
|
- lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb
|
211
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights.rb
|
212
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/models/error_definition.rb
|
213
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/models/error_response.rb
|
214
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/models/query_options.rb
|
215
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation.rb
|
216
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb
|
217
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb
|
218
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb
|
219
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_filters.rb
|
220
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb
|
221
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/models/resource_discovery_mode.rb
|
222
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb
|
223
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/module_definition.rb
|
224
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb
|
225
|
+
- lib/2019-07-01/generated/azure_mgmt_policy_insights/remediations.rb
|
211
226
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights.rb
|
212
227
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/compliance_detail.rb
|
228
|
+
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb
|
229
|
+
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb
|
213
230
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_definition.rb
|
214
231
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_response.rb
|
215
232
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb
|
@@ -220,6 +237,8 @@ files:
|
|
220
237
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb
|
221
238
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb
|
222
239
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb
|
240
|
+
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_event.rb
|
241
|
+
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb
|
223
242
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_group_summary.rb
|
224
243
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb
|
225
244
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata_collection.rb
|
@@ -236,6 +255,7 @@ files:
|
|
236
255
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb
|
237
256
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/module_definition.rb
|
238
257
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/operations.rb
|
258
|
+
- lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_events.rb
|
239
259
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb
|
240
260
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_metadata_operations.rb
|
241
261
|
- lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_states.rb
|
@@ -270,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
270
290
|
version: '0'
|
271
291
|
requirements: []
|
272
292
|
rubyforge_project:
|
273
|
-
rubygems_version: 2.7.
|
293
|
+
rubygems_version: 2.7.10
|
274
294
|
signing_key:
|
275
295
|
specification_version: 4
|
276
296
|
summary: Official Ruby client library to consume Microsoft Azure Resource Policy Insights
|