@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
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
|
|
5
|
+
/** Defines values for AuthorizationScopeFilter. */
|
|
6
|
+
export declare type AuthorizationScopeFilter = "AtScopeAndBelow" | "AtScopeAndAbove" | "AtScopeExact" | "AtScopeAboveAndBelow";
|
|
7
|
+
|
|
8
|
+
/** Query result column descriptor. */
|
|
9
|
+
export declare interface Column {
|
|
10
|
+
/** Column name. */
|
|
11
|
+
name: string;
|
|
12
|
+
/** Column data type. */
|
|
13
|
+
type: ColumnDataType;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** Defines values for ColumnDataType. */
|
|
17
|
+
export declare type ColumnDataType = "string" | "integer" | "number" | "boolean" | "object" | "datetime";
|
|
18
|
+
|
|
19
|
+
/** An interval in time specifying the date and time for the inclusive start and exclusive end, i.e. `[start, end)`. */
|
|
20
|
+
export declare interface DateTimeInterval {
|
|
21
|
+
/** A datetime indicating the inclusive/closed start of the time interval, i.e. `[`**`start`**`, end)`. Specifying a `start` that occurs chronologically after `end` will result in an error. */
|
|
22
|
+
start: Date;
|
|
23
|
+
/** A datetime indicating the exclusive/open end of the time interval, i.e. `[start, `**`end`**`)`. Specifying an `end` that occurs chronologically before `start` will result in an error. */
|
|
24
|
+
end: Date;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Error details. */
|
|
28
|
+
export declare interface ErrorDetails {
|
|
29
|
+
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
|
|
30
|
+
[property: string]: any;
|
|
31
|
+
/** Error code identifying the specific error. */
|
|
32
|
+
code: string;
|
|
33
|
+
/** A human readable error message. */
|
|
34
|
+
message: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** Error details. */
|
|
38
|
+
export declare interface ErrorModel {
|
|
39
|
+
/** Error code identifying the specific error. */
|
|
40
|
+
code: string;
|
|
41
|
+
/** A human readable error message. */
|
|
42
|
+
message: string;
|
|
43
|
+
/** Error details */
|
|
44
|
+
details?: ErrorDetails[];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** An error response from the API. */
|
|
48
|
+
export declare interface ErrorResponse {
|
|
49
|
+
/** Error information. */
|
|
50
|
+
error: ErrorModel;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** A facet containing additional statistics on the response of a query. Can be either FacetResult or FacetError. */
|
|
54
|
+
export declare interface Facet {
|
|
55
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
56
|
+
resultType: "FacetResult" | "FacetError";
|
|
57
|
+
/** Facet expression, same as in the corresponding facet request. */
|
|
58
|
+
expression: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** A facet whose execution resulted in an error. */
|
|
62
|
+
export declare type FacetError = Facet & {
|
|
63
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
64
|
+
resultType: "FacetError";
|
|
65
|
+
/** An array containing detected facet errors with details. */
|
|
66
|
+
errors: ErrorDetails[];
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** A request to compute additional statistics (facets) over the query results. */
|
|
70
|
+
export declare interface FacetRequest {
|
|
71
|
+
/** The column or list of columns to summarize by */
|
|
72
|
+
expression: string;
|
|
73
|
+
/** The options for facet evaluation */
|
|
74
|
+
options?: FacetRequestOptions;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** The options for facet evaluation */
|
|
78
|
+
export declare interface FacetRequestOptions {
|
|
79
|
+
/** The column name or query expression to sort on. Defaults to count if not present. */
|
|
80
|
+
sortBy?: string;
|
|
81
|
+
/** The sorting order by the selected column (count by default). */
|
|
82
|
+
sortOrder?: FacetSortOrder;
|
|
83
|
+
/** Specifies the filter condition for the 'where' clause which will be run on main query's result, just before the actual faceting. */
|
|
84
|
+
filter?: string;
|
|
85
|
+
/** The maximum number of facet rows that should be returned. */
|
|
86
|
+
top?: number;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/** Successfully executed facet containing additional statistics on the response of a query. */
|
|
90
|
+
export declare type FacetResult = Facet & {
|
|
91
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
92
|
+
resultType: "FacetResult";
|
|
93
|
+
/** Number of total records in the facet results. */
|
|
94
|
+
totalRecords: number;
|
|
95
|
+
/** Number of records returned in the facet response. */
|
|
96
|
+
count: number;
|
|
97
|
+
/** A JObject array or Table containing the desired facets. Only present if the facet is valid. */
|
|
98
|
+
data: Record<string, unknown>;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/** Defines values for FacetSortOrder. */
|
|
102
|
+
export declare type FacetSortOrder = "asc" | "desc";
|
|
103
|
+
|
|
104
|
+
export declare type FacetUnion = Facet | FacetResult | FacetError;
|
|
105
|
+
|
|
106
|
+
/** Resource Graph REST API operation definition. */
|
|
107
|
+
export declare interface Operation {
|
|
108
|
+
/** Operation name: {provider}/{resource}/{operation} */
|
|
109
|
+
name?: string;
|
|
110
|
+
/** Display metadata associated with the operation. */
|
|
111
|
+
display?: OperationDisplay;
|
|
112
|
+
/** The origin of operations. */
|
|
113
|
+
origin?: string;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/** Display metadata associated with the operation. */
|
|
117
|
+
export declare interface OperationDisplay {
|
|
118
|
+
/** Service provider: Microsoft Resource Graph. */
|
|
119
|
+
provider?: string;
|
|
120
|
+
/** Resource on which the operation is performed etc. */
|
|
121
|
+
resource?: string;
|
|
122
|
+
/** Type of operation: get, read, delete, etc. */
|
|
123
|
+
operation?: string;
|
|
124
|
+
/** Description for the operation. */
|
|
125
|
+
description?: string;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/** Result of the request to list Resource Graph operations. It contains a list of operations and a URL link to get the next set of results. */
|
|
129
|
+
export declare interface OperationListResult {
|
|
130
|
+
/** List of Resource Graph operations supported by the Resource Graph resource provider. */
|
|
131
|
+
value?: Operation[];
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/** Interface representing a Operations. */
|
|
135
|
+
export declare interface Operations {
|
|
136
|
+
/**
|
|
137
|
+
* Lists all of the available REST API operations.
|
|
138
|
+
* @param options The options parameters.
|
|
139
|
+
*/
|
|
140
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/** Optional parameters. */
|
|
144
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/** Contains response data for the list operation. */
|
|
148
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
149
|
+
|
|
150
|
+
/** Describes a query to be executed. */
|
|
151
|
+
export declare interface QueryRequest {
|
|
152
|
+
/** Azure subscriptions against which to execute the query. */
|
|
153
|
+
subscriptions?: string[];
|
|
154
|
+
/** Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ] */
|
|
155
|
+
managementGroups?: string[];
|
|
156
|
+
/** The resources query. */
|
|
157
|
+
query: string;
|
|
158
|
+
/** The query evaluation options */
|
|
159
|
+
options?: QueryRequestOptions;
|
|
160
|
+
/** An array of facet requests to be computed against the query result. */
|
|
161
|
+
facets?: FacetRequest[];
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/** The options for query evaluation */
|
|
165
|
+
export declare interface QueryRequestOptions {
|
|
166
|
+
/** Continuation token for pagination, capturing the next page size and offset, as well as the context of the query. */
|
|
167
|
+
skipToken?: string;
|
|
168
|
+
/** The maximum number of rows that the query should return. Overrides the page size when ```$skipToken``` property is present. */
|
|
169
|
+
top?: number;
|
|
170
|
+
/** The number of rows to skip from the beginning of the results. Overrides the next page offset when ```$skipToken``` property is present. */
|
|
171
|
+
skip?: number;
|
|
172
|
+
/** Defines in which format query result returned. */
|
|
173
|
+
resultFormat?: ResultFormat;
|
|
174
|
+
/** Only applicable for tenant and management group level queries to decide whether to allow partial scopes for result in case the number of subscriptions exceed allowed limits. */
|
|
175
|
+
allowPartialScopes?: boolean;
|
|
176
|
+
/** Defines what level of authorization resources should be returned based on the which subscriptions and management groups are passed as scopes. */
|
|
177
|
+
authorizationScopeFilter?: AuthorizationScopeFilter;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/** Query result. */
|
|
181
|
+
export declare interface QueryResponse {
|
|
182
|
+
/** Number of total records matching the query. */
|
|
183
|
+
totalRecords: number;
|
|
184
|
+
/** Number of records returned in the current response. In the case of paging, this is the number of records in the current page. */
|
|
185
|
+
count: number;
|
|
186
|
+
/** Indicates whether the query results are truncated. */
|
|
187
|
+
resultTruncated: ResultTruncated;
|
|
188
|
+
/** When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data. */
|
|
189
|
+
skipToken?: string;
|
|
190
|
+
/** Query output in JObject array or Table format. */
|
|
191
|
+
data: Record<string, unknown>;
|
|
192
|
+
/** Query facets. */
|
|
193
|
+
facets?: FacetUnion[];
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export declare class ResourceGraphClient extends coreClient.ServiceClient {
|
|
197
|
+
$host: string;
|
|
198
|
+
apiVersion: string;
|
|
199
|
+
/**
|
|
200
|
+
* Initializes a new instance of the ResourceGraphClient class.
|
|
201
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
202
|
+
* @param options The parameter options
|
|
203
|
+
*/
|
|
204
|
+
constructor(credentials: coreAuth.TokenCredential, options?: ResourceGraphClientOptionalParams);
|
|
205
|
+
/**
|
|
206
|
+
* Queries the resources managed by Azure Resource Manager for scopes specified in the request.
|
|
207
|
+
* @param query Request specifying query and its options.
|
|
208
|
+
* @param options The options parameters.
|
|
209
|
+
*/
|
|
210
|
+
resources(query: QueryRequest, options?: ResourcesOptionalParams): Promise<ResourcesResponse>;
|
|
211
|
+
/**
|
|
212
|
+
* List all snapshots of a resource for a given time interval.
|
|
213
|
+
* @param request Request specifying the query and its options.
|
|
214
|
+
* @param options The options parameters.
|
|
215
|
+
*/
|
|
216
|
+
resourcesHistory(request: ResourcesHistoryRequest, options?: ResourcesHistoryOptionalParams): Promise<ResourcesHistoryResponse>;
|
|
217
|
+
operations: Operations;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/** Optional parameters. */
|
|
221
|
+
export declare interface ResourceGraphClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
222
|
+
/** server parameter */
|
|
223
|
+
$host?: string;
|
|
224
|
+
/** Api Version */
|
|
225
|
+
apiVersion?: string;
|
|
226
|
+
/** Overrides client endpoint. */
|
|
227
|
+
endpoint?: string;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/** Optional parameters. */
|
|
231
|
+
export declare interface ResourcesHistoryOptionalParams extends coreClient.OperationOptions {
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/** Describes a history request to be executed. */
|
|
235
|
+
export declare interface ResourcesHistoryRequest {
|
|
236
|
+
/** Azure subscriptions against which to execute the query. */
|
|
237
|
+
subscriptions?: string[];
|
|
238
|
+
/** The resources query. */
|
|
239
|
+
query?: string;
|
|
240
|
+
/** The history request evaluation options */
|
|
241
|
+
options?: ResourcesHistoryRequestOptions;
|
|
242
|
+
/** Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ] */
|
|
243
|
+
managementGroups?: string[];
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/** The options for history request evaluation */
|
|
247
|
+
export declare interface ResourcesHistoryRequestOptions {
|
|
248
|
+
/** The time interval used to fetch history. */
|
|
249
|
+
interval?: DateTimeInterval;
|
|
250
|
+
/** The maximum number of rows that the query should return. Overrides the page size when ```$skipToken``` property is present. */
|
|
251
|
+
top?: number;
|
|
252
|
+
/** The number of rows to skip from the beginning of the results. Overrides the next page offset when ```$skipToken``` property is present. */
|
|
253
|
+
skip?: number;
|
|
254
|
+
/** Continuation token for pagination, capturing the next page size and offset, as well as the context of the query. */
|
|
255
|
+
skipToken?: string;
|
|
256
|
+
/** Defines in which format query result returned. */
|
|
257
|
+
resultFormat?: ResultFormat;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/** Contains response data for the resourcesHistory operation. */
|
|
261
|
+
export declare type ResourcesHistoryResponse = Record<string, unknown>;
|
|
262
|
+
|
|
263
|
+
/** Optional parameters. */
|
|
264
|
+
export declare interface ResourcesOptionalParams extends coreClient.OperationOptions {
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/** Contains response data for the resources operation. */
|
|
268
|
+
export declare type ResourcesResponse = QueryResponse;
|
|
269
|
+
|
|
270
|
+
/** Defines values for ResultFormat. */
|
|
271
|
+
export declare type ResultFormat = "table" | "objectArray";
|
|
272
|
+
|
|
273
|
+
/** Defines values for ResultTruncated. */
|
|
274
|
+
export declare type ResultTruncated = "true" | "false";
|
|
275
|
+
|
|
276
|
+
/** Query output in tabular format. */
|
|
277
|
+
export declare interface Table {
|
|
278
|
+
/** Query result column descriptors. */
|
|
279
|
+
columns: Column[];
|
|
280
|
+
/** Query result rows. */
|
|
281
|
+
rows: Record<string, unknown>[][];
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.19.4"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|