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