azure_sdk 0.47.1 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +1307 -1297
- data/lib/latest/modules/containerservice_profile_module.rb +385 -385
- data/lib/latest/modules/deploymentmanager_profile_module.rb +261 -0
- data/lib/latest/modules/hdinsight_profile_module.rb +415 -415
- data/lib/latest/modules/iotcentral_profile_module.rb +111 -103
- data/lib/latest/modules/policyinsights_profile_module.rb +223 -193
- metadata +24 -9
@@ -1,103 +1,111 @@
|
|
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_iot_central'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module IotCentral
|
9
|
-
module Mgmt
|
10
|
-
Apps = Azure::IotCentral::Mgmt::V2018_09_01::Apps
|
11
|
-
Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations
|
12
|
-
|
13
|
-
module Models
|
14
|
-
|
15
|
-
AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
|
16
|
-
|
17
|
-
AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
|
18
|
-
|
19
|
-
ErrorResponseBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
@
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
@
|
42
|
-
|
43
|
-
@
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
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_iot_central'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module IotCentral
|
9
|
+
module Mgmt
|
10
|
+
Apps = Azure::IotCentral::Mgmt::V2018_09_01::Apps
|
11
|
+
Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations
|
12
|
+
|
13
|
+
module Models
|
14
|
+
OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
|
15
|
+
AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
|
16
|
+
Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
|
17
|
+
AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
|
18
|
+
OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
|
19
|
+
ErrorResponseBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
|
20
|
+
OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
|
21
|
+
AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
|
22
|
+
AppAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
|
23
|
+
Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
|
24
|
+
AppTemplate = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate
|
25
|
+
ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
|
26
|
+
AppTemplatesResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
|
27
|
+
App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App
|
28
|
+
AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
|
29
|
+
end
|
30
|
+
|
31
|
+
class IotCentralManagementClass
|
32
|
+
attr_reader :apps, :operations, :configurable, :base_url, :options, :model_classes
|
33
|
+
|
34
|
+
def initialize(configurable, base_url=nil, options=nil)
|
35
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
36
|
+
|
37
|
+
@client_0 = Azure::IotCentral::Mgmt::V2018_09_01::IotCentralClient.new(configurable.credentials, base_url, options)
|
38
|
+
if(@client_0.respond_to?(:subscription_id))
|
39
|
+
@client_0.subscription_id = configurable.subscription_id
|
40
|
+
end
|
41
|
+
add_telemetry(@client_0)
|
42
|
+
@apps = @client_0.apps
|
43
|
+
@operations = @client_0.operations
|
44
|
+
|
45
|
+
@model_classes = ModelClasses.new
|
46
|
+
end
|
47
|
+
|
48
|
+
def add_telemetry(client)
|
49
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/IotCentral/Mgmt"
|
50
|
+
client.add_user_agent_information(profile_information)
|
51
|
+
end
|
52
|
+
|
53
|
+
def method_missing(method, *args)
|
54
|
+
if @client_0.respond_to?method
|
55
|
+
@client_0.send(method, *args)
|
56
|
+
else
|
57
|
+
super
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
class ModelClasses
|
62
|
+
def operation_display
|
63
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
|
64
|
+
end
|
65
|
+
def app_sku_info
|
66
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
|
67
|
+
end
|
68
|
+
def operation
|
69
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
|
70
|
+
end
|
71
|
+
def app_patch
|
72
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
|
73
|
+
end
|
74
|
+
def operation_list_result
|
75
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
|
76
|
+
end
|
77
|
+
def error_response_body
|
78
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
|
79
|
+
end
|
80
|
+
def operation_inputs
|
81
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
|
82
|
+
end
|
83
|
+
def app_list_result
|
84
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
|
85
|
+
end
|
86
|
+
def app_availability_info
|
87
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
|
88
|
+
end
|
89
|
+
def resource
|
90
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
|
91
|
+
end
|
92
|
+
def app_template
|
93
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate
|
94
|
+
end
|
95
|
+
def error_details
|
96
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
|
97
|
+
end
|
98
|
+
def app_templates_result
|
99
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
|
100
|
+
end
|
101
|
+
def app
|
102
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::App
|
103
|
+
end
|
104
|
+
def app_sku
|
105
|
+
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
@@ -1,193 +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
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
@
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
@
|
71
|
-
@
|
72
|
-
|
73
|
-
|
74
|
-
@
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
end
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
def
|
109
|
-
Azure::PolicyInsights::Mgmt::
|
110
|
-
end
|
111
|
-
def
|
112
|
-
Azure::PolicyInsights::Mgmt::
|
113
|
-
end
|
114
|
-
def
|
115
|
-
Azure::PolicyInsights::Mgmt::
|
116
|
-
end
|
117
|
-
def
|
118
|
-
Azure::PolicyInsights::Mgmt::
|
119
|
-
end
|
120
|
-
def
|
121
|
-
Azure::PolicyInsights::Mgmt::
|
122
|
-
end
|
123
|
-
def
|
124
|
-
Azure::PolicyInsights::Mgmt::
|
125
|
-
end
|
126
|
-
def
|
127
|
-
Azure::PolicyInsights::Mgmt::
|
128
|
-
end
|
129
|
-
def
|
130
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
131
|
-
end
|
132
|
-
def
|
133
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
134
|
-
end
|
135
|
-
def
|
136
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
137
|
-
end
|
138
|
-
def
|
139
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
140
|
-
end
|
141
|
-
def
|
142
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
143
|
-
end
|
144
|
-
def
|
145
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
146
|
-
end
|
147
|
-
def
|
148
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
149
|
-
end
|
150
|
-
def
|
151
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
152
|
-
end
|
153
|
-
def
|
154
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
155
|
-
end
|
156
|
-
def
|
157
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
158
|
-
end
|
159
|
-
def
|
160
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
161
|
-
end
|
162
|
-
def
|
163
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
164
|
-
end
|
165
|
-
def
|
166
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
167
|
-
end
|
168
|
-
def
|
169
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
170
|
-
end
|
171
|
-
def
|
172
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
173
|
-
end
|
174
|
-
def
|
175
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
176
|
-
end
|
177
|
-
def
|
178
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
179
|
-
end
|
180
|
-
def
|
181
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
182
|
-
end
|
183
|
-
def
|
184
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
185
|
-
end
|
186
|
-
def
|
187
|
-
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::
|
188
|
-
end
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
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
|