@azure/arm-policyinsights 6.0.0-alpha.20250718.1 → 6.0.0-alpha.20250730.1
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.
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +34 -16
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/attestations.js +100 -136
- package/dist/browser/operations/attestations.js.map +1 -1
- package/dist/browser/operations/componentPolicyStates.js +1 -0
- package/dist/browser/operations/componentPolicyStates.js.map +1 -1
- package/dist/browser/operations/operations.js +1 -0
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/policyEvents.js +180 -316
- package/dist/browser/operations/policyEvents.js.map +1 -1
- package/dist/browser/operations/policyMetadataOperations.js +23 -40
- package/dist/browser/operations/policyMetadataOperations.js.map +1 -1
- package/dist/browser/operations/policyRestrictions.js +1 -0
- package/dist/browser/operations/policyRestrictions.js.map +1 -1
- package/dist/browser/operations/policyStates.js +202 -328
- package/dist/browser/operations/policyStates.js.map +1 -1
- package/dist/browser/operations/policyTrackedResources.js +89 -157
- package/dist/browser/operations/policyTrackedResources.js.map +1 -1
- package/dist/browser/operations/remediations.js +177 -313
- package/dist/browser/operations/remediations.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/policyInsightsClient.js +21 -5
- package/dist/browser/policyInsightsClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +34 -16
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/attestations.js +100 -135
- package/dist/commonjs/operations/attestations.js.map +1 -1
- package/dist/commonjs/operations/componentPolicyStates.js +1 -0
- package/dist/commonjs/operations/componentPolicyStates.js.map +1 -1
- package/dist/commonjs/operations/operations.js +1 -0
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/policyEvents.js +180 -315
- package/dist/commonjs/operations/policyEvents.js.map +1 -1
- package/dist/commonjs/operations/policyMetadataOperations.js +23 -39
- package/dist/commonjs/operations/policyMetadataOperations.js.map +1 -1
- package/dist/commonjs/operations/policyRestrictions.js +1 -0
- package/dist/commonjs/operations/policyRestrictions.js.map +1 -1
- package/dist/commonjs/operations/policyStates.js +202 -327
- package/dist/commonjs/operations/policyStates.js.map +1 -1
- package/dist/commonjs/operations/policyTrackedResources.js +89 -156
- package/dist/commonjs/operations/policyTrackedResources.js.map +1 -1
- package/dist/commonjs/operations/remediations.js +177 -312
- package/dist/commonjs/operations/remediations.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/policyInsightsClient.js +21 -5
- package/dist/commonjs/policyInsightsClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +34 -16
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/attestations.js +100 -136
- package/dist/esm/operations/attestations.js.map +1 -1
- package/dist/esm/operations/componentPolicyStates.js +1 -0
- package/dist/esm/operations/componentPolicyStates.js.map +1 -1
- package/dist/esm/operations/operations.js +1 -0
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/policyEvents.js +180 -316
- package/dist/esm/operations/policyEvents.js.map +1 -1
- package/dist/esm/operations/policyMetadataOperations.js +23 -40
- package/dist/esm/operations/policyMetadataOperations.js.map +1 -1
- package/dist/esm/operations/policyRestrictions.js +1 -0
- package/dist/esm/operations/policyRestrictions.js.map +1 -1
- package/dist/esm/operations/policyStates.js +202 -328
- package/dist/esm/operations/policyStates.js.map +1 -1
- package/dist/esm/operations/policyTrackedResources.js +89 -157
- package/dist/esm/operations/policyTrackedResources.js.map +1 -1
- package/dist/esm/operations/remediations.js +177 -313
- package/dist/esm/operations/remediations.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/policyInsightsClient.js +21 -5
- package/dist/esm/policyInsightsClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +34 -16
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/attestations.js +100 -136
- package/dist/react-native/operations/attestations.js.map +1 -1
- package/dist/react-native/operations/componentPolicyStates.js +1 -0
- package/dist/react-native/operations/componentPolicyStates.js.map +1 -1
- package/dist/react-native/operations/operations.js +1 -0
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/policyEvents.js +180 -316
- package/dist/react-native/operations/policyEvents.js.map +1 -1
- package/dist/react-native/operations/policyMetadataOperations.js +23 -40
- package/dist/react-native/operations/policyMetadataOperations.js.map +1 -1
- package/dist/react-native/operations/policyRestrictions.js +1 -0
- package/dist/react-native/operations/policyRestrictions.js.map +1 -1
- package/dist/react-native/operations/policyStates.js +202 -328
- package/dist/react-native/operations/policyStates.js.map +1 -1
- package/dist/react-native/operations/policyTrackedResources.js +89 -157
- package/dist/react-native/operations/policyTrackedResources.js.map +1 -1
- package/dist/react-native/operations/remediations.js +177 -313
- package/dist/react-native/operations/remediations.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/policyInsightsClient.js +21 -5
- package/dist/react-native/policyInsightsClient.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-policyinsights-node.api.md +1716 -1716
|
@@ -1,1716 +1,1716 @@
|
|
|
1
|
-
## API Report File for "@azure/arm-policyinsights"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import * as coreAuth from '@azure/core-auth';
|
|
8
|
-
import * as coreClient from '@azure/core-client';
|
|
9
|
-
import { OperationState } from '@azure/core-lro';
|
|
10
|
-
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
11
|
-
import { SimplePollerLike } from '@azure/core-lro';
|
|
12
|
-
|
|
13
|
-
// @public
|
|
14
|
-
export interface Attestation extends Resource {
|
|
15
|
-
assessmentDate?: Date;
|
|
16
|
-
comments?: string;
|
|
17
|
-
complianceState?: ComplianceState;
|
|
18
|
-
evidence?: AttestationEvidence[];
|
|
19
|
-
expiresOn?: Date;
|
|
20
|
-
readonly lastComplianceStateChangeAt?: Date;
|
|
21
|
-
metadata?: Record<string, unknown>;
|
|
22
|
-
owner?: string;
|
|
23
|
-
policyAssignmentId: string;
|
|
24
|
-
policyDefinitionReferenceId?: string;
|
|
25
|
-
readonly provisioningState?: string;
|
|
26
|
-
readonly systemData?: SystemData;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// @public
|
|
30
|
-
export interface AttestationEvidence {
|
|
31
|
-
description?: string;
|
|
32
|
-
sourceUri?: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// @public
|
|
36
|
-
export interface AttestationListResult {
|
|
37
|
-
readonly nextLink?: string;
|
|
38
|
-
readonly value?: Attestation[];
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// @public
|
|
42
|
-
export interface Attestations {
|
|
43
|
-
beginCreateOrUpdateAtResource(resourceId: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceOptionalParams): Promise<SimplePollerLike<OperationState<AttestationsCreateOrUpdateAtResourceResponse>, AttestationsCreateOrUpdateAtResourceResponse>>;
|
|
44
|
-
beginCreateOrUpdateAtResourceAndWait(resourceId: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceOptionalParams): Promise<AttestationsCreateOrUpdateAtResourceResponse>;
|
|
45
|
-
beginCreateOrUpdateAtResourceGroup(resourceGroupName: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceGroupOptionalParams): Promise<SimplePollerLike<OperationState<AttestationsCreateOrUpdateAtResourceGroupResponse>, AttestationsCreateOrUpdateAtResourceGroupResponse>>;
|
|
46
|
-
beginCreateOrUpdateAtResourceGroupAndWait(resourceGroupName: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceGroupOptionalParams): Promise<AttestationsCreateOrUpdateAtResourceGroupResponse>;
|
|
47
|
-
beginCreateOrUpdateAtSubscription(attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtSubscriptionOptionalParams): Promise<SimplePollerLike<OperationState<AttestationsCreateOrUpdateAtSubscriptionResponse>, AttestationsCreateOrUpdateAtSubscriptionResponse>>;
|
|
48
|
-
beginCreateOrUpdateAtSubscriptionAndWait(attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtSubscriptionOptionalParams): Promise<AttestationsCreateOrUpdateAtSubscriptionResponse>;
|
|
49
|
-
deleteAtResource(resourceId: string, attestationName: string, options?: AttestationsDeleteAtResourceOptionalParams): Promise<void>;
|
|
50
|
-
deleteAtResourceGroup(resourceGroupName: string, attestationName: string, options?: AttestationsDeleteAtResourceGroupOptionalParams): Promise<void>;
|
|
51
|
-
deleteAtSubscription(attestationName: string, options?: AttestationsDeleteAtSubscriptionOptionalParams): Promise<void>;
|
|
52
|
-
getAtResource(resourceId: string, attestationName: string, options?: AttestationsGetAtResourceOptionalParams): Promise<AttestationsGetAtResourceResponse>;
|
|
53
|
-
getAtResourceGroup(resourceGroupName: string, attestationName: string, options?: AttestationsGetAtResourceGroupOptionalParams): Promise<AttestationsGetAtResourceGroupResponse>;
|
|
54
|
-
getAtSubscription(attestationName: string, options?: AttestationsGetAtSubscriptionOptionalParams): Promise<AttestationsGetAtSubscriptionResponse>;
|
|
55
|
-
listForResource(resourceId: string, options?: AttestationsListForResourceOptionalParams): PagedAsyncIterableIterator<Attestation>;
|
|
56
|
-
listForResourceGroup(resourceGroupName: string, options?: AttestationsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<Attestation>;
|
|
57
|
-
listForSubscription(options?: AttestationsListForSubscriptionOptionalParams): PagedAsyncIterableIterator<Attestation>;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// @public
|
|
61
|
-
export interface AttestationsCreateOrUpdateAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
62
|
-
resumeFrom?: string;
|
|
63
|
-
updateIntervalInMs?: number;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// @public
|
|
67
|
-
export type AttestationsCreateOrUpdateAtResourceGroupResponse = Attestation;
|
|
68
|
-
|
|
69
|
-
// @public
|
|
70
|
-
export interface AttestationsCreateOrUpdateAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
71
|
-
resumeFrom?: string;
|
|
72
|
-
updateIntervalInMs?: number;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// @public
|
|
76
|
-
export type AttestationsCreateOrUpdateAtResourceResponse = Attestation;
|
|
77
|
-
|
|
78
|
-
// @public
|
|
79
|
-
export interface AttestationsCreateOrUpdateAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
80
|
-
resumeFrom?: string;
|
|
81
|
-
updateIntervalInMs?: number;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// @public
|
|
85
|
-
export type AttestationsCreateOrUpdateAtSubscriptionResponse = Attestation;
|
|
86
|
-
|
|
87
|
-
// @public
|
|
88
|
-
export interface AttestationsDeleteAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// @public
|
|
92
|
-
export interface AttestationsDeleteAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// @public
|
|
96
|
-
export interface AttestationsDeleteAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// @public
|
|
100
|
-
export interface AttestationsGetAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// @public
|
|
104
|
-
export type AttestationsGetAtResourceGroupResponse = Attestation;
|
|
105
|
-
|
|
106
|
-
// @public
|
|
107
|
-
export interface AttestationsGetAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// @public
|
|
111
|
-
export type AttestationsGetAtResourceResponse = Attestation;
|
|
112
|
-
|
|
113
|
-
// @public
|
|
114
|
-
export interface AttestationsGetAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// @public
|
|
118
|
-
export type AttestationsGetAtSubscriptionResponse = Attestation;
|
|
119
|
-
|
|
120
|
-
// @public
|
|
121
|
-
export interface AttestationsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
// @public
|
|
125
|
-
export type AttestationsListForResourceGroupNextResponse = AttestationListResult;
|
|
126
|
-
|
|
127
|
-
// @public
|
|
128
|
-
export interface AttestationsListForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
129
|
-
queryOptions?: QueryOptions;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// @public
|
|
133
|
-
export type AttestationsListForResourceGroupResponse = AttestationListResult;
|
|
134
|
-
|
|
135
|
-
// @public
|
|
136
|
-
export interface AttestationsListForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
// @public
|
|
140
|
-
export type AttestationsListForResourceNextResponse = AttestationListResult;
|
|
141
|
-
|
|
142
|
-
// @public
|
|
143
|
-
export interface AttestationsListForResourceOptionalParams extends coreClient.OperationOptions {
|
|
144
|
-
queryOptions?: QueryOptions;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// @public
|
|
148
|
-
export type AttestationsListForResourceResponse = AttestationListResult;
|
|
149
|
-
|
|
150
|
-
// @public
|
|
151
|
-
export interface AttestationsListForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
// @public
|
|
155
|
-
export type AttestationsListForSubscriptionNextResponse = AttestationListResult;
|
|
156
|
-
|
|
157
|
-
// @public
|
|
158
|
-
export interface AttestationsListForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
159
|
-
queryOptions?: QueryOptions;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
// @public
|
|
163
|
-
export type AttestationsListForSubscriptionResponse = AttestationListResult;
|
|
164
|
-
|
|
165
|
-
// @public
|
|
166
|
-
export interface CheckManagementGroupRestrictionsRequest {
|
|
167
|
-
pendingFields?: PendingField[];
|
|
168
|
-
resourceDetails?: CheckRestrictionsResourceDetails;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
// @public
|
|
172
|
-
export interface CheckRestrictionEvaluationDetails {
|
|
173
|
-
evaluatedExpressions?: ExpressionEvaluationDetails[];
|
|
174
|
-
ifNotExistsDetails?: IfNotExistsEvaluationDetails;
|
|
175
|
-
readonly reason?: string;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
// @public
|
|
179
|
-
export interface CheckRestrictionsRequest {
|
|
180
|
-
includeAuditEffect?: boolean;
|
|
181
|
-
pendingFields?: PendingField[];
|
|
182
|
-
resourceDetails: CheckRestrictionsResourceDetails;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
// @public
|
|
186
|
-
export interface CheckRestrictionsResourceDetails {
|
|
187
|
-
apiVersion?: string;
|
|
188
|
-
resourceContent: Record<string, unknown>;
|
|
189
|
-
scope?: string;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
// @public
|
|
193
|
-
export interface CheckRestrictionsResult {
|
|
194
|
-
readonly contentEvaluationResult?: CheckRestrictionsResultContentEvaluationResult;
|
|
195
|
-
readonly fieldRestrictions?: FieldRestrictions[];
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
// @public
|
|
199
|
-
export interface CheckRestrictionsResultContentEvaluationResult {
|
|
200
|
-
policyEvaluations?: PolicyEvaluationResult[];
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
// @public
|
|
204
|
-
export interface ComplianceDetail {
|
|
205
|
-
complianceState?: string;
|
|
206
|
-
count?: number;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
// @public
|
|
210
|
-
export type ComplianceState = string;
|
|
211
|
-
|
|
212
|
-
// @public
|
|
213
|
-
export interface ComponentEventDetails {
|
|
214
|
-
[property: string]: any;
|
|
215
|
-
id?: string;
|
|
216
|
-
name?: string;
|
|
217
|
-
policyDefinitionAction?: string;
|
|
218
|
-
principalOid?: string;
|
|
219
|
-
tenantId?: string;
|
|
220
|
-
timestamp?: Date;
|
|
221
|
-
type?: string;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
// @public
|
|
225
|
-
export interface ComponentExpressionEvaluationDetails {
|
|
226
|
-
readonly expression?: string;
|
|
227
|
-
readonly expressionKind?: string;
|
|
228
|
-
readonly expressionValue?: Record<string, unknown>;
|
|
229
|
-
readonly operator?: string;
|
|
230
|
-
readonly path?: string;
|
|
231
|
-
result?: string;
|
|
232
|
-
readonly targetValue?: Record<string, unknown>;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
// @public
|
|
236
|
-
export interface ComponentPolicyEvaluationDetails {
|
|
237
|
-
readonly evaluatedExpressions?: ComponentExpressionEvaluationDetails[];
|
|
238
|
-
reason?: string;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
// @public
|
|
242
|
-
export interface ComponentPolicyState {
|
|
243
|
-
[property: string]: any;
|
|
244
|
-
readonly complianceState?: string;
|
|
245
|
-
readonly componentId?: string;
|
|
246
|
-
readonly componentName?: string;
|
|
247
|
-
readonly componentType?: string;
|
|
248
|
-
readonly odataContext?: string;
|
|
249
|
-
readonly odataId?: string;
|
|
250
|
-
readonly policyAssignmentId?: string;
|
|
251
|
-
readonly policyAssignmentName?: string;
|
|
252
|
-
readonly policyAssignmentOwner?: string;
|
|
253
|
-
readonly policyAssignmentParameters?: string;
|
|
254
|
-
readonly policyAssignmentScope?: string;
|
|
255
|
-
readonly policyAssignmentVersion?: string;
|
|
256
|
-
readonly policyDefinitionAction?: string;
|
|
257
|
-
readonly policyDefinitionCategory?: string;
|
|
258
|
-
readonly policyDefinitionGroupNames?: string[];
|
|
259
|
-
readonly policyDefinitionId?: string;
|
|
260
|
-
readonly policyDefinitionName?: string;
|
|
261
|
-
readonly policyDefinitionReferenceId?: string;
|
|
262
|
-
readonly policyDefinitionVersion?: string;
|
|
263
|
-
policyEvaluationDetails?: ComponentPolicyEvaluationDetails;
|
|
264
|
-
readonly policySetDefinitionCategory?: string;
|
|
265
|
-
readonly policySetDefinitionId?: string;
|
|
266
|
-
readonly policySetDefinitionName?: string;
|
|
267
|
-
readonly policySetDefinitionOwner?: string;
|
|
268
|
-
readonly policySetDefinitionParameters?: string;
|
|
269
|
-
readonly policySetDefinitionVersion?: string;
|
|
270
|
-
readonly resourceGroup?: string;
|
|
271
|
-
readonly resourceId?: string;
|
|
272
|
-
readonly resourceLocation?: string;
|
|
273
|
-
readonly resourceType?: string;
|
|
274
|
-
readonly subscriptionId?: string;
|
|
275
|
-
readonly timestamp?: Date;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
// @public
|
|
279
|
-
export interface ComponentPolicyStates {
|
|
280
|
-
listQueryResultsForPolicyDefinition(subscriptionId: string, policyDefinitionName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForPolicyDefinitionOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForPolicyDefinitionResponse>;
|
|
281
|
-
listQueryResultsForResource(resourceId: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForResourceOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForResourceResponse>;
|
|
282
|
-
listQueryResultsForResourceGroup(subscriptionId: string, resourceGroupName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForResourceGroupOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForResourceGroupResponse>;
|
|
283
|
-
listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse>;
|
|
284
|
-
listQueryResultsForSubscription(subscriptionId: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForSubscriptionOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForSubscriptionResponse>;
|
|
285
|
-
listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId: string, policyAssignmentName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse>;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
// @public
|
|
289
|
-
export interface ComponentPolicyStatesListQueryResultsForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
290
|
-
apply?: string;
|
|
291
|
-
filter?: string;
|
|
292
|
-
from?: Date;
|
|
293
|
-
orderBy?: string;
|
|
294
|
-
select?: string;
|
|
295
|
-
to?: Date;
|
|
296
|
-
top?: number;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// @public
|
|
300
|
-
export type ComponentPolicyStatesListQueryResultsForPolicyDefinitionResponse = ComponentPolicyStatesQueryResults;
|
|
301
|
-
|
|
302
|
-
// @public
|
|
303
|
-
export interface ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
304
|
-
apply?: string;
|
|
305
|
-
filter?: string;
|
|
306
|
-
from?: Date;
|
|
307
|
-
orderBy?: string;
|
|
308
|
-
select?: string;
|
|
309
|
-
to?: Date;
|
|
310
|
-
top?: number;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
// @public
|
|
314
|
-
export type ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = ComponentPolicyStatesQueryResults;
|
|
315
|
-
|
|
316
|
-
// @public
|
|
317
|
-
export interface ComponentPolicyStatesListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
318
|
-
apply?: string;
|
|
319
|
-
filter?: string;
|
|
320
|
-
from?: Date;
|
|
321
|
-
orderBy?: string;
|
|
322
|
-
select?: string;
|
|
323
|
-
to?: Date;
|
|
324
|
-
top?: number;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
// @public
|
|
328
|
-
export type ComponentPolicyStatesListQueryResultsForResourceGroupResponse = ComponentPolicyStatesQueryResults;
|
|
329
|
-
|
|
330
|
-
// @public
|
|
331
|
-
export interface ComponentPolicyStatesListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
|
|
332
|
-
apply?: string;
|
|
333
|
-
expand?: string;
|
|
334
|
-
filter?: string;
|
|
335
|
-
from?: Date;
|
|
336
|
-
orderBy?: string;
|
|
337
|
-
select?: string;
|
|
338
|
-
to?: Date;
|
|
339
|
-
top?: number;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
// @public
|
|
343
|
-
export type ComponentPolicyStatesListQueryResultsForResourceResponse = ComponentPolicyStatesQueryResults;
|
|
344
|
-
|
|
345
|
-
// @public
|
|
346
|
-
export interface ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
347
|
-
apply?: string;
|
|
348
|
-
filter?: string;
|
|
349
|
-
from?: Date;
|
|
350
|
-
orderBy?: string;
|
|
351
|
-
select?: string;
|
|
352
|
-
to?: Date;
|
|
353
|
-
top?: number;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
// @public
|
|
357
|
-
export type ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = ComponentPolicyStatesQueryResults;
|
|
358
|
-
|
|
359
|
-
// @public
|
|
360
|
-
export interface ComponentPolicyStatesListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
361
|
-
apply?: string;
|
|
362
|
-
filter?: string;
|
|
363
|
-
from?: Date;
|
|
364
|
-
orderBy?: string;
|
|
365
|
-
select?: string;
|
|
366
|
-
to?: Date;
|
|
367
|
-
top?: number;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
// @public
|
|
371
|
-
export type ComponentPolicyStatesListQueryResultsForSubscriptionResponse = ComponentPolicyStatesQueryResults;
|
|
372
|
-
|
|
373
|
-
// @public
|
|
374
|
-
export interface ComponentPolicyStatesQueryResults {
|
|
375
|
-
odataContext?: string;
|
|
376
|
-
odataCount?: number;
|
|
377
|
-
value?: ComponentPolicyState[];
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
// @public
|
|
381
|
-
export type ComponentPolicyStatesResource = string;
|
|
382
|
-
|
|
383
|
-
// @public
|
|
384
|
-
export interface ComponentStateDetails {
|
|
385
|
-
[property: string]: any;
|
|
386
|
-
complianceState?: string;
|
|
387
|
-
id?: string;
|
|
388
|
-
name?: string;
|
|
389
|
-
timestamp?: Date;
|
|
390
|
-
type?: string;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
// @public
|
|
394
|
-
export type CreatedByType = string;
|
|
395
|
-
|
|
396
|
-
// @public
|
|
397
|
-
export interface ErrorDefinition {
|
|
398
|
-
readonly additionalInfo?: TypedErrorInfo[];
|
|
399
|
-
readonly code?: string;
|
|
400
|
-
readonly details?: ErrorDefinition[];
|
|
401
|
-
readonly message?: string;
|
|
402
|
-
readonly target?: string;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
// @public
|
|
406
|
-
export interface ErrorDefinitionAutoGenerated {
|
|
407
|
-
readonly additionalInfo?: TypedErrorInfo[];
|
|
408
|
-
readonly code?: string;
|
|
409
|
-
readonly details?: ErrorDefinitionAutoGenerated[];
|
|
410
|
-
readonly message?: string;
|
|
411
|
-
readonly target?: string;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
// @public
|
|
415
|
-
export interface ErrorDefinitionAutoGenerated2 {
|
|
416
|
-
readonly additionalInfo?: TypedErrorInfo[];
|
|
417
|
-
readonly code?: string;
|
|
418
|
-
readonly details?: ErrorDefinitionAutoGenerated2[];
|
|
419
|
-
readonly message?: string;
|
|
420
|
-
readonly target?: string;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
// @public
|
|
424
|
-
export interface ErrorResponse {
|
|
425
|
-
error?: ErrorDefinition;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
// @public
|
|
429
|
-
export interface ErrorResponseAutoGenerated {
|
|
430
|
-
error?: ErrorDefinitionAutoGenerated;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
// @public
|
|
434
|
-
export interface ErrorResponseAutoGenerated2 {
|
|
435
|
-
error?: ErrorDefinitionAutoGenerated2;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
// @public
|
|
439
|
-
export interface ExpressionEvaluationDetails {
|
|
440
|
-
expression?: string;
|
|
441
|
-
readonly expressionKind?: string;
|
|
442
|
-
expressionValue?: Record<string, unknown>;
|
|
443
|
-
operator?: string;
|
|
444
|
-
path?: string;
|
|
445
|
-
result?: string;
|
|
446
|
-
targetValue?: Record<string, unknown>;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
// @public
|
|
450
|
-
export interface FieldRestriction {
|
|
451
|
-
readonly defaultValue?: string;
|
|
452
|
-
readonly policy?: PolicyReference;
|
|
453
|
-
readonly policyEffect?: string;
|
|
454
|
-
readonly reason?: string;
|
|
455
|
-
readonly result?: FieldRestrictionResult;
|
|
456
|
-
readonly values?: string[];
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
// @public
|
|
460
|
-
export type FieldRestrictionResult = string;
|
|
461
|
-
|
|
462
|
-
// @public
|
|
463
|
-
export interface FieldRestrictions {
|
|
464
|
-
readonly field?: string;
|
|
465
|
-
restrictions?: FieldRestriction[];
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
// @public
|
|
469
|
-
export function getContinuationToken(page: unknown): string | undefined;
|
|
470
|
-
|
|
471
|
-
// @public
|
|
472
|
-
export interface IfNotExistsEvaluationDetails {
|
|
473
|
-
resourceId?: string;
|
|
474
|
-
totalResources?: number;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
// @public
|
|
478
|
-
export enum KnownComplianceState {
|
|
479
|
-
Compliant = "Compliant",
|
|
480
|
-
NonCompliant = "NonCompliant",
|
|
481
|
-
Unknown = "Unknown"
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
// @public
|
|
485
|
-
export enum KnownComponentPolicyStatesResource {
|
|
486
|
-
Latest = "latest"
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
// @public
|
|
490
|
-
export enum KnownCreatedByType {
|
|
491
|
-
Application = "Application",
|
|
492
|
-
Key = "Key",
|
|
493
|
-
ManagedIdentity = "ManagedIdentity",
|
|
494
|
-
User = "User"
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
// @public
|
|
498
|
-
export enum KnownFieldRestrictionResult {
|
|
499
|
-
Audit = "Audit",
|
|
500
|
-
Deny = "Deny",
|
|
501
|
-
Removed = "Removed",
|
|
502
|
-
Required = "Required"
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
// @public
|
|
506
|
-
export enum KnownPolicyEventsResourceType {
|
|
507
|
-
Default = "default"
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
// @public
|
|
511
|
-
export enum KnownPolicyStatesResource {
|
|
512
|
-
Default = "default",
|
|
513
|
-
Latest = "latest"
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
// @public
|
|
517
|
-
export enum KnownPolicyStatesSummaryResourceType {
|
|
518
|
-
Latest = "latest"
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
// @public
|
|
522
|
-
export enum KnownPolicyTrackedResourcesResourceType {
|
|
523
|
-
Default = "default"
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
// @public
|
|
527
|
-
export enum KnownResourceDiscoveryMode {
|
|
528
|
-
ExistingNonCompliant = "ExistingNonCompliant",
|
|
529
|
-
ReEvaluateCompliance = "ReEvaluateCompliance"
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
// @public
|
|
533
|
-
export interface Operation {
|
|
534
|
-
display?: OperationDisplay;
|
|
535
|
-
isDataAction?: boolean;
|
|
536
|
-
name?: string;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
// @public
|
|
540
|
-
export interface OperationDisplay {
|
|
541
|
-
description?: string;
|
|
542
|
-
operation?: string;
|
|
543
|
-
provider?: string;
|
|
544
|
-
resource?: string;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
// @public
|
|
548
|
-
export interface Operations {
|
|
549
|
-
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
// @public
|
|
553
|
-
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
// @public
|
|
557
|
-
export type OperationsListResponse = OperationsListResults;
|
|
558
|
-
|
|
559
|
-
// @public
|
|
560
|
-
export interface OperationsListResults {
|
|
561
|
-
odataCount?: number;
|
|
562
|
-
value?: Operation[];
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
// @public
|
|
566
|
-
export interface PendingField {
|
|
567
|
-
field: string;
|
|
568
|
-
values?: string[];
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
// @public
|
|
572
|
-
export interface PolicyAssignmentSummary {
|
|
573
|
-
policyAssignmentId?: string;
|
|
574
|
-
policyDefinitions?: PolicyDefinitionSummary[];
|
|
575
|
-
policyGroups?: PolicyGroupSummary[];
|
|
576
|
-
policySetDefinitionId?: string;
|
|
577
|
-
results?: SummaryResults;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
// @public
|
|
581
|
-
export interface PolicyDefinitionSummary {
|
|
582
|
-
effect?: string;
|
|
583
|
-
policyDefinitionGroupNames?: string[];
|
|
584
|
-
policyDefinitionId?: string;
|
|
585
|
-
policyDefinitionReferenceId?: string;
|
|
586
|
-
results?: SummaryResults;
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
// @public
|
|
590
|
-
export interface PolicyDetails {
|
|
591
|
-
readonly policyAssignmentDisplayName?: string;
|
|
592
|
-
readonly policyAssignmentId?: string;
|
|
593
|
-
readonly policyAssignmentScope?: string;
|
|
594
|
-
readonly policyDefinitionId?: string;
|
|
595
|
-
readonly policyDefinitionReferenceId?: string;
|
|
596
|
-
readonly policySetDefinitionId?: string;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
// @public
|
|
600
|
-
export interface PolicyEffectDetails {
|
|
601
|
-
readonly policyEffect?: string;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
// @public
|
|
605
|
-
export interface PolicyEvaluationDetails {
|
|
606
|
-
evaluatedExpressions?: ExpressionEvaluationDetails[];
|
|
607
|
-
ifNotExistsDetails?: IfNotExistsEvaluationDetails;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
// @public
|
|
611
|
-
export interface PolicyEvaluationResult {
|
|
612
|
-
readonly effectDetails?: PolicyEffectDetails;
|
|
613
|
-
readonly evaluationDetails?: CheckRestrictionEvaluationDetails;
|
|
614
|
-
readonly evaluationResult?: string;
|
|
615
|
-
readonly policyInfo?: PolicyReference;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
// @public
|
|
619
|
-
export interface PolicyEvent {
|
|
620
|
-
[property: string]: any;
|
|
621
|
-
complianceState?: string;
|
|
622
|
-
components?: ComponentEventDetails[];
|
|
623
|
-
effectiveParameters?: string;
|
|
624
|
-
isCompliant?: boolean;
|
|
625
|
-
managementGroupIds?: string;
|
|
626
|
-
odataContext?: string;
|
|
627
|
-
odataId?: string;
|
|
628
|
-
policyAssignmentId?: string;
|
|
629
|
-
policyAssignmentName?: string;
|
|
630
|
-
policyAssignmentOwner?: string;
|
|
631
|
-
policyAssignmentParameters?: string;
|
|
632
|
-
policyAssignmentScope?: string;
|
|
633
|
-
policyDefinitionAction?: string;
|
|
634
|
-
policyDefinitionCategory?: string;
|
|
635
|
-
policyDefinitionId?: string;
|
|
636
|
-
policyDefinitionName?: string;
|
|
637
|
-
policyDefinitionReferenceId?: string;
|
|
638
|
-
policySetDefinitionCategory?: string;
|
|
639
|
-
policySetDefinitionId?: string;
|
|
640
|
-
policySetDefinitionName?: string;
|
|
641
|
-
policySetDefinitionOwner?: string;
|
|
642
|
-
policySetDefinitionParameters?: string;
|
|
643
|
-
principalOid?: string;
|
|
644
|
-
resourceGroup?: string;
|
|
645
|
-
resourceId?: string;
|
|
646
|
-
resourceLocation?: string;
|
|
647
|
-
resourceTags?: string;
|
|
648
|
-
resourceType?: string;
|
|
649
|
-
subscriptionId?: string;
|
|
650
|
-
tenantId?: string;
|
|
651
|
-
timestamp?: Date;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
// @public
|
|
655
|
-
export interface PolicyEvents {
|
|
656
|
-
listQueryResultsForManagementGroup(policyEventsResource: PolicyEventsResourceType, managementGroupName: string, options?: PolicyEventsListQueryResultsForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
657
|
-
listQueryResultsForPolicyDefinition(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, policyDefinitionName: string, options?: PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
658
|
-
listQueryResultsForPolicySetDefinition(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, policySetDefinitionName: string, options?: PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
659
|
-
listQueryResultsForResource(policyEventsResource: PolicyEventsResourceType, resourceId: string, options?: PolicyEventsListQueryResultsForResourceOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
660
|
-
listQueryResultsForResourceGroup(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, resourceGroupName: string, options?: PolicyEventsListQueryResultsForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
661
|
-
listQueryResultsForResourceGroupLevelPolicyAssignment(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
662
|
-
listQueryResultsForSubscription(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, options?: PolicyEventsListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
663
|
-
listQueryResultsForSubscriptionLevelPolicyAssignment(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, policyAssignmentName: string, options?: PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
// @public
|
|
667
|
-
export interface PolicyEventsListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
// @public
|
|
671
|
-
export type PolicyEventsListQueryResultsForManagementGroupNextResponse = PolicyEventsQueryResults;
|
|
672
|
-
|
|
673
|
-
// @public
|
|
674
|
-
export interface PolicyEventsListQueryResultsForManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
675
|
-
queryOptions?: QueryOptions;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
// @public
|
|
679
|
-
export type PolicyEventsListQueryResultsForManagementGroupResponse = PolicyEventsQueryResults;
|
|
680
|
-
|
|
681
|
-
// @public
|
|
682
|
-
export interface PolicyEventsListQueryResultsForPolicyDefinitionNextOptionalParams extends coreClient.OperationOptions {
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
// @public
|
|
686
|
-
export type PolicyEventsListQueryResultsForPolicyDefinitionNextResponse = PolicyEventsQueryResults;
|
|
687
|
-
|
|
688
|
-
// @public
|
|
689
|
-
export interface PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
690
|
-
queryOptions?: QueryOptions;
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
// @public
|
|
694
|
-
export type PolicyEventsListQueryResultsForPolicyDefinitionResponse = PolicyEventsQueryResults;
|
|
695
|
-
|
|
696
|
-
// @public
|
|
697
|
-
export interface PolicyEventsListQueryResultsForPolicySetDefinitionNextOptionalParams extends coreClient.OperationOptions {
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
// @public
|
|
701
|
-
export type PolicyEventsListQueryResultsForPolicySetDefinitionNextResponse = PolicyEventsQueryResults;
|
|
702
|
-
|
|
703
|
-
// @public
|
|
704
|
-
export interface PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
705
|
-
queryOptions?: QueryOptions;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
// @public
|
|
709
|
-
export type PolicyEventsListQueryResultsForPolicySetDefinitionResponse = PolicyEventsQueryResults;
|
|
710
|
-
|
|
711
|
-
// @public
|
|
712
|
-
export interface PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
// @public
|
|
716
|
-
export type PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentNextResponse = PolicyEventsQueryResults;
|
|
717
|
-
|
|
718
|
-
// @public
|
|
719
|
-
export interface PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
720
|
-
queryOptions?: QueryOptions;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
// @public
|
|
724
|
-
export type PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = PolicyEventsQueryResults;
|
|
725
|
-
|
|
726
|
-
// @public
|
|
727
|
-
export interface PolicyEventsListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
// @public
|
|
731
|
-
export type PolicyEventsListQueryResultsForResourceGroupNextResponse = PolicyEventsQueryResults;
|
|
732
|
-
|
|
733
|
-
// @public
|
|
734
|
-
export interface PolicyEventsListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
735
|
-
queryOptions?: QueryOptions;
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
// @public
|
|
739
|
-
export type PolicyEventsListQueryResultsForResourceGroupResponse = PolicyEventsQueryResults;
|
|
740
|
-
|
|
741
|
-
// @public
|
|
742
|
-
export interface PolicyEventsListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
// @public
|
|
746
|
-
export type PolicyEventsListQueryResultsForResourceNextResponse = PolicyEventsQueryResults;
|
|
747
|
-
|
|
748
|
-
// @public
|
|
749
|
-
export interface PolicyEventsListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
|
|
750
|
-
queryOptions?: QueryOptions;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
// @public
|
|
754
|
-
export type PolicyEventsListQueryResultsForResourceResponse = PolicyEventsQueryResults;
|
|
755
|
-
|
|
756
|
-
// @public
|
|
757
|
-
export interface PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
// @public
|
|
761
|
-
export type PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentNextResponse = PolicyEventsQueryResults;
|
|
762
|
-
|
|
763
|
-
// @public
|
|
764
|
-
export interface PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
765
|
-
queryOptions?: QueryOptions;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
// @public
|
|
769
|
-
export type PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = PolicyEventsQueryResults;
|
|
770
|
-
|
|
771
|
-
// @public
|
|
772
|
-
export interface PolicyEventsListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
// @public
|
|
776
|
-
export type PolicyEventsListQueryResultsForSubscriptionNextResponse = PolicyEventsQueryResults;
|
|
777
|
-
|
|
778
|
-
// @public
|
|
779
|
-
export interface PolicyEventsListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
780
|
-
queryOptions?: QueryOptions;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
// @public
|
|
784
|
-
export type PolicyEventsListQueryResultsForSubscriptionResponse = PolicyEventsQueryResults;
|
|
785
|
-
|
|
786
|
-
// @public
|
|
787
|
-
export interface PolicyEventsQueryResults {
|
|
788
|
-
odataContext?: string;
|
|
789
|
-
odataCount?: number;
|
|
790
|
-
odataNextLink?: string;
|
|
791
|
-
value?: PolicyEvent[];
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
// @public
|
|
795
|
-
export type PolicyEventsResourceType = string;
|
|
796
|
-
|
|
797
|
-
// @public
|
|
798
|
-
export interface PolicyGroupSummary {
|
|
799
|
-
policyGroupName?: string;
|
|
800
|
-
results?: SummaryResults;
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
// @public (undocumented)
|
|
804
|
-
export class PolicyInsightsClient extends coreClient.ServiceClient {
|
|
805
|
-
// (undocumented)
|
|
806
|
-
$host: string;
|
|
807
|
-
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PolicyInsightsClientOptionalParams);
|
|
808
|
-
constructor(credentials: coreAuth.TokenCredential, options?: PolicyInsightsClientOptionalParams);
|
|
809
|
-
// (undocumented)
|
|
810
|
-
attestations: Attestations;
|
|
811
|
-
// (undocumented)
|
|
812
|
-
componentPolicyStates: ComponentPolicyStates;
|
|
813
|
-
// (undocumented)
|
|
814
|
-
operations: Operations;
|
|
815
|
-
// (undocumented)
|
|
816
|
-
policyEvents: PolicyEvents;
|
|
817
|
-
// (undocumented)
|
|
818
|
-
policyMetadataOperations: PolicyMetadataOperations;
|
|
819
|
-
// (undocumented)
|
|
820
|
-
policyRestrictions: PolicyRestrictions;
|
|
821
|
-
// (undocumented)
|
|
822
|
-
policyStates: PolicyStates;
|
|
823
|
-
// (undocumented)
|
|
824
|
-
policyTrackedResources: PolicyTrackedResources;
|
|
825
|
-
// (undocumented)
|
|
826
|
-
remediations: Remediations;
|
|
827
|
-
// (undocumented)
|
|
828
|
-
subscriptionId?: string;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
// @public
|
|
832
|
-
export interface PolicyInsightsClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
833
|
-
$host?: string;
|
|
834
|
-
endpoint?: string;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
// @public
|
|
838
|
-
export interface PolicyMetadata {
|
|
839
|
-
readonly additionalContentUrl?: string;
|
|
840
|
-
readonly category?: string;
|
|
841
|
-
readonly description?: string;
|
|
842
|
-
readonly id?: string;
|
|
843
|
-
readonly metadata?: Record<string, unknown>;
|
|
844
|
-
readonly metadataId?: string;
|
|
845
|
-
readonly name?: string;
|
|
846
|
-
readonly owner?: string;
|
|
847
|
-
readonly requirements?: string;
|
|
848
|
-
readonly title?: string;
|
|
849
|
-
readonly type?: string;
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
// @public
|
|
853
|
-
export interface PolicyMetadataCollection {
|
|
854
|
-
readonly nextLink?: string;
|
|
855
|
-
readonly value?: SlimPolicyMetadata[];
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
// @public
|
|
859
|
-
export interface PolicyMetadataGetResourceOptionalParams extends coreClient.OperationOptions {
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
// @public
|
|
863
|
-
export type PolicyMetadataGetResourceResponse = PolicyMetadata;
|
|
864
|
-
|
|
865
|
-
// @public
|
|
866
|
-
export interface PolicyMetadataListNextOptionalParams extends coreClient.OperationOptions {
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
// @public
|
|
870
|
-
export type PolicyMetadataListNextResponse = PolicyMetadataCollection;
|
|
871
|
-
|
|
872
|
-
// @public
|
|
873
|
-
export interface PolicyMetadataListOptionalParams extends coreClient.OperationOptions {
|
|
874
|
-
queryOptions?: QueryOptions;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
// @public
|
|
878
|
-
export type PolicyMetadataListResponse = PolicyMetadataCollection;
|
|
879
|
-
|
|
880
|
-
// @public
|
|
881
|
-
export interface PolicyMetadataOperations {
|
|
882
|
-
getResource(resourceName: string, options?: PolicyMetadataGetResourceOptionalParams): Promise<PolicyMetadataGetResourceResponse>;
|
|
883
|
-
list(options?: PolicyMetadataListOptionalParams): PagedAsyncIterableIterator<SlimPolicyMetadata>;
|
|
884
|
-
}
|
|
885
|
-
|
|
886
|
-
// @public
|
|
887
|
-
export interface PolicyMetadataProperties extends PolicyMetadataSlimProperties {
|
|
888
|
-
readonly description?: string;
|
|
889
|
-
readonly requirements?: string;
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
// @public
|
|
893
|
-
export interface PolicyMetadataSlimProperties {
|
|
894
|
-
readonly additionalContentUrl?: string;
|
|
895
|
-
readonly category?: string;
|
|
896
|
-
readonly metadata?: Record<string, unknown>;
|
|
897
|
-
readonly metadataId?: string;
|
|
898
|
-
readonly owner?: string;
|
|
899
|
-
readonly title?: string;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
// @public
|
|
903
|
-
export interface PolicyReference {
|
|
904
|
-
readonly policyAssignmentId?: string;
|
|
905
|
-
readonly policyDefinitionId?: string;
|
|
906
|
-
readonly policyDefinitionReferenceId?: string;
|
|
907
|
-
readonly policySetDefinitionId?: string;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
// @public
|
|
911
|
-
export interface PolicyRestrictions {
|
|
912
|
-
checkAtManagementGroupScope(managementGroupId: string, parameters: CheckManagementGroupRestrictionsRequest, options?: PolicyRestrictionsCheckAtManagementGroupScopeOptionalParams): Promise<PolicyRestrictionsCheckAtManagementGroupScopeResponse>;
|
|
913
|
-
checkAtResourceGroupScope(resourceGroupName: string, parameters: CheckRestrictionsRequest, options?: PolicyRestrictionsCheckAtResourceGroupScopeOptionalParams): Promise<PolicyRestrictionsCheckAtResourceGroupScopeResponse>;
|
|
914
|
-
checkAtSubscriptionScope(parameters: CheckRestrictionsRequest, options?: PolicyRestrictionsCheckAtSubscriptionScopeOptionalParams): Promise<PolicyRestrictionsCheckAtSubscriptionScopeResponse>;
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
// @public
|
|
918
|
-
export interface PolicyRestrictionsCheckAtManagementGroupScopeOptionalParams extends coreClient.OperationOptions {
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
// @public
|
|
922
|
-
export type PolicyRestrictionsCheckAtManagementGroupScopeResponse = CheckRestrictionsResult;
|
|
923
|
-
|
|
924
|
-
// @public
|
|
925
|
-
export interface PolicyRestrictionsCheckAtResourceGroupScopeOptionalParams extends coreClient.OperationOptions {
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
// @public
|
|
929
|
-
export type PolicyRestrictionsCheckAtResourceGroupScopeResponse = CheckRestrictionsResult;
|
|
930
|
-
|
|
931
|
-
// @public
|
|
932
|
-
export interface PolicyRestrictionsCheckAtSubscriptionScopeOptionalParams extends coreClient.OperationOptions {
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
// @public
|
|
936
|
-
export type PolicyRestrictionsCheckAtSubscriptionScopeResponse = CheckRestrictionsResult;
|
|
937
|
-
|
|
938
|
-
// @public
|
|
939
|
-
export interface PolicyState {
|
|
940
|
-
[property: string]: any;
|
|
941
|
-
complianceState?: string;
|
|
942
|
-
components?: ComponentStateDetails[];
|
|
943
|
-
effectiveParameters?: string;
|
|
944
|
-
isCompliant?: boolean;
|
|
945
|
-
managementGroupIds?: string;
|
|
946
|
-
odataContext?: string;
|
|
947
|
-
odataId?: string;
|
|
948
|
-
policyAssignmentId?: string;
|
|
949
|
-
policyAssignmentName?: string;
|
|
950
|
-
policyAssignmentOwner?: string;
|
|
951
|
-
policyAssignmentParameters?: string;
|
|
952
|
-
policyAssignmentScope?: string;
|
|
953
|
-
readonly policyAssignmentVersion?: string;
|
|
954
|
-
policyDefinitionAction?: string;
|
|
955
|
-
policyDefinitionCategory?: string;
|
|
956
|
-
policyDefinitionGroupNames?: string[];
|
|
957
|
-
policyDefinitionId?: string;
|
|
958
|
-
policyDefinitionName?: string;
|
|
959
|
-
policyDefinitionReferenceId?: string;
|
|
960
|
-
readonly policyDefinitionVersion?: string;
|
|
961
|
-
policyEvaluationDetails?: PolicyEvaluationDetails;
|
|
962
|
-
policySetDefinitionCategory?: string;
|
|
963
|
-
policySetDefinitionId?: string;
|
|
964
|
-
policySetDefinitionName?: string;
|
|
965
|
-
policySetDefinitionOwner?: string;
|
|
966
|
-
policySetDefinitionParameters?: string;
|
|
967
|
-
readonly policySetDefinitionVersion?: string;
|
|
968
|
-
resourceGroup?: string;
|
|
969
|
-
resourceId?: string;
|
|
970
|
-
resourceLocation?: string;
|
|
971
|
-
resourceTags?: string;
|
|
972
|
-
resourceType?: string;
|
|
973
|
-
subscriptionId?: string;
|
|
974
|
-
timestamp?: Date;
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
// @public
|
|
978
|
-
export interface PolicyStates {
|
|
979
|
-
beginTriggerResourceGroupEvaluation(subscriptionId: string, resourceGroupName: string, options?: PolicyStatesTriggerResourceGroupEvaluationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
980
|
-
beginTriggerResourceGroupEvaluationAndWait(subscriptionId: string, resourceGroupName: string, options?: PolicyStatesTriggerResourceGroupEvaluationOptionalParams): Promise<void>;
|
|
981
|
-
beginTriggerSubscriptionEvaluation(subscriptionId: string, options?: PolicyStatesTriggerSubscriptionEvaluationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
982
|
-
beginTriggerSubscriptionEvaluationAndWait(subscriptionId: string, options?: PolicyStatesTriggerSubscriptionEvaluationOptionalParams): Promise<void>;
|
|
983
|
-
listQueryResultsForManagementGroup(policyStatesResource: PolicyStatesResource, managementGroupName: string, options?: PolicyStatesListQueryResultsForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
984
|
-
listQueryResultsForPolicyDefinition(policyStatesResource: PolicyStatesResource, subscriptionId: string, policyDefinitionName: string, options?: PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
985
|
-
listQueryResultsForPolicySetDefinition(policyStatesResource: PolicyStatesResource, subscriptionId: string, policySetDefinitionName: string, options?: PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
986
|
-
listQueryResultsForResource(policyStatesResource: PolicyStatesResource, resourceId: string, options?: PolicyStatesListQueryResultsForResourceOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
987
|
-
listQueryResultsForResourceGroup(policyStatesResource: PolicyStatesResource, subscriptionId: string, resourceGroupName: string, options?: PolicyStatesListQueryResultsForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
988
|
-
listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource: PolicyStatesResource, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
989
|
-
listQueryResultsForSubscription(policyStatesResource: PolicyStatesResource, subscriptionId: string, options?: PolicyStatesListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
990
|
-
listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource: PolicyStatesResource, subscriptionId: string, policyAssignmentName: string, options?: PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
991
|
-
summarizeForManagementGroup(policyStatesSummaryResource: PolicyStatesSummaryResourceType, managementGroupName: string, options?: PolicyStatesSummarizeForManagementGroupOptionalParams): Promise<PolicyStatesSummarizeForManagementGroupResponse>;
|
|
992
|
-
summarizeForPolicyDefinition(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, policyDefinitionName: string, options?: PolicyStatesSummarizeForPolicyDefinitionOptionalParams): Promise<PolicyStatesSummarizeForPolicyDefinitionResponse>;
|
|
993
|
-
summarizeForPolicySetDefinition(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, policySetDefinitionName: string, options?: PolicyStatesSummarizeForPolicySetDefinitionOptionalParams): Promise<PolicyStatesSummarizeForPolicySetDefinitionResponse>;
|
|
994
|
-
summarizeForResource(policyStatesSummaryResource: PolicyStatesSummaryResourceType, resourceId: string, options?: PolicyStatesSummarizeForResourceOptionalParams): Promise<PolicyStatesSummarizeForResourceResponse>;
|
|
995
|
-
summarizeForResourceGroup(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, resourceGroupName: string, options?: PolicyStatesSummarizeForResourceGroupOptionalParams): Promise<PolicyStatesSummarizeForResourceGroupResponse>;
|
|
996
|
-
summarizeForResourceGroupLevelPolicyAssignment(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams): Promise<PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentResponse>;
|
|
997
|
-
summarizeForSubscription(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, options?: PolicyStatesSummarizeForSubscriptionOptionalParams): Promise<PolicyStatesSummarizeForSubscriptionResponse>;
|
|
998
|
-
summarizeForSubscriptionLevelPolicyAssignment(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, policyAssignmentName: string, options?: PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams): Promise<PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentResponse>;
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
// @public
|
|
1002
|
-
export interface PolicyStatesListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
// @public
|
|
1006
|
-
export type PolicyStatesListQueryResultsForManagementGroupNextResponse = PolicyStatesQueryResults;
|
|
1007
|
-
|
|
1008
|
-
// @public
|
|
1009
|
-
export interface PolicyStatesListQueryResultsForManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1010
|
-
queryOptions?: QueryOptions;
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
// @public
|
|
1014
|
-
export type PolicyStatesListQueryResultsForManagementGroupResponse = PolicyStatesQueryResults;
|
|
1015
|
-
|
|
1016
|
-
// @public
|
|
1017
|
-
export interface PolicyStatesListQueryResultsForPolicyDefinitionNextOptionalParams extends coreClient.OperationOptions {
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
// @public
|
|
1021
|
-
export type PolicyStatesListQueryResultsForPolicyDefinitionNextResponse = PolicyStatesQueryResults;
|
|
1022
|
-
|
|
1023
|
-
// @public
|
|
1024
|
-
export interface PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
1025
|
-
queryOptions?: QueryOptions;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
// @public
|
|
1029
|
-
export type PolicyStatesListQueryResultsForPolicyDefinitionResponse = PolicyStatesQueryResults;
|
|
1030
|
-
|
|
1031
|
-
// @public
|
|
1032
|
-
export interface PolicyStatesListQueryResultsForPolicySetDefinitionNextOptionalParams extends coreClient.OperationOptions {
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
// @public
|
|
1036
|
-
export type PolicyStatesListQueryResultsForPolicySetDefinitionNextResponse = PolicyStatesQueryResults;
|
|
1037
|
-
|
|
1038
|
-
// @public
|
|
1039
|
-
export interface PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
1040
|
-
queryOptions?: QueryOptions;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
// @public
|
|
1044
|
-
export type PolicyStatesListQueryResultsForPolicySetDefinitionResponse = PolicyStatesQueryResults;
|
|
1045
|
-
|
|
1046
|
-
// @public
|
|
1047
|
-
export interface PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
// @public
|
|
1051
|
-
export type PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextResponse = PolicyStatesQueryResults;
|
|
1052
|
-
|
|
1053
|
-
// @public
|
|
1054
|
-
export interface PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
1055
|
-
queryOptions?: QueryOptions;
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
// @public
|
|
1059
|
-
export type PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = PolicyStatesQueryResults;
|
|
1060
|
-
|
|
1061
|
-
// @public
|
|
1062
|
-
export interface PolicyStatesListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
// @public
|
|
1066
|
-
export type PolicyStatesListQueryResultsForResourceGroupNextResponse = PolicyStatesQueryResults;
|
|
1067
|
-
|
|
1068
|
-
// @public
|
|
1069
|
-
export interface PolicyStatesListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1070
|
-
queryOptions?: QueryOptions;
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
// @public
|
|
1074
|
-
export type PolicyStatesListQueryResultsForResourceGroupResponse = PolicyStatesQueryResults;
|
|
1075
|
-
|
|
1076
|
-
// @public
|
|
1077
|
-
export interface PolicyStatesListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
// @public
|
|
1081
|
-
export type PolicyStatesListQueryResultsForResourceNextResponse = PolicyStatesQueryResults;
|
|
1082
|
-
|
|
1083
|
-
// @public
|
|
1084
|
-
export interface PolicyStatesListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
|
|
1085
|
-
queryOptions?: QueryOptions;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
// @public
|
|
1089
|
-
export type PolicyStatesListQueryResultsForResourceResponse = PolicyStatesQueryResults;
|
|
1090
|
-
|
|
1091
|
-
// @public
|
|
1092
|
-
export interface PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
// @public
|
|
1096
|
-
export type PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextResponse = PolicyStatesQueryResults;
|
|
1097
|
-
|
|
1098
|
-
// @public
|
|
1099
|
-
export interface PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
1100
|
-
queryOptions?: QueryOptions;
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
// @public
|
|
1104
|
-
export type PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = PolicyStatesQueryResults;
|
|
1105
|
-
|
|
1106
|
-
// @public
|
|
1107
|
-
export interface PolicyStatesListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
// @public
|
|
1111
|
-
export type PolicyStatesListQueryResultsForSubscriptionNextResponse = PolicyStatesQueryResults;
|
|
1112
|
-
|
|
1113
|
-
// @public
|
|
1114
|
-
export interface PolicyStatesListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1115
|
-
queryOptions?: QueryOptions;
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
// @public
|
|
1119
|
-
export type PolicyStatesListQueryResultsForSubscriptionResponse = PolicyStatesQueryResults;
|
|
1120
|
-
|
|
1121
|
-
// @public
|
|
1122
|
-
export interface PolicyStatesQueryResults {
|
|
1123
|
-
odataContext?: string;
|
|
1124
|
-
odataCount?: number;
|
|
1125
|
-
odataNextLink?: string;
|
|
1126
|
-
value?: PolicyState[];
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
// @public
|
|
1130
|
-
export type PolicyStatesResource = string;
|
|
1131
|
-
|
|
1132
|
-
// @public
|
|
1133
|
-
export interface PolicyStatesSummarizeForManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1134
|
-
queryOptions?: QueryOptions;
|
|
1135
|
-
}
|
|
1136
|
-
|
|
1137
|
-
// @public
|
|
1138
|
-
export type PolicyStatesSummarizeForManagementGroupResponse = SummarizeResults;
|
|
1139
|
-
|
|
1140
|
-
// @public
|
|
1141
|
-
export interface PolicyStatesSummarizeForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
1142
|
-
queryOptions?: QueryOptions;
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
// @public
|
|
1146
|
-
export type PolicyStatesSummarizeForPolicyDefinitionResponse = SummarizeResults;
|
|
1147
|
-
|
|
1148
|
-
// @public
|
|
1149
|
-
export interface PolicyStatesSummarizeForPolicySetDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
1150
|
-
queryOptions?: QueryOptions;
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1153
|
-
// @public
|
|
1154
|
-
export type PolicyStatesSummarizeForPolicySetDefinitionResponse = SummarizeResults;
|
|
1155
|
-
|
|
1156
|
-
// @public
|
|
1157
|
-
export interface PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
1158
|
-
queryOptions?: QueryOptions;
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
// @public
|
|
1162
|
-
export type PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentResponse = SummarizeResults;
|
|
1163
|
-
|
|
1164
|
-
// @public
|
|
1165
|
-
export interface PolicyStatesSummarizeForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1166
|
-
queryOptions?: QueryOptions;
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
-
// @public
|
|
1170
|
-
export type PolicyStatesSummarizeForResourceGroupResponse = SummarizeResults;
|
|
1171
|
-
|
|
1172
|
-
// @public
|
|
1173
|
-
export interface PolicyStatesSummarizeForResourceOptionalParams extends coreClient.OperationOptions {
|
|
1174
|
-
queryOptions?: QueryOptions;
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
// @public
|
|
1178
|
-
export type PolicyStatesSummarizeForResourceResponse = SummarizeResults;
|
|
1179
|
-
|
|
1180
|
-
// @public
|
|
1181
|
-
export interface PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
1182
|
-
queryOptions?: QueryOptions;
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
// @public
|
|
1186
|
-
export type PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentResponse = SummarizeResults;
|
|
1187
|
-
|
|
1188
|
-
// @public
|
|
1189
|
-
export interface PolicyStatesSummarizeForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1190
|
-
queryOptions?: QueryOptions;
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
// @public
|
|
1194
|
-
export type PolicyStatesSummarizeForSubscriptionResponse = SummarizeResults;
|
|
1195
|
-
|
|
1196
|
-
// @public
|
|
1197
|
-
export type PolicyStatesSummaryResourceType = string;
|
|
1198
|
-
|
|
1199
|
-
// @public
|
|
1200
|
-
export interface PolicyStatesTriggerResourceGroupEvaluationOptionalParams extends coreClient.OperationOptions {
|
|
1201
|
-
resumeFrom?: string;
|
|
1202
|
-
updateIntervalInMs?: number;
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
// @public
|
|
1206
|
-
export interface PolicyStatesTriggerSubscriptionEvaluationOptionalParams extends coreClient.OperationOptions {
|
|
1207
|
-
resumeFrom?: string;
|
|
1208
|
-
updateIntervalInMs?: number;
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
// @public
|
|
1212
|
-
export interface PolicyTrackedResource {
|
|
1213
|
-
readonly createdBy?: TrackedResourceModificationDetails;
|
|
1214
|
-
readonly lastModifiedBy?: TrackedResourceModificationDetails;
|
|
1215
|
-
readonly lastUpdateUtc?: Date;
|
|
1216
|
-
readonly policyDetails?: PolicyDetails;
|
|
1217
|
-
readonly trackedResourceId?: string;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
// @public
|
|
1221
|
-
export interface PolicyTrackedResources {
|
|
1222
|
-
listQueryResultsForManagementGroup(managementGroupName: string, policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
|
|
1223
|
-
listQueryResultsForResource(resourceId: string, policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForResourceOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
|
|
1224
|
-
listQueryResultsForResourceGroup(resourceGroupName: string, policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
|
|
1225
|
-
listQueryResultsForSubscription(policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
// @public
|
|
1229
|
-
export interface PolicyTrackedResourcesListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
// @public
|
|
1233
|
-
export type PolicyTrackedResourcesListQueryResultsForManagementGroupNextResponse = PolicyTrackedResourcesQueryResults;
|
|
1234
|
-
|
|
1235
|
-
// @public
|
|
1236
|
-
export interface PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1237
|
-
queryOptions?: QueryOptions;
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
// @public
|
|
1241
|
-
export type PolicyTrackedResourcesListQueryResultsForManagementGroupResponse = PolicyTrackedResourcesQueryResults;
|
|
1242
|
-
|
|
1243
|
-
// @public
|
|
1244
|
-
export interface PolicyTrackedResourcesListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
// @public
|
|
1248
|
-
export type PolicyTrackedResourcesListQueryResultsForResourceGroupNextResponse = PolicyTrackedResourcesQueryResults;
|
|
1249
|
-
|
|
1250
|
-
// @public
|
|
1251
|
-
export interface PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1252
|
-
queryOptions?: QueryOptions;
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
// @public
|
|
1256
|
-
export type PolicyTrackedResourcesListQueryResultsForResourceGroupResponse = PolicyTrackedResourcesQueryResults;
|
|
1257
|
-
|
|
1258
|
-
// @public
|
|
1259
|
-
export interface PolicyTrackedResourcesListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
|
-
// @public
|
|
1263
|
-
export type PolicyTrackedResourcesListQueryResultsForResourceNextResponse = PolicyTrackedResourcesQueryResults;
|
|
1264
|
-
|
|
1265
|
-
// @public
|
|
1266
|
-
export interface PolicyTrackedResourcesListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
|
|
1267
|
-
queryOptions?: QueryOptions;
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
// @public
|
|
1271
|
-
export type PolicyTrackedResourcesListQueryResultsForResourceResponse = PolicyTrackedResourcesQueryResults;
|
|
1272
|
-
|
|
1273
|
-
// @public
|
|
1274
|
-
export interface PolicyTrackedResourcesListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
// @public
|
|
1278
|
-
export type PolicyTrackedResourcesListQueryResultsForSubscriptionNextResponse = PolicyTrackedResourcesQueryResults;
|
|
1279
|
-
|
|
1280
|
-
// @public
|
|
1281
|
-
export interface PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1282
|
-
queryOptions?: QueryOptions;
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
// @public
|
|
1286
|
-
export type PolicyTrackedResourcesListQueryResultsForSubscriptionResponse = PolicyTrackedResourcesQueryResults;
|
|
1287
|
-
|
|
1288
|
-
// @public
|
|
1289
|
-
export interface PolicyTrackedResourcesQueryResults {
|
|
1290
|
-
readonly nextLink?: string;
|
|
1291
|
-
readonly value?: PolicyTrackedResource[];
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
// @public
|
|
1295
|
-
export type PolicyTrackedResourcesResourceType = string;
|
|
1296
|
-
|
|
1297
|
-
// @public
|
|
1298
|
-
export interface QueryFailure {
|
|
1299
|
-
error?: QueryFailureError;
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
// @public
|
|
1303
|
-
export interface QueryFailureError {
|
|
1304
|
-
readonly code?: string;
|
|
1305
|
-
readonly message?: string;
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
// @public
|
|
1309
|
-
export interface QueryOptions {
|
|
1310
|
-
apply?: string;
|
|
1311
|
-
expand?: string;
|
|
1312
|
-
filter?: string;
|
|
1313
|
-
from?: Date;
|
|
1314
|
-
orderBy?: string;
|
|
1315
|
-
select?: string;
|
|
1316
|
-
skipToken?: string;
|
|
1317
|
-
to?: Date;
|
|
1318
|
-
top?: number;
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
// @public
|
|
1322
|
-
export interface Remediation {
|
|
1323
|
-
readonly correlationId?: string;
|
|
1324
|
-
readonly createdOn?: Date;
|
|
1325
|
-
readonly deploymentStatus?: RemediationDeploymentSummary;
|
|
1326
|
-
failureThreshold?: RemediationPropertiesFailureThreshold;
|
|
1327
|
-
filters?: RemediationFilters;
|
|
1328
|
-
readonly id?: string;
|
|
1329
|
-
readonly lastUpdatedOn?: Date;
|
|
1330
|
-
readonly name?: string;
|
|
1331
|
-
parallelDeployments?: number;
|
|
1332
|
-
policyAssignmentId?: string;
|
|
1333
|
-
policyDefinitionReferenceId?: string;
|
|
1334
|
-
readonly provisioningState?: string;
|
|
1335
|
-
resourceCount?: number;
|
|
1336
|
-
resourceDiscoveryMode?: ResourceDiscoveryMode;
|
|
1337
|
-
readonly statusMessage?: string;
|
|
1338
|
-
readonly systemData?: SystemData;
|
|
1339
|
-
readonly type?: string;
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
// @public
|
|
1343
|
-
export interface RemediationDeployment {
|
|
1344
|
-
readonly createdOn?: Date;
|
|
1345
|
-
readonly deploymentId?: string;
|
|
1346
|
-
readonly error?: ErrorDefinition;
|
|
1347
|
-
readonly lastUpdatedOn?: Date;
|
|
1348
|
-
readonly remediatedResourceId?: string;
|
|
1349
|
-
readonly resourceLocation?: string;
|
|
1350
|
-
readonly status?: string;
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
|
-
// @public
|
|
1354
|
-
export interface RemediationDeploymentsListResult {
|
|
1355
|
-
readonly nextLink?: string;
|
|
1356
|
-
readonly value?: RemediationDeployment[];
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
// @public
|
|
1360
|
-
export interface RemediationDeploymentSummary {
|
|
1361
|
-
readonly failedDeployments?: number;
|
|
1362
|
-
readonly successfulDeployments?: number;
|
|
1363
|
-
readonly totalDeployments?: number;
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
// @public
|
|
1367
|
-
export interface RemediationFilters {
|
|
1368
|
-
locations?: string[];
|
|
1369
|
-
resourceIds?: string[];
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
// @public
|
|
1373
|
-
export interface RemediationListResult {
|
|
1374
|
-
readonly nextLink?: string;
|
|
1375
|
-
readonly value?: Remediation[];
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
// @public
|
|
1379
|
-
export interface RemediationPropertiesFailureThreshold {
|
|
1380
|
-
percentage?: number;
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
// @public
|
|
1384
|
-
export interface Remediations {
|
|
1385
|
-
cancelAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsCancelAtManagementGroupOptionalParams): Promise<RemediationsCancelAtManagementGroupResponse>;
|
|
1386
|
-
cancelAtResource(resourceId: string, remediationName: string, options?: RemediationsCancelAtResourceOptionalParams): Promise<RemediationsCancelAtResourceResponse>;
|
|
1387
|
-
cancelAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsCancelAtResourceGroupOptionalParams): Promise<RemediationsCancelAtResourceGroupResponse>;
|
|
1388
|
-
cancelAtSubscription(remediationName: string, options?: RemediationsCancelAtSubscriptionOptionalParams): Promise<RemediationsCancelAtSubscriptionResponse>;
|
|
1389
|
-
createOrUpdateAtManagementGroup(managementGroupId: string, remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtManagementGroupOptionalParams): Promise<RemediationsCreateOrUpdateAtManagementGroupResponse>;
|
|
1390
|
-
createOrUpdateAtResource(resourceId: string, remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtResourceOptionalParams): Promise<RemediationsCreateOrUpdateAtResourceResponse>;
|
|
1391
|
-
createOrUpdateAtResourceGroup(resourceGroupName: string, remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtResourceGroupOptionalParams): Promise<RemediationsCreateOrUpdateAtResourceGroupResponse>;
|
|
1392
|
-
createOrUpdateAtSubscription(remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtSubscriptionOptionalParams): Promise<RemediationsCreateOrUpdateAtSubscriptionResponse>;
|
|
1393
|
-
deleteAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsDeleteAtManagementGroupOptionalParams): Promise<RemediationsDeleteAtManagementGroupResponse>;
|
|
1394
|
-
deleteAtResource(resourceId: string, remediationName: string, options?: RemediationsDeleteAtResourceOptionalParams): Promise<RemediationsDeleteAtResourceResponse>;
|
|
1395
|
-
deleteAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsDeleteAtResourceGroupOptionalParams): Promise<RemediationsDeleteAtResourceGroupResponse>;
|
|
1396
|
-
deleteAtSubscription(remediationName: string, options?: RemediationsDeleteAtSubscriptionOptionalParams): Promise<RemediationsDeleteAtSubscriptionResponse>;
|
|
1397
|
-
getAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsGetAtManagementGroupOptionalParams): Promise<RemediationsGetAtManagementGroupResponse>;
|
|
1398
|
-
getAtResource(resourceId: string, remediationName: string, options?: RemediationsGetAtResourceOptionalParams): Promise<RemediationsGetAtResourceResponse>;
|
|
1399
|
-
getAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsGetAtResourceGroupOptionalParams): Promise<RemediationsGetAtResourceGroupResponse>;
|
|
1400
|
-
getAtSubscription(remediationName: string, options?: RemediationsGetAtSubscriptionOptionalParams): Promise<RemediationsGetAtSubscriptionResponse>;
|
|
1401
|
-
listDeploymentsAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsListDeploymentsAtManagementGroupOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
|
|
1402
|
-
listDeploymentsAtResource(resourceId: string, remediationName: string, options?: RemediationsListDeploymentsAtResourceOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
|
|
1403
|
-
listDeploymentsAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsListDeploymentsAtResourceGroupOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
|
|
1404
|
-
listDeploymentsAtSubscription(remediationName: string, options?: RemediationsListDeploymentsAtSubscriptionOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
|
|
1405
|
-
listForManagementGroup(managementGroupId: string, options?: RemediationsListForManagementGroupOptionalParams): PagedAsyncIterableIterator<Remediation>;
|
|
1406
|
-
listForResource(resourceId: string, options?: RemediationsListForResourceOptionalParams): PagedAsyncIterableIterator<Remediation>;
|
|
1407
|
-
listForResourceGroup(resourceGroupName: string, options?: RemediationsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<Remediation>;
|
|
1408
|
-
listForSubscription(options?: RemediationsListForSubscriptionOptionalParams): PagedAsyncIterableIterator<Remediation>;
|
|
1409
|
-
}
|
|
1410
|
-
|
|
1411
|
-
// @public
|
|
1412
|
-
export interface RemediationsCancelAtManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
// @public
|
|
1416
|
-
export type RemediationsCancelAtManagementGroupResponse = Remediation;
|
|
1417
|
-
|
|
1418
|
-
// @public
|
|
1419
|
-
export interface RemediationsCancelAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
// @public
|
|
1423
|
-
export type RemediationsCancelAtResourceGroupResponse = Remediation;
|
|
1424
|
-
|
|
1425
|
-
// @public
|
|
1426
|
-
export interface RemediationsCancelAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
|
-
// @public
|
|
1430
|
-
export type RemediationsCancelAtResourceResponse = Remediation;
|
|
1431
|
-
|
|
1432
|
-
// @public
|
|
1433
|
-
export interface RemediationsCancelAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1434
|
-
}
|
|
1435
|
-
|
|
1436
|
-
// @public
|
|
1437
|
-
export type RemediationsCancelAtSubscriptionResponse = Remediation;
|
|
1438
|
-
|
|
1439
|
-
// @public
|
|
1440
|
-
export interface RemediationsCreateOrUpdateAtManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
// @public
|
|
1444
|
-
export type RemediationsCreateOrUpdateAtManagementGroupResponse = Remediation;
|
|
1445
|
-
|
|
1446
|
-
// @public
|
|
1447
|
-
export interface RemediationsCreateOrUpdateAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
// @public
|
|
1451
|
-
export type RemediationsCreateOrUpdateAtResourceGroupResponse = Remediation;
|
|
1452
|
-
|
|
1453
|
-
// @public
|
|
1454
|
-
export interface RemediationsCreateOrUpdateAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
// @public
|
|
1458
|
-
export type RemediationsCreateOrUpdateAtResourceResponse = Remediation;
|
|
1459
|
-
|
|
1460
|
-
// @public
|
|
1461
|
-
export interface RemediationsCreateOrUpdateAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1462
|
-
}
|
|
1463
|
-
|
|
1464
|
-
// @public
|
|
1465
|
-
export type RemediationsCreateOrUpdateAtSubscriptionResponse = Remediation;
|
|
1466
|
-
|
|
1467
|
-
// @public
|
|
1468
|
-
export interface RemediationsDeleteAtManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
// @public
|
|
1472
|
-
export type RemediationsDeleteAtManagementGroupResponse = Remediation;
|
|
1473
|
-
|
|
1474
|
-
// @public
|
|
1475
|
-
export interface RemediationsDeleteAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
-
// @public
|
|
1479
|
-
export type RemediationsDeleteAtResourceGroupResponse = Remediation;
|
|
1480
|
-
|
|
1481
|
-
// @public
|
|
1482
|
-
export interface RemediationsDeleteAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
// @public
|
|
1486
|
-
export type RemediationsDeleteAtResourceResponse = Remediation;
|
|
1487
|
-
|
|
1488
|
-
// @public
|
|
1489
|
-
export interface RemediationsDeleteAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
// @public
|
|
1493
|
-
export type RemediationsDeleteAtSubscriptionResponse = Remediation;
|
|
1494
|
-
|
|
1495
|
-
// @public
|
|
1496
|
-
export interface RemediationsGetAtManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
// @public
|
|
1500
|
-
export type RemediationsGetAtManagementGroupResponse = Remediation;
|
|
1501
|
-
|
|
1502
|
-
// @public
|
|
1503
|
-
export interface RemediationsGetAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
// @public
|
|
1507
|
-
export type RemediationsGetAtResourceGroupResponse = Remediation;
|
|
1508
|
-
|
|
1509
|
-
// @public
|
|
1510
|
-
export interface RemediationsGetAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
1511
|
-
}
|
|
1512
|
-
|
|
1513
|
-
// @public
|
|
1514
|
-
export type RemediationsGetAtResourceResponse = Remediation;
|
|
1515
|
-
|
|
1516
|
-
// @public
|
|
1517
|
-
export interface RemediationsGetAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
// @public
|
|
1521
|
-
export type RemediationsGetAtSubscriptionResponse = Remediation;
|
|
1522
|
-
|
|
1523
|
-
// @public
|
|
1524
|
-
export interface RemediationsListDeploymentsAtManagementGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
// @public
|
|
1528
|
-
export type RemediationsListDeploymentsAtManagementGroupNextResponse = RemediationDeploymentsListResult;
|
|
1529
|
-
|
|
1530
|
-
// @public
|
|
1531
|
-
export interface RemediationsListDeploymentsAtManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1532
|
-
queryOptions?: QueryOptions;
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
|
-
// @public
|
|
1536
|
-
export type RemediationsListDeploymentsAtManagementGroupResponse = RemediationDeploymentsListResult;
|
|
1537
|
-
|
|
1538
|
-
// @public
|
|
1539
|
-
export interface RemediationsListDeploymentsAtResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
// @public
|
|
1543
|
-
export type RemediationsListDeploymentsAtResourceGroupNextResponse = RemediationDeploymentsListResult;
|
|
1544
|
-
|
|
1545
|
-
// @public
|
|
1546
|
-
export interface RemediationsListDeploymentsAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1547
|
-
queryOptions?: QueryOptions;
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
// @public
|
|
1551
|
-
export type RemediationsListDeploymentsAtResourceGroupResponse = RemediationDeploymentsListResult;
|
|
1552
|
-
|
|
1553
|
-
// @public
|
|
1554
|
-
export interface RemediationsListDeploymentsAtResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
// @public
|
|
1558
|
-
export type RemediationsListDeploymentsAtResourceNextResponse = RemediationDeploymentsListResult;
|
|
1559
|
-
|
|
1560
|
-
// @public
|
|
1561
|
-
export interface RemediationsListDeploymentsAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
1562
|
-
queryOptions?: QueryOptions;
|
|
1563
|
-
}
|
|
1564
|
-
|
|
1565
|
-
// @public
|
|
1566
|
-
export type RemediationsListDeploymentsAtResourceResponse = RemediationDeploymentsListResult;
|
|
1567
|
-
|
|
1568
|
-
// @public
|
|
1569
|
-
export interface RemediationsListDeploymentsAtSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1570
|
-
}
|
|
1571
|
-
|
|
1572
|
-
// @public
|
|
1573
|
-
export type RemediationsListDeploymentsAtSubscriptionNextResponse = RemediationDeploymentsListResult;
|
|
1574
|
-
|
|
1575
|
-
// @public
|
|
1576
|
-
export interface RemediationsListDeploymentsAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1577
|
-
queryOptions?: QueryOptions;
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
|
-
// @public
|
|
1581
|
-
export type RemediationsListDeploymentsAtSubscriptionResponse = RemediationDeploymentsListResult;
|
|
1582
|
-
|
|
1583
|
-
// @public
|
|
1584
|
-
export interface RemediationsListForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1585
|
-
}
|
|
1586
|
-
|
|
1587
|
-
// @public
|
|
1588
|
-
export type RemediationsListForManagementGroupNextResponse = RemediationListResult;
|
|
1589
|
-
|
|
1590
|
-
// @public
|
|
1591
|
-
export interface RemediationsListForManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1592
|
-
queryOptions?: QueryOptions;
|
|
1593
|
-
}
|
|
1594
|
-
|
|
1595
|
-
// @public
|
|
1596
|
-
export type RemediationsListForManagementGroupResponse = RemediationListResult;
|
|
1597
|
-
|
|
1598
|
-
// @public
|
|
1599
|
-
export interface RemediationsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1600
|
-
}
|
|
1601
|
-
|
|
1602
|
-
// @public
|
|
1603
|
-
export type RemediationsListForResourceGroupNextResponse = RemediationListResult;
|
|
1604
|
-
|
|
1605
|
-
// @public
|
|
1606
|
-
export interface RemediationsListForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1607
|
-
queryOptions?: QueryOptions;
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
// @public
|
|
1611
|
-
export type RemediationsListForResourceGroupResponse = RemediationListResult;
|
|
1612
|
-
|
|
1613
|
-
// @public
|
|
1614
|
-
export interface RemediationsListForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
// @public
|
|
1618
|
-
export type RemediationsListForResourceNextResponse = RemediationListResult;
|
|
1619
|
-
|
|
1620
|
-
// @public
|
|
1621
|
-
export interface RemediationsListForResourceOptionalParams extends coreClient.OperationOptions {
|
|
1622
|
-
queryOptions?: QueryOptions;
|
|
1623
|
-
}
|
|
1624
|
-
|
|
1625
|
-
// @public
|
|
1626
|
-
export type RemediationsListForResourceResponse = RemediationListResult;
|
|
1627
|
-
|
|
1628
|
-
// @public
|
|
1629
|
-
export interface RemediationsListForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
// @public
|
|
1633
|
-
export type RemediationsListForSubscriptionNextResponse = RemediationListResult;
|
|
1634
|
-
|
|
1635
|
-
// @public
|
|
1636
|
-
export interface RemediationsListForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1637
|
-
queryOptions?: QueryOptions;
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
// @public
|
|
1641
|
-
export type RemediationsListForSubscriptionResponse = RemediationListResult;
|
|
1642
|
-
|
|
1643
|
-
// @public
|
|
1644
|
-
export interface Resource {
|
|
1645
|
-
readonly id?: string;
|
|
1646
|
-
readonly name?: string;
|
|
1647
|
-
readonly type?: string;
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
// @public
|
|
1651
|
-
export type ResourceDiscoveryMode = string;
|
|
1652
|
-
|
|
1653
|
-
// @public
|
|
1654
|
-
export interface SlimPolicyMetadata {
|
|
1655
|
-
readonly additionalContentUrl?: string;
|
|
1656
|
-
readonly category?: string;
|
|
1657
|
-
readonly id?: string;
|
|
1658
|
-
readonly metadata?: Record<string, unknown>;
|
|
1659
|
-
readonly metadataId?: string;
|
|
1660
|
-
readonly name?: string;
|
|
1661
|
-
readonly owner?: string;
|
|
1662
|
-
readonly title?: string;
|
|
1663
|
-
readonly type?: string;
|
|
1664
|
-
}
|
|
1665
|
-
|
|
1666
|
-
// @public
|
|
1667
|
-
export interface SummarizeResults {
|
|
1668
|
-
odataContext?: string;
|
|
1669
|
-
odataCount?: number;
|
|
1670
|
-
value?: Summary[];
|
|
1671
|
-
}
|
|
1672
|
-
|
|
1673
|
-
// @public
|
|
1674
|
-
export interface Summary {
|
|
1675
|
-
odataContext?: string;
|
|
1676
|
-
odataId?: string;
|
|
1677
|
-
policyAssignments?: PolicyAssignmentSummary[];
|
|
1678
|
-
results?: SummaryResults;
|
|
1679
|
-
}
|
|
1680
|
-
|
|
1681
|
-
// @public
|
|
1682
|
-
export interface SummaryResults {
|
|
1683
|
-
nonCompliantPolicies?: number;
|
|
1684
|
-
nonCompliantResources?: number;
|
|
1685
|
-
policyDetails?: ComplianceDetail[];
|
|
1686
|
-
policyGroupDetails?: ComplianceDetail[];
|
|
1687
|
-
queryResultsUri?: string;
|
|
1688
|
-
resourceDetails?: ComplianceDetail[];
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
// @public
|
|
1692
|
-
export interface SystemData {
|
|
1693
|
-
createdAt?: Date;
|
|
1694
|
-
createdBy?: string;
|
|
1695
|
-
createdByType?: CreatedByType;
|
|
1696
|
-
lastModifiedAt?: Date;
|
|
1697
|
-
lastModifiedBy?: string;
|
|
1698
|
-
lastModifiedByType?: CreatedByType;
|
|
1699
|
-
}
|
|
1700
|
-
|
|
1701
|
-
// @public
|
|
1702
|
-
export interface TrackedResourceModificationDetails {
|
|
1703
|
-
readonly deploymentId?: string;
|
|
1704
|
-
readonly deploymentTime?: Date;
|
|
1705
|
-
readonly policyDetails?: PolicyDetails;
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
// @public
|
|
1709
|
-
export interface TypedErrorInfo {
|
|
1710
|
-
readonly info?: any;
|
|
1711
|
-
readonly type?: string;
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
// (No @packageDocumentation comment for this package)
|
|
1715
|
-
|
|
1716
|
-
```
|
|
1
|
+
## API Report File for "@azure/arm-policyinsights"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import * as coreAuth from '@azure/core-auth';
|
|
8
|
+
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { OperationState } from '@azure/core-lro';
|
|
10
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
11
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
12
|
+
|
|
13
|
+
// @public
|
|
14
|
+
export interface Attestation extends Resource {
|
|
15
|
+
assessmentDate?: Date;
|
|
16
|
+
comments?: string;
|
|
17
|
+
complianceState?: ComplianceState;
|
|
18
|
+
evidence?: AttestationEvidence[];
|
|
19
|
+
expiresOn?: Date;
|
|
20
|
+
readonly lastComplianceStateChangeAt?: Date;
|
|
21
|
+
metadata?: Record<string, unknown>;
|
|
22
|
+
owner?: string;
|
|
23
|
+
policyAssignmentId: string;
|
|
24
|
+
policyDefinitionReferenceId?: string;
|
|
25
|
+
readonly provisioningState?: string;
|
|
26
|
+
readonly systemData?: SystemData;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// @public
|
|
30
|
+
export interface AttestationEvidence {
|
|
31
|
+
description?: string;
|
|
32
|
+
sourceUri?: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// @public
|
|
36
|
+
export interface AttestationListResult {
|
|
37
|
+
readonly nextLink?: string;
|
|
38
|
+
readonly value?: Attestation[];
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// @public
|
|
42
|
+
export interface Attestations {
|
|
43
|
+
beginCreateOrUpdateAtResource(resourceId: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceOptionalParams): Promise<SimplePollerLike<OperationState<AttestationsCreateOrUpdateAtResourceResponse>, AttestationsCreateOrUpdateAtResourceResponse>>;
|
|
44
|
+
beginCreateOrUpdateAtResourceAndWait(resourceId: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceOptionalParams): Promise<AttestationsCreateOrUpdateAtResourceResponse>;
|
|
45
|
+
beginCreateOrUpdateAtResourceGroup(resourceGroupName: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceGroupOptionalParams): Promise<SimplePollerLike<OperationState<AttestationsCreateOrUpdateAtResourceGroupResponse>, AttestationsCreateOrUpdateAtResourceGroupResponse>>;
|
|
46
|
+
beginCreateOrUpdateAtResourceGroupAndWait(resourceGroupName: string, attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtResourceGroupOptionalParams): Promise<AttestationsCreateOrUpdateAtResourceGroupResponse>;
|
|
47
|
+
beginCreateOrUpdateAtSubscription(attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtSubscriptionOptionalParams): Promise<SimplePollerLike<OperationState<AttestationsCreateOrUpdateAtSubscriptionResponse>, AttestationsCreateOrUpdateAtSubscriptionResponse>>;
|
|
48
|
+
beginCreateOrUpdateAtSubscriptionAndWait(attestationName: string, parameters: Attestation, options?: AttestationsCreateOrUpdateAtSubscriptionOptionalParams): Promise<AttestationsCreateOrUpdateAtSubscriptionResponse>;
|
|
49
|
+
deleteAtResource(resourceId: string, attestationName: string, options?: AttestationsDeleteAtResourceOptionalParams): Promise<void>;
|
|
50
|
+
deleteAtResourceGroup(resourceGroupName: string, attestationName: string, options?: AttestationsDeleteAtResourceGroupOptionalParams): Promise<void>;
|
|
51
|
+
deleteAtSubscription(attestationName: string, options?: AttestationsDeleteAtSubscriptionOptionalParams): Promise<void>;
|
|
52
|
+
getAtResource(resourceId: string, attestationName: string, options?: AttestationsGetAtResourceOptionalParams): Promise<AttestationsGetAtResourceResponse>;
|
|
53
|
+
getAtResourceGroup(resourceGroupName: string, attestationName: string, options?: AttestationsGetAtResourceGroupOptionalParams): Promise<AttestationsGetAtResourceGroupResponse>;
|
|
54
|
+
getAtSubscription(attestationName: string, options?: AttestationsGetAtSubscriptionOptionalParams): Promise<AttestationsGetAtSubscriptionResponse>;
|
|
55
|
+
listForResource(resourceId: string, options?: AttestationsListForResourceOptionalParams): PagedAsyncIterableIterator<Attestation>;
|
|
56
|
+
listForResourceGroup(resourceGroupName: string, options?: AttestationsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<Attestation>;
|
|
57
|
+
listForSubscription(options?: AttestationsListForSubscriptionOptionalParams): PagedAsyncIterableIterator<Attestation>;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// @public
|
|
61
|
+
export interface AttestationsCreateOrUpdateAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
62
|
+
resumeFrom?: string;
|
|
63
|
+
updateIntervalInMs?: number;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// @public
|
|
67
|
+
export type AttestationsCreateOrUpdateAtResourceGroupResponse = Attestation;
|
|
68
|
+
|
|
69
|
+
// @public
|
|
70
|
+
export interface AttestationsCreateOrUpdateAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
71
|
+
resumeFrom?: string;
|
|
72
|
+
updateIntervalInMs?: number;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// @public
|
|
76
|
+
export type AttestationsCreateOrUpdateAtResourceResponse = Attestation;
|
|
77
|
+
|
|
78
|
+
// @public
|
|
79
|
+
export interface AttestationsCreateOrUpdateAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
80
|
+
resumeFrom?: string;
|
|
81
|
+
updateIntervalInMs?: number;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// @public
|
|
85
|
+
export type AttestationsCreateOrUpdateAtSubscriptionResponse = Attestation;
|
|
86
|
+
|
|
87
|
+
// @public
|
|
88
|
+
export interface AttestationsDeleteAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// @public
|
|
92
|
+
export interface AttestationsDeleteAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// @public
|
|
96
|
+
export interface AttestationsDeleteAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// @public
|
|
100
|
+
export interface AttestationsGetAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// @public
|
|
104
|
+
export type AttestationsGetAtResourceGroupResponse = Attestation;
|
|
105
|
+
|
|
106
|
+
// @public
|
|
107
|
+
export interface AttestationsGetAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// @public
|
|
111
|
+
export type AttestationsGetAtResourceResponse = Attestation;
|
|
112
|
+
|
|
113
|
+
// @public
|
|
114
|
+
export interface AttestationsGetAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// @public
|
|
118
|
+
export type AttestationsGetAtSubscriptionResponse = Attestation;
|
|
119
|
+
|
|
120
|
+
// @public
|
|
121
|
+
export interface AttestationsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// @public
|
|
125
|
+
export type AttestationsListForResourceGroupNextResponse = AttestationListResult;
|
|
126
|
+
|
|
127
|
+
// @public
|
|
128
|
+
export interface AttestationsListForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
129
|
+
queryOptions?: QueryOptions;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// @public
|
|
133
|
+
export type AttestationsListForResourceGroupResponse = AttestationListResult;
|
|
134
|
+
|
|
135
|
+
// @public
|
|
136
|
+
export interface AttestationsListForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// @public
|
|
140
|
+
export type AttestationsListForResourceNextResponse = AttestationListResult;
|
|
141
|
+
|
|
142
|
+
// @public
|
|
143
|
+
export interface AttestationsListForResourceOptionalParams extends coreClient.OperationOptions {
|
|
144
|
+
queryOptions?: QueryOptions;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// @public
|
|
148
|
+
export type AttestationsListForResourceResponse = AttestationListResult;
|
|
149
|
+
|
|
150
|
+
// @public
|
|
151
|
+
export interface AttestationsListForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// @public
|
|
155
|
+
export type AttestationsListForSubscriptionNextResponse = AttestationListResult;
|
|
156
|
+
|
|
157
|
+
// @public
|
|
158
|
+
export interface AttestationsListForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
159
|
+
queryOptions?: QueryOptions;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// @public
|
|
163
|
+
export type AttestationsListForSubscriptionResponse = AttestationListResult;
|
|
164
|
+
|
|
165
|
+
// @public
|
|
166
|
+
export interface CheckManagementGroupRestrictionsRequest {
|
|
167
|
+
pendingFields?: PendingField[];
|
|
168
|
+
resourceDetails?: CheckRestrictionsResourceDetails;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// @public
|
|
172
|
+
export interface CheckRestrictionEvaluationDetails {
|
|
173
|
+
evaluatedExpressions?: ExpressionEvaluationDetails[];
|
|
174
|
+
ifNotExistsDetails?: IfNotExistsEvaluationDetails;
|
|
175
|
+
readonly reason?: string;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// @public
|
|
179
|
+
export interface CheckRestrictionsRequest {
|
|
180
|
+
includeAuditEffect?: boolean;
|
|
181
|
+
pendingFields?: PendingField[];
|
|
182
|
+
resourceDetails: CheckRestrictionsResourceDetails;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// @public
|
|
186
|
+
export interface CheckRestrictionsResourceDetails {
|
|
187
|
+
apiVersion?: string;
|
|
188
|
+
resourceContent: Record<string, unknown>;
|
|
189
|
+
scope?: string;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// @public
|
|
193
|
+
export interface CheckRestrictionsResult {
|
|
194
|
+
readonly contentEvaluationResult?: CheckRestrictionsResultContentEvaluationResult;
|
|
195
|
+
readonly fieldRestrictions?: FieldRestrictions[];
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
// @public
|
|
199
|
+
export interface CheckRestrictionsResultContentEvaluationResult {
|
|
200
|
+
policyEvaluations?: PolicyEvaluationResult[];
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// @public
|
|
204
|
+
export interface ComplianceDetail {
|
|
205
|
+
complianceState?: string;
|
|
206
|
+
count?: number;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// @public
|
|
210
|
+
export type ComplianceState = string;
|
|
211
|
+
|
|
212
|
+
// @public
|
|
213
|
+
export interface ComponentEventDetails {
|
|
214
|
+
[property: string]: any;
|
|
215
|
+
id?: string;
|
|
216
|
+
name?: string;
|
|
217
|
+
policyDefinitionAction?: string;
|
|
218
|
+
principalOid?: string;
|
|
219
|
+
tenantId?: string;
|
|
220
|
+
timestamp?: Date;
|
|
221
|
+
type?: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// @public
|
|
225
|
+
export interface ComponentExpressionEvaluationDetails {
|
|
226
|
+
readonly expression?: string;
|
|
227
|
+
readonly expressionKind?: string;
|
|
228
|
+
readonly expressionValue?: Record<string, unknown>;
|
|
229
|
+
readonly operator?: string;
|
|
230
|
+
readonly path?: string;
|
|
231
|
+
result?: string;
|
|
232
|
+
readonly targetValue?: Record<string, unknown>;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// @public
|
|
236
|
+
export interface ComponentPolicyEvaluationDetails {
|
|
237
|
+
readonly evaluatedExpressions?: ComponentExpressionEvaluationDetails[];
|
|
238
|
+
reason?: string;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// @public
|
|
242
|
+
export interface ComponentPolicyState {
|
|
243
|
+
[property: string]: any;
|
|
244
|
+
readonly complianceState?: string;
|
|
245
|
+
readonly componentId?: string;
|
|
246
|
+
readonly componentName?: string;
|
|
247
|
+
readonly componentType?: string;
|
|
248
|
+
readonly odataContext?: string;
|
|
249
|
+
readonly odataId?: string;
|
|
250
|
+
readonly policyAssignmentId?: string;
|
|
251
|
+
readonly policyAssignmentName?: string;
|
|
252
|
+
readonly policyAssignmentOwner?: string;
|
|
253
|
+
readonly policyAssignmentParameters?: string;
|
|
254
|
+
readonly policyAssignmentScope?: string;
|
|
255
|
+
readonly policyAssignmentVersion?: string;
|
|
256
|
+
readonly policyDefinitionAction?: string;
|
|
257
|
+
readonly policyDefinitionCategory?: string;
|
|
258
|
+
readonly policyDefinitionGroupNames?: string[];
|
|
259
|
+
readonly policyDefinitionId?: string;
|
|
260
|
+
readonly policyDefinitionName?: string;
|
|
261
|
+
readonly policyDefinitionReferenceId?: string;
|
|
262
|
+
readonly policyDefinitionVersion?: string;
|
|
263
|
+
policyEvaluationDetails?: ComponentPolicyEvaluationDetails;
|
|
264
|
+
readonly policySetDefinitionCategory?: string;
|
|
265
|
+
readonly policySetDefinitionId?: string;
|
|
266
|
+
readonly policySetDefinitionName?: string;
|
|
267
|
+
readonly policySetDefinitionOwner?: string;
|
|
268
|
+
readonly policySetDefinitionParameters?: string;
|
|
269
|
+
readonly policySetDefinitionVersion?: string;
|
|
270
|
+
readonly resourceGroup?: string;
|
|
271
|
+
readonly resourceId?: string;
|
|
272
|
+
readonly resourceLocation?: string;
|
|
273
|
+
readonly resourceType?: string;
|
|
274
|
+
readonly subscriptionId?: string;
|
|
275
|
+
readonly timestamp?: Date;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// @public
|
|
279
|
+
export interface ComponentPolicyStates {
|
|
280
|
+
listQueryResultsForPolicyDefinition(subscriptionId: string, policyDefinitionName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForPolicyDefinitionOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForPolicyDefinitionResponse>;
|
|
281
|
+
listQueryResultsForResource(resourceId: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForResourceOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForResourceResponse>;
|
|
282
|
+
listQueryResultsForResourceGroup(subscriptionId: string, resourceGroupName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForResourceGroupOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForResourceGroupResponse>;
|
|
283
|
+
listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse>;
|
|
284
|
+
listQueryResultsForSubscription(subscriptionId: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForSubscriptionOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForSubscriptionResponse>;
|
|
285
|
+
listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId: string, policyAssignmentName: string, componentPolicyStatesResource: ComponentPolicyStatesResource, options?: ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams): Promise<ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse>;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// @public
|
|
289
|
+
export interface ComponentPolicyStatesListQueryResultsForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
290
|
+
apply?: string;
|
|
291
|
+
filter?: string;
|
|
292
|
+
from?: Date;
|
|
293
|
+
orderBy?: string;
|
|
294
|
+
select?: string;
|
|
295
|
+
to?: Date;
|
|
296
|
+
top?: number;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
// @public
|
|
300
|
+
export type ComponentPolicyStatesListQueryResultsForPolicyDefinitionResponse = ComponentPolicyStatesQueryResults;
|
|
301
|
+
|
|
302
|
+
// @public
|
|
303
|
+
export interface ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
304
|
+
apply?: string;
|
|
305
|
+
filter?: string;
|
|
306
|
+
from?: Date;
|
|
307
|
+
orderBy?: string;
|
|
308
|
+
select?: string;
|
|
309
|
+
to?: Date;
|
|
310
|
+
top?: number;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// @public
|
|
314
|
+
export type ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = ComponentPolicyStatesQueryResults;
|
|
315
|
+
|
|
316
|
+
// @public
|
|
317
|
+
export interface ComponentPolicyStatesListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
318
|
+
apply?: string;
|
|
319
|
+
filter?: string;
|
|
320
|
+
from?: Date;
|
|
321
|
+
orderBy?: string;
|
|
322
|
+
select?: string;
|
|
323
|
+
to?: Date;
|
|
324
|
+
top?: number;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
// @public
|
|
328
|
+
export type ComponentPolicyStatesListQueryResultsForResourceGroupResponse = ComponentPolicyStatesQueryResults;
|
|
329
|
+
|
|
330
|
+
// @public
|
|
331
|
+
export interface ComponentPolicyStatesListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
|
|
332
|
+
apply?: string;
|
|
333
|
+
expand?: string;
|
|
334
|
+
filter?: string;
|
|
335
|
+
from?: Date;
|
|
336
|
+
orderBy?: string;
|
|
337
|
+
select?: string;
|
|
338
|
+
to?: Date;
|
|
339
|
+
top?: number;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
// @public
|
|
343
|
+
export type ComponentPolicyStatesListQueryResultsForResourceResponse = ComponentPolicyStatesQueryResults;
|
|
344
|
+
|
|
345
|
+
// @public
|
|
346
|
+
export interface ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
347
|
+
apply?: string;
|
|
348
|
+
filter?: string;
|
|
349
|
+
from?: Date;
|
|
350
|
+
orderBy?: string;
|
|
351
|
+
select?: string;
|
|
352
|
+
to?: Date;
|
|
353
|
+
top?: number;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
// @public
|
|
357
|
+
export type ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = ComponentPolicyStatesQueryResults;
|
|
358
|
+
|
|
359
|
+
// @public
|
|
360
|
+
export interface ComponentPolicyStatesListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
361
|
+
apply?: string;
|
|
362
|
+
filter?: string;
|
|
363
|
+
from?: Date;
|
|
364
|
+
orderBy?: string;
|
|
365
|
+
select?: string;
|
|
366
|
+
to?: Date;
|
|
367
|
+
top?: number;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
// @public
|
|
371
|
+
export type ComponentPolicyStatesListQueryResultsForSubscriptionResponse = ComponentPolicyStatesQueryResults;
|
|
372
|
+
|
|
373
|
+
// @public
|
|
374
|
+
export interface ComponentPolicyStatesQueryResults {
|
|
375
|
+
odataContext?: string;
|
|
376
|
+
odataCount?: number;
|
|
377
|
+
value?: ComponentPolicyState[];
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
// @public
|
|
381
|
+
export type ComponentPolicyStatesResource = string;
|
|
382
|
+
|
|
383
|
+
// @public
|
|
384
|
+
export interface ComponentStateDetails {
|
|
385
|
+
[property: string]: any;
|
|
386
|
+
complianceState?: string;
|
|
387
|
+
id?: string;
|
|
388
|
+
name?: string;
|
|
389
|
+
timestamp?: Date;
|
|
390
|
+
type?: string;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
// @public
|
|
394
|
+
export type CreatedByType = string;
|
|
395
|
+
|
|
396
|
+
// @public
|
|
397
|
+
export interface ErrorDefinition {
|
|
398
|
+
readonly additionalInfo?: TypedErrorInfo[];
|
|
399
|
+
readonly code?: string;
|
|
400
|
+
readonly details?: ErrorDefinition[];
|
|
401
|
+
readonly message?: string;
|
|
402
|
+
readonly target?: string;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
// @public
|
|
406
|
+
export interface ErrorDefinitionAutoGenerated {
|
|
407
|
+
readonly additionalInfo?: TypedErrorInfo[];
|
|
408
|
+
readonly code?: string;
|
|
409
|
+
readonly details?: ErrorDefinitionAutoGenerated[];
|
|
410
|
+
readonly message?: string;
|
|
411
|
+
readonly target?: string;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
// @public
|
|
415
|
+
export interface ErrorDefinitionAutoGenerated2 {
|
|
416
|
+
readonly additionalInfo?: TypedErrorInfo[];
|
|
417
|
+
readonly code?: string;
|
|
418
|
+
readonly details?: ErrorDefinitionAutoGenerated2[];
|
|
419
|
+
readonly message?: string;
|
|
420
|
+
readonly target?: string;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
// @public
|
|
424
|
+
export interface ErrorResponse {
|
|
425
|
+
error?: ErrorDefinition;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
// @public
|
|
429
|
+
export interface ErrorResponseAutoGenerated {
|
|
430
|
+
error?: ErrorDefinitionAutoGenerated;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
// @public
|
|
434
|
+
export interface ErrorResponseAutoGenerated2 {
|
|
435
|
+
error?: ErrorDefinitionAutoGenerated2;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
// @public
|
|
439
|
+
export interface ExpressionEvaluationDetails {
|
|
440
|
+
expression?: string;
|
|
441
|
+
readonly expressionKind?: string;
|
|
442
|
+
expressionValue?: Record<string, unknown>;
|
|
443
|
+
operator?: string;
|
|
444
|
+
path?: string;
|
|
445
|
+
result?: string;
|
|
446
|
+
targetValue?: Record<string, unknown>;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
// @public
|
|
450
|
+
export interface FieldRestriction {
|
|
451
|
+
readonly defaultValue?: string;
|
|
452
|
+
readonly policy?: PolicyReference;
|
|
453
|
+
readonly policyEffect?: string;
|
|
454
|
+
readonly reason?: string;
|
|
455
|
+
readonly result?: FieldRestrictionResult;
|
|
456
|
+
readonly values?: string[];
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
// @public
|
|
460
|
+
export type FieldRestrictionResult = string;
|
|
461
|
+
|
|
462
|
+
// @public
|
|
463
|
+
export interface FieldRestrictions {
|
|
464
|
+
readonly field?: string;
|
|
465
|
+
restrictions?: FieldRestriction[];
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
// @public
|
|
469
|
+
export function getContinuationToken(page: unknown): string | undefined;
|
|
470
|
+
|
|
471
|
+
// @public
|
|
472
|
+
export interface IfNotExistsEvaluationDetails {
|
|
473
|
+
resourceId?: string;
|
|
474
|
+
totalResources?: number;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
// @public
|
|
478
|
+
export enum KnownComplianceState {
|
|
479
|
+
Compliant = "Compliant",
|
|
480
|
+
NonCompliant = "NonCompliant",
|
|
481
|
+
Unknown = "Unknown"
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
// @public
|
|
485
|
+
export enum KnownComponentPolicyStatesResource {
|
|
486
|
+
Latest = "latest"
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
// @public
|
|
490
|
+
export enum KnownCreatedByType {
|
|
491
|
+
Application = "Application",
|
|
492
|
+
Key = "Key",
|
|
493
|
+
ManagedIdentity = "ManagedIdentity",
|
|
494
|
+
User = "User"
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
// @public
|
|
498
|
+
export enum KnownFieldRestrictionResult {
|
|
499
|
+
Audit = "Audit",
|
|
500
|
+
Deny = "Deny",
|
|
501
|
+
Removed = "Removed",
|
|
502
|
+
Required = "Required"
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
// @public
|
|
506
|
+
export enum KnownPolicyEventsResourceType {
|
|
507
|
+
Default = "default"
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
// @public
|
|
511
|
+
export enum KnownPolicyStatesResource {
|
|
512
|
+
Default = "default",
|
|
513
|
+
Latest = "latest"
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
// @public
|
|
517
|
+
export enum KnownPolicyStatesSummaryResourceType {
|
|
518
|
+
Latest = "latest"
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
// @public
|
|
522
|
+
export enum KnownPolicyTrackedResourcesResourceType {
|
|
523
|
+
Default = "default"
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
// @public
|
|
527
|
+
export enum KnownResourceDiscoveryMode {
|
|
528
|
+
ExistingNonCompliant = "ExistingNonCompliant",
|
|
529
|
+
ReEvaluateCompliance = "ReEvaluateCompliance"
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
// @public
|
|
533
|
+
export interface Operation {
|
|
534
|
+
display?: OperationDisplay;
|
|
535
|
+
isDataAction?: boolean;
|
|
536
|
+
name?: string;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// @public
|
|
540
|
+
export interface OperationDisplay {
|
|
541
|
+
description?: string;
|
|
542
|
+
operation?: string;
|
|
543
|
+
provider?: string;
|
|
544
|
+
resource?: string;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
// @public
|
|
548
|
+
export interface Operations {
|
|
549
|
+
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
// @public
|
|
553
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
// @public
|
|
557
|
+
export type OperationsListResponse = OperationsListResults;
|
|
558
|
+
|
|
559
|
+
// @public
|
|
560
|
+
export interface OperationsListResults {
|
|
561
|
+
odataCount?: number;
|
|
562
|
+
value?: Operation[];
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
// @public
|
|
566
|
+
export interface PendingField {
|
|
567
|
+
field: string;
|
|
568
|
+
values?: string[];
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
// @public
|
|
572
|
+
export interface PolicyAssignmentSummary {
|
|
573
|
+
policyAssignmentId?: string;
|
|
574
|
+
policyDefinitions?: PolicyDefinitionSummary[];
|
|
575
|
+
policyGroups?: PolicyGroupSummary[];
|
|
576
|
+
policySetDefinitionId?: string;
|
|
577
|
+
results?: SummaryResults;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
// @public
|
|
581
|
+
export interface PolicyDefinitionSummary {
|
|
582
|
+
effect?: string;
|
|
583
|
+
policyDefinitionGroupNames?: string[];
|
|
584
|
+
policyDefinitionId?: string;
|
|
585
|
+
policyDefinitionReferenceId?: string;
|
|
586
|
+
results?: SummaryResults;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
// @public
|
|
590
|
+
export interface PolicyDetails {
|
|
591
|
+
readonly policyAssignmentDisplayName?: string;
|
|
592
|
+
readonly policyAssignmentId?: string;
|
|
593
|
+
readonly policyAssignmentScope?: string;
|
|
594
|
+
readonly policyDefinitionId?: string;
|
|
595
|
+
readonly policyDefinitionReferenceId?: string;
|
|
596
|
+
readonly policySetDefinitionId?: string;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
// @public
|
|
600
|
+
export interface PolicyEffectDetails {
|
|
601
|
+
readonly policyEffect?: string;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
// @public
|
|
605
|
+
export interface PolicyEvaluationDetails {
|
|
606
|
+
evaluatedExpressions?: ExpressionEvaluationDetails[];
|
|
607
|
+
ifNotExistsDetails?: IfNotExistsEvaluationDetails;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
// @public
|
|
611
|
+
export interface PolicyEvaluationResult {
|
|
612
|
+
readonly effectDetails?: PolicyEffectDetails;
|
|
613
|
+
readonly evaluationDetails?: CheckRestrictionEvaluationDetails;
|
|
614
|
+
readonly evaluationResult?: string;
|
|
615
|
+
readonly policyInfo?: PolicyReference;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
// @public
|
|
619
|
+
export interface PolicyEvent {
|
|
620
|
+
[property: string]: any;
|
|
621
|
+
complianceState?: string;
|
|
622
|
+
components?: ComponentEventDetails[];
|
|
623
|
+
effectiveParameters?: string;
|
|
624
|
+
isCompliant?: boolean;
|
|
625
|
+
managementGroupIds?: string;
|
|
626
|
+
odataContext?: string;
|
|
627
|
+
odataId?: string;
|
|
628
|
+
policyAssignmentId?: string;
|
|
629
|
+
policyAssignmentName?: string;
|
|
630
|
+
policyAssignmentOwner?: string;
|
|
631
|
+
policyAssignmentParameters?: string;
|
|
632
|
+
policyAssignmentScope?: string;
|
|
633
|
+
policyDefinitionAction?: string;
|
|
634
|
+
policyDefinitionCategory?: string;
|
|
635
|
+
policyDefinitionId?: string;
|
|
636
|
+
policyDefinitionName?: string;
|
|
637
|
+
policyDefinitionReferenceId?: string;
|
|
638
|
+
policySetDefinitionCategory?: string;
|
|
639
|
+
policySetDefinitionId?: string;
|
|
640
|
+
policySetDefinitionName?: string;
|
|
641
|
+
policySetDefinitionOwner?: string;
|
|
642
|
+
policySetDefinitionParameters?: string;
|
|
643
|
+
principalOid?: string;
|
|
644
|
+
resourceGroup?: string;
|
|
645
|
+
resourceId?: string;
|
|
646
|
+
resourceLocation?: string;
|
|
647
|
+
resourceTags?: string;
|
|
648
|
+
resourceType?: string;
|
|
649
|
+
subscriptionId?: string;
|
|
650
|
+
tenantId?: string;
|
|
651
|
+
timestamp?: Date;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
// @public
|
|
655
|
+
export interface PolicyEvents {
|
|
656
|
+
listQueryResultsForManagementGroup(policyEventsResource: PolicyEventsResourceType, managementGroupName: string, options?: PolicyEventsListQueryResultsForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
657
|
+
listQueryResultsForPolicyDefinition(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, policyDefinitionName: string, options?: PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
658
|
+
listQueryResultsForPolicySetDefinition(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, policySetDefinitionName: string, options?: PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
659
|
+
listQueryResultsForResource(policyEventsResource: PolicyEventsResourceType, resourceId: string, options?: PolicyEventsListQueryResultsForResourceOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
660
|
+
listQueryResultsForResourceGroup(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, resourceGroupName: string, options?: PolicyEventsListQueryResultsForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
661
|
+
listQueryResultsForResourceGroupLevelPolicyAssignment(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
662
|
+
listQueryResultsForSubscription(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, options?: PolicyEventsListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
663
|
+
listQueryResultsForSubscriptionLevelPolicyAssignment(policyEventsResource: PolicyEventsResourceType, subscriptionId: string, policyAssignmentName: string, options?: PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyEvent>;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
// @public
|
|
667
|
+
export interface PolicyEventsListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
// @public
|
|
671
|
+
export type PolicyEventsListQueryResultsForManagementGroupNextResponse = PolicyEventsQueryResults;
|
|
672
|
+
|
|
673
|
+
// @public
|
|
674
|
+
export interface PolicyEventsListQueryResultsForManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
675
|
+
queryOptions?: QueryOptions;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
// @public
|
|
679
|
+
export type PolicyEventsListQueryResultsForManagementGroupResponse = PolicyEventsQueryResults;
|
|
680
|
+
|
|
681
|
+
// @public
|
|
682
|
+
export interface PolicyEventsListQueryResultsForPolicyDefinitionNextOptionalParams extends coreClient.OperationOptions {
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
// @public
|
|
686
|
+
export type PolicyEventsListQueryResultsForPolicyDefinitionNextResponse = PolicyEventsQueryResults;
|
|
687
|
+
|
|
688
|
+
// @public
|
|
689
|
+
export interface PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
690
|
+
queryOptions?: QueryOptions;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
// @public
|
|
694
|
+
export type PolicyEventsListQueryResultsForPolicyDefinitionResponse = PolicyEventsQueryResults;
|
|
695
|
+
|
|
696
|
+
// @public
|
|
697
|
+
export interface PolicyEventsListQueryResultsForPolicySetDefinitionNextOptionalParams extends coreClient.OperationOptions {
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
// @public
|
|
701
|
+
export type PolicyEventsListQueryResultsForPolicySetDefinitionNextResponse = PolicyEventsQueryResults;
|
|
702
|
+
|
|
703
|
+
// @public
|
|
704
|
+
export interface PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
705
|
+
queryOptions?: QueryOptions;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
// @public
|
|
709
|
+
export type PolicyEventsListQueryResultsForPolicySetDefinitionResponse = PolicyEventsQueryResults;
|
|
710
|
+
|
|
711
|
+
// @public
|
|
712
|
+
export interface PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
// @public
|
|
716
|
+
export type PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentNextResponse = PolicyEventsQueryResults;
|
|
717
|
+
|
|
718
|
+
// @public
|
|
719
|
+
export interface PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
720
|
+
queryOptions?: QueryOptions;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
// @public
|
|
724
|
+
export type PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = PolicyEventsQueryResults;
|
|
725
|
+
|
|
726
|
+
// @public
|
|
727
|
+
export interface PolicyEventsListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
// @public
|
|
731
|
+
export type PolicyEventsListQueryResultsForResourceGroupNextResponse = PolicyEventsQueryResults;
|
|
732
|
+
|
|
733
|
+
// @public
|
|
734
|
+
export interface PolicyEventsListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
735
|
+
queryOptions?: QueryOptions;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
// @public
|
|
739
|
+
export type PolicyEventsListQueryResultsForResourceGroupResponse = PolicyEventsQueryResults;
|
|
740
|
+
|
|
741
|
+
// @public
|
|
742
|
+
export interface PolicyEventsListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
// @public
|
|
746
|
+
export type PolicyEventsListQueryResultsForResourceNextResponse = PolicyEventsQueryResults;
|
|
747
|
+
|
|
748
|
+
// @public
|
|
749
|
+
export interface PolicyEventsListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
|
|
750
|
+
queryOptions?: QueryOptions;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
// @public
|
|
754
|
+
export type PolicyEventsListQueryResultsForResourceResponse = PolicyEventsQueryResults;
|
|
755
|
+
|
|
756
|
+
// @public
|
|
757
|
+
export interface PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
// @public
|
|
761
|
+
export type PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentNextResponse = PolicyEventsQueryResults;
|
|
762
|
+
|
|
763
|
+
// @public
|
|
764
|
+
export interface PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
765
|
+
queryOptions?: QueryOptions;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
// @public
|
|
769
|
+
export type PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = PolicyEventsQueryResults;
|
|
770
|
+
|
|
771
|
+
// @public
|
|
772
|
+
export interface PolicyEventsListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
// @public
|
|
776
|
+
export type PolicyEventsListQueryResultsForSubscriptionNextResponse = PolicyEventsQueryResults;
|
|
777
|
+
|
|
778
|
+
// @public
|
|
779
|
+
export interface PolicyEventsListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
780
|
+
queryOptions?: QueryOptions;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
// @public
|
|
784
|
+
export type PolicyEventsListQueryResultsForSubscriptionResponse = PolicyEventsQueryResults;
|
|
785
|
+
|
|
786
|
+
// @public
|
|
787
|
+
export interface PolicyEventsQueryResults {
|
|
788
|
+
odataContext?: string;
|
|
789
|
+
odataCount?: number;
|
|
790
|
+
odataNextLink?: string;
|
|
791
|
+
value?: PolicyEvent[];
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
// @public
|
|
795
|
+
export type PolicyEventsResourceType = string;
|
|
796
|
+
|
|
797
|
+
// @public
|
|
798
|
+
export interface PolicyGroupSummary {
|
|
799
|
+
policyGroupName?: string;
|
|
800
|
+
results?: SummaryResults;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
// @public (undocumented)
|
|
804
|
+
export class PolicyInsightsClient extends coreClient.ServiceClient {
|
|
805
|
+
// (undocumented)
|
|
806
|
+
$host: string;
|
|
807
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PolicyInsightsClientOptionalParams);
|
|
808
|
+
constructor(credentials: coreAuth.TokenCredential, options?: PolicyInsightsClientOptionalParams);
|
|
809
|
+
// (undocumented)
|
|
810
|
+
attestations: Attestations;
|
|
811
|
+
// (undocumented)
|
|
812
|
+
componentPolicyStates: ComponentPolicyStates;
|
|
813
|
+
// (undocumented)
|
|
814
|
+
operations: Operations;
|
|
815
|
+
// (undocumented)
|
|
816
|
+
policyEvents: PolicyEvents;
|
|
817
|
+
// (undocumented)
|
|
818
|
+
policyMetadataOperations: PolicyMetadataOperations;
|
|
819
|
+
// (undocumented)
|
|
820
|
+
policyRestrictions: PolicyRestrictions;
|
|
821
|
+
// (undocumented)
|
|
822
|
+
policyStates: PolicyStates;
|
|
823
|
+
// (undocumented)
|
|
824
|
+
policyTrackedResources: PolicyTrackedResources;
|
|
825
|
+
// (undocumented)
|
|
826
|
+
remediations: Remediations;
|
|
827
|
+
// (undocumented)
|
|
828
|
+
subscriptionId?: string;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
// @public
|
|
832
|
+
export interface PolicyInsightsClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
833
|
+
$host?: string;
|
|
834
|
+
endpoint?: string;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
// @public
|
|
838
|
+
export interface PolicyMetadata {
|
|
839
|
+
readonly additionalContentUrl?: string;
|
|
840
|
+
readonly category?: string;
|
|
841
|
+
readonly description?: string;
|
|
842
|
+
readonly id?: string;
|
|
843
|
+
readonly metadata?: Record<string, unknown>;
|
|
844
|
+
readonly metadataId?: string;
|
|
845
|
+
readonly name?: string;
|
|
846
|
+
readonly owner?: string;
|
|
847
|
+
readonly requirements?: string;
|
|
848
|
+
readonly title?: string;
|
|
849
|
+
readonly type?: string;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
// @public
|
|
853
|
+
export interface PolicyMetadataCollection {
|
|
854
|
+
readonly nextLink?: string;
|
|
855
|
+
readonly value?: SlimPolicyMetadata[];
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
// @public
|
|
859
|
+
export interface PolicyMetadataGetResourceOptionalParams extends coreClient.OperationOptions {
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
// @public
|
|
863
|
+
export type PolicyMetadataGetResourceResponse = PolicyMetadata;
|
|
864
|
+
|
|
865
|
+
// @public
|
|
866
|
+
export interface PolicyMetadataListNextOptionalParams extends coreClient.OperationOptions {
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
// @public
|
|
870
|
+
export type PolicyMetadataListNextResponse = PolicyMetadataCollection;
|
|
871
|
+
|
|
872
|
+
// @public
|
|
873
|
+
export interface PolicyMetadataListOptionalParams extends coreClient.OperationOptions {
|
|
874
|
+
queryOptions?: QueryOptions;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
// @public
|
|
878
|
+
export type PolicyMetadataListResponse = PolicyMetadataCollection;
|
|
879
|
+
|
|
880
|
+
// @public
|
|
881
|
+
export interface PolicyMetadataOperations {
|
|
882
|
+
getResource(resourceName: string, options?: PolicyMetadataGetResourceOptionalParams): Promise<PolicyMetadataGetResourceResponse>;
|
|
883
|
+
list(options?: PolicyMetadataListOptionalParams): PagedAsyncIterableIterator<SlimPolicyMetadata>;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
// @public
|
|
887
|
+
export interface PolicyMetadataProperties extends PolicyMetadataSlimProperties {
|
|
888
|
+
readonly description?: string;
|
|
889
|
+
readonly requirements?: string;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
// @public
|
|
893
|
+
export interface PolicyMetadataSlimProperties {
|
|
894
|
+
readonly additionalContentUrl?: string;
|
|
895
|
+
readonly category?: string;
|
|
896
|
+
readonly metadata?: Record<string, unknown>;
|
|
897
|
+
readonly metadataId?: string;
|
|
898
|
+
readonly owner?: string;
|
|
899
|
+
readonly title?: string;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
// @public
|
|
903
|
+
export interface PolicyReference {
|
|
904
|
+
readonly policyAssignmentId?: string;
|
|
905
|
+
readonly policyDefinitionId?: string;
|
|
906
|
+
readonly policyDefinitionReferenceId?: string;
|
|
907
|
+
readonly policySetDefinitionId?: string;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
// @public
|
|
911
|
+
export interface PolicyRestrictions {
|
|
912
|
+
checkAtManagementGroupScope(managementGroupId: string, parameters: CheckManagementGroupRestrictionsRequest, options?: PolicyRestrictionsCheckAtManagementGroupScopeOptionalParams): Promise<PolicyRestrictionsCheckAtManagementGroupScopeResponse>;
|
|
913
|
+
checkAtResourceGroupScope(resourceGroupName: string, parameters: CheckRestrictionsRequest, options?: PolicyRestrictionsCheckAtResourceGroupScopeOptionalParams): Promise<PolicyRestrictionsCheckAtResourceGroupScopeResponse>;
|
|
914
|
+
checkAtSubscriptionScope(parameters: CheckRestrictionsRequest, options?: PolicyRestrictionsCheckAtSubscriptionScopeOptionalParams): Promise<PolicyRestrictionsCheckAtSubscriptionScopeResponse>;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
// @public
|
|
918
|
+
export interface PolicyRestrictionsCheckAtManagementGroupScopeOptionalParams extends coreClient.OperationOptions {
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
// @public
|
|
922
|
+
export type PolicyRestrictionsCheckAtManagementGroupScopeResponse = CheckRestrictionsResult;
|
|
923
|
+
|
|
924
|
+
// @public
|
|
925
|
+
export interface PolicyRestrictionsCheckAtResourceGroupScopeOptionalParams extends coreClient.OperationOptions {
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
// @public
|
|
929
|
+
export type PolicyRestrictionsCheckAtResourceGroupScopeResponse = CheckRestrictionsResult;
|
|
930
|
+
|
|
931
|
+
// @public
|
|
932
|
+
export interface PolicyRestrictionsCheckAtSubscriptionScopeOptionalParams extends coreClient.OperationOptions {
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
// @public
|
|
936
|
+
export type PolicyRestrictionsCheckAtSubscriptionScopeResponse = CheckRestrictionsResult;
|
|
937
|
+
|
|
938
|
+
// @public
|
|
939
|
+
export interface PolicyState {
|
|
940
|
+
[property: string]: any;
|
|
941
|
+
complianceState?: string;
|
|
942
|
+
components?: ComponentStateDetails[];
|
|
943
|
+
effectiveParameters?: string;
|
|
944
|
+
isCompliant?: boolean;
|
|
945
|
+
managementGroupIds?: string;
|
|
946
|
+
odataContext?: string;
|
|
947
|
+
odataId?: string;
|
|
948
|
+
policyAssignmentId?: string;
|
|
949
|
+
policyAssignmentName?: string;
|
|
950
|
+
policyAssignmentOwner?: string;
|
|
951
|
+
policyAssignmentParameters?: string;
|
|
952
|
+
policyAssignmentScope?: string;
|
|
953
|
+
readonly policyAssignmentVersion?: string;
|
|
954
|
+
policyDefinitionAction?: string;
|
|
955
|
+
policyDefinitionCategory?: string;
|
|
956
|
+
policyDefinitionGroupNames?: string[];
|
|
957
|
+
policyDefinitionId?: string;
|
|
958
|
+
policyDefinitionName?: string;
|
|
959
|
+
policyDefinitionReferenceId?: string;
|
|
960
|
+
readonly policyDefinitionVersion?: string;
|
|
961
|
+
policyEvaluationDetails?: PolicyEvaluationDetails;
|
|
962
|
+
policySetDefinitionCategory?: string;
|
|
963
|
+
policySetDefinitionId?: string;
|
|
964
|
+
policySetDefinitionName?: string;
|
|
965
|
+
policySetDefinitionOwner?: string;
|
|
966
|
+
policySetDefinitionParameters?: string;
|
|
967
|
+
readonly policySetDefinitionVersion?: string;
|
|
968
|
+
resourceGroup?: string;
|
|
969
|
+
resourceId?: string;
|
|
970
|
+
resourceLocation?: string;
|
|
971
|
+
resourceTags?: string;
|
|
972
|
+
resourceType?: string;
|
|
973
|
+
subscriptionId?: string;
|
|
974
|
+
timestamp?: Date;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
// @public
|
|
978
|
+
export interface PolicyStates {
|
|
979
|
+
beginTriggerResourceGroupEvaluation(subscriptionId: string, resourceGroupName: string, options?: PolicyStatesTriggerResourceGroupEvaluationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
980
|
+
beginTriggerResourceGroupEvaluationAndWait(subscriptionId: string, resourceGroupName: string, options?: PolicyStatesTriggerResourceGroupEvaluationOptionalParams): Promise<void>;
|
|
981
|
+
beginTriggerSubscriptionEvaluation(subscriptionId: string, options?: PolicyStatesTriggerSubscriptionEvaluationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
982
|
+
beginTriggerSubscriptionEvaluationAndWait(subscriptionId: string, options?: PolicyStatesTriggerSubscriptionEvaluationOptionalParams): Promise<void>;
|
|
983
|
+
listQueryResultsForManagementGroup(policyStatesResource: PolicyStatesResource, managementGroupName: string, options?: PolicyStatesListQueryResultsForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
984
|
+
listQueryResultsForPolicyDefinition(policyStatesResource: PolicyStatesResource, subscriptionId: string, policyDefinitionName: string, options?: PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
985
|
+
listQueryResultsForPolicySetDefinition(policyStatesResource: PolicyStatesResource, subscriptionId: string, policySetDefinitionName: string, options?: PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
986
|
+
listQueryResultsForResource(policyStatesResource: PolicyStatesResource, resourceId: string, options?: PolicyStatesListQueryResultsForResourceOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
987
|
+
listQueryResultsForResourceGroup(policyStatesResource: PolicyStatesResource, subscriptionId: string, resourceGroupName: string, options?: PolicyStatesListQueryResultsForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
988
|
+
listQueryResultsForResourceGroupLevelPolicyAssignment(policyStatesResource: PolicyStatesResource, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
989
|
+
listQueryResultsForSubscription(policyStatesResource: PolicyStatesResource, subscriptionId: string, options?: PolicyStatesListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
990
|
+
listQueryResultsForSubscriptionLevelPolicyAssignment(policyStatesResource: PolicyStatesResource, subscriptionId: string, policyAssignmentName: string, options?: PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams): PagedAsyncIterableIterator<PolicyState>;
|
|
991
|
+
summarizeForManagementGroup(policyStatesSummaryResource: PolicyStatesSummaryResourceType, managementGroupName: string, options?: PolicyStatesSummarizeForManagementGroupOptionalParams): Promise<PolicyStatesSummarizeForManagementGroupResponse>;
|
|
992
|
+
summarizeForPolicyDefinition(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, policyDefinitionName: string, options?: PolicyStatesSummarizeForPolicyDefinitionOptionalParams): Promise<PolicyStatesSummarizeForPolicyDefinitionResponse>;
|
|
993
|
+
summarizeForPolicySetDefinition(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, policySetDefinitionName: string, options?: PolicyStatesSummarizeForPolicySetDefinitionOptionalParams): Promise<PolicyStatesSummarizeForPolicySetDefinitionResponse>;
|
|
994
|
+
summarizeForResource(policyStatesSummaryResource: PolicyStatesSummaryResourceType, resourceId: string, options?: PolicyStatesSummarizeForResourceOptionalParams): Promise<PolicyStatesSummarizeForResourceResponse>;
|
|
995
|
+
summarizeForResourceGroup(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, resourceGroupName: string, options?: PolicyStatesSummarizeForResourceGroupOptionalParams): Promise<PolicyStatesSummarizeForResourceGroupResponse>;
|
|
996
|
+
summarizeForResourceGroupLevelPolicyAssignment(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, options?: PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams): Promise<PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentResponse>;
|
|
997
|
+
summarizeForSubscription(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, options?: PolicyStatesSummarizeForSubscriptionOptionalParams): Promise<PolicyStatesSummarizeForSubscriptionResponse>;
|
|
998
|
+
summarizeForSubscriptionLevelPolicyAssignment(policyStatesSummaryResource: PolicyStatesSummaryResourceType, subscriptionId: string, policyAssignmentName: string, options?: PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams): Promise<PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentResponse>;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
// @public
|
|
1002
|
+
export interface PolicyStatesListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
// @public
|
|
1006
|
+
export type PolicyStatesListQueryResultsForManagementGroupNextResponse = PolicyStatesQueryResults;
|
|
1007
|
+
|
|
1008
|
+
// @public
|
|
1009
|
+
export interface PolicyStatesListQueryResultsForManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1010
|
+
queryOptions?: QueryOptions;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
// @public
|
|
1014
|
+
export type PolicyStatesListQueryResultsForManagementGroupResponse = PolicyStatesQueryResults;
|
|
1015
|
+
|
|
1016
|
+
// @public
|
|
1017
|
+
export interface PolicyStatesListQueryResultsForPolicyDefinitionNextOptionalParams extends coreClient.OperationOptions {
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
// @public
|
|
1021
|
+
export type PolicyStatesListQueryResultsForPolicyDefinitionNextResponse = PolicyStatesQueryResults;
|
|
1022
|
+
|
|
1023
|
+
// @public
|
|
1024
|
+
export interface PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
1025
|
+
queryOptions?: QueryOptions;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
// @public
|
|
1029
|
+
export type PolicyStatesListQueryResultsForPolicyDefinitionResponse = PolicyStatesQueryResults;
|
|
1030
|
+
|
|
1031
|
+
// @public
|
|
1032
|
+
export interface PolicyStatesListQueryResultsForPolicySetDefinitionNextOptionalParams extends coreClient.OperationOptions {
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
// @public
|
|
1036
|
+
export type PolicyStatesListQueryResultsForPolicySetDefinitionNextResponse = PolicyStatesQueryResults;
|
|
1037
|
+
|
|
1038
|
+
// @public
|
|
1039
|
+
export interface PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
1040
|
+
queryOptions?: QueryOptions;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
// @public
|
|
1044
|
+
export type PolicyStatesListQueryResultsForPolicySetDefinitionResponse = PolicyStatesQueryResults;
|
|
1045
|
+
|
|
1046
|
+
// @public
|
|
1047
|
+
export interface PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
// @public
|
|
1051
|
+
export type PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentNextResponse = PolicyStatesQueryResults;
|
|
1052
|
+
|
|
1053
|
+
// @public
|
|
1054
|
+
export interface PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
1055
|
+
queryOptions?: QueryOptions;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
// @public
|
|
1059
|
+
export type PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = PolicyStatesQueryResults;
|
|
1060
|
+
|
|
1061
|
+
// @public
|
|
1062
|
+
export interface PolicyStatesListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
// @public
|
|
1066
|
+
export type PolicyStatesListQueryResultsForResourceGroupNextResponse = PolicyStatesQueryResults;
|
|
1067
|
+
|
|
1068
|
+
// @public
|
|
1069
|
+
export interface PolicyStatesListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1070
|
+
queryOptions?: QueryOptions;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
// @public
|
|
1074
|
+
export type PolicyStatesListQueryResultsForResourceGroupResponse = PolicyStatesQueryResults;
|
|
1075
|
+
|
|
1076
|
+
// @public
|
|
1077
|
+
export interface PolicyStatesListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
// @public
|
|
1081
|
+
export type PolicyStatesListQueryResultsForResourceNextResponse = PolicyStatesQueryResults;
|
|
1082
|
+
|
|
1083
|
+
// @public
|
|
1084
|
+
export interface PolicyStatesListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
|
|
1085
|
+
queryOptions?: QueryOptions;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
// @public
|
|
1089
|
+
export type PolicyStatesListQueryResultsForResourceResponse = PolicyStatesQueryResults;
|
|
1090
|
+
|
|
1091
|
+
// @public
|
|
1092
|
+
export interface PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextOptionalParams extends coreClient.OperationOptions {
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
// @public
|
|
1096
|
+
export type PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentNextResponse = PolicyStatesQueryResults;
|
|
1097
|
+
|
|
1098
|
+
// @public
|
|
1099
|
+
export interface PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
1100
|
+
queryOptions?: QueryOptions;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
// @public
|
|
1104
|
+
export type PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = PolicyStatesQueryResults;
|
|
1105
|
+
|
|
1106
|
+
// @public
|
|
1107
|
+
export interface PolicyStatesListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
// @public
|
|
1111
|
+
export type PolicyStatesListQueryResultsForSubscriptionNextResponse = PolicyStatesQueryResults;
|
|
1112
|
+
|
|
1113
|
+
// @public
|
|
1114
|
+
export interface PolicyStatesListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1115
|
+
queryOptions?: QueryOptions;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
// @public
|
|
1119
|
+
export type PolicyStatesListQueryResultsForSubscriptionResponse = PolicyStatesQueryResults;
|
|
1120
|
+
|
|
1121
|
+
// @public
|
|
1122
|
+
export interface PolicyStatesQueryResults {
|
|
1123
|
+
odataContext?: string;
|
|
1124
|
+
odataCount?: number;
|
|
1125
|
+
odataNextLink?: string;
|
|
1126
|
+
value?: PolicyState[];
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
// @public
|
|
1130
|
+
export type PolicyStatesResource = string;
|
|
1131
|
+
|
|
1132
|
+
// @public
|
|
1133
|
+
export interface PolicyStatesSummarizeForManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1134
|
+
queryOptions?: QueryOptions;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
// @public
|
|
1138
|
+
export type PolicyStatesSummarizeForManagementGroupResponse = SummarizeResults;
|
|
1139
|
+
|
|
1140
|
+
// @public
|
|
1141
|
+
export interface PolicyStatesSummarizeForPolicyDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
1142
|
+
queryOptions?: QueryOptions;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
// @public
|
|
1146
|
+
export type PolicyStatesSummarizeForPolicyDefinitionResponse = SummarizeResults;
|
|
1147
|
+
|
|
1148
|
+
// @public
|
|
1149
|
+
export interface PolicyStatesSummarizeForPolicySetDefinitionOptionalParams extends coreClient.OperationOptions {
|
|
1150
|
+
queryOptions?: QueryOptions;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
// @public
|
|
1154
|
+
export type PolicyStatesSummarizeForPolicySetDefinitionResponse = SummarizeResults;
|
|
1155
|
+
|
|
1156
|
+
// @public
|
|
1157
|
+
export interface PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
1158
|
+
queryOptions?: QueryOptions;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
// @public
|
|
1162
|
+
export type PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentResponse = SummarizeResults;
|
|
1163
|
+
|
|
1164
|
+
// @public
|
|
1165
|
+
export interface PolicyStatesSummarizeForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1166
|
+
queryOptions?: QueryOptions;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
// @public
|
|
1170
|
+
export type PolicyStatesSummarizeForResourceGroupResponse = SummarizeResults;
|
|
1171
|
+
|
|
1172
|
+
// @public
|
|
1173
|
+
export interface PolicyStatesSummarizeForResourceOptionalParams extends coreClient.OperationOptions {
|
|
1174
|
+
queryOptions?: QueryOptions;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
// @public
|
|
1178
|
+
export type PolicyStatesSummarizeForResourceResponse = SummarizeResults;
|
|
1179
|
+
|
|
1180
|
+
// @public
|
|
1181
|
+
export interface PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams extends coreClient.OperationOptions {
|
|
1182
|
+
queryOptions?: QueryOptions;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
// @public
|
|
1186
|
+
export type PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentResponse = SummarizeResults;
|
|
1187
|
+
|
|
1188
|
+
// @public
|
|
1189
|
+
export interface PolicyStatesSummarizeForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1190
|
+
queryOptions?: QueryOptions;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
// @public
|
|
1194
|
+
export type PolicyStatesSummarizeForSubscriptionResponse = SummarizeResults;
|
|
1195
|
+
|
|
1196
|
+
// @public
|
|
1197
|
+
export type PolicyStatesSummaryResourceType = string;
|
|
1198
|
+
|
|
1199
|
+
// @public
|
|
1200
|
+
export interface PolicyStatesTriggerResourceGroupEvaluationOptionalParams extends coreClient.OperationOptions {
|
|
1201
|
+
resumeFrom?: string;
|
|
1202
|
+
updateIntervalInMs?: number;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
// @public
|
|
1206
|
+
export interface PolicyStatesTriggerSubscriptionEvaluationOptionalParams extends coreClient.OperationOptions {
|
|
1207
|
+
resumeFrom?: string;
|
|
1208
|
+
updateIntervalInMs?: number;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
// @public
|
|
1212
|
+
export interface PolicyTrackedResource {
|
|
1213
|
+
readonly createdBy?: TrackedResourceModificationDetails;
|
|
1214
|
+
readonly lastModifiedBy?: TrackedResourceModificationDetails;
|
|
1215
|
+
readonly lastUpdateUtc?: Date;
|
|
1216
|
+
readonly policyDetails?: PolicyDetails;
|
|
1217
|
+
readonly trackedResourceId?: string;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
// @public
|
|
1221
|
+
export interface PolicyTrackedResources {
|
|
1222
|
+
listQueryResultsForManagementGroup(managementGroupName: string, policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
|
|
1223
|
+
listQueryResultsForResource(resourceId: string, policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForResourceOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
|
|
1224
|
+
listQueryResultsForResourceGroup(resourceGroupName: string, policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
|
|
1225
|
+
listQueryResultsForSubscription(policyTrackedResourcesResource: PolicyTrackedResourcesResourceType, options?: PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource>;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
// @public
|
|
1229
|
+
export interface PolicyTrackedResourcesListQueryResultsForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
// @public
|
|
1233
|
+
export type PolicyTrackedResourcesListQueryResultsForManagementGroupNextResponse = PolicyTrackedResourcesQueryResults;
|
|
1234
|
+
|
|
1235
|
+
// @public
|
|
1236
|
+
export interface PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1237
|
+
queryOptions?: QueryOptions;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
// @public
|
|
1241
|
+
export type PolicyTrackedResourcesListQueryResultsForManagementGroupResponse = PolicyTrackedResourcesQueryResults;
|
|
1242
|
+
|
|
1243
|
+
// @public
|
|
1244
|
+
export interface PolicyTrackedResourcesListQueryResultsForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
// @public
|
|
1248
|
+
export type PolicyTrackedResourcesListQueryResultsForResourceGroupNextResponse = PolicyTrackedResourcesQueryResults;
|
|
1249
|
+
|
|
1250
|
+
// @public
|
|
1251
|
+
export interface PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1252
|
+
queryOptions?: QueryOptions;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
// @public
|
|
1256
|
+
export type PolicyTrackedResourcesListQueryResultsForResourceGroupResponse = PolicyTrackedResourcesQueryResults;
|
|
1257
|
+
|
|
1258
|
+
// @public
|
|
1259
|
+
export interface PolicyTrackedResourcesListQueryResultsForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
// @public
|
|
1263
|
+
export type PolicyTrackedResourcesListQueryResultsForResourceNextResponse = PolicyTrackedResourcesQueryResults;
|
|
1264
|
+
|
|
1265
|
+
// @public
|
|
1266
|
+
export interface PolicyTrackedResourcesListQueryResultsForResourceOptionalParams extends coreClient.OperationOptions {
|
|
1267
|
+
queryOptions?: QueryOptions;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
// @public
|
|
1271
|
+
export type PolicyTrackedResourcesListQueryResultsForResourceResponse = PolicyTrackedResourcesQueryResults;
|
|
1272
|
+
|
|
1273
|
+
// @public
|
|
1274
|
+
export interface PolicyTrackedResourcesListQueryResultsForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
// @public
|
|
1278
|
+
export type PolicyTrackedResourcesListQueryResultsForSubscriptionNextResponse = PolicyTrackedResourcesQueryResults;
|
|
1279
|
+
|
|
1280
|
+
// @public
|
|
1281
|
+
export interface PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1282
|
+
queryOptions?: QueryOptions;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
// @public
|
|
1286
|
+
export type PolicyTrackedResourcesListQueryResultsForSubscriptionResponse = PolicyTrackedResourcesQueryResults;
|
|
1287
|
+
|
|
1288
|
+
// @public
|
|
1289
|
+
export interface PolicyTrackedResourcesQueryResults {
|
|
1290
|
+
readonly nextLink?: string;
|
|
1291
|
+
readonly value?: PolicyTrackedResource[];
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
// @public
|
|
1295
|
+
export type PolicyTrackedResourcesResourceType = string;
|
|
1296
|
+
|
|
1297
|
+
// @public
|
|
1298
|
+
export interface QueryFailure {
|
|
1299
|
+
error?: QueryFailureError;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
// @public
|
|
1303
|
+
export interface QueryFailureError {
|
|
1304
|
+
readonly code?: string;
|
|
1305
|
+
readonly message?: string;
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
// @public
|
|
1309
|
+
export interface QueryOptions {
|
|
1310
|
+
apply?: string;
|
|
1311
|
+
expand?: string;
|
|
1312
|
+
filter?: string;
|
|
1313
|
+
from?: Date;
|
|
1314
|
+
orderBy?: string;
|
|
1315
|
+
select?: string;
|
|
1316
|
+
skipToken?: string;
|
|
1317
|
+
to?: Date;
|
|
1318
|
+
top?: number;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
// @public
|
|
1322
|
+
export interface Remediation {
|
|
1323
|
+
readonly correlationId?: string;
|
|
1324
|
+
readonly createdOn?: Date;
|
|
1325
|
+
readonly deploymentStatus?: RemediationDeploymentSummary;
|
|
1326
|
+
failureThreshold?: RemediationPropertiesFailureThreshold;
|
|
1327
|
+
filters?: RemediationFilters;
|
|
1328
|
+
readonly id?: string;
|
|
1329
|
+
readonly lastUpdatedOn?: Date;
|
|
1330
|
+
readonly name?: string;
|
|
1331
|
+
parallelDeployments?: number;
|
|
1332
|
+
policyAssignmentId?: string;
|
|
1333
|
+
policyDefinitionReferenceId?: string;
|
|
1334
|
+
readonly provisioningState?: string;
|
|
1335
|
+
resourceCount?: number;
|
|
1336
|
+
resourceDiscoveryMode?: ResourceDiscoveryMode;
|
|
1337
|
+
readonly statusMessage?: string;
|
|
1338
|
+
readonly systemData?: SystemData;
|
|
1339
|
+
readonly type?: string;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
// @public
|
|
1343
|
+
export interface RemediationDeployment {
|
|
1344
|
+
readonly createdOn?: Date;
|
|
1345
|
+
readonly deploymentId?: string;
|
|
1346
|
+
readonly error?: ErrorDefinition;
|
|
1347
|
+
readonly lastUpdatedOn?: Date;
|
|
1348
|
+
readonly remediatedResourceId?: string;
|
|
1349
|
+
readonly resourceLocation?: string;
|
|
1350
|
+
readonly status?: string;
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
// @public
|
|
1354
|
+
export interface RemediationDeploymentsListResult {
|
|
1355
|
+
readonly nextLink?: string;
|
|
1356
|
+
readonly value?: RemediationDeployment[];
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
// @public
|
|
1360
|
+
export interface RemediationDeploymentSummary {
|
|
1361
|
+
readonly failedDeployments?: number;
|
|
1362
|
+
readonly successfulDeployments?: number;
|
|
1363
|
+
readonly totalDeployments?: number;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
// @public
|
|
1367
|
+
export interface RemediationFilters {
|
|
1368
|
+
locations?: string[];
|
|
1369
|
+
resourceIds?: string[];
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
// @public
|
|
1373
|
+
export interface RemediationListResult {
|
|
1374
|
+
readonly nextLink?: string;
|
|
1375
|
+
readonly value?: Remediation[];
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
// @public
|
|
1379
|
+
export interface RemediationPropertiesFailureThreshold {
|
|
1380
|
+
percentage?: number;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
// @public
|
|
1384
|
+
export interface Remediations {
|
|
1385
|
+
cancelAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsCancelAtManagementGroupOptionalParams): Promise<RemediationsCancelAtManagementGroupResponse>;
|
|
1386
|
+
cancelAtResource(resourceId: string, remediationName: string, options?: RemediationsCancelAtResourceOptionalParams): Promise<RemediationsCancelAtResourceResponse>;
|
|
1387
|
+
cancelAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsCancelAtResourceGroupOptionalParams): Promise<RemediationsCancelAtResourceGroupResponse>;
|
|
1388
|
+
cancelAtSubscription(remediationName: string, options?: RemediationsCancelAtSubscriptionOptionalParams): Promise<RemediationsCancelAtSubscriptionResponse>;
|
|
1389
|
+
createOrUpdateAtManagementGroup(managementGroupId: string, remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtManagementGroupOptionalParams): Promise<RemediationsCreateOrUpdateAtManagementGroupResponse>;
|
|
1390
|
+
createOrUpdateAtResource(resourceId: string, remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtResourceOptionalParams): Promise<RemediationsCreateOrUpdateAtResourceResponse>;
|
|
1391
|
+
createOrUpdateAtResourceGroup(resourceGroupName: string, remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtResourceGroupOptionalParams): Promise<RemediationsCreateOrUpdateAtResourceGroupResponse>;
|
|
1392
|
+
createOrUpdateAtSubscription(remediationName: string, parameters: Remediation, options?: RemediationsCreateOrUpdateAtSubscriptionOptionalParams): Promise<RemediationsCreateOrUpdateAtSubscriptionResponse>;
|
|
1393
|
+
deleteAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsDeleteAtManagementGroupOptionalParams): Promise<RemediationsDeleteAtManagementGroupResponse>;
|
|
1394
|
+
deleteAtResource(resourceId: string, remediationName: string, options?: RemediationsDeleteAtResourceOptionalParams): Promise<RemediationsDeleteAtResourceResponse>;
|
|
1395
|
+
deleteAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsDeleteAtResourceGroupOptionalParams): Promise<RemediationsDeleteAtResourceGroupResponse>;
|
|
1396
|
+
deleteAtSubscription(remediationName: string, options?: RemediationsDeleteAtSubscriptionOptionalParams): Promise<RemediationsDeleteAtSubscriptionResponse>;
|
|
1397
|
+
getAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsGetAtManagementGroupOptionalParams): Promise<RemediationsGetAtManagementGroupResponse>;
|
|
1398
|
+
getAtResource(resourceId: string, remediationName: string, options?: RemediationsGetAtResourceOptionalParams): Promise<RemediationsGetAtResourceResponse>;
|
|
1399
|
+
getAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsGetAtResourceGroupOptionalParams): Promise<RemediationsGetAtResourceGroupResponse>;
|
|
1400
|
+
getAtSubscription(remediationName: string, options?: RemediationsGetAtSubscriptionOptionalParams): Promise<RemediationsGetAtSubscriptionResponse>;
|
|
1401
|
+
listDeploymentsAtManagementGroup(managementGroupId: string, remediationName: string, options?: RemediationsListDeploymentsAtManagementGroupOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
|
|
1402
|
+
listDeploymentsAtResource(resourceId: string, remediationName: string, options?: RemediationsListDeploymentsAtResourceOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
|
|
1403
|
+
listDeploymentsAtResourceGroup(resourceGroupName: string, remediationName: string, options?: RemediationsListDeploymentsAtResourceGroupOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
|
|
1404
|
+
listDeploymentsAtSubscription(remediationName: string, options?: RemediationsListDeploymentsAtSubscriptionOptionalParams): PagedAsyncIterableIterator<RemediationDeployment>;
|
|
1405
|
+
listForManagementGroup(managementGroupId: string, options?: RemediationsListForManagementGroupOptionalParams): PagedAsyncIterableIterator<Remediation>;
|
|
1406
|
+
listForResource(resourceId: string, options?: RemediationsListForResourceOptionalParams): PagedAsyncIterableIterator<Remediation>;
|
|
1407
|
+
listForResourceGroup(resourceGroupName: string, options?: RemediationsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<Remediation>;
|
|
1408
|
+
listForSubscription(options?: RemediationsListForSubscriptionOptionalParams): PagedAsyncIterableIterator<Remediation>;
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
// @public
|
|
1412
|
+
export interface RemediationsCancelAtManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
// @public
|
|
1416
|
+
export type RemediationsCancelAtManagementGroupResponse = Remediation;
|
|
1417
|
+
|
|
1418
|
+
// @public
|
|
1419
|
+
export interface RemediationsCancelAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
// @public
|
|
1423
|
+
export type RemediationsCancelAtResourceGroupResponse = Remediation;
|
|
1424
|
+
|
|
1425
|
+
// @public
|
|
1426
|
+
export interface RemediationsCancelAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
// @public
|
|
1430
|
+
export type RemediationsCancelAtResourceResponse = Remediation;
|
|
1431
|
+
|
|
1432
|
+
// @public
|
|
1433
|
+
export interface RemediationsCancelAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
// @public
|
|
1437
|
+
export type RemediationsCancelAtSubscriptionResponse = Remediation;
|
|
1438
|
+
|
|
1439
|
+
// @public
|
|
1440
|
+
export interface RemediationsCreateOrUpdateAtManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
// @public
|
|
1444
|
+
export type RemediationsCreateOrUpdateAtManagementGroupResponse = Remediation;
|
|
1445
|
+
|
|
1446
|
+
// @public
|
|
1447
|
+
export interface RemediationsCreateOrUpdateAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
// @public
|
|
1451
|
+
export type RemediationsCreateOrUpdateAtResourceGroupResponse = Remediation;
|
|
1452
|
+
|
|
1453
|
+
// @public
|
|
1454
|
+
export interface RemediationsCreateOrUpdateAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
// @public
|
|
1458
|
+
export type RemediationsCreateOrUpdateAtResourceResponse = Remediation;
|
|
1459
|
+
|
|
1460
|
+
// @public
|
|
1461
|
+
export interface RemediationsCreateOrUpdateAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
// @public
|
|
1465
|
+
export type RemediationsCreateOrUpdateAtSubscriptionResponse = Remediation;
|
|
1466
|
+
|
|
1467
|
+
// @public
|
|
1468
|
+
export interface RemediationsDeleteAtManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
// @public
|
|
1472
|
+
export type RemediationsDeleteAtManagementGroupResponse = Remediation;
|
|
1473
|
+
|
|
1474
|
+
// @public
|
|
1475
|
+
export interface RemediationsDeleteAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
// @public
|
|
1479
|
+
export type RemediationsDeleteAtResourceGroupResponse = Remediation;
|
|
1480
|
+
|
|
1481
|
+
// @public
|
|
1482
|
+
export interface RemediationsDeleteAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
// @public
|
|
1486
|
+
export type RemediationsDeleteAtResourceResponse = Remediation;
|
|
1487
|
+
|
|
1488
|
+
// @public
|
|
1489
|
+
export interface RemediationsDeleteAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
// @public
|
|
1493
|
+
export type RemediationsDeleteAtSubscriptionResponse = Remediation;
|
|
1494
|
+
|
|
1495
|
+
// @public
|
|
1496
|
+
export interface RemediationsGetAtManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
// @public
|
|
1500
|
+
export type RemediationsGetAtManagementGroupResponse = Remediation;
|
|
1501
|
+
|
|
1502
|
+
// @public
|
|
1503
|
+
export interface RemediationsGetAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
// @public
|
|
1507
|
+
export type RemediationsGetAtResourceGroupResponse = Remediation;
|
|
1508
|
+
|
|
1509
|
+
// @public
|
|
1510
|
+
export interface RemediationsGetAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
// @public
|
|
1514
|
+
export type RemediationsGetAtResourceResponse = Remediation;
|
|
1515
|
+
|
|
1516
|
+
// @public
|
|
1517
|
+
export interface RemediationsGetAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
// @public
|
|
1521
|
+
export type RemediationsGetAtSubscriptionResponse = Remediation;
|
|
1522
|
+
|
|
1523
|
+
// @public
|
|
1524
|
+
export interface RemediationsListDeploymentsAtManagementGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
// @public
|
|
1528
|
+
export type RemediationsListDeploymentsAtManagementGroupNextResponse = RemediationDeploymentsListResult;
|
|
1529
|
+
|
|
1530
|
+
// @public
|
|
1531
|
+
export interface RemediationsListDeploymentsAtManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1532
|
+
queryOptions?: QueryOptions;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
// @public
|
|
1536
|
+
export type RemediationsListDeploymentsAtManagementGroupResponse = RemediationDeploymentsListResult;
|
|
1537
|
+
|
|
1538
|
+
// @public
|
|
1539
|
+
export interface RemediationsListDeploymentsAtResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
// @public
|
|
1543
|
+
export type RemediationsListDeploymentsAtResourceGroupNextResponse = RemediationDeploymentsListResult;
|
|
1544
|
+
|
|
1545
|
+
// @public
|
|
1546
|
+
export interface RemediationsListDeploymentsAtResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1547
|
+
queryOptions?: QueryOptions;
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
// @public
|
|
1551
|
+
export type RemediationsListDeploymentsAtResourceGroupResponse = RemediationDeploymentsListResult;
|
|
1552
|
+
|
|
1553
|
+
// @public
|
|
1554
|
+
export interface RemediationsListDeploymentsAtResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
// @public
|
|
1558
|
+
export type RemediationsListDeploymentsAtResourceNextResponse = RemediationDeploymentsListResult;
|
|
1559
|
+
|
|
1560
|
+
// @public
|
|
1561
|
+
export interface RemediationsListDeploymentsAtResourceOptionalParams extends coreClient.OperationOptions {
|
|
1562
|
+
queryOptions?: QueryOptions;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
// @public
|
|
1566
|
+
export type RemediationsListDeploymentsAtResourceResponse = RemediationDeploymentsListResult;
|
|
1567
|
+
|
|
1568
|
+
// @public
|
|
1569
|
+
export interface RemediationsListDeploymentsAtSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
// @public
|
|
1573
|
+
export type RemediationsListDeploymentsAtSubscriptionNextResponse = RemediationDeploymentsListResult;
|
|
1574
|
+
|
|
1575
|
+
// @public
|
|
1576
|
+
export interface RemediationsListDeploymentsAtSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1577
|
+
queryOptions?: QueryOptions;
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
// @public
|
|
1581
|
+
export type RemediationsListDeploymentsAtSubscriptionResponse = RemediationDeploymentsListResult;
|
|
1582
|
+
|
|
1583
|
+
// @public
|
|
1584
|
+
export interface RemediationsListForManagementGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
// @public
|
|
1588
|
+
export type RemediationsListForManagementGroupNextResponse = RemediationListResult;
|
|
1589
|
+
|
|
1590
|
+
// @public
|
|
1591
|
+
export interface RemediationsListForManagementGroupOptionalParams extends coreClient.OperationOptions {
|
|
1592
|
+
queryOptions?: QueryOptions;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
// @public
|
|
1596
|
+
export type RemediationsListForManagementGroupResponse = RemediationListResult;
|
|
1597
|
+
|
|
1598
|
+
// @public
|
|
1599
|
+
export interface RemediationsListForResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
// @public
|
|
1603
|
+
export type RemediationsListForResourceGroupNextResponse = RemediationListResult;
|
|
1604
|
+
|
|
1605
|
+
// @public
|
|
1606
|
+
export interface RemediationsListForResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1607
|
+
queryOptions?: QueryOptions;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
// @public
|
|
1611
|
+
export type RemediationsListForResourceGroupResponse = RemediationListResult;
|
|
1612
|
+
|
|
1613
|
+
// @public
|
|
1614
|
+
export interface RemediationsListForResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
// @public
|
|
1618
|
+
export type RemediationsListForResourceNextResponse = RemediationListResult;
|
|
1619
|
+
|
|
1620
|
+
// @public
|
|
1621
|
+
export interface RemediationsListForResourceOptionalParams extends coreClient.OperationOptions {
|
|
1622
|
+
queryOptions?: QueryOptions;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
// @public
|
|
1626
|
+
export type RemediationsListForResourceResponse = RemediationListResult;
|
|
1627
|
+
|
|
1628
|
+
// @public
|
|
1629
|
+
export interface RemediationsListForSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
// @public
|
|
1633
|
+
export type RemediationsListForSubscriptionNextResponse = RemediationListResult;
|
|
1634
|
+
|
|
1635
|
+
// @public
|
|
1636
|
+
export interface RemediationsListForSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1637
|
+
queryOptions?: QueryOptions;
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
// @public
|
|
1641
|
+
export type RemediationsListForSubscriptionResponse = RemediationListResult;
|
|
1642
|
+
|
|
1643
|
+
// @public
|
|
1644
|
+
export interface Resource {
|
|
1645
|
+
readonly id?: string;
|
|
1646
|
+
readonly name?: string;
|
|
1647
|
+
readonly type?: string;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
// @public
|
|
1651
|
+
export type ResourceDiscoveryMode = string;
|
|
1652
|
+
|
|
1653
|
+
// @public
|
|
1654
|
+
export interface SlimPolicyMetadata {
|
|
1655
|
+
readonly additionalContentUrl?: string;
|
|
1656
|
+
readonly category?: string;
|
|
1657
|
+
readonly id?: string;
|
|
1658
|
+
readonly metadata?: Record<string, unknown>;
|
|
1659
|
+
readonly metadataId?: string;
|
|
1660
|
+
readonly name?: string;
|
|
1661
|
+
readonly owner?: string;
|
|
1662
|
+
readonly title?: string;
|
|
1663
|
+
readonly type?: string;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
// @public
|
|
1667
|
+
export interface SummarizeResults {
|
|
1668
|
+
odataContext?: string;
|
|
1669
|
+
odataCount?: number;
|
|
1670
|
+
value?: Summary[];
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
// @public
|
|
1674
|
+
export interface Summary {
|
|
1675
|
+
odataContext?: string;
|
|
1676
|
+
odataId?: string;
|
|
1677
|
+
policyAssignments?: PolicyAssignmentSummary[];
|
|
1678
|
+
results?: SummaryResults;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
// @public
|
|
1682
|
+
export interface SummaryResults {
|
|
1683
|
+
nonCompliantPolicies?: number;
|
|
1684
|
+
nonCompliantResources?: number;
|
|
1685
|
+
policyDetails?: ComplianceDetail[];
|
|
1686
|
+
policyGroupDetails?: ComplianceDetail[];
|
|
1687
|
+
queryResultsUri?: string;
|
|
1688
|
+
resourceDetails?: ComplianceDetail[];
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
// @public
|
|
1692
|
+
export interface SystemData {
|
|
1693
|
+
createdAt?: Date;
|
|
1694
|
+
createdBy?: string;
|
|
1695
|
+
createdByType?: CreatedByType;
|
|
1696
|
+
lastModifiedAt?: Date;
|
|
1697
|
+
lastModifiedBy?: string;
|
|
1698
|
+
lastModifiedByType?: CreatedByType;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
// @public
|
|
1702
|
+
export interface TrackedResourceModificationDetails {
|
|
1703
|
+
readonly deploymentId?: string;
|
|
1704
|
+
readonly deploymentTime?: Date;
|
|
1705
|
+
readonly policyDetails?: PolicyDetails;
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
// @public
|
|
1709
|
+
export interface TypedErrorInfo {
|
|
1710
|
+
readonly info?: any;
|
|
1711
|
+
readonly type?: string;
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
// (No @packageDocumentation comment for this package)
|
|
1715
|
+
|
|
1716
|
+
```
|