@azure/arm-resourcegraph 4.2.1 → 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.
Files changed (150) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/{esm/models/mappers.js → dist/index.js} +544 -548
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/accessAPropertiesField.d.ts +2 -0
  9. package/dist-esm/samples-dev/accessAPropertiesField.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/accessAPropertiesField.js +32 -0
  11. package/dist-esm/samples-dev/accessAPropertiesField.js.map +1 -0
  12. package/dist-esm/samples-dev/basicManagementGroupQuery.d.ts +2 -0
  13. package/dist-esm/samples-dev/basicManagementGroupQuery.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/basicManagementGroupQuery.js +32 -0
  15. package/dist-esm/samples-dev/basicManagementGroupQuery.js.map +1 -0
  16. package/dist-esm/samples-dev/basicQuery.d.ts +2 -0
  17. package/dist-esm/samples-dev/basicQuery.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/basicQuery.js +32 -0
  19. package/dist-esm/samples-dev/basicQuery.js.map +1 -0
  20. package/dist-esm/samples-dev/basicTenantQuery.d.ts +2 -0
  21. package/dist-esm/samples-dev/basicTenantQuery.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/basicTenantQuery.js +31 -0
  23. package/dist-esm/samples-dev/basicTenantQuery.js.map +1 -0
  24. package/dist-esm/samples-dev/complexQuery.d.ts +2 -0
  25. package/dist-esm/samples-dev/complexQuery.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/complexQuery.js +32 -0
  27. package/dist-esm/samples-dev/complexQuery.js.map +1 -0
  28. package/dist-esm/samples-dev/filterResources.d.ts +2 -0
  29. package/dist-esm/samples-dev/filterResources.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/filterResources.js +32 -0
  31. package/dist-esm/samples-dev/filterResources.js.map +1 -0
  32. package/dist-esm/samples-dev/firstPageQuery.d.ts +2 -0
  33. package/dist-esm/samples-dev/firstPageQuery.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/firstPageQuery.js +33 -0
  35. package/dist-esm/samples-dev/firstPageQuery.js.map +1 -0
  36. package/dist-esm/samples-dev/nextPageQuery.d.ts +2 -0
  37. package/dist-esm/samples-dev/nextPageQuery.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/nextPageQuery.js +35 -0
  39. package/dist-esm/samples-dev/nextPageQuery.js.map +1 -0
  40. package/dist-esm/samples-dev/operationsList.d.ts +2 -0
  41. package/dist-esm/samples-dev/operationsList.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/operationsList.js +42 -0
  43. package/dist-esm/samples-dev/operationsList.js.map +1 -0
  44. package/dist-esm/samples-dev/queryWithAFacetRequest.d.ts +2 -0
  45. package/dist-esm/samples-dev/queryWithAFacetRequest.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/queryWithAFacetRequest.js +51 -0
  47. package/dist-esm/samples-dev/queryWithAFacetRequest.js.map +1 -0
  48. package/dist-esm/samples-dev/randomPageQuery.d.ts +2 -0
  49. package/dist-esm/samples-dev/randomPageQuery.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/randomPageQuery.js +33 -0
  51. package/dist-esm/samples-dev/randomPageQuery.js.map +1 -0
  52. package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.d.ts +2 -0
  53. package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.js +38 -0
  55. package/dist-esm/samples-dev/resourceHistoryManagementGroupScopeQuery.js.map +1 -0
  56. package/dist-esm/samples-dev/resourceHistoryQuery.d.ts +2 -0
  57. package/dist-esm/samples-dev/resourceHistoryQuery.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/resourceHistoryQuery.js +38 -0
  59. package/dist-esm/samples-dev/resourceHistoryQuery.js.map +1 -0
  60. package/dist-esm/samples-dev/summarizeResourcesByLocation.d.ts +2 -0
  61. package/dist-esm/samples-dev/summarizeResourcesByLocation.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/summarizeResourcesByLocation.js +32 -0
  63. package/dist-esm/samples-dev/summarizeResourcesByLocation.js.map +1 -0
  64. package/dist-esm/src/index.d.ts +5 -0
  65. package/dist-esm/src/index.d.ts.map +1 -0
  66. package/dist-esm/src/index.js +12 -0
  67. package/dist-esm/src/index.js.map +1 -0
  68. package/dist-esm/src/models/index.d.ts +216 -0
  69. package/dist-esm/src/models/index.d.ts.map +1 -0
  70. package/{src/models/operationsMappers.ts → dist-esm/src/models/index.js} +2 -10
  71. package/dist-esm/src/models/index.js.map +1 -0
  72. package/dist-esm/src/models/mappers.d.ts +26 -0
  73. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  74. package/dist-esm/src/models/mappers.js +655 -0
  75. package/dist-esm/src/models/mappers.js.map +1 -0
  76. package/dist-esm/src/models/parameters.d.ts +8 -0
  77. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  78. package/dist-esm/src/models/parameters.js +61 -0
  79. package/dist-esm/src/models/parameters.js.map +1 -0
  80. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  81. package/dist-esm/src/operations/index.d.ts.map +1 -0
  82. package/{esm → dist-esm/src}/operations/index.js +1 -2
  83. package/dist-esm/src/operations/index.js.map +1 -0
  84. package/dist-esm/src/operations/operations.d.ts +26 -0
  85. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/operations.js +90 -0
  87. package/dist-esm/src/operations/operations.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
  89. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  90. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/index.js} +2 -2
  91. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  93. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  96. package/dist-esm/src/resourceGraphClient.d.ts +28 -0
  97. package/dist-esm/src/resourceGraphClient.d.ts.map +1 -0
  98. package/dist-esm/src/resourceGraphClient.js +103 -0
  99. package/dist-esm/src/resourceGraphClient.js.map +1 -0
  100. package/dist-esm/test/sampleTest.d.ts +2 -0
  101. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  102. package/dist-esm/test/sampleTest.js +40 -0
  103. package/dist-esm/test/sampleTest.js.map +1 -0
  104. package/package.json +75 -33
  105. package/review/arm-resourcegraph.api.md +214 -0
  106. package/rollup.config.js +181 -30
  107. package/src/index.ts +12 -0
  108. package/src/models/index.ts +192 -644
  109. package/src/models/mappers.ts +276 -573
  110. package/src/models/parameters.ts +39 -21
  111. package/src/operations/index.ts +1 -2
  112. package/src/operations/operations.ts +64 -42
  113. package/{esm/models/index.js → src/operationsInterfaces/index.ts} +2 -1
  114. package/src/operationsInterfaces/operations.ts +22 -0
  115. package/src/resourceGraphClient.ts +88 -269
  116. package/tsconfig.json +5 -4
  117. package/types/arm-resourcegraph.d.ts +284 -0
  118. package/types/tsdoc-metadata.json +11 -0
  119. package/dist/arm-resourcegraph.js +0 -1359
  120. package/dist/arm-resourcegraph.js.map +0 -1
  121. package/dist/arm-resourcegraph.min.js +0 -1
  122. package/dist/arm-resourcegraph.min.js.map +0 -1
  123. package/esm/models/index.d.ts +0 -659
  124. package/esm/models/index.d.ts.map +0 -1
  125. package/esm/models/index.js.map +0 -1
  126. package/esm/models/mappers.d.ts +0 -37
  127. package/esm/models/mappers.d.ts.map +0 -1
  128. package/esm/models/mappers.js.map +0 -1
  129. package/esm/models/operationsMappers.d.ts +0 -2
  130. package/esm/models/operationsMappers.d.ts.map +0 -1
  131. package/esm/models/operationsMappers.js.map +0 -1
  132. package/esm/models/parameters.d.ts +0 -6
  133. package/esm/models/parameters.d.ts.map +0 -1
  134. package/esm/models/parameters.js +0 -55
  135. package/esm/models/parameters.js.map +0 -1
  136. package/esm/operations/index.d.ts.map +0 -1
  137. package/esm/operations/index.js.map +0 -1
  138. package/esm/operations/operations.d.ts +0 -28
  139. package/esm/operations/operations.d.ts.map +0 -1
  140. package/esm/operations/operations.js +0 -46
  141. package/esm/operations/operations.js.map +0 -1
  142. package/esm/resourceGraphClient.d.ts +0 -95
  143. package/esm/resourceGraphClient.d.ts.map +0 -1
  144. package/esm/resourceGraphClient.js +0 -155
  145. package/esm/resourceGraphClient.js.map +0 -1
  146. package/esm/resourceGraphClientContext.d.ts +0 -19
  147. package/esm/resourceGraphClientContext.d.ts.map +0 -1
  148. package/esm/resourceGraphClientContext.js +0 -55
  149. package/esm/resourceGraphClientContext.js.map +0 -1
  150. package/src/resourceGraphClientContext.ts +0 -65
@@ -1,659 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * An interval in time specifying the date and time for the inclusive start and exclusive end, i.e.
6
- * `[start, end)`.
7
- */
8
- export interface DateTimeInterval {
9
- /**
10
- * A datetime indicating the inclusive/closed start of the time interval, i.e. `[`**`start`**`,
11
- * end)`. Specifying a `start` that occurs chronologically after `end` will result in an error.
12
- */
13
- start: Date;
14
- /**
15
- * A datetime indicating the exclusive/open end of the time interval, i.e. `[start,
16
- * `**`end`**`)`. Specifying an `end` that occurs chronologically before `start` will result in
17
- * an error.
18
- */
19
- end: Date;
20
- }
21
- /**
22
- * Specifies the date and time interval for a changes request.
23
- */
24
- export interface ResourceChangesRequestParametersInterval extends DateTimeInterval {
25
- }
26
- /**
27
- * The parameters for a specific changes request.
28
- */
29
- export interface ResourceChangesRequestParameters {
30
- /**
31
- * Specifies the list of resources for a changes request.
32
- */
33
- resourceIds?: string[];
34
- /**
35
- * The subscription id of resources to query the changes from.
36
- */
37
- subscriptionId?: string;
38
- /**
39
- * Specifies the date and time interval for a changes request.
40
- */
41
- interval: ResourceChangesRequestParametersInterval;
42
- /**
43
- * Acts as the continuation token for paged responses.
44
- */
45
- skipToken?: string;
46
- /**
47
- * The maximum number of changes the client can accept in a paged response.
48
- */
49
- top?: number;
50
- /**
51
- * The table name to query resources from.
52
- */
53
- table?: string;
54
- /**
55
- * The flag if set to true will fetch property changes
56
- */
57
- fetchPropertyChanges?: boolean;
58
- /**
59
- * The flag if set to true will fetch change snapshots
60
- */
61
- fetchSnapshots?: boolean;
62
- }
63
- /**
64
- * Data on a specific resource snapshot.
65
- */
66
- export interface ResourceSnapshotData {
67
- /**
68
- * The ID of the snapshot.
69
- */
70
- snapshotId?: string;
71
- /**
72
- * The time when the snapshot was created.
73
- * The snapshot timestamp provides an approximation as to when a modification to a resource was
74
- * detected. There can be a difference between the actual modification time and the detection
75
- * time. This is due to differences in how operations that modify a resource are processed,
76
- * versus how operation that record resource snapshots are processed.
77
- */
78
- timestamp: Date;
79
- /**
80
- * The resource snapshot content (in resourceChangeDetails response only).
81
- */
82
- content?: any;
83
- }
84
- /**
85
- * The snapshot before the change.
86
- */
87
- export interface ResourceChangeDataBeforeSnapshot extends ResourceSnapshotData {
88
- }
89
- /**
90
- * The snapshot after the change.
91
- */
92
- export interface ResourceChangeDataAfterSnapshot extends ResourceSnapshotData {
93
- }
94
- /**
95
- * The resource property change
96
- */
97
- export interface ResourcePropertyChange {
98
- /**
99
- * The property name
100
- */
101
- propertyName: string;
102
- /**
103
- * The property value in before snapshot
104
- */
105
- beforeValue?: string;
106
- /**
107
- * The property value in after snapshot
108
- */
109
- afterValue?: string;
110
- /**
111
- * The change category. Possible values include: 'User', 'System'
112
- */
113
- changeCategory: ChangeCategory;
114
- /**
115
- * The property change Type. Possible values include: 'Insert', 'Update', 'Remove'
116
- */
117
- propertyChangeType: PropertyChangeType;
118
- }
119
- /**
120
- * Data on a specific change, represented by a pair of before and after resource snapshots.
121
- */
122
- export interface ResourceChangeData {
123
- /**
124
- * The resource for a change.
125
- */
126
- resourceId?: string;
127
- /**
128
- * The change ID. Valid and unique within the specified resource only.
129
- */
130
- changeId: string;
131
- /**
132
- * The snapshot before the change.
133
- */
134
- beforeSnapshot: ResourceChangeDataBeforeSnapshot;
135
- /**
136
- * The snapshot after the change.
137
- */
138
- afterSnapshot: ResourceChangeDataAfterSnapshot;
139
- /**
140
- * The change type for snapshot. PropertyChanges will be provided in case of Update change type.
141
- * Possible values include: 'Create', 'Update', 'Delete'
142
- */
143
- changeType?: ChangeType;
144
- /**
145
- * An array of resource property change
146
- */
147
- propertyChanges?: ResourcePropertyChange[];
148
- }
149
- /**
150
- * A list of changes associated with a resource over a specific time interval.
151
- */
152
- export interface ResourceChangeList {
153
- /**
154
- * The pageable value returned by the operation, i.e. a list of changes to the resource.
155
- *
156
- * - The list is ordered from the most recent changes to the least recent changes.
157
- * - This list will be empty if there were no changes during the requested interval.
158
- * - The `Before` snapshot timestamp value of the oldest change can be outside of the specified
159
- * time interval.
160
- */
161
- changes?: ResourceChangeData[];
162
- /**
163
- * Skip token that encodes the skip information while executing the current request
164
- */
165
- skipToken?: any;
166
- }
167
- /**
168
- * The parameters for a specific change details request.
169
- */
170
- export interface ResourceChangeDetailsRequestParameters {
171
- /**
172
- * Specifies the list of resources for a change details request.
173
- */
174
- resourceIds: string[];
175
- /**
176
- * Specifies the list of change IDs for a change details request.
177
- */
178
- changeIds: string[];
179
- }
180
- /**
181
- * An interface representing ErrorDetails.
182
- * @summary Error details.
183
- */
184
- export interface ErrorDetails {
185
- /**
186
- * Error code identifying the specific error.
187
- */
188
- code: string;
189
- /**
190
- * A human readable error message.
191
- */
192
- message: string;
193
- /**
194
- * Describes unknown properties. The value of an unknown property can be of "any" type.
195
- */
196
- [property: string]: any;
197
- }
198
- /**
199
- * Error details.
200
- * @summary Error info.
201
- */
202
- export interface ErrorModel {
203
- /**
204
- * Error code identifying the specific error.
205
- */
206
- code: string;
207
- /**
208
- * A human readable error message.
209
- */
210
- message: string;
211
- /**
212
- * Error details
213
- */
214
- details?: ErrorDetails[];
215
- }
216
- /**
217
- * An error response from the API.
218
- * @summary Error response.
219
- */
220
- export interface ErrorResponse {
221
- /**
222
- * Error information.
223
- */
224
- error: ErrorModel;
225
- }
226
- /**
227
- * The options for query evaluation
228
- */
229
- export interface QueryRequestOptions {
230
- /**
231
- * Continuation token for pagination, capturing the next page size and offset, as well as the
232
- * context of the query.
233
- */
234
- skipToken?: string;
235
- /**
236
- * The maximum number of rows that the query should return. Overrides the page size when
237
- * ```$skipToken``` property is present.
238
- */
239
- top?: number;
240
- /**
241
- * The number of rows to skip from the beginning of the results. Overrides the next page offset
242
- * when ```$skipToken``` property is present.
243
- */
244
- skip?: number;
245
- /**
246
- * Defines in which format query result returned. Possible values include: 'table',
247
- * 'objectArray'. Default value: 'objectArray'.
248
- */
249
- resultFormat?: ResultFormat;
250
- /**
251
- * Only applicable for tenant and management group level queries to decide whether to allow
252
- * partial scopes for result in case the number of subscriptions exceed allowed limits. Default
253
- * value: false.
254
- */
255
- allowPartialScopes?: boolean;
256
- }
257
- /**
258
- * The options for facet evaluation
259
- */
260
- export interface FacetRequestOptions {
261
- /**
262
- * The column name or query expression to sort on. Defaults to count if not present.
263
- */
264
- sortBy?: string;
265
- /**
266
- * The sorting order by the selected column (count by default). Possible values include: 'asc',
267
- * 'desc'. Default value: 'desc'.
268
- */
269
- sortOrder?: FacetSortOrder;
270
- /**
271
- * Specifies the filter condition for the 'where' clause which will be run on main query's
272
- * result, just before the actual faceting.
273
- */
274
- filter?: string;
275
- /**
276
- * The maximum number of facet rows that should be returned.
277
- */
278
- top?: number;
279
- }
280
- /**
281
- * A request to compute additional statistics (facets) over the query results.
282
- */
283
- export interface FacetRequest {
284
- /**
285
- * The column or list of columns to summarize by
286
- */
287
- expression: string;
288
- /**
289
- * The options for facet evaluation
290
- */
291
- options?: FacetRequestOptions;
292
- }
293
- /**
294
- * Describes a query to be executed.
295
- */
296
- export interface QueryRequest {
297
- /**
298
- * Azure subscriptions against which to execute the query.
299
- */
300
- subscriptions?: string[];
301
- /**
302
- * Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ]
303
- */
304
- managementGroups?: string[];
305
- /**
306
- * The resources query.
307
- */
308
- query: string;
309
- /**
310
- * The query evaluation options
311
- */
312
- options?: QueryRequestOptions;
313
- /**
314
- * An array of facet requests to be computed against the query result.
315
- */
316
- facets?: FacetRequest[];
317
- }
318
- /**
319
- * Contains the possible cases for Facet.
320
- */
321
- export declare type FacetUnion = Facet | FacetResult | FacetError;
322
- /**
323
- * A facet containing additional statistics on the response of a query. Can be either FacetResult
324
- * or FacetError.
325
- */
326
- export interface Facet {
327
- /**
328
- * Polymorphic Discriminator
329
- */
330
- resultType: "Facet";
331
- /**
332
- * Facet expression, same as in the corresponding facet request.
333
- */
334
- expression: string;
335
- }
336
- /**
337
- * Query result.
338
- */
339
- export interface QueryResponse {
340
- /**
341
- * Number of total records matching the query.
342
- */
343
- totalRecords: number;
344
- /**
345
- * Number of records returned in the current response. In the case of paging, this is the number
346
- * of records in the current page.
347
- */
348
- count: number;
349
- /**
350
- * Indicates whether the query results are truncated. Possible values include: 'true', 'false'
351
- */
352
- resultTruncated: ResultTruncated;
353
- /**
354
- * When present, the value can be passed to a subsequent query call (together with the same query
355
- * and scopes used in the current request) to retrieve the next page of data.
356
- */
357
- skipToken?: string;
358
- /**
359
- * Query output in JObject array or Table format.
360
- */
361
- data: any;
362
- /**
363
- * Query facets.
364
- */
365
- facets?: FacetUnion[];
366
- }
367
- /**
368
- * Query result column descriptor.
369
- */
370
- export interface Column {
371
- /**
372
- * Column name.
373
- */
374
- name: string;
375
- /**
376
- * Column data type. Possible values include: 'string', 'integer', 'number', 'boolean', 'object'
377
- */
378
- type: ColumnDataType;
379
- }
380
- /**
381
- * Query output in tabular format.
382
- */
383
- export interface Table {
384
- /**
385
- * Query result column descriptors.
386
- */
387
- columns: Column[];
388
- /**
389
- * Query result rows.
390
- */
391
- rows: any[][];
392
- }
393
- /**
394
- * Successfully executed facet containing additional statistics on the response of a query.
395
- */
396
- export interface FacetResult {
397
- /**
398
- * Polymorphic Discriminator
399
- */
400
- resultType: "FacetResult";
401
- /**
402
- * Facet expression, same as in the corresponding facet request.
403
- */
404
- expression: string;
405
- /**
406
- * Number of total records in the facet results.
407
- */
408
- totalRecords: number;
409
- /**
410
- * Number of records returned in the facet response.
411
- */
412
- count: number;
413
- /**
414
- * A JObject array or Table containing the desired facets. Only present if the facet is valid.
415
- */
416
- data: any;
417
- }
418
- /**
419
- * A facet whose execution resulted in an error.
420
- */
421
- export interface FacetError {
422
- /**
423
- * Polymorphic Discriminator
424
- */
425
- resultType: "FacetError";
426
- /**
427
- * Facet expression, same as in the corresponding facet request.
428
- */
429
- expression: string;
430
- /**
431
- * An array containing detected facet errors with details.
432
- */
433
- errors: ErrorDetails[];
434
- }
435
- /**
436
- * Display metadata associated with the operation.
437
- */
438
- export interface OperationDisplay {
439
- /**
440
- * Service provider: Microsoft Resource Graph.
441
- */
442
- provider?: string;
443
- /**
444
- * Resource on which the operation is performed etc.
445
- */
446
- resource?: string;
447
- /**
448
- * Type of operation: get, read, delete, etc.
449
- */
450
- operation?: string;
451
- /**
452
- * Description for the operation.
453
- */
454
- description?: string;
455
- }
456
- /**
457
- * Resource Graph REST API operation definition.
458
- */
459
- export interface Operation {
460
- /**
461
- * Operation name: {provider}/{resource}/{operation}
462
- */
463
- name?: string;
464
- /**
465
- * Display metadata associated with the operation.
466
- */
467
- display?: OperationDisplay;
468
- /**
469
- * The origin of operations.
470
- */
471
- origin?: string;
472
- }
473
- /**
474
- * An interface representing ResourcesHistoryRequestOptions.
475
- */
476
- export interface ResourcesHistoryRequestOptions {
477
- interval?: DateTimeInterval;
478
- top?: number;
479
- skip?: number;
480
- skipToken?: string;
481
- /**
482
- * Possible values include: 'table', 'objectArray'
483
- */
484
- resultFormat?: ResultFormat1;
485
- }
486
- /**
487
- * An interface representing ResourcesHistoryRequest.
488
- */
489
- export interface ResourcesHistoryRequest {
490
- subscriptions?: string[];
491
- query?: string;
492
- options?: ResourcesHistoryRequestOptions;
493
- managementGroupId?: string;
494
- }
495
- /**
496
- * An interface representing ResourceGraphClientOptions.
497
- */
498
- export interface ResourceGraphClientOptions extends AzureServiceClientOptions {
499
- baseUri?: string;
500
- }
501
- /**
502
- * @interface
503
- * Result of the request to list Resource Graph operations. It contains a list of operations and a
504
- * URL link to get the next set of results.
505
- * @extends Array<Operation>
506
- */
507
- export interface OperationListResult extends Array<Operation> {
508
- }
509
- /**
510
- * Defines values for ChangeType.
511
- * Possible values include: 'Create', 'Update', 'Delete'
512
- * @readonly
513
- * @enum {string}
514
- */
515
- export declare type ChangeType = "Create" | "Update" | "Delete";
516
- /**
517
- * Defines values for ChangeCategory.
518
- * Possible values include: 'User', 'System'
519
- * @readonly
520
- * @enum {string}
521
- */
522
- export declare type ChangeCategory = "User" | "System";
523
- /**
524
- * Defines values for PropertyChangeType.
525
- * Possible values include: 'Insert', 'Update', 'Remove'
526
- * @readonly
527
- * @enum {string}
528
- */
529
- export declare type PropertyChangeType = "Insert" | "Update" | "Remove";
530
- /**
531
- * Defines values for ResultFormat.
532
- * Possible values include: 'table', 'objectArray'
533
- * @readonly
534
- * @enum {string}
535
- */
536
- export declare type ResultFormat = "table" | "objectArray";
537
- /**
538
- * Defines values for FacetSortOrder.
539
- * Possible values include: 'asc', 'desc'
540
- * @readonly
541
- * @enum {string}
542
- */
543
- export declare type FacetSortOrder = "asc" | "desc";
544
- /**
545
- * Defines values for ResultTruncated.
546
- * Possible values include: 'true', 'false'
547
- * @readonly
548
- * @enum {string}
549
- */
550
- export declare type ResultTruncated = "true" | "false";
551
- /**
552
- * Defines values for ColumnDataType.
553
- * Possible values include: 'string', 'integer', 'number', 'boolean', 'object'
554
- * @readonly
555
- * @enum {string}
556
- */
557
- export declare type ColumnDataType = "string" | "integer" | "number" | "boolean" | "object";
558
- /**
559
- * Defines values for ResultFormat1.
560
- * Possible values include: 'table', 'objectArray'
561
- * @readonly
562
- * @enum {string}
563
- */
564
- export declare type ResultFormat1 = "table" | "objectArray";
565
- /**
566
- * Contains response data for the resourceChanges operation.
567
- */
568
- export declare type ResourceChangesResponse = ResourceChangeList & {
569
- /**
570
- * The underlying HTTP response.
571
- */
572
- _response: msRest.HttpResponse & {
573
- /**
574
- * The response body as text (string format)
575
- */
576
- bodyAsText: string;
577
- /**
578
- * The response body as parsed JSON or XML
579
- */
580
- parsedBody: ResourceChangeList;
581
- };
582
- };
583
- /**
584
- * Contains response data for the resourceChangeDetails operation.
585
- */
586
- export declare type ResourceChangeDetailsResponse = Array<ResourceChangeData> & {
587
- /**
588
- * The underlying HTTP response.
589
- */
590
- _response: msRest.HttpResponse & {
591
- /**
592
- * The response body as text (string format)
593
- */
594
- bodyAsText: string;
595
- /**
596
- * The response body as parsed JSON or XML
597
- */
598
- parsedBody: ResourceChangeData[];
599
- };
600
- };
601
- /**
602
- * Contains response data for the resources operation.
603
- */
604
- export declare type ResourcesResponse = QueryResponse & {
605
- /**
606
- * The underlying HTTP response.
607
- */
608
- _response: msRest.HttpResponse & {
609
- /**
610
- * The response body as text (string format)
611
- */
612
- bodyAsText: string;
613
- /**
614
- * The response body as parsed JSON or XML
615
- */
616
- parsedBody: QueryResponse;
617
- };
618
- };
619
- /**
620
- * Contains response data for the resourcesHistory operation.
621
- */
622
- export declare type ResourcesHistoryResponse = {
623
- /**
624
- * The parsed response body.
625
- */
626
- body: any;
627
- /**
628
- * The underlying HTTP response.
629
- */
630
- _response: msRest.HttpResponse & {
631
- /**
632
- * The response body as text (string format)
633
- */
634
- bodyAsText: string;
635
- /**
636
- * The response body as parsed JSON or XML
637
- */
638
- parsedBody: any;
639
- };
640
- };
641
- /**
642
- * Contains response data for the list operation.
643
- */
644
- export declare type OperationsListResponse = OperationListResult & {
645
- /**
646
- * The underlying HTTP response.
647
- */
648
- _response: msRest.HttpResponse & {
649
- /**
650
- * The response body as text (string format)
651
- */
652
- bodyAsText: string;
653
- /**
654
- * The response body as parsed JSON or XML
655
- */
656
- parsedBody: OperationListResult;
657
- };
658
- };
659
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;AAEpC;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,KAAK,EAAE,IAAI,CAAC;IACZ;;;;OAIG;IACH,GAAG,EAAE,IAAI,CAAC;CACX;AAED;;GAEG;AACH,MAAM,WAAW,wCAAyC,SAAQ,gBAAgB;CAAG;AAErF;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,wCAAwC,CAAC;IACnD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;OAMG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IAC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G;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,UAAU,EAAE,GAAG,CAAC;KACjB,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,oBAAY,sBAAsB,GAAG,mBAAmB,GAAG;IACzD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,YAAY,GAAG;QAC/B;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,UAAU,EAAE,mBAAmB,CAAC;KACjC,CAAC;CACH,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -1,37 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- export declare const CloudError: msRest.CompositeMapper;
3
- export declare const BaseResource: msRest.CompositeMapper;
4
- export declare const DateTimeInterval: msRest.CompositeMapper;
5
- export declare const ResourceChangesRequestParametersInterval: msRest.CompositeMapper;
6
- export declare const ResourceChangesRequestParameters: msRest.CompositeMapper;
7
- export declare const ResourceSnapshotData: msRest.CompositeMapper;
8
- export declare const ResourceChangeDataBeforeSnapshot: msRest.CompositeMapper;
9
- export declare const ResourceChangeDataAfterSnapshot: msRest.CompositeMapper;
10
- export declare const ResourcePropertyChange: msRest.CompositeMapper;
11
- export declare const ResourceChangeData: msRest.CompositeMapper;
12
- export declare const ResourceChangeList: msRest.CompositeMapper;
13
- export declare const ResourceChangeDetailsRequestParameters: msRest.CompositeMapper;
14
- export declare const ErrorDetails: msRest.CompositeMapper;
15
- export declare const ErrorModel: msRest.CompositeMapper;
16
- export declare const ErrorResponse: msRest.CompositeMapper;
17
- export declare const QueryRequestOptions: msRest.CompositeMapper;
18
- export declare const FacetRequestOptions: msRest.CompositeMapper;
19
- export declare const FacetRequest: msRest.CompositeMapper;
20
- export declare const QueryRequest: msRest.CompositeMapper;
21
- export declare const Facet: msRest.CompositeMapper;
22
- export declare const QueryResponse: msRest.CompositeMapper;
23
- export declare const Column: msRest.CompositeMapper;
24
- export declare const Table: msRest.CompositeMapper;
25
- export declare const FacetResult: msRest.CompositeMapper;
26
- export declare const FacetError: msRest.CompositeMapper;
27
- export declare const OperationDisplay: msRest.CompositeMapper;
28
- export declare const Operation: msRest.CompositeMapper;
29
- export declare const ResourcesHistoryRequestOptions: msRest.CompositeMapper;
30
- export declare const ResourcesHistoryRequest: msRest.CompositeMapper;
31
- export declare const OperationListResult: msRest.CompositeMapper;
32
- export declare const discriminators: {
33
- Facet: msRest.CompositeMapper;
34
- "Facet.FacetResult": msRest.CompositeMapper;
35
- "Facet.FacetError": msRest.CompositeMapper;
36
- };
37
- //# sourceMappingURL=mappers.d.ts.map