@azure/arm-policyinsights 3.2.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +72 -79
- package/dist/index.js +8639 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1870 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +50 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +60 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1336 -589
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +42 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +202 -166
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/attestations.d.ts +161 -0
- package/dist-esm/src/operations/attestations.d.ts.map +1 -0
- package/dist-esm/src/operations/attestations.js +747 -0
- package/dist-esm/src/operations/attestations.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +5 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/policyEvents.d.ts +208 -0
- package/dist-esm/src/operations/policyEvents.d.ts.map +1 -0
- package/dist-esm/src/operations/policyEvents.js +1097 -0
- package/dist-esm/src/operations/policyEvents.js.map +1 -0
- package/dist-esm/src/operations/policyMetadataOperations.d.ts +38 -0
- package/dist-esm/src/operations/policyMetadataOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/policyMetadataOperations.js +144 -0
- package/dist-esm/src/operations/policyMetadataOperations.js.map +1 -0
- package/dist-esm/src/operations/policyRestrictions.d.ts +27 -0
- package/dist-esm/src/operations/policyRestrictions.d.ts.map +1 -0
- package/dist-esm/src/operations/policyRestrictions.js +81 -0
- package/dist-esm/src/operations/policyRestrictions.js.map +1 -0
- package/dist-esm/src/operations/policyStates.d.ts +361 -0
- package/dist-esm/src/operations/policyStates.d.ts.map +1 -0
- package/dist-esm/src/operations/policyStates.js +1632 -0
- package/dist-esm/src/operations/policyStates.js.map +1 -0
- package/dist-esm/src/operations/policyTrackedResources.d.ts +99 -0
- package/dist-esm/src/operations/policyTrackedResources.d.ts.map +1 -0
- package/dist-esm/src/operations/policyTrackedResources.js +458 -0
- package/dist-esm/src/operations/policyTrackedResources.js.map +1 -0
- package/dist-esm/src/operations/remediations.d.ts +304 -0
- package/dist-esm/src/operations/remediations.d.ts.map +1 -0
- package/dist-esm/src/operations/remediations.js +1377 -0
- package/dist-esm/src/operations/remediations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/attestations.d.ts +110 -0
- package/dist-esm/src/operationsInterfaces/attestations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/attestations.js +9 -0
- package/dist-esm/src/operationsInterfaces/attestations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +9 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +16 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyEvents.d.ts +60 -0
- package/dist-esm/src/operationsInterfaces/policyEvents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyEvents.js +9 -0
- package/dist-esm/src/operationsInterfaces/policyEvents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyMetadataOperations.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/policyMetadataOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyMetadataOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/policyMetadataOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyRestrictions.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/policyRestrictions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyRestrictions.js +9 -0
- package/dist-esm/src/operationsInterfaces/policyRestrictions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyStates.d.ts +165 -0
- package/dist-esm/src/operationsInterfaces/policyStates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyStates.js +9 -0
- package/dist-esm/src/operationsInterfaces/policyStates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/remediations.d.ts +168 -0
- package/dist-esm/src/operationsInterfaces/remediations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/remediations.js +9 -0
- package/dist-esm/src/operationsInterfaces/remediations.js.map +1 -0
- package/dist-esm/src/policyInsightsClient.d.ts +24 -0
- package/dist-esm/src/policyInsightsClient.d.ts.map +1 -0
- package/dist-esm/src/policyInsightsClient.js +57 -0
- package/dist-esm/src/policyInsightsClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +82 -22
- package/review/arm-policyinsights.api.md +1525 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1645 -2293
- package/src/models/mappers.ts +1579 -795
- package/src/models/parameters.ts +250 -167
- package/src/operations/attestations.ts +999 -0
- package/src/operations/index.ts +5 -5
- package/src/operations/operations.ts +29 -44
- package/src/operations/policyEvents.ts +1158 -327
- package/src/operations/policyMetadataOperations.ts +108 -113
- package/src/operations/policyRestrictions.ts +111 -0
- package/src/operations/policyStates.ts +1751 -750
- package/src/operations/policyTrackedResources.ts +416 -284
- package/src/operations/remediations.ts +1208 -1248
- package/src/operationsInterfaces/attestations.ts +212 -0
- package/src/operationsInterfaces/index.ts +16 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/src/operationsInterfaces/policyEvents.ts +109 -0
- package/src/operationsInterfaces/policyMetadataOperations.ts +36 -0
- package/src/operationsInterfaces/policyRestrictions.ts +40 -0
- package/src/operationsInterfaces/policyStates.ts +287 -0
- package/src/operationsInterfaces/policyTrackedResources.ts +55 -0
- package/src/operationsInterfaces/remediations.ts +310 -0
- package/src/policyInsightsClient.ts +93 -39
- package/tsconfig.json +20 -7
- package/types/arm-policyinsights.d.ts +2728 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-policyinsights.js +0 -4909
- package/dist/arm-policyinsights.js.map +0 -1
- package/dist/arm-policyinsights.min.js +0 -1
- package/dist/arm-policyinsights.min.js.map +0 -1
- package/esm/models/index.d.ts +0 -2651
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -40
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -33
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/policyEventsMappers.d.ts +0 -2
- package/esm/models/policyEventsMappers.d.ts.map +0 -1
- package/esm/models/policyEventsMappers.js +0 -9
- package/esm/models/policyEventsMappers.js.map +0 -1
- package/esm/models/policyMetadataOperationsMappers.d.ts +0 -2
- package/esm/models/policyMetadataOperationsMappers.d.ts.map +0 -1
- package/esm/models/policyMetadataOperationsMappers.js +0 -9
- package/esm/models/policyMetadataOperationsMappers.js.map +0 -1
- package/esm/models/policyStatesMappers.d.ts +0 -2
- package/esm/models/policyStatesMappers.d.ts.map +0 -1
- package/esm/models/policyStatesMappers.js +0 -9
- package/esm/models/policyStatesMappers.js.map +0 -1
- package/esm/models/policyTrackedResourcesMappers.d.ts +0 -2
- package/esm/models/policyTrackedResourcesMappers.d.ts.map +0 -1
- package/esm/models/policyTrackedResourcesMappers.js +0 -9
- package/esm/models/policyTrackedResourcesMappers.js.map +0 -1
- package/esm/models/remediationsMappers.d.ts +0 -2
- package/esm/models/remediationsMappers.d.ts.map +0 -1
- package/esm/models/remediationsMappers.js +0 -9
- package/esm/models/remediationsMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/policyEvents.d.ts +0 -198
- package/esm/operations/policyEvents.d.ts.map +0 -1
- package/esm/operations/policyEvents.js +0 -365
- package/esm/operations/policyEvents.js.map +0 -1
- package/esm/operations/policyMetadataOperations.d.ts +0 -64
- package/esm/operations/policyMetadataOperations.d.ts.map +0 -1
- package/esm/operations/policyMetadataOperations.js +0 -106
- package/esm/operations/policyMetadataOperations.js.map +0 -1
- package/esm/operations/policyStates.d.ts +0 -442
- package/esm/operations/policyStates.d.ts.map +0 -1
- package/esm/operations/policyStates.js +0 -712
- package/esm/operations/policyStates.js.map +0 -1
- package/esm/operations/policyTrackedResources.d.ts +0 -160
- package/esm/operations/policyTrackedResources.d.ts.map +0 -1
- package/esm/operations/policyTrackedResources.js +0 -258
- package/esm/operations/policyTrackedResources.js.map +0 -1
- package/esm/operations/remediations.d.ts +0 -679
- package/esm/operations/remediations.d.ts.map +0 -1
- package/esm/operations/remediations.js +0 -1014
- package/esm/operations/remediations.js.map +0 -1
- package/esm/policyInsightsClient.d.ts +0 -22
- package/esm/policyInsightsClient.d.ts.map +0 -1
- package/esm/policyInsightsClient.js +0 -37
- package/esm/policyInsightsClient.js.map +0 -1
- package/esm/policyInsightsClientContext.d.ts +0 -13
- package/esm/policyInsightsClientContext.d.ts.map +0 -1
- package/esm/policyInsightsClientContext.js +0 -50
- package/esm/policyInsightsClientContext.js.map +0 -1
- package/src/models/operationsMappers.ts +0 -15
- package/src/models/policyEventsMappers.ts +0 -14
- package/src/models/policyMetadataOperationsMappers.ts +0 -16
- package/src/models/policyStatesMappers.ts +0 -24
- package/src/models/policyTrackedResourcesMappers.ts +0 -16
- package/src/models/remediationsMappers.ts +0 -20
- package/src/policyInsightsClientContext.ts +0 -54
package/esm/models/index.d.ts
DELETED
|
@@ -1,2651 +0,0 @@
|
|
|
1
|
-
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
|
|
2
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
3
|
-
export { BaseResource, CloudError };
|
|
4
|
-
/**
|
|
5
|
-
* The policy details.
|
|
6
|
-
*/
|
|
7
|
-
export interface PolicyDetails {
|
|
8
|
-
/**
|
|
9
|
-
* The ID of the policy definition.
|
|
10
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
11
|
-
*/
|
|
12
|
-
readonly policyDefinitionId?: string;
|
|
13
|
-
/**
|
|
14
|
-
* The ID of the policy assignment.
|
|
15
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
16
|
-
*/
|
|
17
|
-
readonly policyAssignmentId?: string;
|
|
18
|
-
/**
|
|
19
|
-
* The display name of the policy assignment.
|
|
20
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
21
|
-
*/
|
|
22
|
-
readonly policyAssignmentDisplayName?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The scope of the policy assignment.
|
|
25
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
26
|
-
*/
|
|
27
|
-
readonly policyAssignmentScope?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The ID of the policy set definition.
|
|
30
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
31
|
-
*/
|
|
32
|
-
readonly policySetDefinitionId?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The policy definition reference ID within the policy set definition.
|
|
35
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
36
|
-
*/
|
|
37
|
-
readonly policyDefinitionReferenceId?: string;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* The details of the policy triggered deployment that created or modified the tracked resource.
|
|
41
|
-
*/
|
|
42
|
-
export interface TrackedResourceModificationDetails {
|
|
43
|
-
/**
|
|
44
|
-
* The details of the policy that created or modified the tracked resource.
|
|
45
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
46
|
-
*/
|
|
47
|
-
readonly policyDetails?: PolicyDetails;
|
|
48
|
-
/**
|
|
49
|
-
* The ID of the deployment that created or modified the tracked resource.
|
|
50
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
51
|
-
*/
|
|
52
|
-
readonly deploymentId?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Timestamp of the deployment that created or modified the tracked resource.
|
|
55
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
56
|
-
*/
|
|
57
|
-
readonly deploymentTime?: Date;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Policy tracked resource record.
|
|
61
|
-
*/
|
|
62
|
-
export interface PolicyTrackedResource {
|
|
63
|
-
/**
|
|
64
|
-
* The ID of the policy tracked resource.
|
|
65
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
66
|
-
*/
|
|
67
|
-
readonly trackedResourceId?: string;
|
|
68
|
-
/**
|
|
69
|
-
* The details of the policy that require the tracked resource.
|
|
70
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
71
|
-
*/
|
|
72
|
-
readonly policyDetails?: PolicyDetails;
|
|
73
|
-
/**
|
|
74
|
-
* The details of the policy triggered deployment that created the tracked resource.
|
|
75
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
76
|
-
*/
|
|
77
|
-
readonly createdBy?: TrackedResourceModificationDetails;
|
|
78
|
-
/**
|
|
79
|
-
* The details of the policy triggered deployment that modified the tracked resource.
|
|
80
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
81
|
-
*/
|
|
82
|
-
readonly lastModifiedBy?: TrackedResourceModificationDetails;
|
|
83
|
-
/**
|
|
84
|
-
* Timestamp of the last update to the tracked resource.
|
|
85
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
86
|
-
*/
|
|
87
|
-
readonly lastUpdateUtc?: Date;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Error definition.
|
|
91
|
-
*/
|
|
92
|
-
export interface QueryFailureError {
|
|
93
|
-
/**
|
|
94
|
-
* Service specific error code which serves as the substatus for the HTTP error code.
|
|
95
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
96
|
-
*/
|
|
97
|
-
readonly code?: string;
|
|
98
|
-
/**
|
|
99
|
-
* Description of the error.
|
|
100
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
101
|
-
*/
|
|
102
|
-
readonly message?: string;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Error response.
|
|
106
|
-
*/
|
|
107
|
-
export interface QueryFailure {
|
|
108
|
-
/**
|
|
109
|
-
* Error definition.
|
|
110
|
-
*/
|
|
111
|
-
error?: QueryFailureError;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* The filters that will be applied to determine which resources to remediate.
|
|
115
|
-
*/
|
|
116
|
-
export interface RemediationFilters {
|
|
117
|
-
/**
|
|
118
|
-
* The resource locations that will be remediated.
|
|
119
|
-
*/
|
|
120
|
-
locations?: string[];
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* The deployment status summary for all deployments created by the remediation.
|
|
124
|
-
*/
|
|
125
|
-
export interface RemediationDeploymentSummary {
|
|
126
|
-
/**
|
|
127
|
-
* The number of deployments required by the remediation.
|
|
128
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
129
|
-
*/
|
|
130
|
-
readonly totalDeployments?: number;
|
|
131
|
-
/**
|
|
132
|
-
* The number of deployments required by the remediation that have succeeded.
|
|
133
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
134
|
-
*/
|
|
135
|
-
readonly successfulDeployments?: number;
|
|
136
|
-
/**
|
|
137
|
-
* The number of deployments required by the remediation that have failed.
|
|
138
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
139
|
-
*/
|
|
140
|
-
readonly failedDeployments?: number;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* The remediation definition.
|
|
144
|
-
*/
|
|
145
|
-
export interface Remediation extends BaseResource {
|
|
146
|
-
/**
|
|
147
|
-
* The resource ID of the policy assignment that should be remediated.
|
|
148
|
-
*/
|
|
149
|
-
policyAssignmentId?: string;
|
|
150
|
-
/**
|
|
151
|
-
* The policy definition reference ID of the individual definition that should be remediated.
|
|
152
|
-
* Required when the policy assignment being remediated assigns a policy set definition.
|
|
153
|
-
*/
|
|
154
|
-
policyDefinitionReferenceId?: string;
|
|
155
|
-
/**
|
|
156
|
-
* The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not
|
|
157
|
-
* specified. Possible values include: 'ExistingNonCompliant', 'ReEvaluateCompliance'
|
|
158
|
-
*/
|
|
159
|
-
resourceDiscoveryMode?: ResourceDiscoveryMode;
|
|
160
|
-
/**
|
|
161
|
-
* The status of the remediation.
|
|
162
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
163
|
-
*/
|
|
164
|
-
readonly provisioningState?: string;
|
|
165
|
-
/**
|
|
166
|
-
* The time at which the remediation was created.
|
|
167
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
168
|
-
*/
|
|
169
|
-
readonly createdOn?: Date;
|
|
170
|
-
/**
|
|
171
|
-
* The time at which the remediation was last updated.
|
|
172
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
173
|
-
*/
|
|
174
|
-
readonly lastUpdatedOn?: Date;
|
|
175
|
-
/**
|
|
176
|
-
* The filters that will be applied to determine which resources to remediate.
|
|
177
|
-
*/
|
|
178
|
-
filters?: RemediationFilters;
|
|
179
|
-
/**
|
|
180
|
-
* The deployment status summary for all deployments created by the remediation.
|
|
181
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
182
|
-
*/
|
|
183
|
-
readonly deploymentStatus?: RemediationDeploymentSummary;
|
|
184
|
-
/**
|
|
185
|
-
* The ID of the remediation.
|
|
186
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
187
|
-
*/
|
|
188
|
-
readonly id?: string;
|
|
189
|
-
/**
|
|
190
|
-
* The type of the remediation.
|
|
191
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
192
|
-
*/
|
|
193
|
-
readonly type?: string;
|
|
194
|
-
/**
|
|
195
|
-
* The name of the remediation.
|
|
196
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
197
|
-
*/
|
|
198
|
-
readonly name?: string;
|
|
199
|
-
}
|
|
200
|
-
/**
|
|
201
|
-
* Scenario specific error details.
|
|
202
|
-
*/
|
|
203
|
-
export interface TypedErrorInfo {
|
|
204
|
-
/**
|
|
205
|
-
* The type of included error details.
|
|
206
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
207
|
-
*/
|
|
208
|
-
readonly type?: string;
|
|
209
|
-
/**
|
|
210
|
-
* The scenario specific error details.
|
|
211
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
212
|
-
*/
|
|
213
|
-
readonly info?: any;
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Error definition.
|
|
217
|
-
*/
|
|
218
|
-
export interface ErrorDefinition {
|
|
219
|
-
/**
|
|
220
|
-
* Service specific error code which serves as the substatus for the HTTP error code.
|
|
221
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
222
|
-
*/
|
|
223
|
-
readonly code?: string;
|
|
224
|
-
/**
|
|
225
|
-
* Description of the error.
|
|
226
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
227
|
-
*/
|
|
228
|
-
readonly message?: string;
|
|
229
|
-
/**
|
|
230
|
-
* The target of the error.
|
|
231
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
232
|
-
*/
|
|
233
|
-
readonly target?: string;
|
|
234
|
-
/**
|
|
235
|
-
* Internal error details.
|
|
236
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
237
|
-
*/
|
|
238
|
-
readonly details?: ErrorDefinition[];
|
|
239
|
-
/**
|
|
240
|
-
* Additional scenario specific error details.
|
|
241
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
242
|
-
*/
|
|
243
|
-
readonly additionalInfo?: TypedErrorInfo[];
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* Details of a single deployment created by the remediation.
|
|
247
|
-
*/
|
|
248
|
-
export interface RemediationDeployment {
|
|
249
|
-
/**
|
|
250
|
-
* Resource ID of the resource that is being remediated by the deployment.
|
|
251
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
252
|
-
*/
|
|
253
|
-
readonly remediatedResourceId?: string;
|
|
254
|
-
/**
|
|
255
|
-
* Resource ID of the template deployment that will remediate the resource.
|
|
256
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
257
|
-
*/
|
|
258
|
-
readonly deploymentId?: string;
|
|
259
|
-
/**
|
|
260
|
-
* Status of the remediation deployment.
|
|
261
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
262
|
-
*/
|
|
263
|
-
readonly status?: string;
|
|
264
|
-
/**
|
|
265
|
-
* Location of the resource that is being remediated.
|
|
266
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
267
|
-
*/
|
|
268
|
-
readonly resourceLocation?: string;
|
|
269
|
-
/**
|
|
270
|
-
* Error encountered while remediated the resource.
|
|
271
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
272
|
-
*/
|
|
273
|
-
readonly error?: ErrorDefinition;
|
|
274
|
-
/**
|
|
275
|
-
* The time at which the remediation was created.
|
|
276
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
277
|
-
*/
|
|
278
|
-
readonly createdOn?: Date;
|
|
279
|
-
/**
|
|
280
|
-
* The time at which the remediation deployment was last updated.
|
|
281
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
282
|
-
*/
|
|
283
|
-
readonly lastUpdatedOn?: Date;
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* Error response.
|
|
287
|
-
*/
|
|
288
|
-
export interface ErrorResponse {
|
|
289
|
-
/**
|
|
290
|
-
* The error details.
|
|
291
|
-
*/
|
|
292
|
-
error?: ErrorDefinition;
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* Policy event record.
|
|
296
|
-
*/
|
|
297
|
-
export interface PolicyEvent {
|
|
298
|
-
/**
|
|
299
|
-
* OData entity ID; always set to null since policy event records do not have an entity ID.
|
|
300
|
-
*/
|
|
301
|
-
odataid?: string;
|
|
302
|
-
/**
|
|
303
|
-
* OData context string; used by OData clients to resolve type information based on metadata.
|
|
304
|
-
*/
|
|
305
|
-
odatacontext?: string;
|
|
306
|
-
/**
|
|
307
|
-
* Timestamp for the policy event record.
|
|
308
|
-
*/
|
|
309
|
-
timestamp?: Date;
|
|
310
|
-
/**
|
|
311
|
-
* Resource ID.
|
|
312
|
-
*/
|
|
313
|
-
resourceId?: string;
|
|
314
|
-
/**
|
|
315
|
-
* Policy assignment ID.
|
|
316
|
-
*/
|
|
317
|
-
policyAssignmentId?: string;
|
|
318
|
-
/**
|
|
319
|
-
* Policy definition ID.
|
|
320
|
-
*/
|
|
321
|
-
policyDefinitionId?: string;
|
|
322
|
-
/**
|
|
323
|
-
* Effective parameters for the policy assignment.
|
|
324
|
-
*/
|
|
325
|
-
effectiveParameters?: string;
|
|
326
|
-
/**
|
|
327
|
-
* Flag which states whether the resource is compliant against the policy assignment it was
|
|
328
|
-
* evaluated against.
|
|
329
|
-
*/
|
|
330
|
-
isCompliant?: boolean;
|
|
331
|
-
/**
|
|
332
|
-
* Subscription ID.
|
|
333
|
-
*/
|
|
334
|
-
subscriptionId?: string;
|
|
335
|
-
/**
|
|
336
|
-
* Resource type.
|
|
337
|
-
*/
|
|
338
|
-
resourceType?: string;
|
|
339
|
-
/**
|
|
340
|
-
* Resource location.
|
|
341
|
-
*/
|
|
342
|
-
resourceLocation?: string;
|
|
343
|
-
/**
|
|
344
|
-
* Resource group name.
|
|
345
|
-
*/
|
|
346
|
-
resourceGroup?: string;
|
|
347
|
-
/**
|
|
348
|
-
* List of resource tags.
|
|
349
|
-
*/
|
|
350
|
-
resourceTags?: string;
|
|
351
|
-
/**
|
|
352
|
-
* Policy assignment name.
|
|
353
|
-
*/
|
|
354
|
-
policyAssignmentName?: string;
|
|
355
|
-
/**
|
|
356
|
-
* Policy assignment owner.
|
|
357
|
-
*/
|
|
358
|
-
policyAssignmentOwner?: string;
|
|
359
|
-
/**
|
|
360
|
-
* Policy assignment parameters.
|
|
361
|
-
*/
|
|
362
|
-
policyAssignmentParameters?: string;
|
|
363
|
-
/**
|
|
364
|
-
* Policy assignment scope.
|
|
365
|
-
*/
|
|
366
|
-
policyAssignmentScope?: string;
|
|
367
|
-
/**
|
|
368
|
-
* Policy definition name.
|
|
369
|
-
*/
|
|
370
|
-
policyDefinitionName?: string;
|
|
371
|
-
/**
|
|
372
|
-
* Policy definition action, i.e. effect.
|
|
373
|
-
*/
|
|
374
|
-
policyDefinitionAction?: string;
|
|
375
|
-
/**
|
|
376
|
-
* Policy definition category.
|
|
377
|
-
*/
|
|
378
|
-
policyDefinitionCategory?: string;
|
|
379
|
-
/**
|
|
380
|
-
* Policy set definition ID, if the policy assignment is for a policy set.
|
|
381
|
-
*/
|
|
382
|
-
policySetDefinitionId?: string;
|
|
383
|
-
/**
|
|
384
|
-
* Policy set definition name, if the policy assignment is for a policy set.
|
|
385
|
-
*/
|
|
386
|
-
policySetDefinitionName?: string;
|
|
387
|
-
/**
|
|
388
|
-
* Policy set definition owner, if the policy assignment is for a policy set.
|
|
389
|
-
*/
|
|
390
|
-
policySetDefinitionOwner?: string;
|
|
391
|
-
/**
|
|
392
|
-
* Policy set definition category, if the policy assignment is for a policy set.
|
|
393
|
-
*/
|
|
394
|
-
policySetDefinitionCategory?: string;
|
|
395
|
-
/**
|
|
396
|
-
* Policy set definition parameters, if the policy assignment is for a policy set.
|
|
397
|
-
*/
|
|
398
|
-
policySetDefinitionParameters?: string;
|
|
399
|
-
/**
|
|
400
|
-
* Comma separated list of management group IDs, which represent the hierarchy of the management
|
|
401
|
-
* groups the resource is under.
|
|
402
|
-
*/
|
|
403
|
-
managementGroupIds?: string;
|
|
404
|
-
/**
|
|
405
|
-
* Reference ID for the policy definition inside the policy set, if the policy assignment is for
|
|
406
|
-
* a policy set.
|
|
407
|
-
*/
|
|
408
|
-
policyDefinitionReferenceId?: string;
|
|
409
|
-
/**
|
|
410
|
-
* Tenant ID for the policy event record.
|
|
411
|
-
*/
|
|
412
|
-
tenantId?: string;
|
|
413
|
-
/**
|
|
414
|
-
* Principal object ID for the user who initiated the resource operation that triggered the
|
|
415
|
-
* policy event.
|
|
416
|
-
*/
|
|
417
|
-
principalOid?: string;
|
|
418
|
-
/**
|
|
419
|
-
* Describes unknown properties. The value of an unknown property can be of "any" type.
|
|
420
|
-
*/
|
|
421
|
-
[property: string]: any;
|
|
422
|
-
}
|
|
423
|
-
/**
|
|
424
|
-
* Query results.
|
|
425
|
-
*/
|
|
426
|
-
export interface PolicyEventsQueryResults {
|
|
427
|
-
/**
|
|
428
|
-
* OData context string; used by OData clients to resolve type information based on metadata.
|
|
429
|
-
*/
|
|
430
|
-
odatacontext?: string;
|
|
431
|
-
/**
|
|
432
|
-
* OData entity count; represents the number of policy event records returned.
|
|
433
|
-
*/
|
|
434
|
-
odatacount?: number;
|
|
435
|
-
/**
|
|
436
|
-
* Query results.
|
|
437
|
-
*/
|
|
438
|
-
value?: PolicyEvent[];
|
|
439
|
-
}
|
|
440
|
-
/**
|
|
441
|
-
* Evaluation details of policy language expressions.
|
|
442
|
-
*/
|
|
443
|
-
export interface ExpressionEvaluationDetails {
|
|
444
|
-
/**
|
|
445
|
-
* Evaluation result.
|
|
446
|
-
*/
|
|
447
|
-
result?: string;
|
|
448
|
-
/**
|
|
449
|
-
* Expression evaluated.
|
|
450
|
-
*/
|
|
451
|
-
expression?: string;
|
|
452
|
-
/**
|
|
453
|
-
* Property path if the expression is a field or an alias.
|
|
454
|
-
*/
|
|
455
|
-
path?: string;
|
|
456
|
-
/**
|
|
457
|
-
* Value of the expression.
|
|
458
|
-
*/
|
|
459
|
-
expressionValue?: any;
|
|
460
|
-
/**
|
|
461
|
-
* Target value to be compared with the expression value.
|
|
462
|
-
*/
|
|
463
|
-
targetValue?: any;
|
|
464
|
-
/**
|
|
465
|
-
* Operator to compare the expression value and the target value.
|
|
466
|
-
*/
|
|
467
|
-
operator?: string;
|
|
468
|
-
}
|
|
469
|
-
/**
|
|
470
|
-
* Evaluation details of IfNotExists effect.
|
|
471
|
-
*/
|
|
472
|
-
export interface IfNotExistsEvaluationDetails {
|
|
473
|
-
/**
|
|
474
|
-
* ID of the last evaluated resource for IfNotExists effect.
|
|
475
|
-
*/
|
|
476
|
-
resourceId?: string;
|
|
477
|
-
/**
|
|
478
|
-
* Total number of resources to which the existence condition is applicable.
|
|
479
|
-
*/
|
|
480
|
-
totalResources?: number;
|
|
481
|
-
}
|
|
482
|
-
/**
|
|
483
|
-
* Policy evaluation details.
|
|
484
|
-
*/
|
|
485
|
-
export interface PolicyEvaluationDetails {
|
|
486
|
-
/**
|
|
487
|
-
* Details of the evaluated expressions.
|
|
488
|
-
*/
|
|
489
|
-
evaluatedExpressions?: ExpressionEvaluationDetails[];
|
|
490
|
-
/**
|
|
491
|
-
* Evaluation details of IfNotExists effect.
|
|
492
|
-
*/
|
|
493
|
-
ifNotExistsDetails?: IfNotExistsEvaluationDetails;
|
|
494
|
-
}
|
|
495
|
-
/**
|
|
496
|
-
* Policy state record.
|
|
497
|
-
*/
|
|
498
|
-
export interface PolicyState {
|
|
499
|
-
/**
|
|
500
|
-
* OData entity ID; always set to null since policy state records do not have an entity ID.
|
|
501
|
-
*/
|
|
502
|
-
odataid?: string;
|
|
503
|
-
/**
|
|
504
|
-
* OData context string; used by OData clients to resolve type information based on metadata.
|
|
505
|
-
*/
|
|
506
|
-
odatacontext?: string;
|
|
507
|
-
/**
|
|
508
|
-
* Timestamp for the policy state record.
|
|
509
|
-
*/
|
|
510
|
-
timestamp?: Date;
|
|
511
|
-
/**
|
|
512
|
-
* Resource ID.
|
|
513
|
-
*/
|
|
514
|
-
resourceId?: string;
|
|
515
|
-
/**
|
|
516
|
-
* Policy assignment ID.
|
|
517
|
-
*/
|
|
518
|
-
policyAssignmentId?: string;
|
|
519
|
-
/**
|
|
520
|
-
* Policy definition ID.
|
|
521
|
-
*/
|
|
522
|
-
policyDefinitionId?: string;
|
|
523
|
-
/**
|
|
524
|
-
* Effective parameters for the policy assignment.
|
|
525
|
-
*/
|
|
526
|
-
effectiveParameters?: string;
|
|
527
|
-
/**
|
|
528
|
-
* Flag which states whether the resource is compliant against the policy assignment it was
|
|
529
|
-
* evaluated against. This property is deprecated; please use ComplianceState instead.
|
|
530
|
-
*/
|
|
531
|
-
isCompliant?: boolean;
|
|
532
|
-
/**
|
|
533
|
-
* Subscription ID.
|
|
534
|
-
*/
|
|
535
|
-
subscriptionId?: string;
|
|
536
|
-
/**
|
|
537
|
-
* Resource type.
|
|
538
|
-
*/
|
|
539
|
-
resourceType?: string;
|
|
540
|
-
/**
|
|
541
|
-
* Resource location.
|
|
542
|
-
*/
|
|
543
|
-
resourceLocation?: string;
|
|
544
|
-
/**
|
|
545
|
-
* Resource group name.
|
|
546
|
-
*/
|
|
547
|
-
resourceGroup?: string;
|
|
548
|
-
/**
|
|
549
|
-
* List of resource tags.
|
|
550
|
-
*/
|
|
551
|
-
resourceTags?: string;
|
|
552
|
-
/**
|
|
553
|
-
* Policy assignment name.
|
|
554
|
-
*/
|
|
555
|
-
policyAssignmentName?: string;
|
|
556
|
-
/**
|
|
557
|
-
* Policy assignment owner.
|
|
558
|
-
*/
|
|
559
|
-
policyAssignmentOwner?: string;
|
|
560
|
-
/**
|
|
561
|
-
* Policy assignment parameters.
|
|
562
|
-
*/
|
|
563
|
-
policyAssignmentParameters?: string;
|
|
564
|
-
/**
|
|
565
|
-
* Policy assignment scope.
|
|
566
|
-
*/
|
|
567
|
-
policyAssignmentScope?: string;
|
|
568
|
-
/**
|
|
569
|
-
* Policy definition name.
|
|
570
|
-
*/
|
|
571
|
-
policyDefinitionName?: string;
|
|
572
|
-
/**
|
|
573
|
-
* Policy definition action, i.e. effect.
|
|
574
|
-
*/
|
|
575
|
-
policyDefinitionAction?: string;
|
|
576
|
-
/**
|
|
577
|
-
* Policy definition category.
|
|
578
|
-
*/
|
|
579
|
-
policyDefinitionCategory?: string;
|
|
580
|
-
/**
|
|
581
|
-
* Policy set definition ID, if the policy assignment is for a policy set.
|
|
582
|
-
*/
|
|
583
|
-
policySetDefinitionId?: string;
|
|
584
|
-
/**
|
|
585
|
-
* Policy set definition name, if the policy assignment is for a policy set.
|
|
586
|
-
*/
|
|
587
|
-
policySetDefinitionName?: string;
|
|
588
|
-
/**
|
|
589
|
-
* Policy set definition owner, if the policy assignment is for a policy set.
|
|
590
|
-
*/
|
|
591
|
-
policySetDefinitionOwner?: string;
|
|
592
|
-
/**
|
|
593
|
-
* Policy set definition category, if the policy assignment is for a policy set.
|
|
594
|
-
*/
|
|
595
|
-
policySetDefinitionCategory?: string;
|
|
596
|
-
/**
|
|
597
|
-
* Policy set definition parameters, if the policy assignment is for a policy set.
|
|
598
|
-
*/
|
|
599
|
-
policySetDefinitionParameters?: string;
|
|
600
|
-
/**
|
|
601
|
-
* Comma separated list of management group IDs, which represent the hierarchy of the management
|
|
602
|
-
* groups the resource is under.
|
|
603
|
-
*/
|
|
604
|
-
managementGroupIds?: string;
|
|
605
|
-
/**
|
|
606
|
-
* Reference ID for the policy definition inside the policy set, if the policy assignment is for
|
|
607
|
-
* a policy set.
|
|
608
|
-
*/
|
|
609
|
-
policyDefinitionReferenceId?: string;
|
|
610
|
-
/**
|
|
611
|
-
* Compliance state of the resource.
|
|
612
|
-
*/
|
|
613
|
-
complianceState?: string;
|
|
614
|
-
/**
|
|
615
|
-
* Policy evaluation details.
|
|
616
|
-
*/
|
|
617
|
-
policyEvaluationDetails?: PolicyEvaluationDetails;
|
|
618
|
-
/**
|
|
619
|
-
* Policy definition group names.
|
|
620
|
-
*/
|
|
621
|
-
policyDefinitionGroupNames?: string[];
|
|
622
|
-
/**
|
|
623
|
-
* Evaluated policy definition version.
|
|
624
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
625
|
-
*/
|
|
626
|
-
readonly policyDefinitionVersion?: string;
|
|
627
|
-
/**
|
|
628
|
-
* Evaluated policy set definition version.
|
|
629
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
630
|
-
*/
|
|
631
|
-
readonly policySetDefinitionVersion?: string;
|
|
632
|
-
/**
|
|
633
|
-
* Evaluated policy assignment version.
|
|
634
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
635
|
-
*/
|
|
636
|
-
readonly policyAssignmentVersion?: string;
|
|
637
|
-
/**
|
|
638
|
-
* Describes unknown properties. The value of an unknown property can be of "any" type.
|
|
639
|
-
*/
|
|
640
|
-
[property: string]: any;
|
|
641
|
-
}
|
|
642
|
-
/**
|
|
643
|
-
* Query results.
|
|
644
|
-
*/
|
|
645
|
-
export interface PolicyStatesQueryResults {
|
|
646
|
-
/**
|
|
647
|
-
* OData context string; used by OData clients to resolve type information based on metadata.
|
|
648
|
-
*/
|
|
649
|
-
odatacontext?: string;
|
|
650
|
-
/**
|
|
651
|
-
* OData entity count; represents the number of policy state records returned.
|
|
652
|
-
*/
|
|
653
|
-
odatacount?: number;
|
|
654
|
-
/**
|
|
655
|
-
* Query results.
|
|
656
|
-
*/
|
|
657
|
-
value?: PolicyState[];
|
|
658
|
-
}
|
|
659
|
-
/**
|
|
660
|
-
* The compliance state rollup.
|
|
661
|
-
*/
|
|
662
|
-
export interface ComplianceDetail {
|
|
663
|
-
/**
|
|
664
|
-
* The compliance state.
|
|
665
|
-
*/
|
|
666
|
-
complianceState?: string;
|
|
667
|
-
/**
|
|
668
|
-
* Summarized count value for this compliance state.
|
|
669
|
-
*/
|
|
670
|
-
count?: number;
|
|
671
|
-
}
|
|
672
|
-
/**
|
|
673
|
-
* Compliance summary on a particular summary level.
|
|
674
|
-
*/
|
|
675
|
-
export interface SummaryResults {
|
|
676
|
-
/**
|
|
677
|
-
* HTTP POST URI for queryResults action on Microsoft.PolicyInsights to retrieve raw results for
|
|
678
|
-
* the compliance summary. This property will not be available by default in future API versions,
|
|
679
|
-
* but could be queried explicitly.
|
|
680
|
-
*/
|
|
681
|
-
queryResultsUri?: string;
|
|
682
|
-
/**
|
|
683
|
-
* Number of non-compliant resources.
|
|
684
|
-
*/
|
|
685
|
-
nonCompliantResources?: number;
|
|
686
|
-
/**
|
|
687
|
-
* Number of non-compliant policies.
|
|
688
|
-
*/
|
|
689
|
-
nonCompliantPolicies?: number;
|
|
690
|
-
/**
|
|
691
|
-
* The resources summary at this level.
|
|
692
|
-
*/
|
|
693
|
-
resourceDetails?: ComplianceDetail[];
|
|
694
|
-
/**
|
|
695
|
-
* The policy artifact summary at this level. For query scope level, it represents policy
|
|
696
|
-
* assignment summary. For policy assignment level, it represents policy definitions summary.
|
|
697
|
-
*/
|
|
698
|
-
policyDetails?: ComplianceDetail[];
|
|
699
|
-
/**
|
|
700
|
-
* The policy definition group summary at this level.
|
|
701
|
-
*/
|
|
702
|
-
policyGroupDetails?: ComplianceDetail[];
|
|
703
|
-
}
|
|
704
|
-
/**
|
|
705
|
-
* Policy definition summary.
|
|
706
|
-
*/
|
|
707
|
-
export interface PolicyDefinitionSummary {
|
|
708
|
-
/**
|
|
709
|
-
* Policy definition ID.
|
|
710
|
-
*/
|
|
711
|
-
policyDefinitionId?: string;
|
|
712
|
-
/**
|
|
713
|
-
* Policy definition reference ID.
|
|
714
|
-
*/
|
|
715
|
-
policyDefinitionReferenceId?: string;
|
|
716
|
-
/**
|
|
717
|
-
* Policy definition group names.
|
|
718
|
-
*/
|
|
719
|
-
policyDefinitionGroupNames?: string[];
|
|
720
|
-
/**
|
|
721
|
-
* Policy effect, i.e. policy definition action.
|
|
722
|
-
*/
|
|
723
|
-
effect?: string;
|
|
724
|
-
/**
|
|
725
|
-
* Compliance summary for the policy definition.
|
|
726
|
-
*/
|
|
727
|
-
results?: SummaryResults;
|
|
728
|
-
}
|
|
729
|
-
/**
|
|
730
|
-
* Policy definition group summary.
|
|
731
|
-
*/
|
|
732
|
-
export interface PolicyGroupSummary {
|
|
733
|
-
/**
|
|
734
|
-
* Policy group name.
|
|
735
|
-
*/
|
|
736
|
-
policyGroupName?: string;
|
|
737
|
-
/**
|
|
738
|
-
* Compliance summary for the policy definition group.
|
|
739
|
-
*/
|
|
740
|
-
results?: SummaryResults;
|
|
741
|
-
}
|
|
742
|
-
/**
|
|
743
|
-
* Policy assignment summary.
|
|
744
|
-
*/
|
|
745
|
-
export interface PolicyAssignmentSummary {
|
|
746
|
-
/**
|
|
747
|
-
* Policy assignment ID.
|
|
748
|
-
*/
|
|
749
|
-
policyAssignmentId?: string;
|
|
750
|
-
/**
|
|
751
|
-
* Policy set definition ID, if the policy assignment is for a policy set.
|
|
752
|
-
*/
|
|
753
|
-
policySetDefinitionId?: string;
|
|
754
|
-
/**
|
|
755
|
-
* Compliance summary for the policy assignment.
|
|
756
|
-
*/
|
|
757
|
-
results?: SummaryResults;
|
|
758
|
-
/**
|
|
759
|
-
* Policy definitions summary.
|
|
760
|
-
*/
|
|
761
|
-
policyDefinitions?: PolicyDefinitionSummary[];
|
|
762
|
-
/**
|
|
763
|
-
* Policy definition group summary.
|
|
764
|
-
*/
|
|
765
|
-
policyGroups?: PolicyGroupSummary[];
|
|
766
|
-
}
|
|
767
|
-
/**
|
|
768
|
-
* Summary results.
|
|
769
|
-
*/
|
|
770
|
-
export interface Summary {
|
|
771
|
-
/**
|
|
772
|
-
* OData entity ID; always set to null since summaries do not have an entity ID.
|
|
773
|
-
*/
|
|
774
|
-
odataid?: string;
|
|
775
|
-
/**
|
|
776
|
-
* OData context string; used by OData clients to resolve type information based on metadata.
|
|
777
|
-
*/
|
|
778
|
-
odatacontext?: string;
|
|
779
|
-
/**
|
|
780
|
-
* Compliance summary for all policy assignments.
|
|
781
|
-
*/
|
|
782
|
-
results?: SummaryResults;
|
|
783
|
-
/**
|
|
784
|
-
* Policy assignments summary.
|
|
785
|
-
*/
|
|
786
|
-
policyAssignments?: PolicyAssignmentSummary[];
|
|
787
|
-
}
|
|
788
|
-
/**
|
|
789
|
-
* Summarize action results.
|
|
790
|
-
*/
|
|
791
|
-
export interface SummarizeResults {
|
|
792
|
-
/**
|
|
793
|
-
* OData context string; used by OData clients to resolve type information based on metadata.
|
|
794
|
-
*/
|
|
795
|
-
odatacontext?: string;
|
|
796
|
-
/**
|
|
797
|
-
* OData entity count; represents the number of summaries returned; always set to 1.
|
|
798
|
-
*/
|
|
799
|
-
odatacount?: number;
|
|
800
|
-
/**
|
|
801
|
-
* Summarize action results.
|
|
802
|
-
*/
|
|
803
|
-
value?: Summary[];
|
|
804
|
-
}
|
|
805
|
-
/**
|
|
806
|
-
* Display metadata associated with the operation.
|
|
807
|
-
*/
|
|
808
|
-
export interface OperationDisplay {
|
|
809
|
-
/**
|
|
810
|
-
* Resource provider name.
|
|
811
|
-
*/
|
|
812
|
-
provider?: string;
|
|
813
|
-
/**
|
|
814
|
-
* Resource name on which the operation is performed.
|
|
815
|
-
*/
|
|
816
|
-
resource?: string;
|
|
817
|
-
/**
|
|
818
|
-
* Operation name.
|
|
819
|
-
*/
|
|
820
|
-
operation?: string;
|
|
821
|
-
/**
|
|
822
|
-
* Operation description.
|
|
823
|
-
*/
|
|
824
|
-
description?: string;
|
|
825
|
-
}
|
|
826
|
-
/**
|
|
827
|
-
* Operation definition.
|
|
828
|
-
*/
|
|
829
|
-
export interface Operation {
|
|
830
|
-
/**
|
|
831
|
-
* Operation name.
|
|
832
|
-
*/
|
|
833
|
-
name?: string;
|
|
834
|
-
/**
|
|
835
|
-
* Display metadata associated with the operation.
|
|
836
|
-
*/
|
|
837
|
-
display?: OperationDisplay;
|
|
838
|
-
}
|
|
839
|
-
/**
|
|
840
|
-
* List of available operations.
|
|
841
|
-
*/
|
|
842
|
-
export interface OperationsListResults {
|
|
843
|
-
/**
|
|
844
|
-
* OData entity count; represents the number of operations returned.
|
|
845
|
-
*/
|
|
846
|
-
odatacount?: number;
|
|
847
|
-
/**
|
|
848
|
-
* List of available operations.
|
|
849
|
-
*/
|
|
850
|
-
value?: Operation[];
|
|
851
|
-
}
|
|
852
|
-
/**
|
|
853
|
-
* Policy metadata resource definition.
|
|
854
|
-
*/
|
|
855
|
-
export interface PolicyMetadata {
|
|
856
|
-
/**
|
|
857
|
-
* The policy metadata identifier.
|
|
858
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
859
|
-
*/
|
|
860
|
-
readonly metadataId?: string;
|
|
861
|
-
/**
|
|
862
|
-
* The category of the policy metadata.
|
|
863
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
864
|
-
*/
|
|
865
|
-
readonly category?: string;
|
|
866
|
-
/**
|
|
867
|
-
* The title of the policy metadata.
|
|
868
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
869
|
-
*/
|
|
870
|
-
readonly title?: string;
|
|
871
|
-
/**
|
|
872
|
-
* The owner of the policy metadata.
|
|
873
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
874
|
-
*/
|
|
875
|
-
readonly owner?: string;
|
|
876
|
-
/**
|
|
877
|
-
* Url for getting additional content about the resource metadata.
|
|
878
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
879
|
-
*/
|
|
880
|
-
readonly additionalContentUrl?: string;
|
|
881
|
-
/**
|
|
882
|
-
* Additional metadata.
|
|
883
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
884
|
-
*/
|
|
885
|
-
readonly metadata?: any;
|
|
886
|
-
/**
|
|
887
|
-
* The description of the policy metadata.
|
|
888
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
889
|
-
*/
|
|
890
|
-
readonly description?: string;
|
|
891
|
-
/**
|
|
892
|
-
* The requirements of the policy metadata.
|
|
893
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
894
|
-
*/
|
|
895
|
-
readonly requirements?: string;
|
|
896
|
-
/**
|
|
897
|
-
* The ID of the policy metadata.
|
|
898
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
899
|
-
*/
|
|
900
|
-
readonly id?: string;
|
|
901
|
-
/**
|
|
902
|
-
* The type of the policy metadata.
|
|
903
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
904
|
-
*/
|
|
905
|
-
readonly type?: string;
|
|
906
|
-
/**
|
|
907
|
-
* The name of the policy metadata.
|
|
908
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
909
|
-
*/
|
|
910
|
-
readonly name?: string;
|
|
911
|
-
}
|
|
912
|
-
/**
|
|
913
|
-
* Slim version of policy metadata resource definition, excluding properties with large strings
|
|
914
|
-
*/
|
|
915
|
-
export interface SlimPolicyMetadata {
|
|
916
|
-
/**
|
|
917
|
-
* The policy metadata identifier.
|
|
918
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
919
|
-
*/
|
|
920
|
-
readonly metadataId?: string;
|
|
921
|
-
/**
|
|
922
|
-
* The category of the policy metadata.
|
|
923
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
924
|
-
*/
|
|
925
|
-
readonly category?: string;
|
|
926
|
-
/**
|
|
927
|
-
* The title of the policy metadata.
|
|
928
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
929
|
-
*/
|
|
930
|
-
readonly title?: string;
|
|
931
|
-
/**
|
|
932
|
-
* The owner of the policy metadata.
|
|
933
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
934
|
-
*/
|
|
935
|
-
readonly owner?: string;
|
|
936
|
-
/**
|
|
937
|
-
* Url for getting additional content about the resource metadata.
|
|
938
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
939
|
-
*/
|
|
940
|
-
readonly additionalContentUrl?: string;
|
|
941
|
-
/**
|
|
942
|
-
* Additional metadata.
|
|
943
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
944
|
-
*/
|
|
945
|
-
readonly metadata?: any;
|
|
946
|
-
/**
|
|
947
|
-
* The ID of the policy metadata.
|
|
948
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
949
|
-
*/
|
|
950
|
-
readonly id?: string;
|
|
951
|
-
/**
|
|
952
|
-
* The type of the policy metadata.
|
|
953
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
954
|
-
*/
|
|
955
|
-
readonly type?: string;
|
|
956
|
-
/**
|
|
957
|
-
* The name of the policy metadata.
|
|
958
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
959
|
-
*/
|
|
960
|
-
readonly name?: string;
|
|
961
|
-
}
|
|
962
|
-
/**
|
|
963
|
-
* Additional parameters for a set of operations.
|
|
964
|
-
*/
|
|
965
|
-
export interface QueryOptions {
|
|
966
|
-
/**
|
|
967
|
-
* Maximum number of records to return.
|
|
968
|
-
*/
|
|
969
|
-
top?: number;
|
|
970
|
-
/**
|
|
971
|
-
* OData filter expression.
|
|
972
|
-
*/
|
|
973
|
-
filter?: string;
|
|
974
|
-
/**
|
|
975
|
-
* Ordering expression using OData notation. One or more comma-separated column names with an
|
|
976
|
-
* optional "desc" (the default) or "asc", e.g. "$orderby=PolicyAssignmentId, ResourceId asc".
|
|
977
|
-
*/
|
|
978
|
-
orderBy?: string;
|
|
979
|
-
/**
|
|
980
|
-
* Select expression using OData notation. Limits the columns on each record to just those
|
|
981
|
-
* requested, e.g. "$select=PolicyAssignmentId, ResourceId".
|
|
982
|
-
*/
|
|
983
|
-
select?: string;
|
|
984
|
-
/**
|
|
985
|
-
* ISO 8601 formatted timestamp specifying the start time of the interval to query. When not
|
|
986
|
-
* specified, the service uses ($to - 1-day).
|
|
987
|
-
*/
|
|
988
|
-
from?: Date;
|
|
989
|
-
/**
|
|
990
|
-
* ISO 8601 formatted timestamp specifying the end time of the interval to query. When not
|
|
991
|
-
* specified, the service uses request time.
|
|
992
|
-
*/
|
|
993
|
-
to?: Date;
|
|
994
|
-
/**
|
|
995
|
-
* OData apply expression for aggregations.
|
|
996
|
-
*/
|
|
997
|
-
apply?: string;
|
|
998
|
-
/**
|
|
999
|
-
* The $expand query parameter. For example, to expand policyEvaluationDetails, use
|
|
1000
|
-
* $expand=policyEvaluationDetails
|
|
1001
|
-
*/
|
|
1002
|
-
expand?: string;
|
|
1003
|
-
}
|
|
1004
|
-
/**
|
|
1005
|
-
* Optional Parameters.
|
|
1006
|
-
*/
|
|
1007
|
-
export interface PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1008
|
-
/**
|
|
1009
|
-
* Additional parameters for the operation
|
|
1010
|
-
*/
|
|
1011
|
-
queryOptions?: QueryOptions;
|
|
1012
|
-
}
|
|
1013
|
-
/**
|
|
1014
|
-
* Optional Parameters.
|
|
1015
|
-
*/
|
|
1016
|
-
export interface PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams extends msRest.RequestOptionsBase {
|
|
1017
|
-
/**
|
|
1018
|
-
* Additional parameters for the operation
|
|
1019
|
-
*/
|
|
1020
|
-
queryOptions?: QueryOptions;
|
|
1021
|
-
}
|
|
1022
|
-
/**
|
|
1023
|
-
* Optional Parameters.
|
|
1024
|
-
*/
|
|
1025
|
-
export interface PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1026
|
-
/**
|
|
1027
|
-
* Additional parameters for the operation
|
|
1028
|
-
*/
|
|
1029
|
-
queryOptions?: QueryOptions;
|
|
1030
|
-
}
|
|
1031
|
-
/**
|
|
1032
|
-
* Optional Parameters.
|
|
1033
|
-
*/
|
|
1034
|
-
export interface PolicyTrackedResourcesListQueryResultsForResourceOptionalParams extends msRest.RequestOptionsBase {
|
|
1035
|
-
/**
|
|
1036
|
-
* Additional parameters for the operation
|
|
1037
|
-
*/
|
|
1038
|
-
queryOptions?: QueryOptions;
|
|
1039
|
-
}
|
|
1040
|
-
/**
|
|
1041
|
-
* Optional Parameters.
|
|
1042
|
-
*/
|
|
1043
|
-
export interface RemediationsListDeploymentsAtManagementGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1044
|
-
/**
|
|
1045
|
-
* Additional parameters for the operation
|
|
1046
|
-
*/
|
|
1047
|
-
queryOptions?: QueryOptions;
|
|
1048
|
-
}
|
|
1049
|
-
/**
|
|
1050
|
-
* Optional Parameters.
|
|
1051
|
-
*/
|
|
1052
|
-
export interface RemediationsListForManagementGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1053
|
-
/**
|
|
1054
|
-
* Additional parameters for the operation
|
|
1055
|
-
*/
|
|
1056
|
-
queryOptions?: QueryOptions;
|
|
1057
|
-
}
|
|
1058
|
-
/**
|
|
1059
|
-
* Optional Parameters.
|
|
1060
|
-
*/
|
|
1061
|
-
export interface RemediationsListDeploymentsAtSubscriptionOptionalParams extends msRest.RequestOptionsBase {
|
|
1062
|
-
/**
|
|
1063
|
-
* Additional parameters for the operation
|
|
1064
|
-
*/
|
|
1065
|
-
queryOptions?: QueryOptions;
|
|
1066
|
-
}
|
|
1067
|
-
/**
|
|
1068
|
-
* Optional Parameters.
|
|
1069
|
-
*/
|
|
1070
|
-
export interface RemediationsListForSubscriptionOptionalParams extends msRest.RequestOptionsBase {
|
|
1071
|
-
/**
|
|
1072
|
-
* Additional parameters for the operation
|
|
1073
|
-
*/
|
|
1074
|
-
queryOptions?: QueryOptions;
|
|
1075
|
-
}
|
|
1076
|
-
/**
|
|
1077
|
-
* Optional Parameters.
|
|
1078
|
-
*/
|
|
1079
|
-
export interface RemediationsListDeploymentsAtResourceGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1080
|
-
/**
|
|
1081
|
-
* Additional parameters for the operation
|
|
1082
|
-
*/
|
|
1083
|
-
queryOptions?: QueryOptions;
|
|
1084
|
-
}
|
|
1085
|
-
/**
|
|
1086
|
-
* Optional Parameters.
|
|
1087
|
-
*/
|
|
1088
|
-
export interface RemediationsListForResourceGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1089
|
-
/**
|
|
1090
|
-
* Additional parameters for the operation
|
|
1091
|
-
*/
|
|
1092
|
-
queryOptions?: QueryOptions;
|
|
1093
|
-
}
|
|
1094
|
-
/**
|
|
1095
|
-
* Optional Parameters.
|
|
1096
|
-
*/
|
|
1097
|
-
export interface RemediationsListDeploymentsAtResourceOptionalParams extends msRest.RequestOptionsBase {
|
|
1098
|
-
/**
|
|
1099
|
-
* Additional parameters for the operation
|
|
1100
|
-
*/
|
|
1101
|
-
queryOptions?: QueryOptions;
|
|
1102
|
-
}
|
|
1103
|
-
/**
|
|
1104
|
-
* Optional Parameters.
|
|
1105
|
-
*/
|
|
1106
|
-
export interface RemediationsListForResourceOptionalParams extends msRest.RequestOptionsBase {
|
|
1107
|
-
/**
|
|
1108
|
-
* Additional parameters for the operation
|
|
1109
|
-
*/
|
|
1110
|
-
queryOptions?: QueryOptions;
|
|
1111
|
-
}
|
|
1112
|
-
/**
|
|
1113
|
-
* Optional Parameters.
|
|
1114
|
-
*/
|
|
1115
|
-
export interface PolicyEventsListQueryResultsForManagementGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1116
|
-
/**
|
|
1117
|
-
* Additional parameters for the operation
|
|
1118
|
-
*/
|
|
1119
|
-
queryOptions?: QueryOptions;
|
|
1120
|
-
}
|
|
1121
|
-
/**
|
|
1122
|
-
* Optional Parameters.
|
|
1123
|
-
*/
|
|
1124
|
-
export interface PolicyEventsListQueryResultsForSubscriptionOptionalParams extends msRest.RequestOptionsBase {
|
|
1125
|
-
/**
|
|
1126
|
-
* Additional parameters for the operation
|
|
1127
|
-
*/
|
|
1128
|
-
queryOptions?: QueryOptions;
|
|
1129
|
-
}
|
|
1130
|
-
/**
|
|
1131
|
-
* Optional Parameters.
|
|
1132
|
-
*/
|
|
1133
|
-
export interface PolicyEventsListQueryResultsForResourceGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1134
|
-
/**
|
|
1135
|
-
* Additional parameters for the operation
|
|
1136
|
-
*/
|
|
1137
|
-
queryOptions?: QueryOptions;
|
|
1138
|
-
}
|
|
1139
|
-
/**
|
|
1140
|
-
* Optional Parameters.
|
|
1141
|
-
*/
|
|
1142
|
-
export interface PolicyEventsListQueryResultsForResourceOptionalParams extends msRest.RequestOptionsBase {
|
|
1143
|
-
/**
|
|
1144
|
-
* Additional parameters for the operation
|
|
1145
|
-
*/
|
|
1146
|
-
queryOptions?: QueryOptions;
|
|
1147
|
-
}
|
|
1148
|
-
/**
|
|
1149
|
-
* Optional Parameters.
|
|
1150
|
-
*/
|
|
1151
|
-
export interface PolicyEventsListQueryResultsForPolicySetDefinitionOptionalParams extends msRest.RequestOptionsBase {
|
|
1152
|
-
/**
|
|
1153
|
-
* Additional parameters for the operation
|
|
1154
|
-
*/
|
|
1155
|
-
queryOptions?: QueryOptions;
|
|
1156
|
-
}
|
|
1157
|
-
/**
|
|
1158
|
-
* Optional Parameters.
|
|
1159
|
-
*/
|
|
1160
|
-
export interface PolicyEventsListQueryResultsForPolicyDefinitionOptionalParams extends msRest.RequestOptionsBase {
|
|
1161
|
-
/**
|
|
1162
|
-
* Additional parameters for the operation
|
|
1163
|
-
*/
|
|
1164
|
-
queryOptions?: QueryOptions;
|
|
1165
|
-
}
|
|
1166
|
-
/**
|
|
1167
|
-
* Optional Parameters.
|
|
1168
|
-
*/
|
|
1169
|
-
export interface PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams extends msRest.RequestOptionsBase {
|
|
1170
|
-
/**
|
|
1171
|
-
* Additional parameters for the operation
|
|
1172
|
-
*/
|
|
1173
|
-
queryOptions?: QueryOptions;
|
|
1174
|
-
}
|
|
1175
|
-
/**
|
|
1176
|
-
* Optional Parameters.
|
|
1177
|
-
*/
|
|
1178
|
-
export interface PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams extends msRest.RequestOptionsBase {
|
|
1179
|
-
/**
|
|
1180
|
-
* Additional parameters for the operation
|
|
1181
|
-
*/
|
|
1182
|
-
queryOptions?: QueryOptions;
|
|
1183
|
-
}
|
|
1184
|
-
/**
|
|
1185
|
-
* Optional Parameters.
|
|
1186
|
-
*/
|
|
1187
|
-
export interface PolicyStatesListQueryResultsForManagementGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1188
|
-
/**
|
|
1189
|
-
* Additional parameters for the operation
|
|
1190
|
-
*/
|
|
1191
|
-
queryOptions?: QueryOptions;
|
|
1192
|
-
}
|
|
1193
|
-
/**
|
|
1194
|
-
* Optional Parameters.
|
|
1195
|
-
*/
|
|
1196
|
-
export interface PolicyStatesSummarizeForManagementGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1197
|
-
/**
|
|
1198
|
-
* Additional parameters for the operation
|
|
1199
|
-
*/
|
|
1200
|
-
queryOptions?: QueryOptions;
|
|
1201
|
-
}
|
|
1202
|
-
/**
|
|
1203
|
-
* Optional Parameters.
|
|
1204
|
-
*/
|
|
1205
|
-
export interface PolicyStatesListQueryResultsForSubscriptionOptionalParams extends msRest.RequestOptionsBase {
|
|
1206
|
-
/**
|
|
1207
|
-
* Additional parameters for the operation
|
|
1208
|
-
*/
|
|
1209
|
-
queryOptions?: QueryOptions;
|
|
1210
|
-
}
|
|
1211
|
-
/**
|
|
1212
|
-
* Optional Parameters.
|
|
1213
|
-
*/
|
|
1214
|
-
export interface PolicyStatesSummarizeForSubscriptionOptionalParams extends msRest.RequestOptionsBase {
|
|
1215
|
-
/**
|
|
1216
|
-
* Additional parameters for the operation
|
|
1217
|
-
*/
|
|
1218
|
-
queryOptions?: QueryOptions;
|
|
1219
|
-
}
|
|
1220
|
-
/**
|
|
1221
|
-
* Optional Parameters.
|
|
1222
|
-
*/
|
|
1223
|
-
export interface PolicyStatesListQueryResultsForResourceGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1224
|
-
/**
|
|
1225
|
-
* Additional parameters for the operation
|
|
1226
|
-
*/
|
|
1227
|
-
queryOptions?: QueryOptions;
|
|
1228
|
-
}
|
|
1229
|
-
/**
|
|
1230
|
-
* Optional Parameters.
|
|
1231
|
-
*/
|
|
1232
|
-
export interface PolicyStatesSummarizeForResourceGroupOptionalParams extends msRest.RequestOptionsBase {
|
|
1233
|
-
/**
|
|
1234
|
-
* Additional parameters for the operation
|
|
1235
|
-
*/
|
|
1236
|
-
queryOptions?: QueryOptions;
|
|
1237
|
-
}
|
|
1238
|
-
/**
|
|
1239
|
-
* Optional Parameters.
|
|
1240
|
-
*/
|
|
1241
|
-
export interface PolicyStatesListQueryResultsForResourceOptionalParams extends msRest.RequestOptionsBase {
|
|
1242
|
-
/**
|
|
1243
|
-
* Additional parameters for the operation
|
|
1244
|
-
*/
|
|
1245
|
-
queryOptions?: QueryOptions;
|
|
1246
|
-
}
|
|
1247
|
-
/**
|
|
1248
|
-
* Optional Parameters.
|
|
1249
|
-
*/
|
|
1250
|
-
export interface PolicyStatesSummarizeForResourceOptionalParams extends msRest.RequestOptionsBase {
|
|
1251
|
-
/**
|
|
1252
|
-
* Additional parameters for the operation
|
|
1253
|
-
*/
|
|
1254
|
-
queryOptions?: QueryOptions;
|
|
1255
|
-
}
|
|
1256
|
-
/**
|
|
1257
|
-
* Optional Parameters.
|
|
1258
|
-
*/
|
|
1259
|
-
export interface PolicyStatesListQueryResultsForPolicySetDefinitionOptionalParams extends msRest.RequestOptionsBase {
|
|
1260
|
-
/**
|
|
1261
|
-
* Additional parameters for the operation
|
|
1262
|
-
*/
|
|
1263
|
-
queryOptions?: QueryOptions;
|
|
1264
|
-
}
|
|
1265
|
-
/**
|
|
1266
|
-
* Optional Parameters.
|
|
1267
|
-
*/
|
|
1268
|
-
export interface PolicyStatesSummarizeForPolicySetDefinitionOptionalParams extends msRest.RequestOptionsBase {
|
|
1269
|
-
/**
|
|
1270
|
-
* Additional parameters for the operation
|
|
1271
|
-
*/
|
|
1272
|
-
queryOptions?: QueryOptions;
|
|
1273
|
-
}
|
|
1274
|
-
/**
|
|
1275
|
-
* Optional Parameters.
|
|
1276
|
-
*/
|
|
1277
|
-
export interface PolicyStatesListQueryResultsForPolicyDefinitionOptionalParams extends msRest.RequestOptionsBase {
|
|
1278
|
-
/**
|
|
1279
|
-
* Additional parameters for the operation
|
|
1280
|
-
*/
|
|
1281
|
-
queryOptions?: QueryOptions;
|
|
1282
|
-
}
|
|
1283
|
-
/**
|
|
1284
|
-
* Optional Parameters.
|
|
1285
|
-
*/
|
|
1286
|
-
export interface PolicyStatesSummarizeForPolicyDefinitionOptionalParams extends msRest.RequestOptionsBase {
|
|
1287
|
-
/**
|
|
1288
|
-
* Additional parameters for the operation
|
|
1289
|
-
*/
|
|
1290
|
-
queryOptions?: QueryOptions;
|
|
1291
|
-
}
|
|
1292
|
-
/**
|
|
1293
|
-
* Optional Parameters.
|
|
1294
|
-
*/
|
|
1295
|
-
export interface PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams extends msRest.RequestOptionsBase {
|
|
1296
|
-
/**
|
|
1297
|
-
* Additional parameters for the operation
|
|
1298
|
-
*/
|
|
1299
|
-
queryOptions?: QueryOptions;
|
|
1300
|
-
}
|
|
1301
|
-
/**
|
|
1302
|
-
* Optional Parameters.
|
|
1303
|
-
*/
|
|
1304
|
-
export interface PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentOptionalParams extends msRest.RequestOptionsBase {
|
|
1305
|
-
/**
|
|
1306
|
-
* Additional parameters for the operation
|
|
1307
|
-
*/
|
|
1308
|
-
queryOptions?: QueryOptions;
|
|
1309
|
-
}
|
|
1310
|
-
/**
|
|
1311
|
-
* Optional Parameters.
|
|
1312
|
-
*/
|
|
1313
|
-
export interface PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams extends msRest.RequestOptionsBase {
|
|
1314
|
-
/**
|
|
1315
|
-
* Additional parameters for the operation
|
|
1316
|
-
*/
|
|
1317
|
-
queryOptions?: QueryOptions;
|
|
1318
|
-
}
|
|
1319
|
-
/**
|
|
1320
|
-
* Optional Parameters.
|
|
1321
|
-
*/
|
|
1322
|
-
export interface PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentOptionalParams extends msRest.RequestOptionsBase {
|
|
1323
|
-
/**
|
|
1324
|
-
* Additional parameters for the operation
|
|
1325
|
-
*/
|
|
1326
|
-
queryOptions?: QueryOptions;
|
|
1327
|
-
}
|
|
1328
|
-
/**
|
|
1329
|
-
* Optional Parameters.
|
|
1330
|
-
*/
|
|
1331
|
-
export interface PolicyMetadataListOptionalParams extends msRest.RequestOptionsBase {
|
|
1332
|
-
/**
|
|
1333
|
-
* Additional parameters for the operation
|
|
1334
|
-
*/
|
|
1335
|
-
queryOptions?: QueryOptions;
|
|
1336
|
-
}
|
|
1337
|
-
/**
|
|
1338
|
-
* An interface representing PolicyInsightsClientOptions.
|
|
1339
|
-
*/
|
|
1340
|
-
export interface PolicyInsightsClientOptions extends AzureServiceClientOptions {
|
|
1341
|
-
baseUri?: string;
|
|
1342
|
-
}
|
|
1343
|
-
/**
|
|
1344
|
-
* @interface
|
|
1345
|
-
* Query results.
|
|
1346
|
-
* @extends Array<PolicyTrackedResource>
|
|
1347
|
-
*/
|
|
1348
|
-
export interface PolicyTrackedResourcesQueryResults extends Array<PolicyTrackedResource> {
|
|
1349
|
-
/**
|
|
1350
|
-
* The URL to get the next set of results.
|
|
1351
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1352
|
-
*/
|
|
1353
|
-
readonly nextLink?: string;
|
|
1354
|
-
}
|
|
1355
|
-
/**
|
|
1356
|
-
* @interface
|
|
1357
|
-
* List of deployments for a remediation.
|
|
1358
|
-
* @extends Array<RemediationDeployment>
|
|
1359
|
-
*/
|
|
1360
|
-
export interface RemediationDeploymentsListResult extends Array<RemediationDeployment> {
|
|
1361
|
-
/**
|
|
1362
|
-
* The URL to get the next set of results.
|
|
1363
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1364
|
-
*/
|
|
1365
|
-
readonly nextLink?: string;
|
|
1366
|
-
}
|
|
1367
|
-
/**
|
|
1368
|
-
* @interface
|
|
1369
|
-
* List of remediations.
|
|
1370
|
-
* @extends Array<Remediation>
|
|
1371
|
-
*/
|
|
1372
|
-
export interface RemediationListResult extends Array<Remediation> {
|
|
1373
|
-
/**
|
|
1374
|
-
* The URL to get the next set of results.
|
|
1375
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1376
|
-
*/
|
|
1377
|
-
readonly nextLink?: string;
|
|
1378
|
-
}
|
|
1379
|
-
/**
|
|
1380
|
-
* @interface
|
|
1381
|
-
* Collection of policy metadata resources.
|
|
1382
|
-
* @extends Array<SlimPolicyMetadata>
|
|
1383
|
-
*/
|
|
1384
|
-
export interface PolicyMetadataCollection extends Array<SlimPolicyMetadata> {
|
|
1385
|
-
/**
|
|
1386
|
-
* The URL to get the next set of results.
|
|
1387
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
1388
|
-
*/
|
|
1389
|
-
readonly nextLink?: string;
|
|
1390
|
-
}
|
|
1391
|
-
/**
|
|
1392
|
-
* Defines values for ResourceDiscoveryMode.
|
|
1393
|
-
* Possible values include: 'ExistingNonCompliant', 'ReEvaluateCompliance'
|
|
1394
|
-
* @readonly
|
|
1395
|
-
* @enum {string}
|
|
1396
|
-
*/
|
|
1397
|
-
export declare type ResourceDiscoveryMode = 'ExistingNonCompliant' | 'ReEvaluateCompliance';
|
|
1398
|
-
/**
|
|
1399
|
-
* Defines values for PolicyStatesResource.
|
|
1400
|
-
* Possible values include: 'default', 'latest'
|
|
1401
|
-
* @readonly
|
|
1402
|
-
* @enum {string}
|
|
1403
|
-
*/
|
|
1404
|
-
export declare type PolicyStatesResource = 'default' | 'latest';
|
|
1405
|
-
/**
|
|
1406
|
-
* Contains response data for the listQueryResultsForManagementGroup operation.
|
|
1407
|
-
*/
|
|
1408
|
-
export declare type PolicyTrackedResourcesListQueryResultsForManagementGroupResponse = PolicyTrackedResourcesQueryResults & {
|
|
1409
|
-
/**
|
|
1410
|
-
* The underlying HTTP response.
|
|
1411
|
-
*/
|
|
1412
|
-
_response: msRest.HttpResponse & {
|
|
1413
|
-
/**
|
|
1414
|
-
* The response body as text (string format)
|
|
1415
|
-
*/
|
|
1416
|
-
bodyAsText: string;
|
|
1417
|
-
/**
|
|
1418
|
-
* The response body as parsed JSON or XML
|
|
1419
|
-
*/
|
|
1420
|
-
parsedBody: PolicyTrackedResourcesQueryResults;
|
|
1421
|
-
};
|
|
1422
|
-
};
|
|
1423
|
-
/**
|
|
1424
|
-
* Contains response data for the listQueryResultsForSubscription operation.
|
|
1425
|
-
*/
|
|
1426
|
-
export declare type PolicyTrackedResourcesListQueryResultsForSubscriptionResponse = PolicyTrackedResourcesQueryResults & {
|
|
1427
|
-
/**
|
|
1428
|
-
* The underlying HTTP response.
|
|
1429
|
-
*/
|
|
1430
|
-
_response: msRest.HttpResponse & {
|
|
1431
|
-
/**
|
|
1432
|
-
* The response body as text (string format)
|
|
1433
|
-
*/
|
|
1434
|
-
bodyAsText: string;
|
|
1435
|
-
/**
|
|
1436
|
-
* The response body as parsed JSON or XML
|
|
1437
|
-
*/
|
|
1438
|
-
parsedBody: PolicyTrackedResourcesQueryResults;
|
|
1439
|
-
};
|
|
1440
|
-
};
|
|
1441
|
-
/**
|
|
1442
|
-
* Contains response data for the listQueryResultsForResourceGroup operation.
|
|
1443
|
-
*/
|
|
1444
|
-
export declare type PolicyTrackedResourcesListQueryResultsForResourceGroupResponse = PolicyTrackedResourcesQueryResults & {
|
|
1445
|
-
/**
|
|
1446
|
-
* The underlying HTTP response.
|
|
1447
|
-
*/
|
|
1448
|
-
_response: msRest.HttpResponse & {
|
|
1449
|
-
/**
|
|
1450
|
-
* The response body as text (string format)
|
|
1451
|
-
*/
|
|
1452
|
-
bodyAsText: string;
|
|
1453
|
-
/**
|
|
1454
|
-
* The response body as parsed JSON or XML
|
|
1455
|
-
*/
|
|
1456
|
-
parsedBody: PolicyTrackedResourcesQueryResults;
|
|
1457
|
-
};
|
|
1458
|
-
};
|
|
1459
|
-
/**
|
|
1460
|
-
* Contains response data for the listQueryResultsForResource operation.
|
|
1461
|
-
*/
|
|
1462
|
-
export declare type PolicyTrackedResourcesListQueryResultsForResourceResponse = PolicyTrackedResourcesQueryResults & {
|
|
1463
|
-
/**
|
|
1464
|
-
* The underlying HTTP response.
|
|
1465
|
-
*/
|
|
1466
|
-
_response: msRest.HttpResponse & {
|
|
1467
|
-
/**
|
|
1468
|
-
* The response body as text (string format)
|
|
1469
|
-
*/
|
|
1470
|
-
bodyAsText: string;
|
|
1471
|
-
/**
|
|
1472
|
-
* The response body as parsed JSON or XML
|
|
1473
|
-
*/
|
|
1474
|
-
parsedBody: PolicyTrackedResourcesQueryResults;
|
|
1475
|
-
};
|
|
1476
|
-
};
|
|
1477
|
-
/**
|
|
1478
|
-
* Contains response data for the listQueryResultsForManagementGroupNext operation.
|
|
1479
|
-
*/
|
|
1480
|
-
export declare type PolicyTrackedResourcesListQueryResultsForManagementGroupNextResponse = PolicyTrackedResourcesQueryResults & {
|
|
1481
|
-
/**
|
|
1482
|
-
* The underlying HTTP response.
|
|
1483
|
-
*/
|
|
1484
|
-
_response: msRest.HttpResponse & {
|
|
1485
|
-
/**
|
|
1486
|
-
* The response body as text (string format)
|
|
1487
|
-
*/
|
|
1488
|
-
bodyAsText: string;
|
|
1489
|
-
/**
|
|
1490
|
-
* The response body as parsed JSON or XML
|
|
1491
|
-
*/
|
|
1492
|
-
parsedBody: PolicyTrackedResourcesQueryResults;
|
|
1493
|
-
};
|
|
1494
|
-
};
|
|
1495
|
-
/**
|
|
1496
|
-
* Contains response data for the listQueryResultsForSubscriptionNext operation.
|
|
1497
|
-
*/
|
|
1498
|
-
export declare type PolicyTrackedResourcesListQueryResultsForSubscriptionNextResponse = PolicyTrackedResourcesQueryResults & {
|
|
1499
|
-
/**
|
|
1500
|
-
* The underlying HTTP response.
|
|
1501
|
-
*/
|
|
1502
|
-
_response: msRest.HttpResponse & {
|
|
1503
|
-
/**
|
|
1504
|
-
* The response body as text (string format)
|
|
1505
|
-
*/
|
|
1506
|
-
bodyAsText: string;
|
|
1507
|
-
/**
|
|
1508
|
-
* The response body as parsed JSON or XML
|
|
1509
|
-
*/
|
|
1510
|
-
parsedBody: PolicyTrackedResourcesQueryResults;
|
|
1511
|
-
};
|
|
1512
|
-
};
|
|
1513
|
-
/**
|
|
1514
|
-
* Contains response data for the listQueryResultsForResourceGroupNext operation.
|
|
1515
|
-
*/
|
|
1516
|
-
export declare type PolicyTrackedResourcesListQueryResultsForResourceGroupNextResponse = PolicyTrackedResourcesQueryResults & {
|
|
1517
|
-
/**
|
|
1518
|
-
* The underlying HTTP response.
|
|
1519
|
-
*/
|
|
1520
|
-
_response: msRest.HttpResponse & {
|
|
1521
|
-
/**
|
|
1522
|
-
* The response body as text (string format)
|
|
1523
|
-
*/
|
|
1524
|
-
bodyAsText: string;
|
|
1525
|
-
/**
|
|
1526
|
-
* The response body as parsed JSON or XML
|
|
1527
|
-
*/
|
|
1528
|
-
parsedBody: PolicyTrackedResourcesQueryResults;
|
|
1529
|
-
};
|
|
1530
|
-
};
|
|
1531
|
-
/**
|
|
1532
|
-
* Contains response data for the listQueryResultsForResourceNext operation.
|
|
1533
|
-
*/
|
|
1534
|
-
export declare type PolicyTrackedResourcesListQueryResultsForResourceNextResponse = PolicyTrackedResourcesQueryResults & {
|
|
1535
|
-
/**
|
|
1536
|
-
* The underlying HTTP response.
|
|
1537
|
-
*/
|
|
1538
|
-
_response: msRest.HttpResponse & {
|
|
1539
|
-
/**
|
|
1540
|
-
* The response body as text (string format)
|
|
1541
|
-
*/
|
|
1542
|
-
bodyAsText: string;
|
|
1543
|
-
/**
|
|
1544
|
-
* The response body as parsed JSON or XML
|
|
1545
|
-
*/
|
|
1546
|
-
parsedBody: PolicyTrackedResourcesQueryResults;
|
|
1547
|
-
};
|
|
1548
|
-
};
|
|
1549
|
-
/**
|
|
1550
|
-
* Contains response data for the listDeploymentsAtManagementGroup operation.
|
|
1551
|
-
*/
|
|
1552
|
-
export declare type RemediationsListDeploymentsAtManagementGroupResponse = RemediationDeploymentsListResult & {
|
|
1553
|
-
/**
|
|
1554
|
-
* The underlying HTTP response.
|
|
1555
|
-
*/
|
|
1556
|
-
_response: msRest.HttpResponse & {
|
|
1557
|
-
/**
|
|
1558
|
-
* The response body as text (string format)
|
|
1559
|
-
*/
|
|
1560
|
-
bodyAsText: string;
|
|
1561
|
-
/**
|
|
1562
|
-
* The response body as parsed JSON or XML
|
|
1563
|
-
*/
|
|
1564
|
-
parsedBody: RemediationDeploymentsListResult;
|
|
1565
|
-
};
|
|
1566
|
-
};
|
|
1567
|
-
/**
|
|
1568
|
-
* Contains response data for the cancelAtManagementGroup operation.
|
|
1569
|
-
*/
|
|
1570
|
-
export declare type RemediationsCancelAtManagementGroupResponse = Remediation & {
|
|
1571
|
-
/**
|
|
1572
|
-
* The underlying HTTP response.
|
|
1573
|
-
*/
|
|
1574
|
-
_response: msRest.HttpResponse & {
|
|
1575
|
-
/**
|
|
1576
|
-
* The response body as text (string format)
|
|
1577
|
-
*/
|
|
1578
|
-
bodyAsText: string;
|
|
1579
|
-
/**
|
|
1580
|
-
* The response body as parsed JSON or XML
|
|
1581
|
-
*/
|
|
1582
|
-
parsedBody: Remediation;
|
|
1583
|
-
};
|
|
1584
|
-
};
|
|
1585
|
-
/**
|
|
1586
|
-
* Contains response data for the listForManagementGroup operation.
|
|
1587
|
-
*/
|
|
1588
|
-
export declare type RemediationsListForManagementGroupResponse = RemediationListResult & {
|
|
1589
|
-
/**
|
|
1590
|
-
* The underlying HTTP response.
|
|
1591
|
-
*/
|
|
1592
|
-
_response: msRest.HttpResponse & {
|
|
1593
|
-
/**
|
|
1594
|
-
* The response body as text (string format)
|
|
1595
|
-
*/
|
|
1596
|
-
bodyAsText: string;
|
|
1597
|
-
/**
|
|
1598
|
-
* The response body as parsed JSON or XML
|
|
1599
|
-
*/
|
|
1600
|
-
parsedBody: RemediationListResult;
|
|
1601
|
-
};
|
|
1602
|
-
};
|
|
1603
|
-
/**
|
|
1604
|
-
* Contains response data for the createOrUpdateAtManagementGroup operation.
|
|
1605
|
-
*/
|
|
1606
|
-
export declare type RemediationsCreateOrUpdateAtManagementGroupResponse = Remediation & {
|
|
1607
|
-
/**
|
|
1608
|
-
* The underlying HTTP response.
|
|
1609
|
-
*/
|
|
1610
|
-
_response: msRest.HttpResponse & {
|
|
1611
|
-
/**
|
|
1612
|
-
* The response body as text (string format)
|
|
1613
|
-
*/
|
|
1614
|
-
bodyAsText: string;
|
|
1615
|
-
/**
|
|
1616
|
-
* The response body as parsed JSON or XML
|
|
1617
|
-
*/
|
|
1618
|
-
parsedBody: Remediation;
|
|
1619
|
-
};
|
|
1620
|
-
};
|
|
1621
|
-
/**
|
|
1622
|
-
* Contains response data for the getAtManagementGroup operation.
|
|
1623
|
-
*/
|
|
1624
|
-
export declare type RemediationsGetAtManagementGroupResponse = Remediation & {
|
|
1625
|
-
/**
|
|
1626
|
-
* The underlying HTTP response.
|
|
1627
|
-
*/
|
|
1628
|
-
_response: msRest.HttpResponse & {
|
|
1629
|
-
/**
|
|
1630
|
-
* The response body as text (string format)
|
|
1631
|
-
*/
|
|
1632
|
-
bodyAsText: string;
|
|
1633
|
-
/**
|
|
1634
|
-
* The response body as parsed JSON or XML
|
|
1635
|
-
*/
|
|
1636
|
-
parsedBody: Remediation;
|
|
1637
|
-
};
|
|
1638
|
-
};
|
|
1639
|
-
/**
|
|
1640
|
-
* Contains response data for the deleteAtManagementGroup operation.
|
|
1641
|
-
*/
|
|
1642
|
-
export declare type RemediationsDeleteAtManagementGroupResponse = Remediation & {
|
|
1643
|
-
/**
|
|
1644
|
-
* The underlying HTTP response.
|
|
1645
|
-
*/
|
|
1646
|
-
_response: msRest.HttpResponse & {
|
|
1647
|
-
/**
|
|
1648
|
-
* The response body as text (string format)
|
|
1649
|
-
*/
|
|
1650
|
-
bodyAsText: string;
|
|
1651
|
-
/**
|
|
1652
|
-
* The response body as parsed JSON or XML
|
|
1653
|
-
*/
|
|
1654
|
-
parsedBody: Remediation;
|
|
1655
|
-
};
|
|
1656
|
-
};
|
|
1657
|
-
/**
|
|
1658
|
-
* Contains response data for the listDeploymentsAtSubscription operation.
|
|
1659
|
-
*/
|
|
1660
|
-
export declare type RemediationsListDeploymentsAtSubscriptionResponse = RemediationDeploymentsListResult & {
|
|
1661
|
-
/**
|
|
1662
|
-
* The underlying HTTP response.
|
|
1663
|
-
*/
|
|
1664
|
-
_response: msRest.HttpResponse & {
|
|
1665
|
-
/**
|
|
1666
|
-
* The response body as text (string format)
|
|
1667
|
-
*/
|
|
1668
|
-
bodyAsText: string;
|
|
1669
|
-
/**
|
|
1670
|
-
* The response body as parsed JSON or XML
|
|
1671
|
-
*/
|
|
1672
|
-
parsedBody: RemediationDeploymentsListResult;
|
|
1673
|
-
};
|
|
1674
|
-
};
|
|
1675
|
-
/**
|
|
1676
|
-
* Contains response data for the cancelAtSubscription operation.
|
|
1677
|
-
*/
|
|
1678
|
-
export declare type RemediationsCancelAtSubscriptionResponse = Remediation & {
|
|
1679
|
-
/**
|
|
1680
|
-
* The underlying HTTP response.
|
|
1681
|
-
*/
|
|
1682
|
-
_response: msRest.HttpResponse & {
|
|
1683
|
-
/**
|
|
1684
|
-
* The response body as text (string format)
|
|
1685
|
-
*/
|
|
1686
|
-
bodyAsText: string;
|
|
1687
|
-
/**
|
|
1688
|
-
* The response body as parsed JSON or XML
|
|
1689
|
-
*/
|
|
1690
|
-
parsedBody: Remediation;
|
|
1691
|
-
};
|
|
1692
|
-
};
|
|
1693
|
-
/**
|
|
1694
|
-
* Contains response data for the listForSubscription operation.
|
|
1695
|
-
*/
|
|
1696
|
-
export declare type RemediationsListForSubscriptionResponse = RemediationListResult & {
|
|
1697
|
-
/**
|
|
1698
|
-
* The underlying HTTP response.
|
|
1699
|
-
*/
|
|
1700
|
-
_response: msRest.HttpResponse & {
|
|
1701
|
-
/**
|
|
1702
|
-
* The response body as text (string format)
|
|
1703
|
-
*/
|
|
1704
|
-
bodyAsText: string;
|
|
1705
|
-
/**
|
|
1706
|
-
* The response body as parsed JSON or XML
|
|
1707
|
-
*/
|
|
1708
|
-
parsedBody: RemediationListResult;
|
|
1709
|
-
};
|
|
1710
|
-
};
|
|
1711
|
-
/**
|
|
1712
|
-
* Contains response data for the createOrUpdateAtSubscription operation.
|
|
1713
|
-
*/
|
|
1714
|
-
export declare type RemediationsCreateOrUpdateAtSubscriptionResponse = Remediation & {
|
|
1715
|
-
/**
|
|
1716
|
-
* The underlying HTTP response.
|
|
1717
|
-
*/
|
|
1718
|
-
_response: msRest.HttpResponse & {
|
|
1719
|
-
/**
|
|
1720
|
-
* The response body as text (string format)
|
|
1721
|
-
*/
|
|
1722
|
-
bodyAsText: string;
|
|
1723
|
-
/**
|
|
1724
|
-
* The response body as parsed JSON or XML
|
|
1725
|
-
*/
|
|
1726
|
-
parsedBody: Remediation;
|
|
1727
|
-
};
|
|
1728
|
-
};
|
|
1729
|
-
/**
|
|
1730
|
-
* Contains response data for the getAtSubscription operation.
|
|
1731
|
-
*/
|
|
1732
|
-
export declare type RemediationsGetAtSubscriptionResponse = Remediation & {
|
|
1733
|
-
/**
|
|
1734
|
-
* The underlying HTTP response.
|
|
1735
|
-
*/
|
|
1736
|
-
_response: msRest.HttpResponse & {
|
|
1737
|
-
/**
|
|
1738
|
-
* The response body as text (string format)
|
|
1739
|
-
*/
|
|
1740
|
-
bodyAsText: string;
|
|
1741
|
-
/**
|
|
1742
|
-
* The response body as parsed JSON or XML
|
|
1743
|
-
*/
|
|
1744
|
-
parsedBody: Remediation;
|
|
1745
|
-
};
|
|
1746
|
-
};
|
|
1747
|
-
/**
|
|
1748
|
-
* Contains response data for the deleteAtSubscription operation.
|
|
1749
|
-
*/
|
|
1750
|
-
export declare type RemediationsDeleteAtSubscriptionResponse = Remediation & {
|
|
1751
|
-
/**
|
|
1752
|
-
* The underlying HTTP response.
|
|
1753
|
-
*/
|
|
1754
|
-
_response: msRest.HttpResponse & {
|
|
1755
|
-
/**
|
|
1756
|
-
* The response body as text (string format)
|
|
1757
|
-
*/
|
|
1758
|
-
bodyAsText: string;
|
|
1759
|
-
/**
|
|
1760
|
-
* The response body as parsed JSON or XML
|
|
1761
|
-
*/
|
|
1762
|
-
parsedBody: Remediation;
|
|
1763
|
-
};
|
|
1764
|
-
};
|
|
1765
|
-
/**
|
|
1766
|
-
* Contains response data for the listDeploymentsAtResourceGroup operation.
|
|
1767
|
-
*/
|
|
1768
|
-
export declare type RemediationsListDeploymentsAtResourceGroupResponse = RemediationDeploymentsListResult & {
|
|
1769
|
-
/**
|
|
1770
|
-
* The underlying HTTP response.
|
|
1771
|
-
*/
|
|
1772
|
-
_response: msRest.HttpResponse & {
|
|
1773
|
-
/**
|
|
1774
|
-
* The response body as text (string format)
|
|
1775
|
-
*/
|
|
1776
|
-
bodyAsText: string;
|
|
1777
|
-
/**
|
|
1778
|
-
* The response body as parsed JSON or XML
|
|
1779
|
-
*/
|
|
1780
|
-
parsedBody: RemediationDeploymentsListResult;
|
|
1781
|
-
};
|
|
1782
|
-
};
|
|
1783
|
-
/**
|
|
1784
|
-
* Contains response data for the cancelAtResourceGroup operation.
|
|
1785
|
-
*/
|
|
1786
|
-
export declare type RemediationsCancelAtResourceGroupResponse = Remediation & {
|
|
1787
|
-
/**
|
|
1788
|
-
* The underlying HTTP response.
|
|
1789
|
-
*/
|
|
1790
|
-
_response: msRest.HttpResponse & {
|
|
1791
|
-
/**
|
|
1792
|
-
* The response body as text (string format)
|
|
1793
|
-
*/
|
|
1794
|
-
bodyAsText: string;
|
|
1795
|
-
/**
|
|
1796
|
-
* The response body as parsed JSON or XML
|
|
1797
|
-
*/
|
|
1798
|
-
parsedBody: Remediation;
|
|
1799
|
-
};
|
|
1800
|
-
};
|
|
1801
|
-
/**
|
|
1802
|
-
* Contains response data for the listForResourceGroup operation.
|
|
1803
|
-
*/
|
|
1804
|
-
export declare type RemediationsListForResourceGroupResponse = RemediationListResult & {
|
|
1805
|
-
/**
|
|
1806
|
-
* The underlying HTTP response.
|
|
1807
|
-
*/
|
|
1808
|
-
_response: msRest.HttpResponse & {
|
|
1809
|
-
/**
|
|
1810
|
-
* The response body as text (string format)
|
|
1811
|
-
*/
|
|
1812
|
-
bodyAsText: string;
|
|
1813
|
-
/**
|
|
1814
|
-
* The response body as parsed JSON or XML
|
|
1815
|
-
*/
|
|
1816
|
-
parsedBody: RemediationListResult;
|
|
1817
|
-
};
|
|
1818
|
-
};
|
|
1819
|
-
/**
|
|
1820
|
-
* Contains response data for the createOrUpdateAtResourceGroup operation.
|
|
1821
|
-
*/
|
|
1822
|
-
export declare type RemediationsCreateOrUpdateAtResourceGroupResponse = Remediation & {
|
|
1823
|
-
/**
|
|
1824
|
-
* The underlying HTTP response.
|
|
1825
|
-
*/
|
|
1826
|
-
_response: msRest.HttpResponse & {
|
|
1827
|
-
/**
|
|
1828
|
-
* The response body as text (string format)
|
|
1829
|
-
*/
|
|
1830
|
-
bodyAsText: string;
|
|
1831
|
-
/**
|
|
1832
|
-
* The response body as parsed JSON or XML
|
|
1833
|
-
*/
|
|
1834
|
-
parsedBody: Remediation;
|
|
1835
|
-
};
|
|
1836
|
-
};
|
|
1837
|
-
/**
|
|
1838
|
-
* Contains response data for the getAtResourceGroup operation.
|
|
1839
|
-
*/
|
|
1840
|
-
export declare type RemediationsGetAtResourceGroupResponse = Remediation & {
|
|
1841
|
-
/**
|
|
1842
|
-
* The underlying HTTP response.
|
|
1843
|
-
*/
|
|
1844
|
-
_response: msRest.HttpResponse & {
|
|
1845
|
-
/**
|
|
1846
|
-
* The response body as text (string format)
|
|
1847
|
-
*/
|
|
1848
|
-
bodyAsText: string;
|
|
1849
|
-
/**
|
|
1850
|
-
* The response body as parsed JSON or XML
|
|
1851
|
-
*/
|
|
1852
|
-
parsedBody: Remediation;
|
|
1853
|
-
};
|
|
1854
|
-
};
|
|
1855
|
-
/**
|
|
1856
|
-
* Contains response data for the deleteAtResourceGroup operation.
|
|
1857
|
-
*/
|
|
1858
|
-
export declare type RemediationsDeleteAtResourceGroupResponse = Remediation & {
|
|
1859
|
-
/**
|
|
1860
|
-
* The underlying HTTP response.
|
|
1861
|
-
*/
|
|
1862
|
-
_response: msRest.HttpResponse & {
|
|
1863
|
-
/**
|
|
1864
|
-
* The response body as text (string format)
|
|
1865
|
-
*/
|
|
1866
|
-
bodyAsText: string;
|
|
1867
|
-
/**
|
|
1868
|
-
* The response body as parsed JSON or XML
|
|
1869
|
-
*/
|
|
1870
|
-
parsedBody: Remediation;
|
|
1871
|
-
};
|
|
1872
|
-
};
|
|
1873
|
-
/**
|
|
1874
|
-
* Contains response data for the listDeploymentsAtResource operation.
|
|
1875
|
-
*/
|
|
1876
|
-
export declare type RemediationsListDeploymentsAtResourceResponse = RemediationDeploymentsListResult & {
|
|
1877
|
-
/**
|
|
1878
|
-
* The underlying HTTP response.
|
|
1879
|
-
*/
|
|
1880
|
-
_response: msRest.HttpResponse & {
|
|
1881
|
-
/**
|
|
1882
|
-
* The response body as text (string format)
|
|
1883
|
-
*/
|
|
1884
|
-
bodyAsText: string;
|
|
1885
|
-
/**
|
|
1886
|
-
* The response body as parsed JSON or XML
|
|
1887
|
-
*/
|
|
1888
|
-
parsedBody: RemediationDeploymentsListResult;
|
|
1889
|
-
};
|
|
1890
|
-
};
|
|
1891
|
-
/**
|
|
1892
|
-
* Contains response data for the cancelAtResource operation.
|
|
1893
|
-
*/
|
|
1894
|
-
export declare type RemediationsCancelAtResourceResponse = Remediation & {
|
|
1895
|
-
/**
|
|
1896
|
-
* The underlying HTTP response.
|
|
1897
|
-
*/
|
|
1898
|
-
_response: msRest.HttpResponse & {
|
|
1899
|
-
/**
|
|
1900
|
-
* The response body as text (string format)
|
|
1901
|
-
*/
|
|
1902
|
-
bodyAsText: string;
|
|
1903
|
-
/**
|
|
1904
|
-
* The response body as parsed JSON or XML
|
|
1905
|
-
*/
|
|
1906
|
-
parsedBody: Remediation;
|
|
1907
|
-
};
|
|
1908
|
-
};
|
|
1909
|
-
/**
|
|
1910
|
-
* Contains response data for the listForResource operation.
|
|
1911
|
-
*/
|
|
1912
|
-
export declare type RemediationsListForResourceResponse = RemediationListResult & {
|
|
1913
|
-
/**
|
|
1914
|
-
* The underlying HTTP response.
|
|
1915
|
-
*/
|
|
1916
|
-
_response: msRest.HttpResponse & {
|
|
1917
|
-
/**
|
|
1918
|
-
* The response body as text (string format)
|
|
1919
|
-
*/
|
|
1920
|
-
bodyAsText: string;
|
|
1921
|
-
/**
|
|
1922
|
-
* The response body as parsed JSON or XML
|
|
1923
|
-
*/
|
|
1924
|
-
parsedBody: RemediationListResult;
|
|
1925
|
-
};
|
|
1926
|
-
};
|
|
1927
|
-
/**
|
|
1928
|
-
* Contains response data for the createOrUpdateAtResource operation.
|
|
1929
|
-
*/
|
|
1930
|
-
export declare type RemediationsCreateOrUpdateAtResourceResponse = Remediation & {
|
|
1931
|
-
/**
|
|
1932
|
-
* The underlying HTTP response.
|
|
1933
|
-
*/
|
|
1934
|
-
_response: msRest.HttpResponse & {
|
|
1935
|
-
/**
|
|
1936
|
-
* The response body as text (string format)
|
|
1937
|
-
*/
|
|
1938
|
-
bodyAsText: string;
|
|
1939
|
-
/**
|
|
1940
|
-
* The response body as parsed JSON or XML
|
|
1941
|
-
*/
|
|
1942
|
-
parsedBody: Remediation;
|
|
1943
|
-
};
|
|
1944
|
-
};
|
|
1945
|
-
/**
|
|
1946
|
-
* Contains response data for the getAtResource operation.
|
|
1947
|
-
*/
|
|
1948
|
-
export declare type RemediationsGetAtResourceResponse = Remediation & {
|
|
1949
|
-
/**
|
|
1950
|
-
* The underlying HTTP response.
|
|
1951
|
-
*/
|
|
1952
|
-
_response: msRest.HttpResponse & {
|
|
1953
|
-
/**
|
|
1954
|
-
* The response body as text (string format)
|
|
1955
|
-
*/
|
|
1956
|
-
bodyAsText: string;
|
|
1957
|
-
/**
|
|
1958
|
-
* The response body as parsed JSON or XML
|
|
1959
|
-
*/
|
|
1960
|
-
parsedBody: Remediation;
|
|
1961
|
-
};
|
|
1962
|
-
};
|
|
1963
|
-
/**
|
|
1964
|
-
* Contains response data for the deleteAtResource operation.
|
|
1965
|
-
*/
|
|
1966
|
-
export declare type RemediationsDeleteAtResourceResponse = Remediation & {
|
|
1967
|
-
/**
|
|
1968
|
-
* The underlying HTTP response.
|
|
1969
|
-
*/
|
|
1970
|
-
_response: msRest.HttpResponse & {
|
|
1971
|
-
/**
|
|
1972
|
-
* The response body as text (string format)
|
|
1973
|
-
*/
|
|
1974
|
-
bodyAsText: string;
|
|
1975
|
-
/**
|
|
1976
|
-
* The response body as parsed JSON or XML
|
|
1977
|
-
*/
|
|
1978
|
-
parsedBody: Remediation;
|
|
1979
|
-
};
|
|
1980
|
-
};
|
|
1981
|
-
/**
|
|
1982
|
-
* Contains response data for the listDeploymentsAtManagementGroupNext operation.
|
|
1983
|
-
*/
|
|
1984
|
-
export declare type RemediationsListDeploymentsAtManagementGroupNextResponse = RemediationDeploymentsListResult & {
|
|
1985
|
-
/**
|
|
1986
|
-
* The underlying HTTP response.
|
|
1987
|
-
*/
|
|
1988
|
-
_response: msRest.HttpResponse & {
|
|
1989
|
-
/**
|
|
1990
|
-
* The response body as text (string format)
|
|
1991
|
-
*/
|
|
1992
|
-
bodyAsText: string;
|
|
1993
|
-
/**
|
|
1994
|
-
* The response body as parsed JSON or XML
|
|
1995
|
-
*/
|
|
1996
|
-
parsedBody: RemediationDeploymentsListResult;
|
|
1997
|
-
};
|
|
1998
|
-
};
|
|
1999
|
-
/**
|
|
2000
|
-
* Contains response data for the listForManagementGroupNext operation.
|
|
2001
|
-
*/
|
|
2002
|
-
export declare type RemediationsListForManagementGroupNextResponse = RemediationListResult & {
|
|
2003
|
-
/**
|
|
2004
|
-
* The underlying HTTP response.
|
|
2005
|
-
*/
|
|
2006
|
-
_response: msRest.HttpResponse & {
|
|
2007
|
-
/**
|
|
2008
|
-
* The response body as text (string format)
|
|
2009
|
-
*/
|
|
2010
|
-
bodyAsText: string;
|
|
2011
|
-
/**
|
|
2012
|
-
* The response body as parsed JSON or XML
|
|
2013
|
-
*/
|
|
2014
|
-
parsedBody: RemediationListResult;
|
|
2015
|
-
};
|
|
2016
|
-
};
|
|
2017
|
-
/**
|
|
2018
|
-
* Contains response data for the listDeploymentsAtSubscriptionNext operation.
|
|
2019
|
-
*/
|
|
2020
|
-
export declare type RemediationsListDeploymentsAtSubscriptionNextResponse = RemediationDeploymentsListResult & {
|
|
2021
|
-
/**
|
|
2022
|
-
* The underlying HTTP response.
|
|
2023
|
-
*/
|
|
2024
|
-
_response: msRest.HttpResponse & {
|
|
2025
|
-
/**
|
|
2026
|
-
* The response body as text (string format)
|
|
2027
|
-
*/
|
|
2028
|
-
bodyAsText: string;
|
|
2029
|
-
/**
|
|
2030
|
-
* The response body as parsed JSON or XML
|
|
2031
|
-
*/
|
|
2032
|
-
parsedBody: RemediationDeploymentsListResult;
|
|
2033
|
-
};
|
|
2034
|
-
};
|
|
2035
|
-
/**
|
|
2036
|
-
* Contains response data for the listForSubscriptionNext operation.
|
|
2037
|
-
*/
|
|
2038
|
-
export declare type RemediationsListForSubscriptionNextResponse = RemediationListResult & {
|
|
2039
|
-
/**
|
|
2040
|
-
* The underlying HTTP response.
|
|
2041
|
-
*/
|
|
2042
|
-
_response: msRest.HttpResponse & {
|
|
2043
|
-
/**
|
|
2044
|
-
* The response body as text (string format)
|
|
2045
|
-
*/
|
|
2046
|
-
bodyAsText: string;
|
|
2047
|
-
/**
|
|
2048
|
-
* The response body as parsed JSON or XML
|
|
2049
|
-
*/
|
|
2050
|
-
parsedBody: RemediationListResult;
|
|
2051
|
-
};
|
|
2052
|
-
};
|
|
2053
|
-
/**
|
|
2054
|
-
* Contains response data for the listDeploymentsAtResourceGroupNext operation.
|
|
2055
|
-
*/
|
|
2056
|
-
export declare type RemediationsListDeploymentsAtResourceGroupNextResponse = RemediationDeploymentsListResult & {
|
|
2057
|
-
/**
|
|
2058
|
-
* The underlying HTTP response.
|
|
2059
|
-
*/
|
|
2060
|
-
_response: msRest.HttpResponse & {
|
|
2061
|
-
/**
|
|
2062
|
-
* The response body as text (string format)
|
|
2063
|
-
*/
|
|
2064
|
-
bodyAsText: string;
|
|
2065
|
-
/**
|
|
2066
|
-
* The response body as parsed JSON or XML
|
|
2067
|
-
*/
|
|
2068
|
-
parsedBody: RemediationDeploymentsListResult;
|
|
2069
|
-
};
|
|
2070
|
-
};
|
|
2071
|
-
/**
|
|
2072
|
-
* Contains response data for the listForResourceGroupNext operation.
|
|
2073
|
-
*/
|
|
2074
|
-
export declare type RemediationsListForResourceGroupNextResponse = RemediationListResult & {
|
|
2075
|
-
/**
|
|
2076
|
-
* The underlying HTTP response.
|
|
2077
|
-
*/
|
|
2078
|
-
_response: msRest.HttpResponse & {
|
|
2079
|
-
/**
|
|
2080
|
-
* The response body as text (string format)
|
|
2081
|
-
*/
|
|
2082
|
-
bodyAsText: string;
|
|
2083
|
-
/**
|
|
2084
|
-
* The response body as parsed JSON or XML
|
|
2085
|
-
*/
|
|
2086
|
-
parsedBody: RemediationListResult;
|
|
2087
|
-
};
|
|
2088
|
-
};
|
|
2089
|
-
/**
|
|
2090
|
-
* Contains response data for the listDeploymentsAtResourceNext operation.
|
|
2091
|
-
*/
|
|
2092
|
-
export declare type RemediationsListDeploymentsAtResourceNextResponse = RemediationDeploymentsListResult & {
|
|
2093
|
-
/**
|
|
2094
|
-
* The underlying HTTP response.
|
|
2095
|
-
*/
|
|
2096
|
-
_response: msRest.HttpResponse & {
|
|
2097
|
-
/**
|
|
2098
|
-
* The response body as text (string format)
|
|
2099
|
-
*/
|
|
2100
|
-
bodyAsText: string;
|
|
2101
|
-
/**
|
|
2102
|
-
* The response body as parsed JSON or XML
|
|
2103
|
-
*/
|
|
2104
|
-
parsedBody: RemediationDeploymentsListResult;
|
|
2105
|
-
};
|
|
2106
|
-
};
|
|
2107
|
-
/**
|
|
2108
|
-
* Contains response data for the listForResourceNext operation.
|
|
2109
|
-
*/
|
|
2110
|
-
export declare type RemediationsListForResourceNextResponse = RemediationListResult & {
|
|
2111
|
-
/**
|
|
2112
|
-
* The underlying HTTP response.
|
|
2113
|
-
*/
|
|
2114
|
-
_response: msRest.HttpResponse & {
|
|
2115
|
-
/**
|
|
2116
|
-
* The response body as text (string format)
|
|
2117
|
-
*/
|
|
2118
|
-
bodyAsText: string;
|
|
2119
|
-
/**
|
|
2120
|
-
* The response body as parsed JSON or XML
|
|
2121
|
-
*/
|
|
2122
|
-
parsedBody: RemediationListResult;
|
|
2123
|
-
};
|
|
2124
|
-
};
|
|
2125
|
-
/**
|
|
2126
|
-
* Contains response data for the listQueryResultsForManagementGroup operation.
|
|
2127
|
-
*/
|
|
2128
|
-
export declare type PolicyEventsListQueryResultsForManagementGroupResponse = PolicyEventsQueryResults & {
|
|
2129
|
-
/**
|
|
2130
|
-
* The underlying HTTP response.
|
|
2131
|
-
*/
|
|
2132
|
-
_response: msRest.HttpResponse & {
|
|
2133
|
-
/**
|
|
2134
|
-
* The response body as text (string format)
|
|
2135
|
-
*/
|
|
2136
|
-
bodyAsText: string;
|
|
2137
|
-
/**
|
|
2138
|
-
* The response body as parsed JSON or XML
|
|
2139
|
-
*/
|
|
2140
|
-
parsedBody: PolicyEventsQueryResults;
|
|
2141
|
-
};
|
|
2142
|
-
};
|
|
2143
|
-
/**
|
|
2144
|
-
* Contains response data for the listQueryResultsForSubscription operation.
|
|
2145
|
-
*/
|
|
2146
|
-
export declare type PolicyEventsListQueryResultsForSubscriptionResponse = PolicyEventsQueryResults & {
|
|
2147
|
-
/**
|
|
2148
|
-
* The underlying HTTP response.
|
|
2149
|
-
*/
|
|
2150
|
-
_response: msRest.HttpResponse & {
|
|
2151
|
-
/**
|
|
2152
|
-
* The response body as text (string format)
|
|
2153
|
-
*/
|
|
2154
|
-
bodyAsText: string;
|
|
2155
|
-
/**
|
|
2156
|
-
* The response body as parsed JSON or XML
|
|
2157
|
-
*/
|
|
2158
|
-
parsedBody: PolicyEventsQueryResults;
|
|
2159
|
-
};
|
|
2160
|
-
};
|
|
2161
|
-
/**
|
|
2162
|
-
* Contains response data for the listQueryResultsForResourceGroup operation.
|
|
2163
|
-
*/
|
|
2164
|
-
export declare type PolicyEventsListQueryResultsForResourceGroupResponse = PolicyEventsQueryResults & {
|
|
2165
|
-
/**
|
|
2166
|
-
* The underlying HTTP response.
|
|
2167
|
-
*/
|
|
2168
|
-
_response: msRest.HttpResponse & {
|
|
2169
|
-
/**
|
|
2170
|
-
* The response body as text (string format)
|
|
2171
|
-
*/
|
|
2172
|
-
bodyAsText: string;
|
|
2173
|
-
/**
|
|
2174
|
-
* The response body as parsed JSON or XML
|
|
2175
|
-
*/
|
|
2176
|
-
parsedBody: PolicyEventsQueryResults;
|
|
2177
|
-
};
|
|
2178
|
-
};
|
|
2179
|
-
/**
|
|
2180
|
-
* Contains response data for the listQueryResultsForResource operation.
|
|
2181
|
-
*/
|
|
2182
|
-
export declare type PolicyEventsListQueryResultsForResourceResponse = PolicyEventsQueryResults & {
|
|
2183
|
-
/**
|
|
2184
|
-
* The underlying HTTP response.
|
|
2185
|
-
*/
|
|
2186
|
-
_response: msRest.HttpResponse & {
|
|
2187
|
-
/**
|
|
2188
|
-
* The response body as text (string format)
|
|
2189
|
-
*/
|
|
2190
|
-
bodyAsText: string;
|
|
2191
|
-
/**
|
|
2192
|
-
* The response body as parsed JSON or XML
|
|
2193
|
-
*/
|
|
2194
|
-
parsedBody: PolicyEventsQueryResults;
|
|
2195
|
-
};
|
|
2196
|
-
};
|
|
2197
|
-
/**
|
|
2198
|
-
* Contains response data for the listQueryResultsForPolicySetDefinition operation.
|
|
2199
|
-
*/
|
|
2200
|
-
export declare type PolicyEventsListQueryResultsForPolicySetDefinitionResponse = PolicyEventsQueryResults & {
|
|
2201
|
-
/**
|
|
2202
|
-
* The underlying HTTP response.
|
|
2203
|
-
*/
|
|
2204
|
-
_response: msRest.HttpResponse & {
|
|
2205
|
-
/**
|
|
2206
|
-
* The response body as text (string format)
|
|
2207
|
-
*/
|
|
2208
|
-
bodyAsText: string;
|
|
2209
|
-
/**
|
|
2210
|
-
* The response body as parsed JSON or XML
|
|
2211
|
-
*/
|
|
2212
|
-
parsedBody: PolicyEventsQueryResults;
|
|
2213
|
-
};
|
|
2214
|
-
};
|
|
2215
|
-
/**
|
|
2216
|
-
* Contains response data for the listQueryResultsForPolicyDefinition operation.
|
|
2217
|
-
*/
|
|
2218
|
-
export declare type PolicyEventsListQueryResultsForPolicyDefinitionResponse = PolicyEventsQueryResults & {
|
|
2219
|
-
/**
|
|
2220
|
-
* The underlying HTTP response.
|
|
2221
|
-
*/
|
|
2222
|
-
_response: msRest.HttpResponse & {
|
|
2223
|
-
/**
|
|
2224
|
-
* The response body as text (string format)
|
|
2225
|
-
*/
|
|
2226
|
-
bodyAsText: string;
|
|
2227
|
-
/**
|
|
2228
|
-
* The response body as parsed JSON or XML
|
|
2229
|
-
*/
|
|
2230
|
-
parsedBody: PolicyEventsQueryResults;
|
|
2231
|
-
};
|
|
2232
|
-
};
|
|
2233
|
-
/**
|
|
2234
|
-
* Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignment operation.
|
|
2235
|
-
*/
|
|
2236
|
-
export declare type PolicyEventsListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = PolicyEventsQueryResults & {
|
|
2237
|
-
/**
|
|
2238
|
-
* The underlying HTTP response.
|
|
2239
|
-
*/
|
|
2240
|
-
_response: msRest.HttpResponse & {
|
|
2241
|
-
/**
|
|
2242
|
-
* The response body as text (string format)
|
|
2243
|
-
*/
|
|
2244
|
-
bodyAsText: string;
|
|
2245
|
-
/**
|
|
2246
|
-
* The response body as parsed JSON or XML
|
|
2247
|
-
*/
|
|
2248
|
-
parsedBody: PolicyEventsQueryResults;
|
|
2249
|
-
};
|
|
2250
|
-
};
|
|
2251
|
-
/**
|
|
2252
|
-
* Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignment operation.
|
|
2253
|
-
*/
|
|
2254
|
-
export declare type PolicyEventsListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = PolicyEventsQueryResults & {
|
|
2255
|
-
/**
|
|
2256
|
-
* The underlying HTTP response.
|
|
2257
|
-
*/
|
|
2258
|
-
_response: msRest.HttpResponse & {
|
|
2259
|
-
/**
|
|
2260
|
-
* The response body as text (string format)
|
|
2261
|
-
*/
|
|
2262
|
-
bodyAsText: string;
|
|
2263
|
-
/**
|
|
2264
|
-
* The response body as parsed JSON or XML
|
|
2265
|
-
*/
|
|
2266
|
-
parsedBody: PolicyEventsQueryResults;
|
|
2267
|
-
};
|
|
2268
|
-
};
|
|
2269
|
-
/**
|
|
2270
|
-
* Contains response data for the getMetadata operation.
|
|
2271
|
-
*/
|
|
2272
|
-
export declare type PolicyEventsGetMetadataResponse = {
|
|
2273
|
-
/**
|
|
2274
|
-
* The parsed response body.
|
|
2275
|
-
*/
|
|
2276
|
-
body: string;
|
|
2277
|
-
/**
|
|
2278
|
-
* The underlying HTTP response.
|
|
2279
|
-
*/
|
|
2280
|
-
_response: msRest.HttpResponse & {
|
|
2281
|
-
/**
|
|
2282
|
-
* The response body as text (string format)
|
|
2283
|
-
*/
|
|
2284
|
-
bodyAsText: string;
|
|
2285
|
-
/**
|
|
2286
|
-
* The response body as parsed JSON or XML
|
|
2287
|
-
*/
|
|
2288
|
-
parsedBody: string;
|
|
2289
|
-
};
|
|
2290
|
-
};
|
|
2291
|
-
/**
|
|
2292
|
-
* Contains response data for the listQueryResultsForManagementGroup operation.
|
|
2293
|
-
*/
|
|
2294
|
-
export declare type PolicyStatesListQueryResultsForManagementGroupResponse = PolicyStatesQueryResults & {
|
|
2295
|
-
/**
|
|
2296
|
-
* The underlying HTTP response.
|
|
2297
|
-
*/
|
|
2298
|
-
_response: msRest.HttpResponse & {
|
|
2299
|
-
/**
|
|
2300
|
-
* The response body as text (string format)
|
|
2301
|
-
*/
|
|
2302
|
-
bodyAsText: string;
|
|
2303
|
-
/**
|
|
2304
|
-
* The response body as parsed JSON or XML
|
|
2305
|
-
*/
|
|
2306
|
-
parsedBody: PolicyStatesQueryResults;
|
|
2307
|
-
};
|
|
2308
|
-
};
|
|
2309
|
-
/**
|
|
2310
|
-
* Contains response data for the summarizeForManagementGroup operation.
|
|
2311
|
-
*/
|
|
2312
|
-
export declare type PolicyStatesSummarizeForManagementGroupResponse = SummarizeResults & {
|
|
2313
|
-
/**
|
|
2314
|
-
* The underlying HTTP response.
|
|
2315
|
-
*/
|
|
2316
|
-
_response: msRest.HttpResponse & {
|
|
2317
|
-
/**
|
|
2318
|
-
* The response body as text (string format)
|
|
2319
|
-
*/
|
|
2320
|
-
bodyAsText: string;
|
|
2321
|
-
/**
|
|
2322
|
-
* The response body as parsed JSON or XML
|
|
2323
|
-
*/
|
|
2324
|
-
parsedBody: SummarizeResults;
|
|
2325
|
-
};
|
|
2326
|
-
};
|
|
2327
|
-
/**
|
|
2328
|
-
* Contains response data for the listQueryResultsForSubscription operation.
|
|
2329
|
-
*/
|
|
2330
|
-
export declare type PolicyStatesListQueryResultsForSubscriptionResponse = PolicyStatesQueryResults & {
|
|
2331
|
-
/**
|
|
2332
|
-
* The underlying HTTP response.
|
|
2333
|
-
*/
|
|
2334
|
-
_response: msRest.HttpResponse & {
|
|
2335
|
-
/**
|
|
2336
|
-
* The response body as text (string format)
|
|
2337
|
-
*/
|
|
2338
|
-
bodyAsText: string;
|
|
2339
|
-
/**
|
|
2340
|
-
* The response body as parsed JSON or XML
|
|
2341
|
-
*/
|
|
2342
|
-
parsedBody: PolicyStatesQueryResults;
|
|
2343
|
-
};
|
|
2344
|
-
};
|
|
2345
|
-
/**
|
|
2346
|
-
* Contains response data for the summarizeForSubscription operation.
|
|
2347
|
-
*/
|
|
2348
|
-
export declare type PolicyStatesSummarizeForSubscriptionResponse = SummarizeResults & {
|
|
2349
|
-
/**
|
|
2350
|
-
* The underlying HTTP response.
|
|
2351
|
-
*/
|
|
2352
|
-
_response: msRest.HttpResponse & {
|
|
2353
|
-
/**
|
|
2354
|
-
* The response body as text (string format)
|
|
2355
|
-
*/
|
|
2356
|
-
bodyAsText: string;
|
|
2357
|
-
/**
|
|
2358
|
-
* The response body as parsed JSON or XML
|
|
2359
|
-
*/
|
|
2360
|
-
parsedBody: SummarizeResults;
|
|
2361
|
-
};
|
|
2362
|
-
};
|
|
2363
|
-
/**
|
|
2364
|
-
* Contains response data for the listQueryResultsForResourceGroup operation.
|
|
2365
|
-
*/
|
|
2366
|
-
export declare type PolicyStatesListQueryResultsForResourceGroupResponse = PolicyStatesQueryResults & {
|
|
2367
|
-
/**
|
|
2368
|
-
* The underlying HTTP response.
|
|
2369
|
-
*/
|
|
2370
|
-
_response: msRest.HttpResponse & {
|
|
2371
|
-
/**
|
|
2372
|
-
* The response body as text (string format)
|
|
2373
|
-
*/
|
|
2374
|
-
bodyAsText: string;
|
|
2375
|
-
/**
|
|
2376
|
-
* The response body as parsed JSON or XML
|
|
2377
|
-
*/
|
|
2378
|
-
parsedBody: PolicyStatesQueryResults;
|
|
2379
|
-
};
|
|
2380
|
-
};
|
|
2381
|
-
/**
|
|
2382
|
-
* Contains response data for the summarizeForResourceGroup operation.
|
|
2383
|
-
*/
|
|
2384
|
-
export declare type PolicyStatesSummarizeForResourceGroupResponse = SummarizeResults & {
|
|
2385
|
-
/**
|
|
2386
|
-
* The underlying HTTP response.
|
|
2387
|
-
*/
|
|
2388
|
-
_response: msRest.HttpResponse & {
|
|
2389
|
-
/**
|
|
2390
|
-
* The response body as text (string format)
|
|
2391
|
-
*/
|
|
2392
|
-
bodyAsText: string;
|
|
2393
|
-
/**
|
|
2394
|
-
* The response body as parsed JSON or XML
|
|
2395
|
-
*/
|
|
2396
|
-
parsedBody: SummarizeResults;
|
|
2397
|
-
};
|
|
2398
|
-
};
|
|
2399
|
-
/**
|
|
2400
|
-
* Contains response data for the listQueryResultsForResource operation.
|
|
2401
|
-
*/
|
|
2402
|
-
export declare type PolicyStatesListQueryResultsForResourceResponse = PolicyStatesQueryResults & {
|
|
2403
|
-
/**
|
|
2404
|
-
* The underlying HTTP response.
|
|
2405
|
-
*/
|
|
2406
|
-
_response: msRest.HttpResponse & {
|
|
2407
|
-
/**
|
|
2408
|
-
* The response body as text (string format)
|
|
2409
|
-
*/
|
|
2410
|
-
bodyAsText: string;
|
|
2411
|
-
/**
|
|
2412
|
-
* The response body as parsed JSON or XML
|
|
2413
|
-
*/
|
|
2414
|
-
parsedBody: PolicyStatesQueryResults;
|
|
2415
|
-
};
|
|
2416
|
-
};
|
|
2417
|
-
/**
|
|
2418
|
-
* Contains response data for the summarizeForResource operation.
|
|
2419
|
-
*/
|
|
2420
|
-
export declare type PolicyStatesSummarizeForResourceResponse = SummarizeResults & {
|
|
2421
|
-
/**
|
|
2422
|
-
* The underlying HTTP response.
|
|
2423
|
-
*/
|
|
2424
|
-
_response: msRest.HttpResponse & {
|
|
2425
|
-
/**
|
|
2426
|
-
* The response body as text (string format)
|
|
2427
|
-
*/
|
|
2428
|
-
bodyAsText: string;
|
|
2429
|
-
/**
|
|
2430
|
-
* The response body as parsed JSON or XML
|
|
2431
|
-
*/
|
|
2432
|
-
parsedBody: SummarizeResults;
|
|
2433
|
-
};
|
|
2434
|
-
};
|
|
2435
|
-
/**
|
|
2436
|
-
* Contains response data for the listQueryResultsForPolicySetDefinition operation.
|
|
2437
|
-
*/
|
|
2438
|
-
export declare type PolicyStatesListQueryResultsForPolicySetDefinitionResponse = PolicyStatesQueryResults & {
|
|
2439
|
-
/**
|
|
2440
|
-
* The underlying HTTP response.
|
|
2441
|
-
*/
|
|
2442
|
-
_response: msRest.HttpResponse & {
|
|
2443
|
-
/**
|
|
2444
|
-
* The response body as text (string format)
|
|
2445
|
-
*/
|
|
2446
|
-
bodyAsText: string;
|
|
2447
|
-
/**
|
|
2448
|
-
* The response body as parsed JSON or XML
|
|
2449
|
-
*/
|
|
2450
|
-
parsedBody: PolicyStatesQueryResults;
|
|
2451
|
-
};
|
|
2452
|
-
};
|
|
2453
|
-
/**
|
|
2454
|
-
* Contains response data for the summarizeForPolicySetDefinition operation.
|
|
2455
|
-
*/
|
|
2456
|
-
export declare type PolicyStatesSummarizeForPolicySetDefinitionResponse = SummarizeResults & {
|
|
2457
|
-
/**
|
|
2458
|
-
* The underlying HTTP response.
|
|
2459
|
-
*/
|
|
2460
|
-
_response: msRest.HttpResponse & {
|
|
2461
|
-
/**
|
|
2462
|
-
* The response body as text (string format)
|
|
2463
|
-
*/
|
|
2464
|
-
bodyAsText: string;
|
|
2465
|
-
/**
|
|
2466
|
-
* The response body as parsed JSON or XML
|
|
2467
|
-
*/
|
|
2468
|
-
parsedBody: SummarizeResults;
|
|
2469
|
-
};
|
|
2470
|
-
};
|
|
2471
|
-
/**
|
|
2472
|
-
* Contains response data for the listQueryResultsForPolicyDefinition operation.
|
|
2473
|
-
*/
|
|
2474
|
-
export declare type PolicyStatesListQueryResultsForPolicyDefinitionResponse = PolicyStatesQueryResults & {
|
|
2475
|
-
/**
|
|
2476
|
-
* The underlying HTTP response.
|
|
2477
|
-
*/
|
|
2478
|
-
_response: msRest.HttpResponse & {
|
|
2479
|
-
/**
|
|
2480
|
-
* The response body as text (string format)
|
|
2481
|
-
*/
|
|
2482
|
-
bodyAsText: string;
|
|
2483
|
-
/**
|
|
2484
|
-
* The response body as parsed JSON or XML
|
|
2485
|
-
*/
|
|
2486
|
-
parsedBody: PolicyStatesQueryResults;
|
|
2487
|
-
};
|
|
2488
|
-
};
|
|
2489
|
-
/**
|
|
2490
|
-
* Contains response data for the summarizeForPolicyDefinition operation.
|
|
2491
|
-
*/
|
|
2492
|
-
export declare type PolicyStatesSummarizeForPolicyDefinitionResponse = SummarizeResults & {
|
|
2493
|
-
/**
|
|
2494
|
-
* The underlying HTTP response.
|
|
2495
|
-
*/
|
|
2496
|
-
_response: msRest.HttpResponse & {
|
|
2497
|
-
/**
|
|
2498
|
-
* The response body as text (string format)
|
|
2499
|
-
*/
|
|
2500
|
-
bodyAsText: string;
|
|
2501
|
-
/**
|
|
2502
|
-
* The response body as parsed JSON or XML
|
|
2503
|
-
*/
|
|
2504
|
-
parsedBody: SummarizeResults;
|
|
2505
|
-
};
|
|
2506
|
-
};
|
|
2507
|
-
/**
|
|
2508
|
-
* Contains response data for the listQueryResultsForSubscriptionLevelPolicyAssignment operation.
|
|
2509
|
-
*/
|
|
2510
|
-
export declare type PolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentResponse = PolicyStatesQueryResults & {
|
|
2511
|
-
/**
|
|
2512
|
-
* The underlying HTTP response.
|
|
2513
|
-
*/
|
|
2514
|
-
_response: msRest.HttpResponse & {
|
|
2515
|
-
/**
|
|
2516
|
-
* The response body as text (string format)
|
|
2517
|
-
*/
|
|
2518
|
-
bodyAsText: string;
|
|
2519
|
-
/**
|
|
2520
|
-
* The response body as parsed JSON or XML
|
|
2521
|
-
*/
|
|
2522
|
-
parsedBody: PolicyStatesQueryResults;
|
|
2523
|
-
};
|
|
2524
|
-
};
|
|
2525
|
-
/**
|
|
2526
|
-
* Contains response data for the summarizeForSubscriptionLevelPolicyAssignment operation.
|
|
2527
|
-
*/
|
|
2528
|
-
export declare type PolicyStatesSummarizeForSubscriptionLevelPolicyAssignmentResponse = SummarizeResults & {
|
|
2529
|
-
/**
|
|
2530
|
-
* The underlying HTTP response.
|
|
2531
|
-
*/
|
|
2532
|
-
_response: msRest.HttpResponse & {
|
|
2533
|
-
/**
|
|
2534
|
-
* The response body as text (string format)
|
|
2535
|
-
*/
|
|
2536
|
-
bodyAsText: string;
|
|
2537
|
-
/**
|
|
2538
|
-
* The response body as parsed JSON or XML
|
|
2539
|
-
*/
|
|
2540
|
-
parsedBody: SummarizeResults;
|
|
2541
|
-
};
|
|
2542
|
-
};
|
|
2543
|
-
/**
|
|
2544
|
-
* Contains response data for the listQueryResultsForResourceGroupLevelPolicyAssignment operation.
|
|
2545
|
-
*/
|
|
2546
|
-
export declare type PolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentResponse = PolicyStatesQueryResults & {
|
|
2547
|
-
/**
|
|
2548
|
-
* The underlying HTTP response.
|
|
2549
|
-
*/
|
|
2550
|
-
_response: msRest.HttpResponse & {
|
|
2551
|
-
/**
|
|
2552
|
-
* The response body as text (string format)
|
|
2553
|
-
*/
|
|
2554
|
-
bodyAsText: string;
|
|
2555
|
-
/**
|
|
2556
|
-
* The response body as parsed JSON or XML
|
|
2557
|
-
*/
|
|
2558
|
-
parsedBody: PolicyStatesQueryResults;
|
|
2559
|
-
};
|
|
2560
|
-
};
|
|
2561
|
-
/**
|
|
2562
|
-
* Contains response data for the summarizeForResourceGroupLevelPolicyAssignment operation.
|
|
2563
|
-
*/
|
|
2564
|
-
export declare type PolicyStatesSummarizeForResourceGroupLevelPolicyAssignmentResponse = SummarizeResults & {
|
|
2565
|
-
/**
|
|
2566
|
-
* The underlying HTTP response.
|
|
2567
|
-
*/
|
|
2568
|
-
_response: msRest.HttpResponse & {
|
|
2569
|
-
/**
|
|
2570
|
-
* The response body as text (string format)
|
|
2571
|
-
*/
|
|
2572
|
-
bodyAsText: string;
|
|
2573
|
-
/**
|
|
2574
|
-
* The response body as parsed JSON or XML
|
|
2575
|
-
*/
|
|
2576
|
-
parsedBody: SummarizeResults;
|
|
2577
|
-
};
|
|
2578
|
-
};
|
|
2579
|
-
/**
|
|
2580
|
-
* Contains response data for the list operation.
|
|
2581
|
-
*/
|
|
2582
|
-
export declare type OperationsListResponse = OperationsListResults & {
|
|
2583
|
-
/**
|
|
2584
|
-
* The underlying HTTP response.
|
|
2585
|
-
*/
|
|
2586
|
-
_response: msRest.HttpResponse & {
|
|
2587
|
-
/**
|
|
2588
|
-
* The response body as text (string format)
|
|
2589
|
-
*/
|
|
2590
|
-
bodyAsText: string;
|
|
2591
|
-
/**
|
|
2592
|
-
* The response body as parsed JSON or XML
|
|
2593
|
-
*/
|
|
2594
|
-
parsedBody: OperationsListResults;
|
|
2595
|
-
};
|
|
2596
|
-
};
|
|
2597
|
-
/**
|
|
2598
|
-
* Contains response data for the getResource operation.
|
|
2599
|
-
*/
|
|
2600
|
-
export declare type PolicyMetadataGetResourceResponse = PolicyMetadata & {
|
|
2601
|
-
/**
|
|
2602
|
-
* The underlying HTTP response.
|
|
2603
|
-
*/
|
|
2604
|
-
_response: msRest.HttpResponse & {
|
|
2605
|
-
/**
|
|
2606
|
-
* The response body as text (string format)
|
|
2607
|
-
*/
|
|
2608
|
-
bodyAsText: string;
|
|
2609
|
-
/**
|
|
2610
|
-
* The response body as parsed JSON or XML
|
|
2611
|
-
*/
|
|
2612
|
-
parsedBody: PolicyMetadata;
|
|
2613
|
-
};
|
|
2614
|
-
};
|
|
2615
|
-
/**
|
|
2616
|
-
* Contains response data for the list operation.
|
|
2617
|
-
*/
|
|
2618
|
-
export declare type PolicyMetadataListResponse = PolicyMetadataCollection & {
|
|
2619
|
-
/**
|
|
2620
|
-
* The underlying HTTP response.
|
|
2621
|
-
*/
|
|
2622
|
-
_response: msRest.HttpResponse & {
|
|
2623
|
-
/**
|
|
2624
|
-
* The response body as text (string format)
|
|
2625
|
-
*/
|
|
2626
|
-
bodyAsText: string;
|
|
2627
|
-
/**
|
|
2628
|
-
* The response body as parsed JSON or XML
|
|
2629
|
-
*/
|
|
2630
|
-
parsedBody: PolicyMetadataCollection;
|
|
2631
|
-
};
|
|
2632
|
-
};
|
|
2633
|
-
/**
|
|
2634
|
-
* Contains response data for the listNext operation.
|
|
2635
|
-
*/
|
|
2636
|
-
export declare type PolicyMetadataListNextResponse = PolicyMetadataCollection & {
|
|
2637
|
-
/**
|
|
2638
|
-
* The underlying HTTP response.
|
|
2639
|
-
*/
|
|
2640
|
-
_response: msRest.HttpResponse & {
|
|
2641
|
-
/**
|
|
2642
|
-
* The response body as text (string format)
|
|
2643
|
-
*/
|
|
2644
|
-
bodyAsText: string;
|
|
2645
|
-
/**
|
|
2646
|
-
* The response body as parsed JSON or XML
|
|
2647
|
-
*/
|
|
2648
|
-
parsedBody: PolicyMetadataCollection;
|
|
2649
|
-
};
|
|
2650
|
-
};
|
|
2651
|
-
//# sourceMappingURL=index.d.ts.map
|