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