@azure-rest/defender-easm 1.0.0-beta.1 → 1.0.0-beta.2
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/LICENSE +21 -0
- package/README.md +5 -9
- package/dist/browser/clientDefinitions.d.ts +141 -0
- package/dist/browser/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/clientDefinitions.js +4 -0
- package/dist/browser/clientDefinitions.js.map +1 -0
- package/dist/browser/easmClient.d.ts +16 -0
- package/dist/browser/easmClient.d.ts.map +1 -0
- package/dist/browser/easmClient.js +43 -0
- package/dist/browser/easmClient.js.map +1 -0
- package/dist/browser/index.d.ts +11 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +13 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +28 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/isUnexpected.js +1 -1
- package/dist/browser/isUnexpected.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/logger.js +1 -1
- package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
- package/dist/browser/models.d.ts +144 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js +4 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/outputModels.d.ts +1046 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/outputModels.js +4 -0
- package/dist/browser/outputModels.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/paginateHelper.d.ts +68 -0
- package/dist/browser/paginateHelper.d.ts.map +1 -0
- package/dist/browser/paginateHelper.js +167 -0
- package/dist/browser/paginateHelper.js.map +1 -0
- package/dist/browser/parameters.d.ts +141 -0
- package/dist/browser/parameters.d.ts.map +1 -0
- package/dist/browser/parameters.js +4 -0
- package/dist/browser/parameters.js.map +1 -0
- package/dist/browser/responses.d.ts +365 -0
- package/dist/browser/responses.d.ts.map +1 -0
- package/dist/browser/responses.js +4 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +141 -0
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/clientDefinitions.js +5 -0
- package/dist/commonjs/clientDefinitions.js.map +1 -0
- package/dist/commonjs/easmClient.d.ts +16 -0
- package/dist/commonjs/easmClient.d.ts.map +1 -0
- package/dist/commonjs/easmClient.js +46 -0
- package/dist/commonjs/easmClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +11 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +28 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/isUnexpected.js +98 -0
- package/dist/commonjs/isUnexpected.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models.d.ts +144 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/outputModels.d.ts +1046 -0
- package/dist/commonjs/outputModels.d.ts.map +1 -0
- package/dist/commonjs/outputModels.js +5 -0
- package/dist/commonjs/outputModels.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/paginateHelper.d.ts +68 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/paginateHelper.js +170 -0
- package/dist/commonjs/paginateHelper.js.map +1 -0
- package/dist/commonjs/parameters.d.ts +141 -0
- package/dist/commonjs/parameters.d.ts.map +1 -0
- package/dist/commonjs/parameters.js +5 -0
- package/dist/commonjs/parameters.js.map +1 -0
- package/dist/commonjs/responses.d.ts +365 -0
- package/dist/commonjs/responses.d.ts.map +1 -0
- package/dist/commonjs/responses.js +5 -0
- package/dist/commonjs/responses.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/clientDefinitions.d.ts +141 -0
- package/dist/esm/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/clientDefinitions.js +4 -0
- package/dist/esm/clientDefinitions.js.map +1 -0
- package/dist/esm/easmClient.d.ts +16 -0
- package/dist/esm/easmClient.d.ts.map +1 -0
- package/dist/esm/easmClient.js +43 -0
- package/dist/esm/easmClient.js.map +1 -0
- package/dist/esm/index.d.ts +11 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +28 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +95 -0
- package/dist/esm/isUnexpected.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models.d.ts +144 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/outputModels.d.ts +1046 -0
- package/dist/esm/outputModels.d.ts.map +1 -0
- package/dist/esm/outputModels.js +4 -0
- package/dist/esm/outputModels.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/paginateHelper.d.ts +68 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -0
- package/dist/esm/paginateHelper.js +167 -0
- package/dist/esm/paginateHelper.js.map +1 -0
- package/dist/esm/parameters.d.ts +141 -0
- package/dist/esm/parameters.d.ts.map +1 -0
- package/dist/esm/parameters.js +4 -0
- package/dist/esm/parameters.js.map +1 -0
- package/dist/esm/responses.d.ts +365 -0
- package/dist/esm/responses.d.ts.map +1 -0
- package/dist/esm/responses.js +4 -0
- package/dist/esm/responses.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +141 -0
- package/dist/react-native/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/clientDefinitions.js +4 -0
- package/dist/react-native/clientDefinitions.js.map +1 -0
- package/dist/react-native/easmClient.d.ts +16 -0
- package/dist/react-native/easmClient.d.ts.map +1 -0
- package/dist/react-native/easmClient.js +43 -0
- package/dist/react-native/easmClient.js.map +1 -0
- package/dist/react-native/index.d.ts +11 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +28 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +95 -0
- package/dist/react-native/isUnexpected.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models.d.ts +144 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/outputModels.d.ts +1046 -0
- package/dist/react-native/outputModels.d.ts.map +1 -0
- package/dist/react-native/outputModels.js +4 -0
- package/dist/react-native/outputModels.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/paginateHelper.d.ts +68 -0
- package/dist/react-native/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/paginateHelper.js +167 -0
- package/dist/react-native/paginateHelper.js.map +1 -0
- package/dist/react-native/parameters.d.ts +141 -0
- package/dist/react-native/parameters.d.ts.map +1 -0
- package/dist/react-native/parameters.js +4 -0
- package/dist/react-native/parameters.js.map +1 -0
- package/dist/react-native/responses.d.ts +365 -0
- package/dist/react-native/responses.d.ts.map +1 -0
- package/dist/react-native/responses.js +4 -0
- package/dist/react-native/responses.js.map +1 -0
- package/package.json +106 -97
- package/dist/index.js +0 -213
- package/dist/index.js.map +0 -1
- package/dist-esm/src/clientDefinitions.js +0 -4
- package/dist-esm/src/clientDefinitions.js.map +0 -1
- package/dist-esm/src/easm.js +0 -33
- package/dist-esm/src/easm.js.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/isUnexpected.js.map +0 -1
- package/dist-esm/src/models.js +0 -4
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/outputModels.js +0 -4
- package/dist-esm/src/outputModels.js.map +0 -1
- package/dist-esm/src/paginateHelper.js +0 -70
- package/dist-esm/src/paginateHelper.js.map +0 -1
- package/dist-esm/src/parameters.js +0 -4
- package/dist-esm/src/parameters.js.map +0 -1
- package/dist-esm/src/responses.js +0 -4
- package/dist-esm/src/responses.js.map +0 -1
- package/review/defender-easm.api.md +0 -2619
- package/types/defender-easm.d.ts +0 -2105
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
|
|
2
|
+
import type { HttpResponse, ErrorResponse } from "@azure-rest/core-client";
|
|
3
|
+
import type { PagedAssetResourceOutput, TaskOutput, AssetResourceOutput, PagedDataConnectionOutput, ValidateResultOutput, DataConnectionOutput, PagedDiscoGroupOutput, DiscoGroupOutput, DiscoRunPageResultOutput, PagedDiscoTemplateOutput, DiscoTemplateOutput, ReportBillableAssetSummaryResultOutput, ReportAssetSnapshotResultOutput, ReportAssetSummaryResultOutput, PagedSavedFilterOutput, SavedFilterOutput, PagedTaskOutput } from "./outputModels.js";
|
|
4
|
+
/** The request has succeeded. */
|
|
5
|
+
export interface ListAssetResource200Response extends HttpResponse {
|
|
6
|
+
status: "200";
|
|
7
|
+
body: PagedAssetResourceOutput;
|
|
8
|
+
}
|
|
9
|
+
export interface ListAssetResourceDefaultHeaders {
|
|
10
|
+
/** String error code indicating what went wrong. */
|
|
11
|
+
"x-ms-error-code"?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ListAssetResourceDefaultResponse extends HttpResponse {
|
|
14
|
+
status: string;
|
|
15
|
+
body: ErrorResponse;
|
|
16
|
+
headers: RawHttpHeaders & ListAssetResourceDefaultHeaders;
|
|
17
|
+
}
|
|
18
|
+
/** The request has succeeded. */
|
|
19
|
+
export interface UpdateAssets200Response extends HttpResponse {
|
|
20
|
+
status: "200";
|
|
21
|
+
body: TaskOutput;
|
|
22
|
+
}
|
|
23
|
+
export interface UpdateAssetsDefaultHeaders {
|
|
24
|
+
/** String error code indicating what went wrong. */
|
|
25
|
+
"x-ms-error-code"?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface UpdateAssetsDefaultResponse extends HttpResponse {
|
|
28
|
+
status: string;
|
|
29
|
+
body: ErrorResponse;
|
|
30
|
+
headers: RawHttpHeaders & UpdateAssetsDefaultHeaders;
|
|
31
|
+
}
|
|
32
|
+
/** The request has succeeded. */
|
|
33
|
+
export interface GetAssetResource200Response extends HttpResponse {
|
|
34
|
+
status: "200";
|
|
35
|
+
body: AssetResourceOutput;
|
|
36
|
+
}
|
|
37
|
+
export interface GetAssetResourceDefaultHeaders {
|
|
38
|
+
/** String error code indicating what went wrong. */
|
|
39
|
+
"x-ms-error-code"?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface GetAssetResourceDefaultResponse extends HttpResponse {
|
|
42
|
+
status: string;
|
|
43
|
+
body: ErrorResponse;
|
|
44
|
+
headers: RawHttpHeaders & GetAssetResourceDefaultHeaders;
|
|
45
|
+
}
|
|
46
|
+
/** The request has succeeded. */
|
|
47
|
+
export interface ListDataConnection200Response extends HttpResponse {
|
|
48
|
+
status: "200";
|
|
49
|
+
body: PagedDataConnectionOutput;
|
|
50
|
+
}
|
|
51
|
+
export interface ListDataConnectionDefaultHeaders {
|
|
52
|
+
/** String error code indicating what went wrong. */
|
|
53
|
+
"x-ms-error-code"?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface ListDataConnectionDefaultResponse extends HttpResponse {
|
|
56
|
+
status: string;
|
|
57
|
+
body: ErrorResponse;
|
|
58
|
+
headers: RawHttpHeaders & ListDataConnectionDefaultHeaders;
|
|
59
|
+
}
|
|
60
|
+
/** The request has succeeded. */
|
|
61
|
+
export interface ValidateDataConnection200Response extends HttpResponse {
|
|
62
|
+
status: "200";
|
|
63
|
+
body: ValidateResultOutput;
|
|
64
|
+
}
|
|
65
|
+
export interface ValidateDataConnectionDefaultHeaders {
|
|
66
|
+
/** String error code indicating what went wrong. */
|
|
67
|
+
"x-ms-error-code"?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface ValidateDataConnectionDefaultResponse extends HttpResponse {
|
|
70
|
+
status: string;
|
|
71
|
+
body: ErrorResponse;
|
|
72
|
+
headers: RawHttpHeaders & ValidateDataConnectionDefaultHeaders;
|
|
73
|
+
}
|
|
74
|
+
/** The request has succeeded. */
|
|
75
|
+
export interface GetDataConnection200Response extends HttpResponse {
|
|
76
|
+
status: "200";
|
|
77
|
+
body: DataConnectionOutput;
|
|
78
|
+
}
|
|
79
|
+
export interface GetDataConnectionDefaultHeaders {
|
|
80
|
+
/** String error code indicating what went wrong. */
|
|
81
|
+
"x-ms-error-code"?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface GetDataConnectionDefaultResponse extends HttpResponse {
|
|
84
|
+
status: string;
|
|
85
|
+
body: ErrorResponse;
|
|
86
|
+
headers: RawHttpHeaders & GetDataConnectionDefaultHeaders;
|
|
87
|
+
}
|
|
88
|
+
/** The request has succeeded. */
|
|
89
|
+
export interface CreateOrReplaceDataConnection200Response extends HttpResponse {
|
|
90
|
+
status: "200";
|
|
91
|
+
body: DataConnectionOutput;
|
|
92
|
+
}
|
|
93
|
+
export interface CreateOrReplaceDataConnectionDefaultHeaders {
|
|
94
|
+
/** String error code indicating what went wrong. */
|
|
95
|
+
"x-ms-error-code"?: string;
|
|
96
|
+
}
|
|
97
|
+
export interface CreateOrReplaceDataConnectionDefaultResponse extends HttpResponse {
|
|
98
|
+
status: string;
|
|
99
|
+
body: ErrorResponse;
|
|
100
|
+
headers: RawHttpHeaders & CreateOrReplaceDataConnectionDefaultHeaders;
|
|
101
|
+
}
|
|
102
|
+
/** There is no content to send for this request, but the headers may be useful. */
|
|
103
|
+
export interface DeleteDataConnection204Response extends HttpResponse {
|
|
104
|
+
status: "204";
|
|
105
|
+
}
|
|
106
|
+
export interface DeleteDataConnectionDefaultHeaders {
|
|
107
|
+
/** String error code indicating what went wrong. */
|
|
108
|
+
"x-ms-error-code"?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface DeleteDataConnectionDefaultResponse extends HttpResponse {
|
|
111
|
+
status: string;
|
|
112
|
+
body: ErrorResponse;
|
|
113
|
+
headers: RawHttpHeaders & DeleteDataConnectionDefaultHeaders;
|
|
114
|
+
}
|
|
115
|
+
/** The request has succeeded. */
|
|
116
|
+
export interface ListDiscoGroup200Response extends HttpResponse {
|
|
117
|
+
status: "200";
|
|
118
|
+
body: PagedDiscoGroupOutput;
|
|
119
|
+
}
|
|
120
|
+
export interface ListDiscoGroupDefaultHeaders {
|
|
121
|
+
/** String error code indicating what went wrong. */
|
|
122
|
+
"x-ms-error-code"?: string;
|
|
123
|
+
}
|
|
124
|
+
export interface ListDiscoGroupDefaultResponse extends HttpResponse {
|
|
125
|
+
status: string;
|
|
126
|
+
body: ErrorResponse;
|
|
127
|
+
headers: RawHttpHeaders & ListDiscoGroupDefaultHeaders;
|
|
128
|
+
}
|
|
129
|
+
/** The request has succeeded. */
|
|
130
|
+
export interface ValidateDiscoGroup200Response extends HttpResponse {
|
|
131
|
+
status: "200";
|
|
132
|
+
body: ValidateResultOutput;
|
|
133
|
+
}
|
|
134
|
+
export interface ValidateDiscoGroupDefaultHeaders {
|
|
135
|
+
/** String error code indicating what went wrong. */
|
|
136
|
+
"x-ms-error-code"?: string;
|
|
137
|
+
}
|
|
138
|
+
export interface ValidateDiscoGroupDefaultResponse extends HttpResponse {
|
|
139
|
+
status: string;
|
|
140
|
+
body: ErrorResponse;
|
|
141
|
+
headers: RawHttpHeaders & ValidateDiscoGroupDefaultHeaders;
|
|
142
|
+
}
|
|
143
|
+
/** The request has succeeded. */
|
|
144
|
+
export interface GetDiscoGroup200Response extends HttpResponse {
|
|
145
|
+
status: "200";
|
|
146
|
+
body: DiscoGroupOutput;
|
|
147
|
+
}
|
|
148
|
+
export interface GetDiscoGroupDefaultHeaders {
|
|
149
|
+
/** String error code indicating what went wrong. */
|
|
150
|
+
"x-ms-error-code"?: string;
|
|
151
|
+
}
|
|
152
|
+
export interface GetDiscoGroupDefaultResponse extends HttpResponse {
|
|
153
|
+
status: string;
|
|
154
|
+
body: ErrorResponse;
|
|
155
|
+
headers: RawHttpHeaders & GetDiscoGroupDefaultHeaders;
|
|
156
|
+
}
|
|
157
|
+
/** The request has succeeded. */
|
|
158
|
+
export interface CreateOrReplaceDiscoGroup200Response extends HttpResponse {
|
|
159
|
+
status: "200";
|
|
160
|
+
body: DiscoGroupOutput;
|
|
161
|
+
}
|
|
162
|
+
export interface CreateOrReplaceDiscoGroupDefaultHeaders {
|
|
163
|
+
/** String error code indicating what went wrong. */
|
|
164
|
+
"x-ms-error-code"?: string;
|
|
165
|
+
}
|
|
166
|
+
export interface CreateOrReplaceDiscoGroupDefaultResponse extends HttpResponse {
|
|
167
|
+
status: string;
|
|
168
|
+
body: ErrorResponse;
|
|
169
|
+
headers: RawHttpHeaders & CreateOrReplaceDiscoGroupDefaultHeaders;
|
|
170
|
+
}
|
|
171
|
+
/** There is no content to send for this request, but the headers may be useful. */
|
|
172
|
+
export interface RunDiscoGroup204Response extends HttpResponse {
|
|
173
|
+
status: "204";
|
|
174
|
+
}
|
|
175
|
+
export interface RunDiscoGroupDefaultHeaders {
|
|
176
|
+
/** String error code indicating what went wrong. */
|
|
177
|
+
"x-ms-error-code"?: string;
|
|
178
|
+
}
|
|
179
|
+
export interface RunDiscoGroupDefaultResponse extends HttpResponse {
|
|
180
|
+
status: string;
|
|
181
|
+
body: ErrorResponse;
|
|
182
|
+
headers: RawHttpHeaders & RunDiscoGroupDefaultHeaders;
|
|
183
|
+
}
|
|
184
|
+
/** The request has succeeded. */
|
|
185
|
+
export interface ListRuns200Response extends HttpResponse {
|
|
186
|
+
status: "200";
|
|
187
|
+
body: DiscoRunPageResultOutput;
|
|
188
|
+
}
|
|
189
|
+
export interface ListRunsDefaultHeaders {
|
|
190
|
+
/** String error code indicating what went wrong. */
|
|
191
|
+
"x-ms-error-code"?: string;
|
|
192
|
+
}
|
|
193
|
+
export interface ListRunsDefaultResponse extends HttpResponse {
|
|
194
|
+
status: string;
|
|
195
|
+
body: ErrorResponse;
|
|
196
|
+
headers: RawHttpHeaders & ListRunsDefaultHeaders;
|
|
197
|
+
}
|
|
198
|
+
/** The request has succeeded. */
|
|
199
|
+
export interface ListDiscoTemplate200Response extends HttpResponse {
|
|
200
|
+
status: "200";
|
|
201
|
+
body: PagedDiscoTemplateOutput;
|
|
202
|
+
}
|
|
203
|
+
export interface ListDiscoTemplateDefaultHeaders {
|
|
204
|
+
/** String error code indicating what went wrong. */
|
|
205
|
+
"x-ms-error-code"?: string;
|
|
206
|
+
}
|
|
207
|
+
export interface ListDiscoTemplateDefaultResponse extends HttpResponse {
|
|
208
|
+
status: string;
|
|
209
|
+
body: ErrorResponse;
|
|
210
|
+
headers: RawHttpHeaders & ListDiscoTemplateDefaultHeaders;
|
|
211
|
+
}
|
|
212
|
+
/** The request has succeeded. */
|
|
213
|
+
export interface GetDiscoTemplate200Response extends HttpResponse {
|
|
214
|
+
status: "200";
|
|
215
|
+
body: DiscoTemplateOutput;
|
|
216
|
+
}
|
|
217
|
+
export interface GetDiscoTemplateDefaultHeaders {
|
|
218
|
+
/** String error code indicating what went wrong. */
|
|
219
|
+
"x-ms-error-code"?: string;
|
|
220
|
+
}
|
|
221
|
+
export interface GetDiscoTemplateDefaultResponse extends HttpResponse {
|
|
222
|
+
status: string;
|
|
223
|
+
body: ErrorResponse;
|
|
224
|
+
headers: RawHttpHeaders & GetDiscoTemplateDefaultHeaders;
|
|
225
|
+
}
|
|
226
|
+
/** The request has succeeded. */
|
|
227
|
+
export interface GetBillable200Response extends HttpResponse {
|
|
228
|
+
status: "200";
|
|
229
|
+
body: ReportBillableAssetSummaryResultOutput;
|
|
230
|
+
}
|
|
231
|
+
export interface GetBillableDefaultHeaders {
|
|
232
|
+
/** String error code indicating what went wrong. */
|
|
233
|
+
"x-ms-error-code"?: string;
|
|
234
|
+
}
|
|
235
|
+
export interface GetBillableDefaultResponse extends HttpResponse {
|
|
236
|
+
status: string;
|
|
237
|
+
body: ErrorResponse;
|
|
238
|
+
headers: RawHttpHeaders & GetBillableDefaultHeaders;
|
|
239
|
+
}
|
|
240
|
+
/** The request has succeeded. */
|
|
241
|
+
export interface GetSnapshot200Response extends HttpResponse {
|
|
242
|
+
status: "200";
|
|
243
|
+
body: ReportAssetSnapshotResultOutput;
|
|
244
|
+
}
|
|
245
|
+
export interface GetSnapshotDefaultHeaders {
|
|
246
|
+
/** String error code indicating what went wrong. */
|
|
247
|
+
"x-ms-error-code"?: string;
|
|
248
|
+
}
|
|
249
|
+
export interface GetSnapshotDefaultResponse extends HttpResponse {
|
|
250
|
+
status: string;
|
|
251
|
+
body: ErrorResponse;
|
|
252
|
+
headers: RawHttpHeaders & GetSnapshotDefaultHeaders;
|
|
253
|
+
}
|
|
254
|
+
/** The request has succeeded. */
|
|
255
|
+
export interface GetSummary200Response extends HttpResponse {
|
|
256
|
+
status: "200";
|
|
257
|
+
body: ReportAssetSummaryResultOutput;
|
|
258
|
+
}
|
|
259
|
+
export interface GetSummaryDefaultHeaders {
|
|
260
|
+
/** String error code indicating what went wrong. */
|
|
261
|
+
"x-ms-error-code"?: string;
|
|
262
|
+
}
|
|
263
|
+
export interface GetSummaryDefaultResponse extends HttpResponse {
|
|
264
|
+
status: string;
|
|
265
|
+
body: ErrorResponse;
|
|
266
|
+
headers: RawHttpHeaders & GetSummaryDefaultHeaders;
|
|
267
|
+
}
|
|
268
|
+
/** The request has succeeded. */
|
|
269
|
+
export interface ListSavedFilter200Response extends HttpResponse {
|
|
270
|
+
status: "200";
|
|
271
|
+
body: PagedSavedFilterOutput;
|
|
272
|
+
}
|
|
273
|
+
export interface ListSavedFilterDefaultHeaders {
|
|
274
|
+
/** String error code indicating what went wrong. */
|
|
275
|
+
"x-ms-error-code"?: string;
|
|
276
|
+
}
|
|
277
|
+
export interface ListSavedFilterDefaultResponse extends HttpResponse {
|
|
278
|
+
status: string;
|
|
279
|
+
body: ErrorResponse;
|
|
280
|
+
headers: RawHttpHeaders & ListSavedFilterDefaultHeaders;
|
|
281
|
+
}
|
|
282
|
+
/** The request has succeeded. */
|
|
283
|
+
export interface GetSavedFilter200Response extends HttpResponse {
|
|
284
|
+
status: "200";
|
|
285
|
+
body: SavedFilterOutput;
|
|
286
|
+
}
|
|
287
|
+
export interface GetSavedFilterDefaultHeaders {
|
|
288
|
+
/** String error code indicating what went wrong. */
|
|
289
|
+
"x-ms-error-code"?: string;
|
|
290
|
+
}
|
|
291
|
+
export interface GetSavedFilterDefaultResponse extends HttpResponse {
|
|
292
|
+
status: string;
|
|
293
|
+
body: ErrorResponse;
|
|
294
|
+
headers: RawHttpHeaders & GetSavedFilterDefaultHeaders;
|
|
295
|
+
}
|
|
296
|
+
/** The request has succeeded. */
|
|
297
|
+
export interface CreateOrReplaceSavedFilter200Response extends HttpResponse {
|
|
298
|
+
status: "200";
|
|
299
|
+
body: SavedFilterOutput;
|
|
300
|
+
}
|
|
301
|
+
export interface CreateOrReplaceSavedFilterDefaultHeaders {
|
|
302
|
+
/** String error code indicating what went wrong. */
|
|
303
|
+
"x-ms-error-code"?: string;
|
|
304
|
+
}
|
|
305
|
+
export interface CreateOrReplaceSavedFilterDefaultResponse extends HttpResponse {
|
|
306
|
+
status: string;
|
|
307
|
+
body: ErrorResponse;
|
|
308
|
+
headers: RawHttpHeaders & CreateOrReplaceSavedFilterDefaultHeaders;
|
|
309
|
+
}
|
|
310
|
+
/** There is no content to send for this request, but the headers may be useful. */
|
|
311
|
+
export interface DeleteSavedFilter204Response extends HttpResponse {
|
|
312
|
+
status: "204";
|
|
313
|
+
}
|
|
314
|
+
export interface DeleteSavedFilterDefaultHeaders {
|
|
315
|
+
/** String error code indicating what went wrong. */
|
|
316
|
+
"x-ms-error-code"?: string;
|
|
317
|
+
}
|
|
318
|
+
export interface DeleteSavedFilterDefaultResponse extends HttpResponse {
|
|
319
|
+
status: string;
|
|
320
|
+
body: ErrorResponse;
|
|
321
|
+
headers: RawHttpHeaders & DeleteSavedFilterDefaultHeaders;
|
|
322
|
+
}
|
|
323
|
+
/** The request has succeeded. */
|
|
324
|
+
export interface ListTask200Response extends HttpResponse {
|
|
325
|
+
status: "200";
|
|
326
|
+
body: PagedTaskOutput;
|
|
327
|
+
}
|
|
328
|
+
export interface ListTaskDefaultHeaders {
|
|
329
|
+
/** String error code indicating what went wrong. */
|
|
330
|
+
"x-ms-error-code"?: string;
|
|
331
|
+
}
|
|
332
|
+
export interface ListTaskDefaultResponse extends HttpResponse {
|
|
333
|
+
status: string;
|
|
334
|
+
body: ErrorResponse;
|
|
335
|
+
headers: RawHttpHeaders & ListTaskDefaultHeaders;
|
|
336
|
+
}
|
|
337
|
+
/** The request has succeeded. */
|
|
338
|
+
export interface GetTask200Response extends HttpResponse {
|
|
339
|
+
status: "200";
|
|
340
|
+
body: TaskOutput;
|
|
341
|
+
}
|
|
342
|
+
export interface GetTaskDefaultHeaders {
|
|
343
|
+
/** String error code indicating what went wrong. */
|
|
344
|
+
"x-ms-error-code"?: string;
|
|
345
|
+
}
|
|
346
|
+
export interface GetTaskDefaultResponse extends HttpResponse {
|
|
347
|
+
status: string;
|
|
348
|
+
body: ErrorResponse;
|
|
349
|
+
headers: RawHttpHeaders & GetTaskDefaultHeaders;
|
|
350
|
+
}
|
|
351
|
+
/** The request has succeeded. */
|
|
352
|
+
export interface CancelTask200Response extends HttpResponse {
|
|
353
|
+
status: "200";
|
|
354
|
+
body: TaskOutput;
|
|
355
|
+
}
|
|
356
|
+
export interface CancelTaskDefaultHeaders {
|
|
357
|
+
/** String error code indicating what went wrong. */
|
|
358
|
+
"x-ms-error-code"?: string;
|
|
359
|
+
}
|
|
360
|
+
export interface CancelTaskDefaultResponse extends HttpResponse {
|
|
361
|
+
status: string;
|
|
362
|
+
body: ErrorResponse;
|
|
363
|
+
headers: RawHttpHeaders & CancelTaskDefaultHeaders;
|
|
364
|
+
}
|
|
365
|
+
//# sourceMappingURL=responses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EACV,wBAAwB,EACxB,UAAU,EACV,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,sCAAsC,EACtC,+BAA+B,EAC/B,8BAA8B,EAC9B,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAE3B,iCAAiC;AACjC,MAAM,WAAW,4BAA6B,SAAQ,YAAY;IAChE,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,wBAAwB,CAAC;CAChC;AAED,MAAM,WAAW,+BAA+B;IAC9C,oDAAoD;IACpD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,gCAAiC,SAAQ,YAAY;IACpE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,cAAc,GAAG,+BAA+B,CAAC;CAC3D;AAED,iCAAiC;AACjC,MAAM,WAAW,uBAAwB,SAAQ,YAAY;IAC3D,MAAM,EAAE,KAAK,CAA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MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,cAAc,GAAG,wBAAwB,CAAC;CACpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse, ErrorResponse } from \"@azure-rest/core-client\";\nimport type {\n PagedAssetResourceOutput,\n TaskOutput,\n AssetResourceOutput,\n PagedDataConnectionOutput,\n ValidateResultOutput,\n DataConnectionOutput,\n PagedDiscoGroupOutput,\n DiscoGroupOutput,\n DiscoRunPageResultOutput,\n PagedDiscoTemplateOutput,\n DiscoTemplateOutput,\n ReportBillableAssetSummaryResultOutput,\n ReportAssetSnapshotResultOutput,\n ReportAssetSummaryResultOutput,\n PagedSavedFilterOutput,\n SavedFilterOutput,\n PagedTaskOutput,\n} from \"./outputModels.js\";\n\n/** The request has succeeded. */\nexport interface ListAssetResource200Response extends HttpResponse {\n status: \"200\";\n body: PagedAssetResourceOutput;\n}\n\nexport interface ListAssetResourceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListAssetResourceDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListAssetResourceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateAssets200Response extends HttpResponse {\n status: \"200\";\n body: TaskOutput;\n}\n\nexport interface UpdateAssetsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateAssetsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateAssetsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetAssetResource200Response extends HttpResponse {\n status: \"200\";\n body: AssetResourceOutput;\n}\n\nexport interface GetAssetResourceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetAssetResourceDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetAssetResourceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListDataConnection200Response extends HttpResponse {\n status: \"200\";\n body: PagedDataConnectionOutput;\n}\n\nexport interface ListDataConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListDataConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListDataConnectionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ValidateDataConnection200Response extends HttpResponse {\n status: \"200\";\n body: ValidateResultOutput;\n}\n\nexport interface ValidateDataConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ValidateDataConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ValidateDataConnectionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetDataConnection200Response extends HttpResponse {\n status: \"200\";\n body: DataConnectionOutput;\n}\n\nexport interface GetDataConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDataConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetDataConnectionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateOrReplaceDataConnection200Response extends HttpResponse {\n status: \"200\";\n body: DataConnectionOutput;\n}\n\nexport interface CreateOrReplaceDataConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateOrReplaceDataConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateOrReplaceDataConnectionDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteDataConnection204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteDataConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteDataConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteDataConnectionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListDiscoGroup200Response extends HttpResponse {\n status: \"200\";\n body: PagedDiscoGroupOutput;\n}\n\nexport interface ListDiscoGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListDiscoGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListDiscoGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ValidateDiscoGroup200Response extends HttpResponse {\n status: \"200\";\n body: ValidateResultOutput;\n}\n\nexport interface ValidateDiscoGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ValidateDiscoGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ValidateDiscoGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetDiscoGroup200Response extends HttpResponse {\n status: \"200\";\n body: DiscoGroupOutput;\n}\n\nexport interface GetDiscoGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDiscoGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetDiscoGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateOrReplaceDiscoGroup200Response extends HttpResponse {\n status: \"200\";\n body: DiscoGroupOutput;\n}\n\nexport interface CreateOrReplaceDiscoGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateOrReplaceDiscoGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateOrReplaceDiscoGroupDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface RunDiscoGroup204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface RunDiscoGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface RunDiscoGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & RunDiscoGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListRuns200Response extends HttpResponse {\n status: \"200\";\n body: DiscoRunPageResultOutput;\n}\n\nexport interface ListRunsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListRunsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListRunsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListDiscoTemplate200Response extends HttpResponse {\n status: \"200\";\n body: PagedDiscoTemplateOutput;\n}\n\nexport interface ListDiscoTemplateDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListDiscoTemplateDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListDiscoTemplateDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetDiscoTemplate200Response extends HttpResponse {\n status: \"200\";\n body: DiscoTemplateOutput;\n}\n\nexport interface GetDiscoTemplateDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDiscoTemplateDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetDiscoTemplateDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetBillable200Response extends HttpResponse {\n status: \"200\";\n body: ReportBillableAssetSummaryResultOutput;\n}\n\nexport interface GetBillableDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetBillableDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetBillableDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetSnapshot200Response extends HttpResponse {\n status: \"200\";\n body: ReportAssetSnapshotResultOutput;\n}\n\nexport interface GetSnapshotDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetSnapshotDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetSnapshotDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetSummary200Response extends HttpResponse {\n status: \"200\";\n body: ReportAssetSummaryResultOutput;\n}\n\nexport interface GetSummaryDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetSummaryDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetSummaryDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListSavedFilter200Response extends HttpResponse {\n status: \"200\";\n body: PagedSavedFilterOutput;\n}\n\nexport interface ListSavedFilterDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListSavedFilterDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListSavedFilterDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetSavedFilter200Response extends HttpResponse {\n status: \"200\";\n body: SavedFilterOutput;\n}\n\nexport interface GetSavedFilterDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetSavedFilterDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetSavedFilterDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateOrReplaceSavedFilter200Response extends HttpResponse {\n status: \"200\";\n body: SavedFilterOutput;\n}\n\nexport interface CreateOrReplaceSavedFilterDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateOrReplaceSavedFilterDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateOrReplaceSavedFilterDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteSavedFilter204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteSavedFilterDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteSavedFilterDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteSavedFilterDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListTask200Response extends HttpResponse {\n status: \"200\";\n body: PagedTaskOutput;\n}\n\nexport interface ListTaskDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListTaskDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListTaskDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetTask200Response extends HttpResponse {\n status: \"200\";\n body: TaskOutput;\n}\n\nexport interface GetTaskDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetTaskDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetTaskDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CancelTask200Response extends HttpResponse {\n status: \"200\";\n body: TaskOutput;\n}\n\nexport interface CancelTaskDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CancelTaskDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CancelTaskDefaultHeaders;\n}\n"]}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import type { ListAssetResourceParameters, UpdateAssetsParameters, GetAssetResourceParameters, ListDataConnectionParameters, ValidateDataConnectionParameters, GetDataConnectionParameters, CreateOrReplaceDataConnectionParameters, DeleteDataConnectionParameters, ListDiscoGroupParameters, ValidateDiscoGroupParameters, GetDiscoGroupParameters, CreateOrReplaceDiscoGroupParameters, RunDiscoGroupParameters, ListRunsParameters, ListDiscoTemplateParameters, GetDiscoTemplateParameters, GetBillableParameters, GetSnapshotParameters, GetSummaryParameters, ListSavedFilterParameters, GetSavedFilterParameters, CreateOrReplaceSavedFilterParameters, DeleteSavedFilterParameters, ListTaskParameters, GetTaskParameters, CancelTaskParameters } from "./parameters.js";
|
|
2
|
+
import type { ListAssetResource200Response, ListAssetResourceDefaultResponse, UpdateAssets200Response, UpdateAssetsDefaultResponse, GetAssetResource200Response, GetAssetResourceDefaultResponse, ListDataConnection200Response, ListDataConnectionDefaultResponse, ValidateDataConnection200Response, ValidateDataConnectionDefaultResponse, GetDataConnection200Response, GetDataConnectionDefaultResponse, CreateOrReplaceDataConnection200Response, CreateOrReplaceDataConnectionDefaultResponse, DeleteDataConnection204Response, DeleteDataConnectionDefaultResponse, ListDiscoGroup200Response, ListDiscoGroupDefaultResponse, ValidateDiscoGroup200Response, ValidateDiscoGroupDefaultResponse, GetDiscoGroup200Response, GetDiscoGroupDefaultResponse, CreateOrReplaceDiscoGroup200Response, CreateOrReplaceDiscoGroupDefaultResponse, RunDiscoGroup204Response, RunDiscoGroupDefaultResponse, ListRuns200Response, ListRunsDefaultResponse, ListDiscoTemplate200Response, ListDiscoTemplateDefaultResponse, GetDiscoTemplate200Response, GetDiscoTemplateDefaultResponse, GetBillable200Response, GetBillableDefaultResponse, GetSnapshot200Response, GetSnapshotDefaultResponse, GetSummary200Response, GetSummaryDefaultResponse, ListSavedFilter200Response, ListSavedFilterDefaultResponse, GetSavedFilter200Response, GetSavedFilterDefaultResponse, CreateOrReplaceSavedFilter200Response, CreateOrReplaceSavedFilterDefaultResponse, DeleteSavedFilter204Response, DeleteSavedFilterDefaultResponse, ListTask200Response, ListTaskDefaultResponse, GetTask200Response, GetTaskDefaultResponse, CancelTask200Response, CancelTaskDefaultResponse } from "./responses.js";
|
|
3
|
+
import type { Client, StreamableMethod } from "@azure-rest/core-client";
|
|
4
|
+
export interface ListAssetResource {
|
|
5
|
+
/** Retrieve a list of assets for the provided search parameters. */
|
|
6
|
+
get(options?: ListAssetResourceParameters): StreamableMethod<ListAssetResource200Response | ListAssetResourceDefaultResponse>;
|
|
7
|
+
/** Update labels on assets matching the provided filter. */
|
|
8
|
+
post(options: UpdateAssetsParameters): StreamableMethod<UpdateAssets200Response | UpdateAssetsDefaultResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface GetAssetResource {
|
|
11
|
+
/** Retrieve an asset by assetId. */
|
|
12
|
+
get(options?: GetAssetResourceParameters): StreamableMethod<GetAssetResource200Response | GetAssetResourceDefaultResponse>;
|
|
13
|
+
}
|
|
14
|
+
export interface ListDataConnection {
|
|
15
|
+
/** Retrieve a list of data connections. */
|
|
16
|
+
get(options?: ListDataConnectionParameters): StreamableMethod<ListDataConnection200Response | ListDataConnectionDefaultResponse>;
|
|
17
|
+
}
|
|
18
|
+
export interface ValidateDataConnection {
|
|
19
|
+
/** Validate a data connection with a given dataConnectionName. */
|
|
20
|
+
post(options: ValidateDataConnectionParameters): StreamableMethod<ValidateDataConnection200Response | ValidateDataConnectionDefaultResponse>;
|
|
21
|
+
}
|
|
22
|
+
export interface GetDataConnection {
|
|
23
|
+
/** Retrieve a data connection with a given dataConnectionName. */
|
|
24
|
+
get(options?: GetDataConnectionParameters): StreamableMethod<GetDataConnection200Response | GetDataConnectionDefaultResponse>;
|
|
25
|
+
/** Create or replace a data connection with a given dataConnectionName. */
|
|
26
|
+
put(options: CreateOrReplaceDataConnectionParameters): StreamableMethod<CreateOrReplaceDataConnection200Response | CreateOrReplaceDataConnectionDefaultResponse>;
|
|
27
|
+
/** Delete a data connection with a given dataConnectionName. */
|
|
28
|
+
delete(options?: DeleteDataConnectionParameters): StreamableMethod<DeleteDataConnection204Response | DeleteDataConnectionDefaultResponse>;
|
|
29
|
+
}
|
|
30
|
+
export interface ListDiscoGroup {
|
|
31
|
+
/** Retrieve a list of discovery group for the provided search parameters. */
|
|
32
|
+
get(options?: ListDiscoGroupParameters): StreamableMethod<ListDiscoGroup200Response | ListDiscoGroupDefaultResponse>;
|
|
33
|
+
}
|
|
34
|
+
export interface ValidateDiscoGroup {
|
|
35
|
+
/** Validate a discovery group with a given groupName. */
|
|
36
|
+
post(options: ValidateDiscoGroupParameters): StreamableMethod<ValidateDiscoGroup200Response | ValidateDiscoGroupDefaultResponse>;
|
|
37
|
+
}
|
|
38
|
+
export interface GetDiscoGroup {
|
|
39
|
+
/** Retrieve a discovery group with a given groupName. */
|
|
40
|
+
get(options?: GetDiscoGroupParameters): StreamableMethod<GetDiscoGroup200Response | GetDiscoGroupDefaultResponse>;
|
|
41
|
+
/** Create a discovery group with a given groupName. */
|
|
42
|
+
put(options: CreateOrReplaceDiscoGroupParameters): StreamableMethod<CreateOrReplaceDiscoGroup200Response | CreateOrReplaceDiscoGroupDefaultResponse>;
|
|
43
|
+
}
|
|
44
|
+
export interface RunDiscoGroup {
|
|
45
|
+
/** Run a discovery group with a given groupName. */
|
|
46
|
+
post(options?: RunDiscoGroupParameters): StreamableMethod<RunDiscoGroup204Response | RunDiscoGroupDefaultResponse>;
|
|
47
|
+
}
|
|
48
|
+
export interface ListRuns {
|
|
49
|
+
/** Retrieve a collection of discovery run results for a discovery group with a given groupName. */
|
|
50
|
+
get(options?: ListRunsParameters): StreamableMethod<ListRuns200Response | ListRunsDefaultResponse>;
|
|
51
|
+
}
|
|
52
|
+
export interface ListDiscoTemplate {
|
|
53
|
+
/** Retrieve a list of disco templates for the provided search parameters. */
|
|
54
|
+
get(options?: ListDiscoTemplateParameters): StreamableMethod<ListDiscoTemplate200Response | ListDiscoTemplateDefaultResponse>;
|
|
55
|
+
}
|
|
56
|
+
export interface GetDiscoTemplate {
|
|
57
|
+
/** Retrieve a disco template with a given templateId. */
|
|
58
|
+
get(options?: GetDiscoTemplateParameters): StreamableMethod<GetDiscoTemplate200Response | GetDiscoTemplateDefaultResponse>;
|
|
59
|
+
}
|
|
60
|
+
export interface GetBillable {
|
|
61
|
+
/** Get billable assets summary for the workspace. */
|
|
62
|
+
post(options?: GetBillableParameters): StreamableMethod<GetBillable200Response | GetBillableDefaultResponse>;
|
|
63
|
+
}
|
|
64
|
+
export interface GetSnapshot {
|
|
65
|
+
/** Get the most recent snapshot of asset summary values for the snapshot request. */
|
|
66
|
+
post(options: GetSnapshotParameters): StreamableMethod<GetSnapshot200Response | GetSnapshotDefaultResponse>;
|
|
67
|
+
}
|
|
68
|
+
export interface GetSummary {
|
|
69
|
+
/** Get asset summary details for the summary request. */
|
|
70
|
+
post(options: GetSummaryParameters): StreamableMethod<GetSummary200Response | GetSummaryDefaultResponse>;
|
|
71
|
+
}
|
|
72
|
+
export interface ListSavedFilter {
|
|
73
|
+
/** Retrieve a list of saved filters for the provided search parameters. */
|
|
74
|
+
get(options?: ListSavedFilterParameters): StreamableMethod<ListSavedFilter200Response | ListSavedFilterDefaultResponse>;
|
|
75
|
+
}
|
|
76
|
+
export interface GetSavedFilter {
|
|
77
|
+
/** Retrieve a saved filter by filterName. */
|
|
78
|
+
get(options?: GetSavedFilterParameters): StreamableMethod<GetSavedFilter200Response | GetSavedFilterDefaultResponse>;
|
|
79
|
+
/** Create or replace a saved filter with a given filterName. */
|
|
80
|
+
put(options: CreateOrReplaceSavedFilterParameters): StreamableMethod<CreateOrReplaceSavedFilter200Response | CreateOrReplaceSavedFilterDefaultResponse>;
|
|
81
|
+
/** Delete a saved filter with a given filterName. */
|
|
82
|
+
delete(options?: DeleteSavedFilterParameters): StreamableMethod<DeleteSavedFilter204Response | DeleteSavedFilterDefaultResponse>;
|
|
83
|
+
}
|
|
84
|
+
export interface ListTask {
|
|
85
|
+
/** Retrieve a list of tasks for the provided search parameters. */
|
|
86
|
+
get(options?: ListTaskParameters): StreamableMethod<ListTask200Response | ListTaskDefaultResponse>;
|
|
87
|
+
}
|
|
88
|
+
export interface GetTask {
|
|
89
|
+
/** Retrieve a task by taskId. */
|
|
90
|
+
get(options?: GetTaskParameters): StreamableMethod<GetTask200Response | GetTaskDefaultResponse>;
|
|
91
|
+
}
|
|
92
|
+
export interface CancelTask {
|
|
93
|
+
/** Cancel a task by taskId. */
|
|
94
|
+
post(options?: CancelTaskParameters): StreamableMethod<CancelTask200Response | CancelTaskDefaultResponse>;
|
|
95
|
+
}
|
|
96
|
+
export interface Routes {
|
|
97
|
+
/** Resource for '/assets' has methods for the following verbs: get, post */
|
|
98
|
+
(path: "/assets"): ListAssetResource;
|
|
99
|
+
/** Resource for '/assets/\{assetId\}' has methods for the following verbs: get */
|
|
100
|
+
(path: "/assets/{assetId}", assetId: string): GetAssetResource;
|
|
101
|
+
/** Resource for '/dataConnections' has methods for the following verbs: get */
|
|
102
|
+
(path: "/dataConnections"): ListDataConnection;
|
|
103
|
+
/** Resource for '/dataConnections:validate' has methods for the following verbs: post */
|
|
104
|
+
(path: "/dataConnections:validate"): ValidateDataConnection;
|
|
105
|
+
/** Resource for '/dataConnections/\{dataConnectionName\}' has methods for the following verbs: get, put, delete */
|
|
106
|
+
(path: "/dataConnections/{dataConnectionName}", dataConnectionName: string): GetDataConnection;
|
|
107
|
+
/** Resource for '/discoGroups' has methods for the following verbs: get */
|
|
108
|
+
(path: "/discoGroups"): ListDiscoGroup;
|
|
109
|
+
/** Resource for '/discoGroups:validate' has methods for the following verbs: post */
|
|
110
|
+
(path: "/discoGroups:validate"): ValidateDiscoGroup;
|
|
111
|
+
/** Resource for '/discoGroups/\{groupName\}' has methods for the following verbs: get, put */
|
|
112
|
+
(path: "/discoGroups/{groupName}", groupName: string): GetDiscoGroup;
|
|
113
|
+
/** Resource for '/discoGroups/\{groupName\}:run' has methods for the following verbs: post */
|
|
114
|
+
(path: "/discoGroups/{groupName}:run", groupName: string): RunDiscoGroup;
|
|
115
|
+
/** Resource for '/discoGroups/\{groupName\}/runs' has methods for the following verbs: get */
|
|
116
|
+
(path: "/discoGroups/{groupName}/runs", groupName: string): ListRuns;
|
|
117
|
+
/** Resource for '/discoTemplates' has methods for the following verbs: get */
|
|
118
|
+
(path: "/discoTemplates"): ListDiscoTemplate;
|
|
119
|
+
/** Resource for '/discoTemplates/\{templateId\}' has methods for the following verbs: get */
|
|
120
|
+
(path: "/discoTemplates/{templateId}", templateId: string): GetDiscoTemplate;
|
|
121
|
+
/** Resource for '/reports/assets:getBillable' has methods for the following verbs: post */
|
|
122
|
+
(path: "/reports/assets:getBillable"): GetBillable;
|
|
123
|
+
/** Resource for '/reports/assets:getSnapshot' has methods for the following verbs: post */
|
|
124
|
+
(path: "/reports/assets:getSnapshot"): GetSnapshot;
|
|
125
|
+
/** Resource for '/reports/assets:getSummary' has methods for the following verbs: post */
|
|
126
|
+
(path: "/reports/assets:getSummary"): GetSummary;
|
|
127
|
+
/** Resource for '/savedFilters' has methods for the following verbs: get */
|
|
128
|
+
(path: "/savedFilters"): ListSavedFilter;
|
|
129
|
+
/** Resource for '/savedFilters/\{filterName\}' has methods for the following verbs: get, put, delete */
|
|
130
|
+
(path: "/savedFilters/{filterName}", filterName: string): GetSavedFilter;
|
|
131
|
+
/** Resource for '/tasks' has methods for the following verbs: get */
|
|
132
|
+
(path: "/tasks"): ListTask;
|
|
133
|
+
/** Resource for '/tasks/\{taskId\}' has methods for the following verbs: get */
|
|
134
|
+
(path: "/tasks/{taskId}", taskId: string): GetTask;
|
|
135
|
+
/** Resource for '/tasks/\{taskId\}:cancel' has methods for the following verbs: post */
|
|
136
|
+
(path: "/tasks/{taskId}:cancel", taskId: string): CancelTask;
|
|
137
|
+
}
|
|
138
|
+
export type EasmClient = Client & {
|
|
139
|
+
path: Routes;
|
|
140
|
+
};
|
|
141
|
+
//# sourceMappingURL=clientDefinitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientDefinitions.d.ts","sourceRoot":"","sources":["../../src/clientDefinitions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,2BAA2B,EAC3B,sBAAsB,EACtB,0BAA0B,EAC1B,4BAA4B,EAC5B,gCAAgC,EAChC,2BAA2B,EAC3B,uCAAuC,EACvC,8BAA8B,EAC9B,wBAAwB,EACxB,4BAA4B,EAC5B,uBAAuB,EACvB,mCAAmC,EACnC,uBAAuB,EACvB,kBAAkB,EAClB,2BAA2B,EAC3B,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,EACxB,oCAAoC,EACpC,2BAA2B,EAC3B,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EACV,4BAA4B,EAC5B,gCAAgC,EAChC,uBAAuB,EACvB,2BAA2B,EAC3B,2BAA2B,EAC3B,+BAA+B,EAC/B,6BAA6B,EAC7B,iCAAiC,EACjC,iCAAiC,EACjC,qCAAqC,EACrC,4BAA4B,EAC5B,gCAAgC,EAChC,wCAAwC,EACxC,4CAA4C,EAC5C,+BAA+B,EAC/B,mCAAmC,EACnC,yBAAyB,EACzB,6BAA6B,EAC7B,6BAA6B,EAC7B,iCAAiC,EACjC,wBAAwB,EACxB,4BAA4B,EAC5B,oCAAoC,EACpC,wCAAwC,EACxC,wBAAwB,EACxB,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,EACvB,4BAA4B,EAC5B,gCAAgC,EAChC,2BAA2B,EAC3B,+BAA+B,EAC/B,sBAAsB,EACtB,0BAA0B,EAC1B,sBAAsB,EACt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IACnD,2FAA2F;IAC3F,CAAC,IAAI,EAAE,6BAA6B,GAAG,WAAW,CAAC;IACnD,0FAA0F;IAC1F,CAAC,IAAI,EAAE,4BAA4B,GAAG,UAAU,CAAC;IACjD,4EAA4E;IAC5E,CAAC,IAAI,EAAE,eAAe,GAAG,eAAe,CAAC;IACzC,wGAAwG;IACxG,CAAC,IAAI,EAAE,4BAA4B,EAAE,UAAU,EAAE,MAAM,GAAG,cAAc,CAAC;IACzE,qEAAqE;IACrE,CAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,gFAAgF;IAChF,CAAC,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;IACnD,wFAAwF;IACxF,CAAC,IAAI,EAAE,wBAAwB,EAAE,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC;CAC9D;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clientDefinitions.js","sourceRoot":"","sources":["../../src/clientDefinitions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n ListAssetResourceParameters,\n UpdateAssetsParameters,\n GetAssetResourceParameters,\n ListDataConnectionParameters,\n ValidateDataConnectionParameters,\n GetDataConnectionParameters,\n CreateOrReplaceDataConnectionParameters,\n DeleteDataConnectionParameters,\n ListDiscoGroupParameters,\n ValidateDiscoGroupParameters,\n GetDiscoGroupParameters,\n CreateOrReplaceDiscoGroupParameters,\n RunDiscoGroupParameters,\n ListRunsParameters,\n ListDiscoTemplateParameters,\n GetDiscoTemplateParameters,\n GetBillableParameters,\n GetSnapshotParameters,\n GetSummaryParameters,\n ListSavedFilterParameters,\n GetSavedFilterParameters,\n CreateOrReplaceSavedFilterParameters,\n DeleteSavedFilterParameters,\n ListTaskParameters,\n GetTaskParameters,\n CancelTaskParameters,\n} from \"./parameters.js\";\nimport type {\n ListAssetResource200Response,\n ListAssetResourceDefaultResponse,\n UpdateAssets200Response,\n UpdateAssetsDefaultResponse,\n GetAssetResource200Response,\n GetAssetResourceDefaultResponse,\n ListDataConnection200Response,\n ListDataConnectionDefaultResponse,\n ValidateDataConnection200Response,\n ValidateDataConnectionDefaultResponse,\n GetDataConnection200Response,\n GetDataConnectionDefaultResponse,\n CreateOrReplaceDataConnection200Response,\n CreateOrReplaceDataConnectionDefaultResponse,\n DeleteDataConnection204Response,\n DeleteDataConnectionDefaultResponse,\n ListDiscoGroup200Response,\n ListDiscoGroupDefaultResponse,\n ValidateDiscoGroup200Response,\n ValidateDiscoGroupDefaultResponse,\n GetDiscoGroup200Response,\n GetDiscoGroupDefaultResponse,\n CreateOrReplaceDiscoGroup200Response,\n CreateOrReplaceDiscoGroupDefaultResponse,\n RunDiscoGroup204Response,\n RunDiscoGroupDefaultResponse,\n ListRuns200Response,\n ListRunsDefaultResponse,\n ListDiscoTemplate200Response,\n ListDiscoTemplateDefaultResponse,\n GetDiscoTemplate200Response,\n GetDiscoTemplateDefaultResponse,\n GetBillable200Response,\n GetBillableDefaultResponse,\n GetSnapshot200Response,\n GetSnapshotDefaultResponse,\n GetSummary200Response,\n GetSummaryDefaultResponse,\n ListSavedFilter200Response,\n ListSavedFilterDefaultResponse,\n GetSavedFilter200Response,\n GetSavedFilterDefaultResponse,\n CreateOrReplaceSavedFilter200Response,\n CreateOrReplaceSavedFilterDefaultResponse,\n DeleteSavedFilter204Response,\n DeleteSavedFilterDefaultResponse,\n ListTask200Response,\n ListTaskDefaultResponse,\n GetTask200Response,\n GetTaskDefaultResponse,\n CancelTask200Response,\n CancelTaskDefaultResponse,\n} from \"./responses.js\";\nimport type { Client, StreamableMethod } from \"@azure-rest/core-client\";\n\nexport interface ListAssetResource {\n /** Retrieve a list of assets for the provided search parameters. */\n get(\n options?: ListAssetResourceParameters,\n ): StreamableMethod<ListAssetResource200Response | ListAssetResourceDefaultResponse>;\n /** Update labels on assets matching the provided filter. */\n post(\n options: UpdateAssetsParameters,\n ): StreamableMethod<UpdateAssets200Response | UpdateAssetsDefaultResponse>;\n}\n\nexport interface GetAssetResource {\n /** Retrieve an asset by assetId. */\n get(\n options?: GetAssetResourceParameters,\n ): StreamableMethod<GetAssetResource200Response | GetAssetResourceDefaultResponse>;\n}\n\nexport interface ListDataConnection {\n /** Retrieve a list of data connections. */\n get(\n options?: ListDataConnectionParameters,\n ): StreamableMethod<ListDataConnection200Response | ListDataConnectionDefaultResponse>;\n}\n\nexport interface ValidateDataConnection {\n /** Validate a data connection with a given dataConnectionName. */\n post(\n options: ValidateDataConnectionParameters,\n ): StreamableMethod<ValidateDataConnection200Response | ValidateDataConnectionDefaultResponse>;\n}\n\nexport interface GetDataConnection {\n /** Retrieve a data connection with a given dataConnectionName. */\n get(\n options?: GetDataConnectionParameters,\n ): StreamableMethod<GetDataConnection200Response | GetDataConnectionDefaultResponse>;\n /** Create or replace a data connection with a given dataConnectionName. */\n put(\n options: CreateOrReplaceDataConnectionParameters,\n ): StreamableMethod<\n CreateOrReplaceDataConnection200Response | CreateOrReplaceDataConnectionDefaultResponse\n >;\n /** Delete a data connection with a given dataConnectionName. */\n delete(\n options?: DeleteDataConnectionParameters,\n ): StreamableMethod<DeleteDataConnection204Response | DeleteDataConnectionDefaultResponse>;\n}\n\nexport interface ListDiscoGroup {\n /** Retrieve a list of discovery group for the provided search parameters. */\n get(\n options?: ListDiscoGroupParameters,\n ): StreamableMethod<ListDiscoGroup200Response | ListDiscoGroupDefaultResponse>;\n}\n\nexport interface ValidateDiscoGroup {\n /** Validate a discovery group with a given groupName. */\n post(\n options: ValidateDiscoGroupParameters,\n ): StreamableMethod<ValidateDiscoGroup200Response | ValidateDiscoGroupDefaultResponse>;\n}\n\nexport interface GetDiscoGroup {\n /** Retrieve a discovery group with a given groupName. */\n get(\n options?: GetDiscoGroupParameters,\n ): StreamableMethod<GetDiscoGroup200Response | GetDiscoGroupDefaultResponse>;\n /** Create a discovery group with a given groupName. */\n put(\n options: CreateOrReplaceDiscoGroupParameters,\n ): StreamableMethod<\n CreateOrReplaceDiscoGroup200Response | CreateOrReplaceDiscoGroupDefaultResponse\n >;\n}\n\nexport interface RunDiscoGroup {\n /** Run a discovery group with a given groupName. */\n post(\n options?: RunDiscoGroupParameters,\n ): StreamableMethod<RunDiscoGroup204Response | RunDiscoGroupDefaultResponse>;\n}\n\nexport interface ListRuns {\n /** Retrieve a collection of discovery run results for a discovery group with a given groupName. */\n get(\n options?: ListRunsParameters,\n ): StreamableMethod<ListRuns200Response | ListRunsDefaultResponse>;\n}\n\nexport interface ListDiscoTemplate {\n /** Retrieve a list of disco templates for the provided search parameters. */\n get(\n options?: ListDiscoTemplateParameters,\n ): StreamableMethod<ListDiscoTemplate200Response | ListDiscoTemplateDefaultResponse>;\n}\n\nexport interface GetDiscoTemplate {\n /** Retrieve a disco template with a given templateId. */\n get(\n options?: GetDiscoTemplateParameters,\n ): StreamableMethod<GetDiscoTemplate200Response | GetDiscoTemplateDefaultResponse>;\n}\n\nexport interface GetBillable {\n /** Get billable assets summary for the workspace. */\n post(\n options?: GetBillableParameters,\n ): StreamableMethod<GetBillable200Response | GetBillableDefaultResponse>;\n}\n\nexport interface GetSnapshot {\n /** Get the most recent snapshot of asset summary values for the snapshot request. */\n post(\n options: GetSnapshotParameters,\n ): StreamableMethod<GetSnapshot200Response | GetSnapshotDefaultResponse>;\n}\n\nexport interface GetSummary {\n /** Get asset summary details for the summary request. */\n post(\n options: GetSummaryParameters,\n ): StreamableMethod<GetSummary200Response | GetSummaryDefaultResponse>;\n}\n\nexport interface ListSavedFilter {\n /** Retrieve a list of saved filters for the provided search parameters. */\n get(\n options?: ListSavedFilterParameters,\n ): StreamableMethod<ListSavedFilter200Response | ListSavedFilterDefaultResponse>;\n}\n\nexport interface GetSavedFilter {\n /** Retrieve a saved filter by filterName. */\n get(\n options?: GetSavedFilterParameters,\n ): StreamableMethod<GetSavedFilter200Response | GetSavedFilterDefaultResponse>;\n /** Create or replace a saved filter with a given filterName. */\n put(\n options: CreateOrReplaceSavedFilterParameters,\n ): StreamableMethod<\n CreateOrReplaceSavedFilter200Response | CreateOrReplaceSavedFilterDefaultResponse\n >;\n /** Delete a saved filter with a given filterName. */\n delete(\n options?: DeleteSavedFilterParameters,\n ): StreamableMethod<DeleteSavedFilter204Response | DeleteSavedFilterDefaultResponse>;\n}\n\nexport interface ListTask {\n /** Retrieve a list of tasks for the provided search parameters. */\n get(\n options?: ListTaskParameters,\n ): StreamableMethod<ListTask200Response | ListTaskDefaultResponse>;\n}\n\nexport interface GetTask {\n /** Retrieve a task by taskId. */\n get(options?: GetTaskParameters): StreamableMethod<GetTask200Response | GetTaskDefaultResponse>;\n}\n\nexport interface CancelTask {\n /** Cancel a task by taskId. */\n post(\n options?: CancelTaskParameters,\n ): StreamableMethod<CancelTask200Response | CancelTaskDefaultResponse>;\n}\n\nexport interface Routes {\n /** Resource for '/assets' has methods for the following verbs: get, post */\n (path: \"/assets\"): ListAssetResource;\n /** Resource for '/assets/\\{assetId\\}' has methods for the following verbs: get */\n (path: \"/assets/{assetId}\", assetId: string): GetAssetResource;\n /** Resource for '/dataConnections' has methods for the following verbs: get */\n (path: \"/dataConnections\"): ListDataConnection;\n /** Resource for '/dataConnections:validate' has methods for the following verbs: post */\n (path: \"/dataConnections:validate\"): ValidateDataConnection;\n /** Resource for '/dataConnections/\\{dataConnectionName\\}' has methods for the following verbs: get, put, delete */\n (path: \"/dataConnections/{dataConnectionName}\", dataConnectionName: string): GetDataConnection;\n /** Resource for '/discoGroups' has methods for the following verbs: get */\n (path: \"/discoGroups\"): ListDiscoGroup;\n /** Resource for '/discoGroups:validate' has methods for the following verbs: post */\n (path: \"/discoGroups:validate\"): ValidateDiscoGroup;\n /** Resource for '/discoGroups/\\{groupName\\}' has methods for the following verbs: get, put */\n (path: \"/discoGroups/{groupName}\", groupName: string): GetDiscoGroup;\n /** Resource for '/discoGroups/\\{groupName\\}:run' has methods for the following verbs: post */\n (path: \"/discoGroups/{groupName}:run\", groupName: string): RunDiscoGroup;\n /** Resource for '/discoGroups/\\{groupName\\}/runs' has methods for the following verbs: get */\n (path: \"/discoGroups/{groupName}/runs\", groupName: string): ListRuns;\n /** Resource for '/discoTemplates' has methods for the following verbs: get */\n (path: \"/discoTemplates\"): ListDiscoTemplate;\n /** Resource for '/discoTemplates/\\{templateId\\}' has methods for the following verbs: get */\n (path: \"/discoTemplates/{templateId}\", templateId: string): GetDiscoTemplate;\n /** Resource for '/reports/assets:getBillable' has methods for the following verbs: post */\n (path: \"/reports/assets:getBillable\"): GetBillable;\n /** Resource for '/reports/assets:getSnapshot' has methods for the following verbs: post */\n (path: \"/reports/assets:getSnapshot\"): GetSnapshot;\n /** Resource for '/reports/assets:getSummary' has methods for the following verbs: post */\n (path: \"/reports/assets:getSummary\"): GetSummary;\n /** Resource for '/savedFilters' has methods for the following verbs: get */\n (path: \"/savedFilters\"): ListSavedFilter;\n /** Resource for '/savedFilters/\\{filterName\\}' has methods for the following verbs: get, put, delete */\n (path: \"/savedFilters/{filterName}\", filterName: string): GetSavedFilter;\n /** Resource for '/tasks' has methods for the following verbs: get */\n (path: \"/tasks\"): ListTask;\n /** Resource for '/tasks/\\{taskId\\}' has methods for the following verbs: get */\n (path: \"/tasks/{taskId}\", taskId: string): GetTask;\n /** Resource for '/tasks/\\{taskId\\}:cancel' has methods for the following verbs: post */\n (path: \"/tasks/{taskId}:cancel\", taskId: string): CancelTask;\n}\n\nexport type EasmClient = Client & {\n path: Routes;\n};\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ClientOptions } from "@azure-rest/core-client";
|
|
2
|
+
import type { TokenCredential } from "@azure/core-auth";
|
|
3
|
+
import type { EasmClient } from "./clientDefinitions.js";
|
|
4
|
+
/** The optional parameters for the client */
|
|
5
|
+
export interface EasmClientOptions extends ClientOptions {
|
|
6
|
+
/** The api version option of the client */
|
|
7
|
+
apiVersion?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of `EasmClient`
|
|
11
|
+
* @param endpointParam - The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}
|
|
12
|
+
* @param credentials - uniquely identify client credential
|
|
13
|
+
* @param options - the parameter for all optional parameters
|
|
14
|
+
*/
|
|
15
|
+
export default function createClient(endpointParam: string, credentials: TokenCredential, { apiVersion, ...options }?: EasmClientOptions): EasmClient;
|
|
16
|
+
//# sourceMappingURL=easmClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"easmClient.d.ts","sourceRoot":"","sources":["../../src/easmClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,6CAA6C;AAC7C,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,eAAe,EAC5B,EAAE,UAAiC,EAAE,GAAG,OAAO,EAAE,GAAE,iBAAsB,GACxE,UAAU,CAuCZ"}
|