@azure/arm-resourcegraph 4.0.0 → 5.0.0-beta.1
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 +21 -0
- package/README.md +70 -70
- package/dist/index.js +933 -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/samples-dev/accessAPropertiesField.d.ts +2 -0
- package/dist-esm/samples-dev/accessAPropertiesField.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessAPropertiesField.js +32 -0
- package/dist-esm/samples-dev/accessAPropertiesField.js.map +1 -0
- package/dist-esm/samples-dev/basicManagementGroupQuery.d.ts +2 -0
- package/dist-esm/samples-dev/basicManagementGroupQuery.d.ts.map +1 -0
- package/dist-esm/samples-dev/basicManagementGroupQuery.js +32 -0
- package/dist-esm/samples-dev/basicManagementGroupQuery.js.map +1 -0
- package/dist-esm/samples-dev/basicQuery.d.ts +2 -0
- package/dist-esm/samples-dev/basicQuery.d.ts.map +1 -0
- package/dist-esm/samples-dev/basicQuery.js +32 -0
- package/dist-esm/samples-dev/basicQuery.js.map +1 -0
- package/dist-esm/samples-dev/basicTenantQuery.d.ts +2 -0
- package/dist-esm/samples-dev/basicTenantQuery.d.ts.map +1 -0
- package/dist-esm/samples-dev/basicTenantQuery.js +31 -0
- package/dist-esm/samples-dev/basicTenantQuery.js.map +1 -0
- package/dist-esm/samples-dev/complexQuery.d.ts +2 -0
- package/dist-esm/samples-dev/complexQuery.d.ts.map +1 -0
- package/dist-esm/samples-dev/complexQuery.js +32 -0
- package/dist-esm/samples-dev/complexQuery.js.map +1 -0
- package/dist-esm/samples-dev/filterResources.d.ts +2 -0
- package/dist-esm/samples-dev/filterResources.d.ts.map +1 -0
- package/dist-esm/samples-dev/filterResources.js +32 -0
- package/dist-esm/samples-dev/filterResources.js.map +1 -0
- package/dist-esm/samples-dev/firstPageQuery.d.ts +2 -0
- package/dist-esm/samples-dev/firstPageQuery.d.ts.map +1 -0
- package/dist-esm/samples-dev/firstPageQuery.js +33 -0
- package/dist-esm/samples-dev/firstPageQuery.js.map +1 -0
- package/dist-esm/samples-dev/nextPageQuery.d.ts +2 -0
- package/dist-esm/samples-dev/nextPageQuery.d.ts.map +1 -0
- package/dist-esm/samples-dev/nextPageQuery.js +35 -0
- package/dist-esm/samples-dev/nextPageQuery.js.map +1 -0
- package/dist-esm/samples-dev/operationsList.d.ts +2 -0
- package/dist-esm/samples-dev/operationsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsList.js +42 -0
- package/dist-esm/samples-dev/operationsList.js.map +1 -0
- package/dist-esm/samples-dev/queryWithAFacetRequest.d.ts +2 -0
- package/dist-esm/samples-dev/queryWithAFacetRequest.d.ts.map +1 -0
- package/dist-esm/samples-dev/queryWithAFacetRequest.js +51 -0
- package/dist-esm/samples-dev/queryWithAFacetRequest.js.map +1 -0
- package/dist-esm/samples-dev/randomPageQuery.d.ts +2 -0
- package/dist-esm/samples-dev/randomPageQuery.d.ts.map +1 -0
- package/dist-esm/samples-dev/randomPageQuery.js +33 -0
- package/dist-esm/samples-dev/randomPageQuery.js.map +1 -0
- package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.d.ts +2 -0
- package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.js +38 -0
- package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.js.map +1 -0
- package/dist-esm/samples-dev/resourceHistoryQuery.d.ts +2 -0
- package/dist-esm/samples-dev/resourceHistoryQuery.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceHistoryQuery.js +38 -0
- package/dist-esm/samples-dev/resourceHistoryQuery.js.map +1 -0
- package/dist-esm/samples-dev/summarizeResourcesByLocation.d.ts +2 -0
- package/dist-esm/samples-dev/summarizeResourcesByLocation.d.ts.map +1 -0
- package/dist-esm/samples-dev/summarizeResourcesByLocation.js +32 -0
- package/dist-esm/samples-dev/summarizeResourcesByLocation.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +216 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → dist-esm/src/models/index.js} +2 -10
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +26 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +353 -267
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +8 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +61 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +90 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/index.js} +2 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/resourceGraphClient.d.ts +28 -0
- package/dist-esm/src/resourceGraphClient.d.ts.map +1 -0
- package/dist-esm/src/resourceGraphClient.js +103 -0
- package/dist-esm/src/resourceGraphClient.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 +75 -32
- package/review/arm-resourcegraph.api.md +214 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/models/index.ts +192 -341
- package/src/models/mappers.ts +353 -265
- package/src/models/parameters.ts +53 -9
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +64 -39
- package/{esm/models/index.js → src/operationsInterfaces/index.ts} +2 -1
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/resourceGraphClient.ts +111 -59
- package/tsconfig.json +5 -4
- package/types/arm-resourcegraph.d.ts +284 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-resourcegraph.js +0 -860
- package/dist/arm-resourcegraph.js.map +0 -1
- package/dist/arm-resourcegraph.min.js +0 -1
- package/dist/arm-resourcegraph.min.js.map +0 -1
- package/esm/models/index.d.ts +0 -375
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -25
- 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 -4
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -29
- package/esm/models/parameters.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/resourceGraphClient.d.ts +0 -35
- package/esm/resourceGraphClient.d.ts.map +0 -1
- package/esm/resourceGraphClient.js +0 -63
- package/esm/resourceGraphClient.js.map +0 -1
- package/esm/resourceGraphClientContext.d.ts +0 -14
- package/esm/resourceGraphClientContext.d.ts.map +0 -1
- package/esm/resourceGraphClientContext.js +0 -50
- package/esm/resourceGraphClientContext.js.map +0 -1
- package/src/resourceGraphClientContext.ts +0 -55
package/dist/index.js
ADDED
|
@@ -0,0 +1,933 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var coreClient = require('@azure/core-client');
|
|
6
|
+
var tslib = require('tslib');
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
* Copyright (c) Microsoft Corporation.
|
|
10
|
+
* Licensed under the MIT License.
|
|
11
|
+
*
|
|
12
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
13
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
14
|
+
*/
|
|
15
|
+
const QueryRequest = {
|
|
16
|
+
type: {
|
|
17
|
+
name: "Composite",
|
|
18
|
+
className: "QueryRequest",
|
|
19
|
+
modelProperties: {
|
|
20
|
+
subscriptions: {
|
|
21
|
+
serializedName: "subscriptions",
|
|
22
|
+
type: {
|
|
23
|
+
name: "Sequence",
|
|
24
|
+
element: {
|
|
25
|
+
type: {
|
|
26
|
+
name: "String"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
managementGroups: {
|
|
32
|
+
serializedName: "managementGroups",
|
|
33
|
+
type: {
|
|
34
|
+
name: "Sequence",
|
|
35
|
+
element: {
|
|
36
|
+
type: {
|
|
37
|
+
name: "String"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
query: {
|
|
43
|
+
serializedName: "query",
|
|
44
|
+
required: true,
|
|
45
|
+
type: {
|
|
46
|
+
name: "String"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
options: {
|
|
50
|
+
serializedName: "options",
|
|
51
|
+
type: {
|
|
52
|
+
name: "Composite",
|
|
53
|
+
className: "QueryRequestOptions"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
facets: {
|
|
57
|
+
serializedName: "facets",
|
|
58
|
+
type: {
|
|
59
|
+
name: "Sequence",
|
|
60
|
+
element: {
|
|
61
|
+
type: {
|
|
62
|
+
name: "Composite",
|
|
63
|
+
className: "FacetRequest"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
const QueryRequestOptions = {
|
|
72
|
+
type: {
|
|
73
|
+
name: "Composite",
|
|
74
|
+
className: "QueryRequestOptions",
|
|
75
|
+
modelProperties: {
|
|
76
|
+
skipToken: {
|
|
77
|
+
serializedName: "$skipToken",
|
|
78
|
+
type: {
|
|
79
|
+
name: "String"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
top: {
|
|
83
|
+
constraints: {
|
|
84
|
+
InclusiveMaximum: 1000,
|
|
85
|
+
InclusiveMinimum: 1
|
|
86
|
+
},
|
|
87
|
+
serializedName: "$top",
|
|
88
|
+
type: {
|
|
89
|
+
name: "Number"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
skip: {
|
|
93
|
+
constraints: {
|
|
94
|
+
InclusiveMinimum: 0
|
|
95
|
+
},
|
|
96
|
+
serializedName: "$skip",
|
|
97
|
+
type: {
|
|
98
|
+
name: "Number"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
resultFormat: {
|
|
102
|
+
serializedName: "resultFormat",
|
|
103
|
+
type: {
|
|
104
|
+
name: "Enum",
|
|
105
|
+
allowedValues: ["table", "objectArray"]
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
allowPartialScopes: {
|
|
109
|
+
defaultValue: false,
|
|
110
|
+
serializedName: "allowPartialScopes",
|
|
111
|
+
type: {
|
|
112
|
+
name: "Boolean"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
authorizationScopeFilter: {
|
|
116
|
+
defaultValue: "AtScopeAndBelow",
|
|
117
|
+
serializedName: "authorizationScopeFilter",
|
|
118
|
+
type: {
|
|
119
|
+
name: "Enum",
|
|
120
|
+
allowedValues: [
|
|
121
|
+
"AtScopeAndBelow",
|
|
122
|
+
"AtScopeAndAbove",
|
|
123
|
+
"AtScopeExact",
|
|
124
|
+
"AtScopeAboveAndBelow"
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
const FacetRequest = {
|
|
132
|
+
type: {
|
|
133
|
+
name: "Composite",
|
|
134
|
+
className: "FacetRequest",
|
|
135
|
+
modelProperties: {
|
|
136
|
+
expression: {
|
|
137
|
+
serializedName: "expression",
|
|
138
|
+
required: true,
|
|
139
|
+
type: {
|
|
140
|
+
name: "String"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
options: {
|
|
144
|
+
serializedName: "options",
|
|
145
|
+
type: {
|
|
146
|
+
name: "Composite",
|
|
147
|
+
className: "FacetRequestOptions"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
const FacetRequestOptions = {
|
|
154
|
+
type: {
|
|
155
|
+
name: "Composite",
|
|
156
|
+
className: "FacetRequestOptions",
|
|
157
|
+
modelProperties: {
|
|
158
|
+
sortBy: {
|
|
159
|
+
serializedName: "sortBy",
|
|
160
|
+
type: {
|
|
161
|
+
name: "String"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
sortOrder: {
|
|
165
|
+
defaultValue: "desc",
|
|
166
|
+
serializedName: "sortOrder",
|
|
167
|
+
type: {
|
|
168
|
+
name: "Enum",
|
|
169
|
+
allowedValues: ["asc", "desc"]
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
filter: {
|
|
173
|
+
serializedName: "filter",
|
|
174
|
+
type: {
|
|
175
|
+
name: "String"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
top: {
|
|
179
|
+
constraints: {
|
|
180
|
+
InclusiveMaximum: 1000,
|
|
181
|
+
InclusiveMinimum: 1
|
|
182
|
+
},
|
|
183
|
+
serializedName: "$top",
|
|
184
|
+
type: {
|
|
185
|
+
name: "Number"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
const QueryResponse = {
|
|
192
|
+
type: {
|
|
193
|
+
name: "Composite",
|
|
194
|
+
className: "QueryResponse",
|
|
195
|
+
modelProperties: {
|
|
196
|
+
totalRecords: {
|
|
197
|
+
serializedName: "totalRecords",
|
|
198
|
+
required: true,
|
|
199
|
+
type: {
|
|
200
|
+
name: "Number"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
count: {
|
|
204
|
+
serializedName: "count",
|
|
205
|
+
required: true,
|
|
206
|
+
type: {
|
|
207
|
+
name: "Number"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
resultTruncated: {
|
|
211
|
+
serializedName: "resultTruncated",
|
|
212
|
+
required: true,
|
|
213
|
+
type: {
|
|
214
|
+
name: "Enum",
|
|
215
|
+
allowedValues: ["true", "false"]
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
skipToken: {
|
|
219
|
+
serializedName: "$skipToken",
|
|
220
|
+
type: {
|
|
221
|
+
name: "String"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
data: {
|
|
225
|
+
serializedName: "data",
|
|
226
|
+
required: true,
|
|
227
|
+
type: {
|
|
228
|
+
name: "Dictionary",
|
|
229
|
+
value: { type: { name: "any" } }
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
facets: {
|
|
233
|
+
serializedName: "facets",
|
|
234
|
+
type: {
|
|
235
|
+
name: "Sequence",
|
|
236
|
+
element: {
|
|
237
|
+
type: {
|
|
238
|
+
name: "Composite",
|
|
239
|
+
className: "Facet"
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
const Facet = {
|
|
248
|
+
type: {
|
|
249
|
+
name: "Composite",
|
|
250
|
+
className: "Facet",
|
|
251
|
+
uberParent: "Facet",
|
|
252
|
+
polymorphicDiscriminator: {
|
|
253
|
+
serializedName: "resultType",
|
|
254
|
+
clientName: "resultType"
|
|
255
|
+
},
|
|
256
|
+
modelProperties: {
|
|
257
|
+
expression: {
|
|
258
|
+
serializedName: "expression",
|
|
259
|
+
required: true,
|
|
260
|
+
type: {
|
|
261
|
+
name: "String"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
resultType: {
|
|
265
|
+
serializedName: "resultType",
|
|
266
|
+
required: true,
|
|
267
|
+
type: {
|
|
268
|
+
name: "String"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
const ErrorResponse = {
|
|
275
|
+
type: {
|
|
276
|
+
name: "Composite",
|
|
277
|
+
className: "ErrorResponse",
|
|
278
|
+
modelProperties: {
|
|
279
|
+
error: {
|
|
280
|
+
serializedName: "error",
|
|
281
|
+
type: {
|
|
282
|
+
name: "Composite",
|
|
283
|
+
className: "ErrorModel"
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
const ErrorModel = {
|
|
290
|
+
type: {
|
|
291
|
+
name: "Composite",
|
|
292
|
+
className: "ErrorModel",
|
|
293
|
+
modelProperties: {
|
|
294
|
+
code: {
|
|
295
|
+
serializedName: "code",
|
|
296
|
+
required: true,
|
|
297
|
+
type: {
|
|
298
|
+
name: "String"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
message: {
|
|
302
|
+
serializedName: "message",
|
|
303
|
+
required: true,
|
|
304
|
+
type: {
|
|
305
|
+
name: "String"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
details: {
|
|
309
|
+
serializedName: "details",
|
|
310
|
+
type: {
|
|
311
|
+
name: "Sequence",
|
|
312
|
+
element: {
|
|
313
|
+
type: {
|
|
314
|
+
name: "Composite",
|
|
315
|
+
className: "ErrorDetails"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
const ErrorDetails = {
|
|
324
|
+
type: {
|
|
325
|
+
name: "Composite",
|
|
326
|
+
className: "ErrorDetails",
|
|
327
|
+
additionalProperties: { type: { name: "Object" } },
|
|
328
|
+
modelProperties: {
|
|
329
|
+
code: {
|
|
330
|
+
serializedName: "code",
|
|
331
|
+
required: true,
|
|
332
|
+
type: {
|
|
333
|
+
name: "String"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
message: {
|
|
337
|
+
serializedName: "message",
|
|
338
|
+
required: true,
|
|
339
|
+
type: {
|
|
340
|
+
name: "String"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
const OperationListResult = {
|
|
347
|
+
type: {
|
|
348
|
+
name: "Composite",
|
|
349
|
+
className: "OperationListResult",
|
|
350
|
+
modelProperties: {
|
|
351
|
+
value: {
|
|
352
|
+
serializedName: "value",
|
|
353
|
+
type: {
|
|
354
|
+
name: "Sequence",
|
|
355
|
+
element: {
|
|
356
|
+
type: {
|
|
357
|
+
name: "Composite",
|
|
358
|
+
className: "Operation"
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
};
|
|
366
|
+
const Operation = {
|
|
367
|
+
type: {
|
|
368
|
+
name: "Composite",
|
|
369
|
+
className: "Operation",
|
|
370
|
+
modelProperties: {
|
|
371
|
+
name: {
|
|
372
|
+
serializedName: "name",
|
|
373
|
+
type: {
|
|
374
|
+
name: "String"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
display: {
|
|
378
|
+
serializedName: "display",
|
|
379
|
+
type: {
|
|
380
|
+
name: "Composite",
|
|
381
|
+
className: "OperationDisplay"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
origin: {
|
|
385
|
+
serializedName: "origin",
|
|
386
|
+
type: {
|
|
387
|
+
name: "String"
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
};
|
|
393
|
+
const OperationDisplay = {
|
|
394
|
+
type: {
|
|
395
|
+
name: "Composite",
|
|
396
|
+
className: "OperationDisplay",
|
|
397
|
+
modelProperties: {
|
|
398
|
+
provider: {
|
|
399
|
+
serializedName: "provider",
|
|
400
|
+
type: {
|
|
401
|
+
name: "String"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
resource: {
|
|
405
|
+
serializedName: "resource",
|
|
406
|
+
type: {
|
|
407
|
+
name: "String"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
operation: {
|
|
411
|
+
serializedName: "operation",
|
|
412
|
+
type: {
|
|
413
|
+
name: "String"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
description: {
|
|
417
|
+
serializedName: "description",
|
|
418
|
+
type: {
|
|
419
|
+
name: "String"
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
};
|
|
425
|
+
const ResourcesHistoryRequest = {
|
|
426
|
+
type: {
|
|
427
|
+
name: "Composite",
|
|
428
|
+
className: "ResourcesHistoryRequest",
|
|
429
|
+
modelProperties: {
|
|
430
|
+
subscriptions: {
|
|
431
|
+
serializedName: "subscriptions",
|
|
432
|
+
type: {
|
|
433
|
+
name: "Sequence",
|
|
434
|
+
element: {
|
|
435
|
+
type: {
|
|
436
|
+
name: "String"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
query: {
|
|
442
|
+
serializedName: "query",
|
|
443
|
+
type: {
|
|
444
|
+
name: "String"
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
options: {
|
|
448
|
+
serializedName: "options",
|
|
449
|
+
type: {
|
|
450
|
+
name: "Composite",
|
|
451
|
+
className: "ResourcesHistoryRequestOptions"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
managementGroups: {
|
|
455
|
+
serializedName: "managementGroups",
|
|
456
|
+
type: {
|
|
457
|
+
name: "Sequence",
|
|
458
|
+
element: {
|
|
459
|
+
type: {
|
|
460
|
+
name: "String"
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
const ResourcesHistoryRequestOptions = {
|
|
469
|
+
type: {
|
|
470
|
+
name: "Composite",
|
|
471
|
+
className: "ResourcesHistoryRequestOptions",
|
|
472
|
+
modelProperties: {
|
|
473
|
+
interval: {
|
|
474
|
+
serializedName: "interval",
|
|
475
|
+
type: {
|
|
476
|
+
name: "Composite",
|
|
477
|
+
className: "DateTimeInterval"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
top: {
|
|
481
|
+
constraints: {
|
|
482
|
+
InclusiveMaximum: 1000,
|
|
483
|
+
InclusiveMinimum: 1
|
|
484
|
+
},
|
|
485
|
+
serializedName: "$top",
|
|
486
|
+
type: {
|
|
487
|
+
name: "Number"
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
skip: {
|
|
491
|
+
constraints: {
|
|
492
|
+
InclusiveMinimum: 0
|
|
493
|
+
},
|
|
494
|
+
serializedName: "$skip",
|
|
495
|
+
type: {
|
|
496
|
+
name: "Number"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
skipToken: {
|
|
500
|
+
serializedName: "$skipToken",
|
|
501
|
+
type: {
|
|
502
|
+
name: "String"
|
|
503
|
+
}
|
|
504
|
+
},
|
|
505
|
+
resultFormat: {
|
|
506
|
+
serializedName: "resultFormat",
|
|
507
|
+
type: {
|
|
508
|
+
name: "Enum",
|
|
509
|
+
allowedValues: ["table", "objectArray"]
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
};
|
|
515
|
+
const DateTimeInterval = {
|
|
516
|
+
type: {
|
|
517
|
+
name: "Composite",
|
|
518
|
+
className: "DateTimeInterval",
|
|
519
|
+
modelProperties: {
|
|
520
|
+
start: {
|
|
521
|
+
serializedName: "start",
|
|
522
|
+
required: true,
|
|
523
|
+
type: {
|
|
524
|
+
name: "DateTime"
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
end: {
|
|
528
|
+
serializedName: "end",
|
|
529
|
+
required: true,
|
|
530
|
+
type: {
|
|
531
|
+
name: "DateTime"
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
};
|
|
537
|
+
const Table = {
|
|
538
|
+
type: {
|
|
539
|
+
name: "Composite",
|
|
540
|
+
className: "Table",
|
|
541
|
+
modelProperties: {
|
|
542
|
+
columns: {
|
|
543
|
+
serializedName: "columns",
|
|
544
|
+
required: true,
|
|
545
|
+
type: {
|
|
546
|
+
name: "Sequence",
|
|
547
|
+
element: {
|
|
548
|
+
type: {
|
|
549
|
+
name: "Composite",
|
|
550
|
+
className: "Column"
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
rows: {
|
|
556
|
+
serializedName: "rows",
|
|
557
|
+
required: true,
|
|
558
|
+
type: {
|
|
559
|
+
name: "Sequence",
|
|
560
|
+
element: {
|
|
561
|
+
type: {
|
|
562
|
+
name: "Sequence",
|
|
563
|
+
element: {
|
|
564
|
+
type: {
|
|
565
|
+
name: "Dictionary",
|
|
566
|
+
value: { type: { name: "any" } }
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
};
|
|
576
|
+
const Column = {
|
|
577
|
+
type: {
|
|
578
|
+
name: "Composite",
|
|
579
|
+
className: "Column",
|
|
580
|
+
modelProperties: {
|
|
581
|
+
name: {
|
|
582
|
+
serializedName: "name",
|
|
583
|
+
required: true,
|
|
584
|
+
type: {
|
|
585
|
+
name: "String"
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
type: {
|
|
589
|
+
serializedName: "type",
|
|
590
|
+
required: true,
|
|
591
|
+
type: {
|
|
592
|
+
name: "Enum",
|
|
593
|
+
allowedValues: [
|
|
594
|
+
"string",
|
|
595
|
+
"integer",
|
|
596
|
+
"number",
|
|
597
|
+
"boolean",
|
|
598
|
+
"object",
|
|
599
|
+
"datetime"
|
|
600
|
+
]
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
};
|
|
606
|
+
const FacetResult = {
|
|
607
|
+
serializedName: "FacetResult",
|
|
608
|
+
type: {
|
|
609
|
+
name: "Composite",
|
|
610
|
+
className: "FacetResult",
|
|
611
|
+
uberParent: "Facet",
|
|
612
|
+
polymorphicDiscriminator: Facet.type.polymorphicDiscriminator,
|
|
613
|
+
modelProperties: Object.assign(Object.assign({}, Facet.type.modelProperties), { totalRecords: {
|
|
614
|
+
serializedName: "totalRecords",
|
|
615
|
+
required: true,
|
|
616
|
+
type: {
|
|
617
|
+
name: "Number"
|
|
618
|
+
}
|
|
619
|
+
}, count: {
|
|
620
|
+
serializedName: "count",
|
|
621
|
+
required: true,
|
|
622
|
+
type: {
|
|
623
|
+
name: "Number"
|
|
624
|
+
}
|
|
625
|
+
}, data: {
|
|
626
|
+
serializedName: "data",
|
|
627
|
+
required: true,
|
|
628
|
+
type: {
|
|
629
|
+
name: "Dictionary",
|
|
630
|
+
value: { type: { name: "any" } }
|
|
631
|
+
}
|
|
632
|
+
} })
|
|
633
|
+
}
|
|
634
|
+
};
|
|
635
|
+
const FacetError = {
|
|
636
|
+
serializedName: "FacetError",
|
|
637
|
+
type: {
|
|
638
|
+
name: "Composite",
|
|
639
|
+
className: "FacetError",
|
|
640
|
+
uberParent: "Facet",
|
|
641
|
+
polymorphicDiscriminator: Facet.type.polymorphicDiscriminator,
|
|
642
|
+
modelProperties: Object.assign(Object.assign({}, Facet.type.modelProperties), { errors: {
|
|
643
|
+
serializedName: "errors",
|
|
644
|
+
required: true,
|
|
645
|
+
type: {
|
|
646
|
+
name: "Sequence",
|
|
647
|
+
element: {
|
|
648
|
+
type: {
|
|
649
|
+
name: "Composite",
|
|
650
|
+
className: "ErrorDetails"
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
} })
|
|
655
|
+
}
|
|
656
|
+
};
|
|
657
|
+
let discriminators = {
|
|
658
|
+
Facet: Facet,
|
|
659
|
+
"Facet.FacetResult": FacetResult,
|
|
660
|
+
"Facet.FacetError": FacetError
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
var Mappers = /*#__PURE__*/Object.freeze({
|
|
664
|
+
__proto__: null,
|
|
665
|
+
QueryRequest: QueryRequest,
|
|
666
|
+
QueryRequestOptions: QueryRequestOptions,
|
|
667
|
+
FacetRequest: FacetRequest,
|
|
668
|
+
FacetRequestOptions: FacetRequestOptions,
|
|
669
|
+
QueryResponse: QueryResponse,
|
|
670
|
+
Facet: Facet,
|
|
671
|
+
ErrorResponse: ErrorResponse,
|
|
672
|
+
ErrorModel: ErrorModel,
|
|
673
|
+
ErrorDetails: ErrorDetails,
|
|
674
|
+
OperationListResult: OperationListResult,
|
|
675
|
+
Operation: Operation,
|
|
676
|
+
OperationDisplay: OperationDisplay,
|
|
677
|
+
ResourcesHistoryRequest: ResourcesHistoryRequest,
|
|
678
|
+
ResourcesHistoryRequestOptions: ResourcesHistoryRequestOptions,
|
|
679
|
+
DateTimeInterval: DateTimeInterval,
|
|
680
|
+
Table: Table,
|
|
681
|
+
Column: Column,
|
|
682
|
+
FacetResult: FacetResult,
|
|
683
|
+
FacetError: FacetError,
|
|
684
|
+
discriminators: discriminators
|
|
685
|
+
});
|
|
686
|
+
|
|
687
|
+
/*
|
|
688
|
+
* Copyright (c) Microsoft Corporation.
|
|
689
|
+
* Licensed under the MIT License.
|
|
690
|
+
*
|
|
691
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
692
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
693
|
+
*/
|
|
694
|
+
const contentType = {
|
|
695
|
+
parameterPath: ["options", "contentType"],
|
|
696
|
+
mapper: {
|
|
697
|
+
defaultValue: "application/json",
|
|
698
|
+
isConstant: true,
|
|
699
|
+
serializedName: "Content-Type",
|
|
700
|
+
type: {
|
|
701
|
+
name: "String"
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
};
|
|
705
|
+
const query = {
|
|
706
|
+
parameterPath: "query",
|
|
707
|
+
mapper: QueryRequest
|
|
708
|
+
};
|
|
709
|
+
const accept = {
|
|
710
|
+
parameterPath: "accept",
|
|
711
|
+
mapper: {
|
|
712
|
+
defaultValue: "application/json",
|
|
713
|
+
isConstant: true,
|
|
714
|
+
serializedName: "Accept",
|
|
715
|
+
type: {
|
|
716
|
+
name: "String"
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
};
|
|
720
|
+
const $host = {
|
|
721
|
+
parameterPath: "$host",
|
|
722
|
+
mapper: {
|
|
723
|
+
serializedName: "$host",
|
|
724
|
+
required: true,
|
|
725
|
+
type: {
|
|
726
|
+
name: "String"
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
skipEncoding: true
|
|
730
|
+
};
|
|
731
|
+
const apiVersion = {
|
|
732
|
+
parameterPath: "apiVersion",
|
|
733
|
+
mapper: {
|
|
734
|
+
defaultValue: "2021-06-01-preview",
|
|
735
|
+
isConstant: true,
|
|
736
|
+
serializedName: "api-version",
|
|
737
|
+
type: {
|
|
738
|
+
name: "String"
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
};
|
|
742
|
+
const request = {
|
|
743
|
+
parameterPath: "request",
|
|
744
|
+
mapper: ResourcesHistoryRequest
|
|
745
|
+
};
|
|
746
|
+
|
|
747
|
+
/*
|
|
748
|
+
* Copyright (c) Microsoft Corporation.
|
|
749
|
+
* Licensed under the MIT License.
|
|
750
|
+
*
|
|
751
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
752
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
753
|
+
*/
|
|
754
|
+
/// <reference lib="esnext.asynciterable" />
|
|
755
|
+
/** Class containing Operations operations. */
|
|
756
|
+
class OperationsImpl {
|
|
757
|
+
/**
|
|
758
|
+
* Initialize a new instance of the class Operations class.
|
|
759
|
+
* @param client Reference to the service client
|
|
760
|
+
*/
|
|
761
|
+
constructor(client) {
|
|
762
|
+
this.client = client;
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
765
|
+
* Lists all of the available REST API operations.
|
|
766
|
+
* @param options The options parameters.
|
|
767
|
+
*/
|
|
768
|
+
list(options) {
|
|
769
|
+
const iter = this.listPagingAll(options);
|
|
770
|
+
return {
|
|
771
|
+
next() {
|
|
772
|
+
return iter.next();
|
|
773
|
+
},
|
|
774
|
+
[Symbol.asyncIterator]() {
|
|
775
|
+
return this;
|
|
776
|
+
},
|
|
777
|
+
byPage: () => {
|
|
778
|
+
return this.listPagingPage(options);
|
|
779
|
+
}
|
|
780
|
+
};
|
|
781
|
+
}
|
|
782
|
+
listPagingPage(options) {
|
|
783
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
784
|
+
let result = yield tslib.__await(this._list(options));
|
|
785
|
+
yield yield tslib.__await(result.value || []);
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
listPagingAll(options) {
|
|
789
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
790
|
+
var e_1, _a;
|
|
791
|
+
try {
|
|
792
|
+
for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
793
|
+
const page = _c.value;
|
|
794
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
798
|
+
finally {
|
|
799
|
+
try {
|
|
800
|
+
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
801
|
+
}
|
|
802
|
+
finally { if (e_1) throw e_1.error; }
|
|
803
|
+
}
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Lists all of the available REST API operations.
|
|
808
|
+
* @param options The options parameters.
|
|
809
|
+
*/
|
|
810
|
+
_list(options) {
|
|
811
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
// Operation Specifications
|
|
815
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
816
|
+
const listOperationSpec = {
|
|
817
|
+
path: "/providers/Microsoft.ResourceGraph/operations",
|
|
818
|
+
httpMethod: "GET",
|
|
819
|
+
responses: {
|
|
820
|
+
200: {
|
|
821
|
+
bodyMapper: OperationListResult
|
|
822
|
+
},
|
|
823
|
+
default: {
|
|
824
|
+
bodyMapper: ErrorResponse
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
queryParameters: [apiVersion],
|
|
828
|
+
urlParameters: [$host],
|
|
829
|
+
headerParameters: [accept],
|
|
830
|
+
serializer
|
|
831
|
+
};
|
|
832
|
+
|
|
833
|
+
/*
|
|
834
|
+
* Copyright (c) Microsoft Corporation.
|
|
835
|
+
* Licensed under the MIT License.
|
|
836
|
+
*
|
|
837
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
838
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
839
|
+
*/
|
|
840
|
+
class ResourceGraphClient extends coreClient.ServiceClient {
|
|
841
|
+
/**
|
|
842
|
+
* Initializes a new instance of the ResourceGraphClient class.
|
|
843
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
844
|
+
* @param options The parameter options
|
|
845
|
+
*/
|
|
846
|
+
constructor(credentials, options) {
|
|
847
|
+
if (credentials === undefined) {
|
|
848
|
+
throw new Error("'credentials' cannot be null");
|
|
849
|
+
}
|
|
850
|
+
// Initializing default values for options
|
|
851
|
+
if (!options) {
|
|
852
|
+
options = {};
|
|
853
|
+
}
|
|
854
|
+
const defaults = {
|
|
855
|
+
requestContentType: "application/json; charset=utf-8",
|
|
856
|
+
credential: credentials
|
|
857
|
+
};
|
|
858
|
+
const packageDetails = `azsdk-js-arm-resourcegraph/5.0.0-beta.1`;
|
|
859
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
860
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
861
|
+
: `${packageDetails}`;
|
|
862
|
+
if (!options.credentialScopes) {
|
|
863
|
+
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
864
|
+
}
|
|
865
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
866
|
+
userAgentPrefix
|
|
867
|
+
}, baseUri: options.endpoint || "https://management.azure.com" });
|
|
868
|
+
super(optionsWithDefaults);
|
|
869
|
+
// Assigning values to Constant parameters
|
|
870
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
871
|
+
this.apiVersion = options.apiVersion || "2021-06-01-preview";
|
|
872
|
+
this.operations = new OperationsImpl(this);
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* Queries the resources managed by Azure Resource Manager for scopes specified in the request.
|
|
876
|
+
* @param query Request specifying query and its options.
|
|
877
|
+
* @param options The options parameters.
|
|
878
|
+
*/
|
|
879
|
+
resources(query, options) {
|
|
880
|
+
return this.sendOperationRequest({ query, options }, resourcesOperationSpec);
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* List all snapshots of a resource for a given time interval.
|
|
884
|
+
* @param request Request specifying the query and its options.
|
|
885
|
+
* @param options The options parameters.
|
|
886
|
+
*/
|
|
887
|
+
resourcesHistory(request, options) {
|
|
888
|
+
return this.sendOperationRequest({ request, options }, resourcesHistoryOperationSpec);
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
// Operation Specifications
|
|
892
|
+
const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
893
|
+
const resourcesOperationSpec = {
|
|
894
|
+
path: "/providers/Microsoft.ResourceGraph/resources",
|
|
895
|
+
httpMethod: "POST",
|
|
896
|
+
responses: {
|
|
897
|
+
200: {
|
|
898
|
+
bodyMapper: QueryResponse
|
|
899
|
+
},
|
|
900
|
+
default: {
|
|
901
|
+
bodyMapper: ErrorResponse
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
requestBody: query,
|
|
905
|
+
queryParameters: [apiVersion],
|
|
906
|
+
urlParameters: [$host],
|
|
907
|
+
headerParameters: [contentType, accept],
|
|
908
|
+
mediaType: "json",
|
|
909
|
+
serializer: serializer$1
|
|
910
|
+
};
|
|
911
|
+
const resourcesHistoryOperationSpec = {
|
|
912
|
+
path: "/providers/Microsoft.ResourceGraph/resourcesHistory",
|
|
913
|
+
httpMethod: "POST",
|
|
914
|
+
responses: {
|
|
915
|
+
200: {
|
|
916
|
+
bodyMapper: {
|
|
917
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
918
|
+
}
|
|
919
|
+
},
|
|
920
|
+
default: {
|
|
921
|
+
bodyMapper: ErrorResponse
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
requestBody: request,
|
|
925
|
+
queryParameters: [apiVersion],
|
|
926
|
+
urlParameters: [$host],
|
|
927
|
+
headerParameters: [contentType, accept],
|
|
928
|
+
mediaType: "json",
|
|
929
|
+
serializer: serializer$1
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
exports.ResourceGraphClient = ResourceGraphClient;
|
|
933
|
+
//# sourceMappingURL=index.js.map
|