azure_sdk 0.48.0 → 0.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +1307 -1307
- data/lib/latest/modules/containerservice_profile_module.rb +385 -385
- data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -261
- data/lib/latest/modules/iotcentral_profile_module.rb +111 -111
- data/lib/latest/modules/mediaservices_profile_module.rb +871 -859
- data/lib/latest/modules/policyinsights_profile_module.rb +223 -223
- metadata +6 -7
@@ -1,223 +1,223 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
-
|
5
|
-
require 'azure_mgmt_policy_insights'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module PolicyInsights
|
9
|
-
module Mgmt
|
10
|
-
PolicyMetadataOperations = Azure::PolicyInsights::Mgmt::V2019_10_01::PolicyMetadataOperations
|
11
|
-
PolicyEvents = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyEvents
|
12
|
-
PolicyTrackedResources = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::PolicyTrackedResources
|
13
|
-
Remediations = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Remediations
|
14
|
-
PolicyStates = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::PolicyStates
|
15
|
-
Operations = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Operations
|
16
|
-
|
17
|
-
module Models
|
18
|
-
PolicyGroupSummary = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyGroupSummary
|
19
|
-
PolicyMetadata = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadata
|
20
|
-
SlimPolicyMetadata = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::SlimPolicyMetadata
|
21
|
-
PolicyMetadataCollection = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadataCollection
|
22
|
-
ComplianceDetail = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComplianceDetail
|
23
|
-
PolicyEventsQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults
|
24
|
-
PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent
|
25
|
-
ErrorResponse = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorResponse
|
26
|
-
ExpressionEvaluationDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ExpressionEvaluationDetails
|
27
|
-
TrackedResourceModificationDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TrackedResourceModificationDetails
|
28
|
-
IfNotExistsEvaluationDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::IfNotExistsEvaluationDetails
|
29
|
-
PolicyTrackedResourcesQueryResults = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResourcesQueryResults
|
30
|
-
PolicyEvaluationDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyEvaluationDetails
|
31
|
-
QueryFailure = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailure
|
32
|
-
PolicyState = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyState
|
33
|
-
RemediationDeploymentSummary = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentSummary
|
34
|
-
PolicyStatesQueryResults = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyStatesQueryResults
|
35
|
-
RemediationListResult = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationListResult
|
36
|
-
SummaryResults = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::SummaryResults
|
37
|
-
ErrorDefinition = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorDefinition
|
38
|
-
PolicyDefinitionSummary = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDefinitionSummary
|
39
|
-
RemediationDeploymentsListResult = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentsListResult
|
40
|
-
PolicyAssignmentSummary = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyAssignmentSummary
|
41
|
-
PolicyTrackedResource = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResource
|
42
|
-
Summary = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Summary
|
43
|
-
RemediationFilters = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationFilters
|
44
|
-
SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::SummarizeResults
|
45
|
-
TypedErrorInfo = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TypedErrorInfo
|
46
|
-
OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::OperationDisplay
|
47
|
-
PolicyDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDetails
|
48
|
-
Operation = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Operation
|
49
|
-
Remediation = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Remediation
|
50
|
-
OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::OperationsListResults
|
51
|
-
QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailureError
|
52
|
-
QueryOptions = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryOptions
|
53
|
-
RemediationDeployment = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeployment
|
54
|
-
PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyStatesResource
|
55
|
-
end
|
56
|
-
|
57
|
-
class PolicyInsightsManagementClass
|
58
|
-
attr_reader :policy_metadata_operations, :policy_events, :policy_tracked_resources, :remediations, :policy_states, :operations, :configurable, :base_url, :options, :model_classes
|
59
|
-
|
60
|
-
def initialize(configurable, base_url=nil, options=nil)
|
61
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
62
|
-
|
63
|
-
@client_0 = Azure::PolicyInsights::Mgmt::V2019_10_01::PolicyInsightsClient.new(configurable.credentials, base_url, options)
|
64
|
-
if(@client_0.respond_to?(:subscription_id))
|
65
|
-
@client_0.subscription_id = configurable.subscription_id
|
66
|
-
end
|
67
|
-
add_telemetry(@client_0)
|
68
|
-
@policy_metadata_operations = @client_0.policy_metadata_operations
|
69
|
-
|
70
|
-
@client_1 = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyInsightsClient.new(configurable.credentials, base_url, options)
|
71
|
-
if(@client_1.respond_to?(:subscription_id))
|
72
|
-
@client_1.subscription_id = configurable.subscription_id
|
73
|
-
end
|
74
|
-
add_telemetry(@client_1)
|
75
|
-
@policy_events = @client_1.policy_events
|
76
|
-
|
77
|
-
@client_2 = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::PolicyInsightsClient.new(configurable.credentials, base_url, options)
|
78
|
-
if(@client_2.respond_to?(:subscription_id))
|
79
|
-
@client_2.subscription_id = configurable.subscription_id
|
80
|
-
end
|
81
|
-
add_telemetry(@client_2)
|
82
|
-
@policy_tracked_resources = @client_2.policy_tracked_resources
|
83
|
-
@remediations = @client_2.remediations
|
84
|
-
@policy_states = @client_2.policy_states
|
85
|
-
@operations = @client_2.operations
|
86
|
-
|
87
|
-
@model_classes = ModelClasses.new
|
88
|
-
end
|
89
|
-
|
90
|
-
def add_telemetry(client)
|
91
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/PolicyInsights/Mgmt"
|
92
|
-
client.add_user_agent_information(profile_information)
|
93
|
-
end
|
94
|
-
|
95
|
-
def method_missing(method, *args)
|
96
|
-
if @client_2.respond_to?method
|
97
|
-
@client_2.send(method, *args)
|
98
|
-
elsif @client_1.respond_to?method
|
99
|
-
@client_1.send(method, *args)
|
100
|
-
elsif @client_0.respond_to?method
|
101
|
-
@client_0.send(method, *args)
|
102
|
-
else
|
103
|
-
super
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
class ModelClasses
|
108
|
-
def policy_group_summary
|
109
|
-
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyGroupSummary
|
110
|
-
end
|
111
|
-
def policy_metadata
|
112
|
-
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadata
|
113
|
-
end
|
114
|
-
def slim_policy_metadata
|
115
|
-
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::SlimPolicyMetadata
|
116
|
-
end
|
117
|
-
def policy_metadata_collection
|
118
|
-
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadataCollection
|
119
|
-
end
|
120
|
-
def compliance_detail
|
121
|
-
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComplianceDetail
|
122
|
-
end
|
123
|
-
def policy_events_query_results
|
124
|
-
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults
|
125
|
-
end
|
126
|
-
def policy_event
|
127
|
-
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent
|
128
|
-
end
|
129
|
-
def error_response
|
130
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorResponse
|
131
|
-
end
|
132
|
-
def expression_evaluation_details
|
133
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ExpressionEvaluationDetails
|
134
|
-
end
|
135
|
-
def tracked_resource_modification_details
|
136
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TrackedResourceModificationDetails
|
137
|
-
end
|
138
|
-
def if_not_exists_evaluation_details
|
139
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::IfNotExistsEvaluationDetails
|
140
|
-
end
|
141
|
-
def policy_tracked_resources_query_results
|
142
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResourcesQueryResults
|
143
|
-
end
|
144
|
-
def policy_evaluation_details
|
145
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyEvaluationDetails
|
146
|
-
end
|
147
|
-
def query_failure
|
148
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailure
|
149
|
-
end
|
150
|
-
def policy_state
|
151
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyState
|
152
|
-
end
|
153
|
-
def remediation_deployment_summary
|
154
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentSummary
|
155
|
-
end
|
156
|
-
def policy_states_query_results
|
157
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyStatesQueryResults
|
158
|
-
end
|
159
|
-
def remediation_list_result
|
160
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationListResult
|
161
|
-
end
|
162
|
-
def summary_results
|
163
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::SummaryResults
|
164
|
-
end
|
165
|
-
def error_definition
|
166
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorDefinition
|
167
|
-
end
|
168
|
-
def policy_definition_summary
|
169
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDefinitionSummary
|
170
|
-
end
|
171
|
-
def remediation_deployments_list_result
|
172
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentsListResult
|
173
|
-
end
|
174
|
-
def policy_assignment_summary
|
175
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyAssignmentSummary
|
176
|
-
end
|
177
|
-
def policy_tracked_resource
|
178
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResource
|
179
|
-
end
|
180
|
-
def summary
|
181
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Summary
|
182
|
-
end
|
183
|
-
def remediation_filters
|
184
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationFilters
|
185
|
-
end
|
186
|
-
def summarize_results
|
187
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::SummarizeResults
|
188
|
-
end
|
189
|
-
def typed_error_info
|
190
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TypedErrorInfo
|
191
|
-
end
|
192
|
-
def operation_display
|
193
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::OperationDisplay
|
194
|
-
end
|
195
|
-
def policy_details
|
196
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDetails
|
197
|
-
end
|
198
|
-
def operation
|
199
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Operation
|
200
|
-
end
|
201
|
-
def remediation
|
202
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Remediation
|
203
|
-
end
|
204
|
-
def operations_list_results
|
205
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::OperationsListResults
|
206
|
-
end
|
207
|
-
def query_failure_error
|
208
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailureError
|
209
|
-
end
|
210
|
-
def query_options
|
211
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryOptions
|
212
|
-
end
|
213
|
-
def remediation_deployment
|
214
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeployment
|
215
|
-
end
|
216
|
-
def policy_states_resource
|
217
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyStatesResource
|
218
|
-
end
|
219
|
-
end
|
220
|
-
end
|
221
|
-
end
|
222
|
-
end
|
223
|
-
end
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'azure_mgmt_policy_insights'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module PolicyInsights
|
9
|
+
module Mgmt
|
10
|
+
PolicyMetadataOperations = Azure::PolicyInsights::Mgmt::V2019_10_01::PolicyMetadataOperations
|
11
|
+
PolicyEvents = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyEvents
|
12
|
+
PolicyTrackedResources = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::PolicyTrackedResources
|
13
|
+
Remediations = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Remediations
|
14
|
+
PolicyStates = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::PolicyStates
|
15
|
+
Operations = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Operations
|
16
|
+
|
17
|
+
module Models
|
18
|
+
PolicyGroupSummary = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyGroupSummary
|
19
|
+
PolicyMetadata = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadata
|
20
|
+
SlimPolicyMetadata = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::SlimPolicyMetadata
|
21
|
+
PolicyMetadataCollection = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadataCollection
|
22
|
+
ComplianceDetail = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComplianceDetail
|
23
|
+
PolicyEventsQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults
|
24
|
+
PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent
|
25
|
+
ErrorResponse = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorResponse
|
26
|
+
ExpressionEvaluationDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ExpressionEvaluationDetails
|
27
|
+
TrackedResourceModificationDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TrackedResourceModificationDetails
|
28
|
+
IfNotExistsEvaluationDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::IfNotExistsEvaluationDetails
|
29
|
+
PolicyTrackedResourcesQueryResults = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResourcesQueryResults
|
30
|
+
PolicyEvaluationDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyEvaluationDetails
|
31
|
+
QueryFailure = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailure
|
32
|
+
PolicyState = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyState
|
33
|
+
RemediationDeploymentSummary = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentSummary
|
34
|
+
PolicyStatesQueryResults = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyStatesQueryResults
|
35
|
+
RemediationListResult = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationListResult
|
36
|
+
SummaryResults = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::SummaryResults
|
37
|
+
ErrorDefinition = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorDefinition
|
38
|
+
PolicyDefinitionSummary = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDefinitionSummary
|
39
|
+
RemediationDeploymentsListResult = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentsListResult
|
40
|
+
PolicyAssignmentSummary = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyAssignmentSummary
|
41
|
+
PolicyTrackedResource = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResource
|
42
|
+
Summary = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Summary
|
43
|
+
RemediationFilters = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationFilters
|
44
|
+
SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::SummarizeResults
|
45
|
+
TypedErrorInfo = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TypedErrorInfo
|
46
|
+
OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::OperationDisplay
|
47
|
+
PolicyDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDetails
|
48
|
+
Operation = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Operation
|
49
|
+
Remediation = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Remediation
|
50
|
+
OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::OperationsListResults
|
51
|
+
QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailureError
|
52
|
+
QueryOptions = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryOptions
|
53
|
+
RemediationDeployment = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeployment
|
54
|
+
PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyStatesResource
|
55
|
+
end
|
56
|
+
|
57
|
+
class PolicyInsightsManagementClass
|
58
|
+
attr_reader :policy_metadata_operations, :policy_events, :policy_tracked_resources, :remediations, :policy_states, :operations, :configurable, :base_url, :options, :model_classes
|
59
|
+
|
60
|
+
def initialize(configurable, base_url=nil, options=nil)
|
61
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
62
|
+
|
63
|
+
@client_0 = Azure::PolicyInsights::Mgmt::V2019_10_01::PolicyInsightsClient.new(configurable.credentials, base_url, options)
|
64
|
+
if(@client_0.respond_to?(:subscription_id))
|
65
|
+
@client_0.subscription_id = configurable.subscription_id
|
66
|
+
end
|
67
|
+
add_telemetry(@client_0)
|
68
|
+
@policy_metadata_operations = @client_0.policy_metadata_operations
|
69
|
+
|
70
|
+
@client_1 = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyInsightsClient.new(configurable.credentials, base_url, options)
|
71
|
+
if(@client_1.respond_to?(:subscription_id))
|
72
|
+
@client_1.subscription_id = configurable.subscription_id
|
73
|
+
end
|
74
|
+
add_telemetry(@client_1)
|
75
|
+
@policy_events = @client_1.policy_events
|
76
|
+
|
77
|
+
@client_2 = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::PolicyInsightsClient.new(configurable.credentials, base_url, options)
|
78
|
+
if(@client_2.respond_to?(:subscription_id))
|
79
|
+
@client_2.subscription_id = configurable.subscription_id
|
80
|
+
end
|
81
|
+
add_telemetry(@client_2)
|
82
|
+
@policy_tracked_resources = @client_2.policy_tracked_resources
|
83
|
+
@remediations = @client_2.remediations
|
84
|
+
@policy_states = @client_2.policy_states
|
85
|
+
@operations = @client_2.operations
|
86
|
+
|
87
|
+
@model_classes = ModelClasses.new
|
88
|
+
end
|
89
|
+
|
90
|
+
def add_telemetry(client)
|
91
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/PolicyInsights/Mgmt"
|
92
|
+
client.add_user_agent_information(profile_information)
|
93
|
+
end
|
94
|
+
|
95
|
+
def method_missing(method, *args)
|
96
|
+
if @client_2.respond_to?method
|
97
|
+
@client_2.send(method, *args)
|
98
|
+
elsif @client_1.respond_to?method
|
99
|
+
@client_1.send(method, *args)
|
100
|
+
elsif @client_0.respond_to?method
|
101
|
+
@client_0.send(method, *args)
|
102
|
+
else
|
103
|
+
super
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
class ModelClasses
|
108
|
+
def policy_group_summary
|
109
|
+
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyGroupSummary
|
110
|
+
end
|
111
|
+
def policy_metadata
|
112
|
+
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadata
|
113
|
+
end
|
114
|
+
def slim_policy_metadata
|
115
|
+
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::SlimPolicyMetadata
|
116
|
+
end
|
117
|
+
def policy_metadata_collection
|
118
|
+
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadataCollection
|
119
|
+
end
|
120
|
+
def compliance_detail
|
121
|
+
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComplianceDetail
|
122
|
+
end
|
123
|
+
def policy_events_query_results
|
124
|
+
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults
|
125
|
+
end
|
126
|
+
def policy_event
|
127
|
+
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent
|
128
|
+
end
|
129
|
+
def error_response
|
130
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorResponse
|
131
|
+
end
|
132
|
+
def expression_evaluation_details
|
133
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ExpressionEvaluationDetails
|
134
|
+
end
|
135
|
+
def tracked_resource_modification_details
|
136
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TrackedResourceModificationDetails
|
137
|
+
end
|
138
|
+
def if_not_exists_evaluation_details
|
139
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::IfNotExistsEvaluationDetails
|
140
|
+
end
|
141
|
+
def policy_tracked_resources_query_results
|
142
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResourcesQueryResults
|
143
|
+
end
|
144
|
+
def policy_evaluation_details
|
145
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyEvaluationDetails
|
146
|
+
end
|
147
|
+
def query_failure
|
148
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailure
|
149
|
+
end
|
150
|
+
def policy_state
|
151
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyState
|
152
|
+
end
|
153
|
+
def remediation_deployment_summary
|
154
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentSummary
|
155
|
+
end
|
156
|
+
def policy_states_query_results
|
157
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyStatesQueryResults
|
158
|
+
end
|
159
|
+
def remediation_list_result
|
160
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationListResult
|
161
|
+
end
|
162
|
+
def summary_results
|
163
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::SummaryResults
|
164
|
+
end
|
165
|
+
def error_definition
|
166
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorDefinition
|
167
|
+
end
|
168
|
+
def policy_definition_summary
|
169
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDefinitionSummary
|
170
|
+
end
|
171
|
+
def remediation_deployments_list_result
|
172
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentsListResult
|
173
|
+
end
|
174
|
+
def policy_assignment_summary
|
175
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyAssignmentSummary
|
176
|
+
end
|
177
|
+
def policy_tracked_resource
|
178
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResource
|
179
|
+
end
|
180
|
+
def summary
|
181
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Summary
|
182
|
+
end
|
183
|
+
def remediation_filters
|
184
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationFilters
|
185
|
+
end
|
186
|
+
def summarize_results
|
187
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::SummarizeResults
|
188
|
+
end
|
189
|
+
def typed_error_info
|
190
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TypedErrorInfo
|
191
|
+
end
|
192
|
+
def operation_display
|
193
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::OperationDisplay
|
194
|
+
end
|
195
|
+
def policy_details
|
196
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDetails
|
197
|
+
end
|
198
|
+
def operation
|
199
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Operation
|
200
|
+
end
|
201
|
+
def remediation
|
202
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Remediation
|
203
|
+
end
|
204
|
+
def operations_list_results
|
205
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::OperationsListResults
|
206
|
+
end
|
207
|
+
def query_failure_error
|
208
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailureError
|
209
|
+
end
|
210
|
+
def query_options
|
211
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryOptions
|
212
|
+
end
|
213
|
+
def remediation_deployment
|
214
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeployment
|
215
|
+
end
|
216
|
+
def policy_states_resource
|
217
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyStatesResource
|
218
|
+
end
|
219
|
+
end
|
220
|
+
end
|
221
|
+
end
|
222
|
+
end
|
223
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.49.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -856,14 +856,14 @@ dependencies:
|
|
856
856
|
requirements:
|
857
857
|
- - "~>"
|
858
858
|
- !ruby/object:Gem::Version
|
859
|
-
version: 0.
|
859
|
+
version: 0.20.0
|
860
860
|
type: :runtime
|
861
861
|
prerelease: false
|
862
862
|
version_requirements: !ruby/object:Gem::Requirement
|
863
863
|
requirements:
|
864
864
|
- - "~>"
|
865
865
|
- !ruby/object:Gem::Version
|
866
|
-
version: 0.
|
866
|
+
version: 0.20.0
|
867
867
|
- !ruby/object:Gem::Dependency
|
868
868
|
name: azure_mgmt_migrate
|
869
869
|
requirement: !ruby/object:Gem::Requirement
|
@@ -2102,7 +2102,7 @@ metadata:
|
|
2102
2102
|
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
2103
2103
|
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
2104
2104
|
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
2105
|
-
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.
|
2105
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.49.0
|
2106
2106
|
wiki_uri: https://github.com/Azure/azure-sdk-for-ruby/wiki
|
2107
2107
|
post_install_message:
|
2108
2108
|
rdoc_options: []
|
@@ -2119,8 +2119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2119
2119
|
- !ruby/object:Gem::Version
|
2120
2120
|
version: '0'
|
2121
2121
|
requirements: []
|
2122
|
-
|
2123
|
-
rubygems_version: 2.5.2.3
|
2122
|
+
rubygems_version: 3.1.2
|
2124
2123
|
signing_key:
|
2125
2124
|
specification_version: 4
|
2126
2125
|
summary: Official Ruby client library to consume Microsoft Azure services.
|