@azure/arm-policyinsights 3.2.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +72 -79
- package/dist/index.js +8639 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1870 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +50 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +60 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1336 -589
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +42 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +202 -166
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/attestations.d.ts +161 -0
- package/dist-esm/src/operations/attestations.d.ts.map +1 -0
- package/dist-esm/src/operations/attestations.js +747 -0
- package/dist-esm/src/operations/attestations.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +5 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/policyEvents.d.ts +208 -0
- package/dist-esm/src/operations/policyEvents.d.ts.map +1 -0
- package/dist-esm/src/operations/policyEvents.js +1097 -0
- package/dist-esm/src/operations/policyEvents.js.map +1 -0
- package/dist-esm/src/operations/policyMetadataOperations.d.ts +38 -0
- package/dist-esm/src/operations/policyMetadataOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/policyMetadataOperations.js +144 -0
- package/dist-esm/src/operations/policyMetadataOperations.js.map +1 -0
- package/dist-esm/src/operations/policyRestrictions.d.ts +27 -0
- package/dist-esm/src/operations/policyRestrictions.d.ts.map +1 -0
- package/dist-esm/src/operations/policyRestrictions.js +81 -0
- package/dist-esm/src/operations/policyRestrictions.js.map +1 -0
- package/dist-esm/src/operations/policyStates.d.ts +361 -0
- package/dist-esm/src/operations/policyStates.d.ts.map +1 -0
- package/dist-esm/src/operations/policyStates.js +1632 -0
- package/dist-esm/src/operations/policyStates.js.map +1 -0
- package/dist-esm/src/operations/policyTrackedResources.d.ts +99 -0
- package/dist-esm/src/operations/policyTrackedResources.d.ts.map +1 -0
- package/dist-esm/src/operations/policyTrackedResources.js +458 -0
- package/dist-esm/src/operations/policyTrackedResources.js.map +1 -0
- package/dist-esm/src/operations/remediations.d.ts +304 -0
- package/dist-esm/src/operations/remediations.d.ts.map +1 -0
- package/dist-esm/src/operations/remediations.js +1377 -0
- package/dist-esm/src/operations/remediations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/attestations.d.ts +110 -0
- package/dist-esm/src/operationsInterfaces/attestations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/attestations.js +9 -0
- package/dist-esm/src/operationsInterfaces/attestations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +9 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +16 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyEvents.d.ts +60 -0
- package/dist-esm/src/operationsInterfaces/policyEvents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyEvents.js +9 -0
- package/dist-esm/src/operationsInterfaces/policyEvents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyMetadataOperations.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/policyMetadataOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyMetadataOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/policyMetadataOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyRestrictions.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/policyRestrictions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyRestrictions.js +9 -0
- package/dist-esm/src/operationsInterfaces/policyRestrictions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyStates.d.ts +165 -0
- package/dist-esm/src/operationsInterfaces/policyStates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyStates.js +9 -0
- package/dist-esm/src/operationsInterfaces/policyStates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/policyTrackedResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/remediations.d.ts +168 -0
- package/dist-esm/src/operationsInterfaces/remediations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/remediations.js +9 -0
- package/dist-esm/src/operationsInterfaces/remediations.js.map +1 -0
- package/dist-esm/src/policyInsightsClient.d.ts +24 -0
- package/dist-esm/src/policyInsightsClient.d.ts.map +1 -0
- package/dist-esm/src/policyInsightsClient.js +57 -0
- package/dist-esm/src/policyInsightsClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +82 -22
- package/review/arm-policyinsights.api.md +1525 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1645 -2293
- package/src/models/mappers.ts +1579 -795
- package/src/models/parameters.ts +250 -167
- package/src/operations/attestations.ts +999 -0
- package/src/operations/index.ts +5 -5
- package/src/operations/operations.ts +29 -44
- package/src/operations/policyEvents.ts +1158 -327
- package/src/operations/policyMetadataOperations.ts +108 -113
- package/src/operations/policyRestrictions.ts +111 -0
- package/src/operations/policyStates.ts +1751 -750
- package/src/operations/policyTrackedResources.ts +416 -284
- package/src/operations/remediations.ts +1208 -1248
- package/src/operationsInterfaces/attestations.ts +212 -0
- package/src/operationsInterfaces/index.ts +16 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/src/operationsInterfaces/policyEvents.ts +109 -0
- package/src/operationsInterfaces/policyMetadataOperations.ts +36 -0
- package/src/operationsInterfaces/policyRestrictions.ts +40 -0
- package/src/operationsInterfaces/policyStates.ts +287 -0
- package/src/operationsInterfaces/policyTrackedResources.ts +55 -0
- package/src/operationsInterfaces/remediations.ts +310 -0
- package/src/policyInsightsClient.ts +93 -39
- package/tsconfig.json +20 -7
- package/types/arm-policyinsights.d.ts +2728 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-policyinsights.js +0 -4909
- package/dist/arm-policyinsights.js.map +0 -1
- package/dist/arm-policyinsights.min.js +0 -1
- package/dist/arm-policyinsights.min.js.map +0 -1
- package/esm/models/index.d.ts +0 -2651
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -40
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -33
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/policyEventsMappers.d.ts +0 -2
- package/esm/models/policyEventsMappers.d.ts.map +0 -1
- package/esm/models/policyEventsMappers.js +0 -9
- package/esm/models/policyEventsMappers.js.map +0 -1
- package/esm/models/policyMetadataOperationsMappers.d.ts +0 -2
- package/esm/models/policyMetadataOperationsMappers.d.ts.map +0 -1
- package/esm/models/policyMetadataOperationsMappers.js +0 -9
- package/esm/models/policyMetadataOperationsMappers.js.map +0 -1
- package/esm/models/policyStatesMappers.d.ts +0 -2
- package/esm/models/policyStatesMappers.d.ts.map +0 -1
- package/esm/models/policyStatesMappers.js +0 -9
- package/esm/models/policyStatesMappers.js.map +0 -1
- package/esm/models/policyTrackedResourcesMappers.d.ts +0 -2
- package/esm/models/policyTrackedResourcesMappers.d.ts.map +0 -1
- package/esm/models/policyTrackedResourcesMappers.js +0 -9
- package/esm/models/policyTrackedResourcesMappers.js.map +0 -1
- package/esm/models/remediationsMappers.d.ts +0 -2
- package/esm/models/remediationsMappers.d.ts.map +0 -1
- package/esm/models/remediationsMappers.js +0 -9
- package/esm/models/remediationsMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/policyEvents.d.ts +0 -198
- package/esm/operations/policyEvents.d.ts.map +0 -1
- package/esm/operations/policyEvents.js +0 -365
- package/esm/operations/policyEvents.js.map +0 -1
- package/esm/operations/policyMetadataOperations.d.ts +0 -64
- package/esm/operations/policyMetadataOperations.d.ts.map +0 -1
- package/esm/operations/policyMetadataOperations.js +0 -106
- package/esm/operations/policyMetadataOperations.js.map +0 -1
- package/esm/operations/policyStates.d.ts +0 -442
- package/esm/operations/policyStates.d.ts.map +0 -1
- package/esm/operations/policyStates.js +0 -712
- package/esm/operations/policyStates.js.map +0 -1
- package/esm/operations/policyTrackedResources.d.ts +0 -160
- package/esm/operations/policyTrackedResources.d.ts.map +0 -1
- package/esm/operations/policyTrackedResources.js +0 -258
- package/esm/operations/policyTrackedResources.js.map +0 -1
- package/esm/operations/remediations.d.ts +0 -679
- package/esm/operations/remediations.d.ts.map +0 -1
- package/esm/operations/remediations.js +0 -1014
- package/esm/operations/remediations.js.map +0 -1
- package/esm/policyInsightsClient.d.ts +0 -22
- package/esm/policyInsightsClient.d.ts.map +0 -1
- package/esm/policyInsightsClient.js +0 -37
- package/esm/policyInsightsClient.js.map +0 -1
- package/esm/policyInsightsClientContext.d.ts +0 -13
- package/esm/policyInsightsClientContext.d.ts.map +0 -1
- package/esm/policyInsightsClientContext.js +0 -50
- package/esm/policyInsightsClientContext.js.map +0 -1
- package/src/models/operationsMappers.ts +0 -15
- package/src/models/policyEventsMappers.ts +0 -14
- package/src/models/policyMetadataOperationsMappers.ts +0 -16
- package/src/models/policyStatesMappers.ts +0 -24
- package/src/models/policyTrackedResourcesMappers.ts +0 -16
- package/src/models/remediationsMappers.ts +0 -20
- package/src/policyInsightsClientContext.ts +0 -54
package/src/models/parameters.ts
CHANGED
|
@@ -1,186 +1,239 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
9
|
+
import {
|
|
10
|
+
OperationParameter,
|
|
11
|
+
OperationURLParameter,
|
|
12
|
+
OperationQueryParameter
|
|
13
|
+
} from "@azure/core-client";
|
|
14
|
+
import {
|
|
15
|
+
Remediation as RemediationMapper,
|
|
16
|
+
CheckRestrictionsRequest as CheckRestrictionsRequestMapper,
|
|
17
|
+
Attestation as AttestationMapper
|
|
18
|
+
} from "../models/mappers";
|
|
12
19
|
|
|
13
|
-
export const
|
|
14
|
-
parameterPath: "
|
|
20
|
+
export const accept: OperationParameter = {
|
|
21
|
+
parameterPath: "accept",
|
|
15
22
|
mapper: {
|
|
16
|
-
|
|
17
|
-
|
|
23
|
+
defaultValue: "application/json",
|
|
24
|
+
isConstant: true,
|
|
25
|
+
serializedName: "Accept",
|
|
18
26
|
type: {
|
|
19
27
|
name: "String"
|
|
20
28
|
}
|
|
21
29
|
}
|
|
22
30
|
};
|
|
23
|
-
|
|
24
|
-
|
|
31
|
+
|
|
32
|
+
export const $host: OperationURLParameter = {
|
|
33
|
+
parameterPath: "$host",
|
|
25
34
|
mapper: {
|
|
35
|
+
serializedName: "$host",
|
|
26
36
|
required: true,
|
|
37
|
+
type: {
|
|
38
|
+
name: "String"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
skipEncoding: true
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export const managementGroupsNamespace: OperationURLParameter = {
|
|
45
|
+
parameterPath: "managementGroupsNamespace",
|
|
46
|
+
mapper: {
|
|
47
|
+
defaultValue: "Microsoft.Management",
|
|
27
48
|
isConstant: true,
|
|
28
|
-
serializedName: "
|
|
29
|
-
defaultValue: '2018-07-01-preview',
|
|
49
|
+
serializedName: "managementGroupsNamespace",
|
|
30
50
|
type: {
|
|
31
51
|
name: "String"
|
|
32
52
|
}
|
|
33
53
|
}
|
|
34
54
|
};
|
|
35
|
-
|
|
36
|
-
|
|
55
|
+
|
|
56
|
+
export const managementGroupName: OperationURLParameter = {
|
|
57
|
+
parameterPath: "managementGroupName",
|
|
37
58
|
mapper: {
|
|
59
|
+
serializedName: "managementGroupName",
|
|
38
60
|
required: true,
|
|
39
|
-
isConstant: true,
|
|
40
|
-
serializedName: "api-version",
|
|
41
|
-
defaultValue: '2019-07-01',
|
|
42
61
|
type: {
|
|
43
62
|
name: "String"
|
|
44
63
|
}
|
|
45
64
|
}
|
|
46
65
|
};
|
|
47
|
-
|
|
48
|
-
|
|
66
|
+
|
|
67
|
+
export const policyTrackedResourcesResource: OperationURLParameter = {
|
|
68
|
+
parameterPath: "policyTrackedResourcesResource",
|
|
49
69
|
mapper: {
|
|
50
|
-
|
|
70
|
+
defaultValue: "default",
|
|
51
71
|
isConstant: true,
|
|
52
|
-
serializedName: "
|
|
53
|
-
defaultValue: '2018-04-04',
|
|
72
|
+
serializedName: "policyTrackedResourcesResource",
|
|
54
73
|
type: {
|
|
55
74
|
name: "String"
|
|
56
75
|
}
|
|
57
76
|
}
|
|
58
77
|
};
|
|
59
|
-
|
|
78
|
+
|
|
79
|
+
export const top: OperationQueryParameter = {
|
|
80
|
+
parameterPath: ["options", "queryOptions", "top"],
|
|
81
|
+
mapper: {
|
|
82
|
+
constraints: {
|
|
83
|
+
InclusiveMinimum: 0
|
|
84
|
+
},
|
|
85
|
+
serializedName: "$top",
|
|
86
|
+
type: {
|
|
87
|
+
name: "Number"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export const filter: OperationQueryParameter = {
|
|
93
|
+
parameterPath: ["options", "queryOptions", "filter"],
|
|
94
|
+
mapper: {
|
|
95
|
+
serializedName: "$filter",
|
|
96
|
+
type: {
|
|
97
|
+
name: "String"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export const apiVersion: OperationQueryParameter = {
|
|
60
103
|
parameterPath: "apiVersion",
|
|
61
104
|
mapper: {
|
|
62
|
-
|
|
105
|
+
defaultValue: "2018-07-01-preview",
|
|
63
106
|
isConstant: true,
|
|
64
107
|
serializedName: "api-version",
|
|
65
|
-
defaultValue: '2019-10-01',
|
|
66
108
|
type: {
|
|
67
109
|
name: "String"
|
|
68
110
|
}
|
|
69
111
|
}
|
|
70
112
|
};
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"queryOptions",
|
|
75
|
-
"apply"
|
|
76
|
-
],
|
|
113
|
+
|
|
114
|
+
export const subscriptionId: OperationURLParameter = {
|
|
115
|
+
parameterPath: "subscriptionId",
|
|
77
116
|
mapper: {
|
|
78
|
-
serializedName: "
|
|
117
|
+
serializedName: "subscriptionId",
|
|
118
|
+
required: true,
|
|
79
119
|
type: {
|
|
80
120
|
name: "String"
|
|
81
121
|
}
|
|
82
122
|
}
|
|
83
123
|
};
|
|
84
|
-
|
|
85
|
-
|
|
124
|
+
|
|
125
|
+
export const resourceGroupName: OperationURLParameter = {
|
|
126
|
+
parameterPath: "resourceGroupName",
|
|
86
127
|
mapper: {
|
|
128
|
+
serializedName: "resourceGroupName",
|
|
87
129
|
required: true,
|
|
88
|
-
isConstant: true,
|
|
89
|
-
serializedName: "authorizationNamespace",
|
|
90
|
-
defaultValue: 'Microsoft.Authorization',
|
|
91
130
|
type: {
|
|
92
131
|
name: "String"
|
|
93
132
|
}
|
|
94
133
|
}
|
|
95
134
|
};
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"queryOptions",
|
|
100
|
-
"expand"
|
|
101
|
-
],
|
|
135
|
+
|
|
136
|
+
export const resourceId: OperationURLParameter = {
|
|
137
|
+
parameterPath: "resourceId",
|
|
102
138
|
mapper: {
|
|
103
|
-
serializedName: "
|
|
139
|
+
serializedName: "resourceId",
|
|
140
|
+
required: true,
|
|
104
141
|
type: {
|
|
105
142
|
name: "String"
|
|
106
143
|
}
|
|
107
|
-
}
|
|
144
|
+
},
|
|
145
|
+
skipEncoding: true
|
|
108
146
|
};
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"queryOptions",
|
|
113
|
-
"filter"
|
|
114
|
-
],
|
|
147
|
+
|
|
148
|
+
export const nextLink: OperationURLParameter = {
|
|
149
|
+
parameterPath: "nextLink",
|
|
115
150
|
mapper: {
|
|
116
|
-
serializedName: "
|
|
151
|
+
serializedName: "nextLink",
|
|
152
|
+
required: true,
|
|
117
153
|
type: {
|
|
118
154
|
name: "String"
|
|
119
155
|
}
|
|
120
|
-
}
|
|
156
|
+
},
|
|
157
|
+
skipEncoding: true
|
|
121
158
|
};
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
"queryOptions",
|
|
126
|
-
"from"
|
|
127
|
-
],
|
|
159
|
+
|
|
160
|
+
export const managementGroupId: OperationURLParameter = {
|
|
161
|
+
parameterPath: "managementGroupId",
|
|
128
162
|
mapper: {
|
|
129
|
-
serializedName: "
|
|
163
|
+
serializedName: "managementGroupId",
|
|
164
|
+
required: true,
|
|
130
165
|
type: {
|
|
131
|
-
name: "
|
|
166
|
+
name: "String"
|
|
132
167
|
}
|
|
133
168
|
}
|
|
134
169
|
};
|
|
135
|
-
|
|
136
|
-
|
|
170
|
+
|
|
171
|
+
export const remediationName: OperationURLParameter = {
|
|
172
|
+
parameterPath: "remediationName",
|
|
137
173
|
mapper: {
|
|
174
|
+
serializedName: "remediationName",
|
|
138
175
|
required: true,
|
|
139
|
-
serializedName: "managementGroupId",
|
|
140
176
|
type: {
|
|
141
177
|
name: "String"
|
|
142
178
|
}
|
|
143
179
|
}
|
|
144
180
|
};
|
|
145
|
-
|
|
146
|
-
|
|
181
|
+
|
|
182
|
+
export const apiVersion1: OperationQueryParameter = {
|
|
183
|
+
parameterPath: "apiVersion",
|
|
147
184
|
mapper: {
|
|
148
|
-
|
|
149
|
-
|
|
185
|
+
defaultValue: "2021-10-01",
|
|
186
|
+
isConstant: true,
|
|
187
|
+
serializedName: "api-version",
|
|
150
188
|
type: {
|
|
151
189
|
name: "String"
|
|
152
190
|
}
|
|
153
191
|
}
|
|
154
192
|
};
|
|
155
|
-
|
|
156
|
-
|
|
193
|
+
|
|
194
|
+
export const contentType: OperationParameter = {
|
|
195
|
+
parameterPath: ["options", "contentType"],
|
|
157
196
|
mapper: {
|
|
158
|
-
|
|
197
|
+
defaultValue: "application/json",
|
|
159
198
|
isConstant: true,
|
|
160
|
-
serializedName: "
|
|
161
|
-
defaultValue: 'Microsoft.Management',
|
|
199
|
+
serializedName: "Content-Type",
|
|
162
200
|
type: {
|
|
163
201
|
name: "String"
|
|
164
202
|
}
|
|
165
203
|
}
|
|
166
204
|
};
|
|
167
|
-
|
|
168
|
-
|
|
205
|
+
|
|
206
|
+
export const parameters: OperationParameter = {
|
|
207
|
+
parameterPath: "parameters",
|
|
208
|
+
mapper: RemediationMapper
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
export const policyEventsResource: OperationURLParameter = {
|
|
212
|
+
parameterPath: "policyEventsResource",
|
|
169
213
|
mapper: {
|
|
170
|
-
|
|
171
|
-
|
|
214
|
+
defaultValue: "default",
|
|
215
|
+
isConstant: true,
|
|
216
|
+
serializedName: "policyEventsResource",
|
|
172
217
|
type: {
|
|
173
218
|
name: "String"
|
|
174
219
|
}
|
|
175
|
-
}
|
|
176
|
-
skipEncoding: true
|
|
220
|
+
}
|
|
177
221
|
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
"
|
|
183
|
-
|
|
222
|
+
|
|
223
|
+
export const apiVersion2: OperationQueryParameter = {
|
|
224
|
+
parameterPath: "apiVersion",
|
|
225
|
+
mapper: {
|
|
226
|
+
defaultValue: "2019-10-01",
|
|
227
|
+
isConstant: true,
|
|
228
|
+
serializedName: "api-version",
|
|
229
|
+
type: {
|
|
230
|
+
name: "String"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
export const orderBy: OperationQueryParameter = {
|
|
236
|
+
parameterPath: ["options", "queryOptions", "orderBy"],
|
|
184
237
|
mapper: {
|
|
185
238
|
serializedName: "$orderby",
|
|
186
239
|
type: {
|
|
@@ -188,184 +241,214 @@ export const orderBy: msRest.OperationQueryParameter = {
|
|
|
188
241
|
}
|
|
189
242
|
}
|
|
190
243
|
};
|
|
191
|
-
|
|
192
|
-
|
|
244
|
+
|
|
245
|
+
export const select: OperationQueryParameter = {
|
|
246
|
+
parameterPath: ["options", "queryOptions", "select"],
|
|
193
247
|
mapper: {
|
|
194
|
-
|
|
195
|
-
serializedName: "policyAssignmentName",
|
|
248
|
+
serializedName: "$select",
|
|
196
249
|
type: {
|
|
197
250
|
name: "String"
|
|
198
251
|
}
|
|
199
252
|
}
|
|
200
253
|
};
|
|
201
|
-
|
|
202
|
-
|
|
254
|
+
|
|
255
|
+
export const fromParam: OperationQueryParameter = {
|
|
256
|
+
parameterPath: ["options", "queryOptions", "fromParam"],
|
|
203
257
|
mapper: {
|
|
204
|
-
|
|
205
|
-
|
|
258
|
+
serializedName: "$from",
|
|
259
|
+
type: {
|
|
260
|
+
name: "DateTime"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
export const to: OperationQueryParameter = {
|
|
266
|
+
parameterPath: ["options", "queryOptions", "to"],
|
|
267
|
+
mapper: {
|
|
268
|
+
serializedName: "$to",
|
|
269
|
+
type: {
|
|
270
|
+
name: "DateTime"
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
export const apply: OperationQueryParameter = {
|
|
276
|
+
parameterPath: ["options", "queryOptions", "apply"],
|
|
277
|
+
mapper: {
|
|
278
|
+
serializedName: "$apply",
|
|
206
279
|
type: {
|
|
207
280
|
name: "String"
|
|
208
281
|
}
|
|
209
282
|
}
|
|
210
283
|
};
|
|
211
|
-
|
|
212
|
-
|
|
284
|
+
|
|
285
|
+
export const skipToken: OperationQueryParameter = {
|
|
286
|
+
parameterPath: ["options", "queryOptions", "skipToken"],
|
|
213
287
|
mapper: {
|
|
214
|
-
|
|
215
|
-
isConstant: true,
|
|
216
|
-
serializedName: "policyEventsResource",
|
|
217
|
-
defaultValue: 'default',
|
|
288
|
+
serializedName: "$skiptoken",
|
|
218
289
|
type: {
|
|
219
290
|
name: "String"
|
|
220
291
|
}
|
|
221
292
|
}
|
|
222
293
|
};
|
|
223
|
-
|
|
224
|
-
|
|
294
|
+
|
|
295
|
+
export const subscriptionId1: OperationURLParameter = {
|
|
296
|
+
parameterPath: "subscriptionId",
|
|
225
297
|
mapper: {
|
|
298
|
+
serializedName: "subscriptionId",
|
|
226
299
|
required: true,
|
|
227
|
-
serializedName: "policySetDefinitionName",
|
|
228
300
|
type: {
|
|
229
301
|
name: "String"
|
|
230
302
|
}
|
|
231
303
|
}
|
|
232
304
|
};
|
|
233
|
-
|
|
234
|
-
|
|
305
|
+
|
|
306
|
+
export const expand: OperationQueryParameter = {
|
|
307
|
+
parameterPath: ["options", "queryOptions", "expand"],
|
|
235
308
|
mapper: {
|
|
236
|
-
|
|
237
|
-
serializedName: "policyStatesResource",
|
|
309
|
+
serializedName: "$expand",
|
|
238
310
|
type: {
|
|
239
311
|
name: "String"
|
|
240
312
|
}
|
|
241
313
|
}
|
|
242
314
|
};
|
|
243
|
-
|
|
244
|
-
|
|
315
|
+
|
|
316
|
+
export const authorizationNamespace: OperationURLParameter = {
|
|
317
|
+
parameterPath: "authorizationNamespace",
|
|
245
318
|
mapper: {
|
|
246
|
-
|
|
319
|
+
defaultValue: "Microsoft.Authorization",
|
|
247
320
|
isConstant: true,
|
|
248
|
-
serializedName: "
|
|
249
|
-
defaultValue: 'latest',
|
|
321
|
+
serializedName: "authorizationNamespace",
|
|
250
322
|
type: {
|
|
251
323
|
name: "String"
|
|
252
324
|
}
|
|
253
325
|
}
|
|
254
326
|
};
|
|
255
|
-
|
|
256
|
-
|
|
327
|
+
|
|
328
|
+
export const policySetDefinitionName: OperationURLParameter = {
|
|
329
|
+
parameterPath: "policySetDefinitionName",
|
|
257
330
|
mapper: {
|
|
331
|
+
serializedName: "policySetDefinitionName",
|
|
258
332
|
required: true,
|
|
259
|
-
isConstant: true,
|
|
260
|
-
serializedName: "policyTrackedResourcesResource",
|
|
261
|
-
defaultValue: 'default',
|
|
262
333
|
type: {
|
|
263
334
|
name: "String"
|
|
264
335
|
}
|
|
265
336
|
}
|
|
266
337
|
};
|
|
267
|
-
|
|
268
|
-
|
|
338
|
+
|
|
339
|
+
export const policyDefinitionName: OperationURLParameter = {
|
|
340
|
+
parameterPath: "policyDefinitionName",
|
|
269
341
|
mapper: {
|
|
342
|
+
serializedName: "policyDefinitionName",
|
|
270
343
|
required: true,
|
|
271
|
-
serializedName: "remediationName",
|
|
272
344
|
type: {
|
|
273
345
|
name: "String"
|
|
274
346
|
}
|
|
275
347
|
}
|
|
276
348
|
};
|
|
277
|
-
|
|
278
|
-
|
|
349
|
+
|
|
350
|
+
export const policyAssignmentName: OperationURLParameter = {
|
|
351
|
+
parameterPath: "policyAssignmentName",
|
|
279
352
|
mapper: {
|
|
353
|
+
serializedName: "policyAssignmentName",
|
|
280
354
|
required: true,
|
|
281
|
-
serializedName: "resourceGroupName",
|
|
282
355
|
type: {
|
|
283
356
|
name: "String"
|
|
284
357
|
}
|
|
285
358
|
}
|
|
286
359
|
};
|
|
287
|
-
|
|
288
|
-
|
|
360
|
+
|
|
361
|
+
export const policyStatesResource: OperationURLParameter = {
|
|
362
|
+
parameterPath: "policyStatesResource",
|
|
289
363
|
mapper: {
|
|
364
|
+
serializedName: "policyStatesResource",
|
|
290
365
|
required: true,
|
|
291
|
-
serializedName: "resourceId",
|
|
292
366
|
type: {
|
|
293
367
|
name: "String"
|
|
294
368
|
}
|
|
295
|
-
}
|
|
296
|
-
skipEncoding: true
|
|
369
|
+
}
|
|
297
370
|
};
|
|
298
|
-
|
|
299
|
-
|
|
371
|
+
|
|
372
|
+
export const policyStatesSummaryResource: OperationURLParameter = {
|
|
373
|
+
parameterPath: "policyStatesSummaryResource",
|
|
300
374
|
mapper: {
|
|
301
|
-
|
|
302
|
-
|
|
375
|
+
defaultValue: "latest",
|
|
376
|
+
isConstant: true,
|
|
377
|
+
serializedName: "policyStatesSummaryResource",
|
|
303
378
|
type: {
|
|
304
379
|
name: "String"
|
|
305
380
|
}
|
|
306
|
-
}
|
|
307
|
-
skipEncoding: true
|
|
381
|
+
}
|
|
308
382
|
};
|
|
309
|
-
|
|
310
|
-
|
|
383
|
+
|
|
384
|
+
export const resourceName: OperationURLParameter = {
|
|
385
|
+
parameterPath: "resourceName",
|
|
311
386
|
mapper: {
|
|
387
|
+
serializedName: "resourceName",
|
|
312
388
|
required: true,
|
|
313
|
-
serializedName: "scope",
|
|
314
389
|
type: {
|
|
315
390
|
name: "String"
|
|
316
391
|
}
|
|
317
392
|
},
|
|
318
393
|
skipEncoding: true
|
|
319
394
|
};
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
395
|
+
|
|
396
|
+
export const parameters1: OperationParameter = {
|
|
397
|
+
parameterPath: "parameters",
|
|
398
|
+
mapper: CheckRestrictionsRequestMapper
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
export const apiVersion3: OperationQueryParameter = {
|
|
402
|
+
parameterPath: "apiVersion",
|
|
326
403
|
mapper: {
|
|
327
|
-
|
|
404
|
+
defaultValue: "2020-07-01",
|
|
405
|
+
isConstant: true,
|
|
406
|
+
serializedName: "api-version",
|
|
328
407
|
type: {
|
|
329
408
|
name: "String"
|
|
330
409
|
}
|
|
331
410
|
}
|
|
332
411
|
};
|
|
333
|
-
|
|
334
|
-
|
|
412
|
+
|
|
413
|
+
export const resourceGroupName1: OperationURLParameter = {
|
|
414
|
+
parameterPath: "resourceGroupName",
|
|
335
415
|
mapper: {
|
|
416
|
+
constraints: {
|
|
417
|
+
MaxLength: 90,
|
|
418
|
+
MinLength: 1
|
|
419
|
+
},
|
|
420
|
+
serializedName: "resourceGroupName",
|
|
336
421
|
required: true,
|
|
337
|
-
serializedName: "subscriptionId",
|
|
338
422
|
type: {
|
|
339
423
|
name: "String"
|
|
340
424
|
}
|
|
341
425
|
}
|
|
342
426
|
};
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
"queryOptions",
|
|
347
|
-
"to"
|
|
348
|
-
],
|
|
427
|
+
|
|
428
|
+
export const apiVersion4: OperationQueryParameter = {
|
|
429
|
+
parameterPath: "apiVersion",
|
|
349
430
|
mapper: {
|
|
350
|
-
|
|
431
|
+
defaultValue: "2021-01-01",
|
|
432
|
+
isConstant: true,
|
|
433
|
+
serializedName: "api-version",
|
|
351
434
|
type: {
|
|
352
|
-
name: "
|
|
435
|
+
name: "String"
|
|
353
436
|
}
|
|
354
437
|
}
|
|
355
438
|
};
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
439
|
+
|
|
440
|
+
export const parameters2: OperationParameter = {
|
|
441
|
+
parameterPath: "parameters",
|
|
442
|
+
mapper: AttestationMapper
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
export const attestationName: OperationURLParameter = {
|
|
446
|
+
parameterPath: "attestationName",
|
|
362
447
|
mapper: {
|
|
363
|
-
serializedName: "
|
|
364
|
-
|
|
365
|
-
InclusiveMinimum: 0
|
|
366
|
-
},
|
|
448
|
+
serializedName: "attestationName",
|
|
449
|
+
required: true,
|
|
367
450
|
type: {
|
|
368
|
-
name: "
|
|
451
|
+
name: "String"
|
|
369
452
|
}
|
|
370
453
|
}
|
|
371
454
|
};
|