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