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