@yugabytedb/perf-advisor-client 0.0.0-stage → 0.0.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/README.md +32 -2
- package/dist/generated/api/anomaly/anomaly.d.ts +228 -0
- package/dist/generated/api/customer/customer.d.ts +200 -0
- package/dist/generated/api/export-config/export-config.d.ts +175 -0
- package/dist/generated/api/graph/graph.d.ts +62 -0
- package/dist/generated/api/info/info.d.ts +30 -0
- package/dist/generated/api/runtime-config/runtime-config.d.ts +80 -0
- package/dist/generated/api/schema/schema.d.ts +214 -0
- package/dist/generated/api/support-bundle/support-bundle.d.ts +167 -0
- package/dist/generated/api/universe/universe.d.ts +267 -0
- package/dist/generated/api/user/user.d.ts +134 -0
- package/dist/generated/api/workload/workload.d.ts +178 -0
- package/dist/generated/api.d.ts +11 -0
- package/dist/generated/model/activityExclusions.d.ts +25 -0
- package/dist/generated/model/activityPeriod.d.ts +20 -0
- package/dist/generated/model/aggregatedLineSettings.d.ts +22 -0
- package/dist/generated/model/aggregatedLineSettingsAggregation.d.ts +18 -0
- package/dist/generated/model/anomaly.d.ts +18 -0
- package/dist/generated/model/anomalyDetails.d.ts +18 -0
- package/dist/generated/model/anomalyDetection.d.ts +18 -0
- package/dist/generated/model/anomalyDetectionInfo.d.ts +21 -0
- package/dist/generated/model/anomalyDetectionInfoState.d.ts +21 -0
- package/dist/generated/model/anomalyEntity.d.ts +23 -0
- package/dist/generated/model/anomalyEntityLabels.d.ts +17 -0
- package/dist/generated/model/anomalyFilter.d.ts +32 -0
- package/dist/generated/model/anomalyGraph.d.ts +27 -0
- package/dist/generated/model/anomalyGroup.d.ts +18 -0
- package/dist/generated/model/anomalyGroupInfo.d.ts +21 -0
- package/dist/generated/model/anomalyGroupPagedResp.d.ts +16 -0
- package/dist/generated/model/anomalyGroupsOfType.d.ts +28 -0
- package/dist/generated/model/anomalyIndexDetails.d.ts +24 -0
- package/dist/generated/model/anomalyInfo.d.ts +46 -0
- package/dist/generated/model/anomalyPagedResp.d.ts +16 -0
- package/dist/generated/model/anomalySortBy.d.ts +23 -0
- package/dist/generated/model/anomalyType.d.ts +30 -0
- package/dist/generated/model/badRequestResponse.d.ts +16 -0
- package/dist/generated/model/clusterRef.d.ts +19 -0
- package/dist/generated/model/clusterRefClusterType.d.ts +17 -0
- package/dist/generated/model/conflictResponse.d.ts +16 -0
- package/dist/generated/model/cpuStats.d.ts +24 -0
- package/dist/generated/model/credentials.d.ts +32 -0
- package/dist/generated/model/credentialsType.d.ts +23 -0
- package/dist/generated/model/customer.d.ts +20 -0
- package/dist/generated/model/customerInfo.d.ts +14 -0
- package/dist/generated/model/customerPagedResp.d.ts +16 -0
- package/dist/generated/model/customerSpec.d.ts +32 -0
- package/dist/generated/model/database.d.ts +18 -0
- package/dist/generated/model/databaseInfo.d.ts +16 -0
- package/dist/generated/model/databasePagedResp.d.ts +16 -0
- package/dist/generated/model/databaseSchema.d.ts +18 -0
- package/dist/generated/model/databaseSchemaInfo.d.ts +14 -0
- package/dist/generated/model/databaseSchemaPagedResp.d.ts +16 -0
- package/dist/generated/model/databaseStats.d.ts +18 -0
- package/dist/generated/model/databaseStatsFilter.d.ts +27 -0
- package/dist/generated/model/databaseStatsInfo.d.ts +27 -0
- package/dist/generated/model/databaseStatsPagedResp.d.ts +19 -0
- package/dist/generated/model/databaseStatsSortBy.d.ts +24 -0
- package/dist/generated/model/databaseType.d.ts +21 -0
- package/dist/generated/model/deleteSupportBundleParams.d.ts +17 -0
- package/dist/generated/model/deleteUniverseParams.d.ts +19 -0
- package/dist/generated/model/endpoint.d.ts +19 -0
- package/dist/generated/model/error.d.ts +37 -0
- package/dist/generated/model/estimateSupportBundleSizeParams.d.ts +23 -0
- package/dist/generated/model/exportConfig.d.ts +20 -0
- package/dist/generated/model/exportConfigCheck.d.ts +18 -0
- package/dist/generated/model/exportConfigInfo.d.ts +14 -0
- package/dist/generated/model/exportConfigMetrics.d.ts +19 -0
- package/dist/generated/model/exportConfigPagedResp.d.ts +16 -0
- package/dist/generated/model/exportConfigSpec.d.ts +34 -0
- package/dist/generated/model/exportConfigValidation.d.ts +20 -0
- package/dist/generated/model/exportConfigValidationSpec.d.ts +23 -0
- package/dist/generated/model/fieldError.d.ts +16 -0
- package/dist/generated/model/forbiddenResponse.d.ts +16 -0
- package/dist/generated/model/getAnomalyGroupParams.d.ts +18 -0
- package/dist/generated/model/getQueryStatsParams.d.ts +24 -0
- package/dist/generated/model/graph.d.ts +24 -0
- package/dist/generated/model/graphAxis.d.ts +19 -0
- package/dist/generated/model/graphAxisAlias.d.ts +17 -0
- package/dist/generated/model/graphCatalogEntry.d.ts +30 -0
- package/dist/generated/model/graphFilters.d.ts +18 -0
- package/dist/generated/model/graphGroupByOption.d.ts +17 -0
- package/dist/generated/model/graphLayout.d.ts +26 -0
- package/dist/generated/model/graphQuerySpec.d.ts +35 -0
- package/dist/generated/model/graphSeries.d.ts +32 -0
- package/dist/generated/model/graphSeriesLabels.d.ts +17 -0
- package/dist/generated/model/graphSettings.d.ts +25 -0
- package/dist/generated/model/graphSettingsAggregatedValueFunction.d.ts +18 -0
- package/dist/generated/model/graphSettingsSplitMode.d.ts +17 -0
- package/dist/generated/model/graphSettingsSplitType.d.ts +18 -0
- package/dist/generated/model/graphWindow.d.ts +19 -0
- package/dist/generated/model/index.d.ts +18 -0
- package/dist/generated/model/indexColumn.d.ts +21 -0
- package/dist/generated/model/indexDefinition.d.ts +19 -0
- package/dist/generated/model/indexFilter.d.ts +28 -0
- package/dist/generated/model/indexFlags.d.ts +23 -0
- package/dist/generated/model/indexInfo.d.ts +33 -0
- package/dist/generated/model/indexPagedResp.d.ts +16 -0
- package/dist/generated/model/indexSortBy.d.ts +19 -0
- package/dist/generated/model/internalErrorResponse.d.ts +16 -0
- package/dist/generated/model/kubernetesPod.d.ts +18 -0
- package/dist/generated/model/latencyStats.d.ts +22 -0
- package/dist/generated/model/listAnomaliesParams.d.ts +38 -0
- package/dist/generated/model/listAnomalyGroupsByTypeParams.d.ts +33 -0
- package/dist/generated/model/listAnomalyGroupsParams.d.ts +36 -0
- package/dist/generated/model/listCustomerRuntimeConfigsParams.d.ts +17 -0
- package/dist/generated/model/listCustomersParams.d.ts +18 -0
- package/dist/generated/model/listDatabaseSchemasParams.d.ts +18 -0
- package/dist/generated/model/listDatabaseStatsParams.d.ts +53 -0
- package/dist/generated/model/listDatabasesParams.d.ts +23 -0
- package/dist/generated/model/listExportConfigsParams.d.ts +18 -0
- package/dist/generated/model/listIndexesParams.d.ts +33 -0
- package/dist/generated/model/listMaterializedViewsParams.d.ts +33 -0
- package/dist/generated/model/listNodeStatsParams.d.ts +44 -0
- package/dist/generated/model/listQueriesParams.d.ts +33 -0
- package/dist/generated/model/listQueryStatsParams.d.ts +59 -0
- package/dist/generated/model/listRuntimeConfigsParams.d.ts +17 -0
- package/dist/generated/model/listSupportBundlesParams.d.ts +18 -0
- package/dist/generated/model/listTableStatsParams.d.ts +37 -0
- package/dist/generated/model/listTabletStatsParams.d.ts +58 -0
- package/dist/generated/model/listUniverseNodesParams.d.ts +28 -0
- package/dist/generated/model/listUniverseRuntimeConfigsParams.d.ts +17 -0
- package/dist/generated/model/listUniversesParams.d.ts +31 -0
- package/dist/generated/model/listUsersParams.d.ts +18 -0
- package/dist/generated/model/loadStats.d.ts +24 -0
- package/dist/generated/model/materializedView.d.ts +18 -0
- package/dist/generated/model/materializedViewFilter.d.ts +26 -0
- package/dist/generated/model/materializedViewInfo.d.ts +22 -0
- package/dist/generated/model/materializedViewPagedResp.d.ts +16 -0
- package/dist/generated/model/materializedViewSortBy.d.ts +18 -0
- package/dist/generated/model/metadataRefresh.d.ts +20 -0
- package/dist/generated/model/metadataRefreshResult.d.ts +24 -0
- package/dist/generated/model/metadataRefreshResultStatus.d.ts +22 -0
- package/dist/generated/model/metadataRefreshSpec.d.ts +19 -0
- package/dist/generated/model/metadataRefreshTarget.d.ts +18 -0
- package/dist/generated/model/metricsExportEndpoint.d.ts +21 -0
- package/dist/generated/model/metricsExportEndpointProtocol.d.ts +19 -0
- package/dist/generated/model/nodeFilter.d.ts +27 -0
- package/dist/generated/model/nodePlacement.d.ts +19 -0
- package/dist/generated/model/nodeStats.d.ts +18 -0
- package/dist/generated/model/nodeStatsInfo.d.ts +23 -0
- package/dist/generated/model/nodeStatsPagedResp.d.ts +16 -0
- package/dist/generated/model/nodeStatsSortBy.d.ts +19 -0
- package/dist/generated/model/notFoundResponse.d.ts +16 -0
- package/dist/generated/model/objectLifecycle.d.ts +22 -0
- package/dist/generated/model/objectNamespace.d.ts +20 -0
- package/dist/generated/model/objectRef.d.ts +19 -0
- package/dist/generated/model/pageRequest.d.ts +31 -0
- package/dist/generated/model/pagination.d.ts +22 -0
- package/dist/generated/model/perfAdvisor.d.ts +18 -0
- package/dist/generated/model/perfAdvisorInfo.d.ts +21 -0
- package/dist/generated/model/query.d.ts +18 -0
- package/dist/generated/model/queryFilter.d.ts +29 -0
- package/dist/generated/model/queryInfo.d.ts +29 -0
- package/dist/generated/model/queryPagedResp.d.ts +16 -0
- package/dist/generated/model/queryPlan.d.ts +26 -0
- package/dist/generated/model/queryPlanExecutionTime.d.ts +20 -0
- package/dist/generated/model/queryPlanUsage.d.ts +19 -0
- package/dist/generated/model/querySortBy.d.ts +19 -0
- package/dist/generated/model/queryStats.d.ts +18 -0
- package/dist/generated/model/queryStatsFilter.d.ts +35 -0
- package/dist/generated/model/queryStatsInfo.d.ts +40 -0
- package/dist/generated/model/queryStatsPagedResp.d.ts +16 -0
- package/dist/generated/model/queryStatsSortBy.d.ts +26 -0
- package/dist/generated/model/queryType.d.ts +21 -0
- package/dist/generated/model/rcaGuideline.d.ts +17 -0
- package/dist/generated/model/rcaRecommendation.d.ts +16 -0
- package/dist/generated/model/relationType.d.ts +21 -0
- package/dist/generated/model/replicationStatus.d.ts +25 -0
- package/dist/generated/model/runtimeConfig.d.ts +20 -0
- package/dist/generated/model/runtimeConfigInfo.d.ts +23 -0
- package/dist/generated/model/runtimeConfigInfoAllowedScopesItem.d.ts +17 -0
- package/dist/generated/model/runtimeConfigInfoType.d.ts +19 -0
- package/dist/generated/model/runtimeConfigSpec.d.ts +15 -0
- package/dist/generated/model/scrapedMetricsEndpoint.d.ts +19 -0
- package/dist/generated/model/serverType.d.ts +19 -0
- package/dist/generated/model/sortDirection.d.ts +16 -0
- package/dist/generated/model/statsSummary.d.ts +22 -0
- package/dist/generated/model/storageSize.d.ts +22 -0
- package/dist/generated/model/supportBundle.d.ts +20 -0
- package/dist/generated/model/supportBundleInfo.d.ts +21 -0
- package/dist/generated/model/supportBundleInfoState.d.ts +21 -0
- package/dist/generated/model/supportBundleMetricFormat.d.ts +19 -0
- package/dist/generated/model/supportBundlePagedResp.d.ts +16 -0
- package/dist/generated/model/supportBundleSizeEstimate.d.ts +19 -0
- package/dist/generated/model/supportBundleSpec.d.ts +28 -0
- package/dist/generated/model/supportBundleSpecMetricFormat.d.ts +20 -0
- package/dist/generated/model/syncStatus.d.ts +20 -0
- package/dist/generated/model/tableColumn.d.ts +16 -0
- package/dist/generated/model/tableRef.d.ts +23 -0
- package/dist/generated/model/tableStats.d.ts +18 -0
- package/dist/generated/model/tableStatsFilter.d.ts +29 -0
- package/dist/generated/model/tableStatsInfo.d.ts +43 -0
- package/dist/generated/model/tableStatsPagedResp.d.ts +19 -0
- package/dist/generated/model/tableStatsSortBy.d.ts +19 -0
- package/dist/generated/model/tabletPlacement.d.ts +19 -0
- package/dist/generated/model/tabletRelation.d.ts +24 -0
- package/dist/generated/model/tabletStats.d.ts +18 -0
- package/dist/generated/model/tabletStatsFilter.d.ts +33 -0
- package/dist/generated/model/tabletStatsInfo.d.ts +35 -0
- package/dist/generated/model/tabletStatsPagedResp.d.ts +19 -0
- package/dist/generated/model/tabletStatsSortBy.d.ts +18 -0
- package/dist/generated/model/timeWindow.d.ts +20 -0
- package/dist/generated/model/unauthorizedResponse.d.ts +16 -0
- package/dist/generated/model/universe.d.ts +20 -0
- package/dist/generated/model/universeClusterInfo.d.ts +17 -0
- package/dist/generated/model/universeCollectionInfo.d.ts +26 -0
- package/dist/generated/model/universeDatabaseSpec.d.ts +21 -0
- package/dist/generated/model/universeFeature.d.ts +19 -0
- package/dist/generated/model/universeFeatures.d.ts +29 -0
- package/dist/generated/model/universeInfo.d.ts +38 -0
- package/dist/generated/model/universeMetricsExportSpec.d.ts +22 -0
- package/dist/generated/model/universeNode.d.ts +18 -0
- package/dist/generated/model/universeNodeInfo.d.ts +28 -0
- package/dist/generated/model/universeNodePagedResp.d.ts +16 -0
- package/dist/generated/model/universePagedResp.d.ts +16 -0
- package/dist/generated/model/universeSortBy.d.ts +21 -0
- package/dist/generated/model/universeSpec.d.ts +30 -0
- package/dist/generated/model/universeSpecCollectionMode.d.ts +22 -0
- package/dist/generated/model/universeState.d.ts +18 -0
- package/dist/generated/model/universeSyncInfo.d.ts +22 -0
- package/dist/generated/model/universeSyncStatus.d.ts +21 -0
- package/dist/generated/model/universeSyncStatusProcess.d.ts +28 -0
- package/dist/generated/model/user.d.ts +20 -0
- package/dist/generated/model/userInfo.d.ts +14 -0
- package/dist/generated/model/userPagedResp.d.ts +16 -0
- package/dist/generated/model/userSpec.d.ts +16 -0
- package/dist/generated/model/waitEvent.d.ts +20 -0
- package/dist/generated/model/waitEventFilter.d.ts +20 -0
- package/dist/generated/model/waitEventGrouping.d.ts +16 -0
- package/dist/generated/model/waitEventLoad.d.ts +22 -0
- package/dist/generated/model/ybaInfo.d.ts +17 -0
- package/dist/generated/model/ybmClusterInfo.d.ts +18 -0
- package/dist/generated/model/ybmProject.d.ts +18 -0
- package/dist/generated/model.d.ts +220 -0
- package/dist/http.d.ts +13 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2234 -0
- package/package.json +39 -4
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { NodeFilter } from './nodeFilter';
|
|
13
|
+
import type { TimeWindow } from './timeWindow';
|
|
14
|
+
export type ListAnomalyGroupsByTypeParams = {
|
|
15
|
+
/**
|
|
16
|
+
* The time window: `start_time` and `end_time`, each a query parameter of its own. `end_time` defaults to now; each operation documents the default `start_time`.
|
|
17
|
+
*/
|
|
18
|
+
window?: TimeWindow;
|
|
19
|
+
/**
|
|
20
|
+
* Only `PERF_ANOMALY` or only `INSIGHT`.
|
|
21
|
+
*/
|
|
22
|
+
anomaly_type?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Maximum number of groups to return per type.
|
|
25
|
+
* @minimum 1
|
|
26
|
+
* @maximum 100
|
|
27
|
+
*/
|
|
28
|
+
limit_per_type?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Which nodes' data to include: `cluster_uuids`, `region_codes`, `zone_codes`, `node_names` and `server_types`, each a query parameter of its own.
|
|
31
|
+
*/
|
|
32
|
+
nodes?: NodeFilter;
|
|
33
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { NodeFilter } from './nodeFilter';
|
|
13
|
+
import type { PageRequest } from './pageRequest';
|
|
14
|
+
import type { TimeWindow } from './timeWindow';
|
|
15
|
+
export type ListAnomalyGroupsParams = {
|
|
16
|
+
/**
|
|
17
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
18
|
+
*/
|
|
19
|
+
paging?: PageRequest;
|
|
20
|
+
/**
|
|
21
|
+
* The time window: `start_time` and `end_time`, each a query parameter of its own. `end_time` defaults to now; each operation documents the default `start_time`.
|
|
22
|
+
*/
|
|
23
|
+
window?: TimeWindow;
|
|
24
|
+
/**
|
|
25
|
+
* Only `PERF_ANOMALY` or only `INSIGHT`.
|
|
26
|
+
*/
|
|
27
|
+
anomaly_type?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Only groups of this type, for example `HOT_NODE_CPU`.
|
|
30
|
+
*/
|
|
31
|
+
type?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Which nodes' data to include: `cluster_uuids`, `region_codes`, `zone_codes`, `node_names` and `server_types`, each a query parameter of its own.
|
|
34
|
+
*/
|
|
35
|
+
nodes?: NodeFilter;
|
|
36
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
export type ListCustomerRuntimeConfigsParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Only these keys.
|
|
15
|
+
*/
|
|
16
|
+
key?: string[];
|
|
17
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { PageRequest } from './pageRequest';
|
|
13
|
+
export type ListCustomersParams = {
|
|
14
|
+
/**
|
|
15
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
16
|
+
*/
|
|
17
|
+
paging?: PageRequest;
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { PageRequest } from './pageRequest';
|
|
13
|
+
export type ListDatabaseSchemasParams = {
|
|
14
|
+
/**
|
|
15
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
16
|
+
*/
|
|
17
|
+
paging?: PageRequest;
|
|
18
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { DatabaseStatsFilter } from './databaseStatsFilter';
|
|
13
|
+
import type { DatabaseStatsSortBy } from './databaseStatsSortBy';
|
|
14
|
+
import type { NodeFilter } from './nodeFilter';
|
|
15
|
+
import type { PageRequest } from './pageRequest';
|
|
16
|
+
import type { TimeWindow } from './timeWindow';
|
|
17
|
+
import type { WaitEventFilter } from './waitEventFilter';
|
|
18
|
+
import type { WaitEventGrouping } from './waitEventGrouping';
|
|
19
|
+
export type ListDatabaseStatsParams = {
|
|
20
|
+
/**
|
|
21
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
22
|
+
*/
|
|
23
|
+
paging?: PageRequest;
|
|
24
|
+
/**
|
|
25
|
+
* The time window: `start_time` and `end_time`, each a query parameter of its own. `end_time` defaults to now; each operation documents the default `start_time`.
|
|
26
|
+
*/
|
|
27
|
+
window?: TimeWindow;
|
|
28
|
+
/**
|
|
29
|
+
* Which databases to list: `namespace_name`, `namespace_name_contains`, `query`, `types` and `exclude_system_dbs`, each a query parameter of its own.
|
|
30
|
+
*/
|
|
31
|
+
filter?: DatabaseStatsFilter;
|
|
32
|
+
/**
|
|
33
|
+
* Which nodes' data to include: `cluster_uuids`, `region_codes`, `zone_codes`, `node_names` and `server_types`, each a query parameter of its own.
|
|
34
|
+
*/
|
|
35
|
+
nodes?: NodeFilter;
|
|
36
|
+
/**
|
|
37
|
+
* Which activity to count: `wait_event_types` and `wait_events`, each a query parameter of its own.
|
|
38
|
+
*/
|
|
39
|
+
wait_events?: WaitEventFilter;
|
|
40
|
+
/**
|
|
41
|
+
* Break each row's load down by wait event type (`TYPE`) or by wait event (`EVENT`), in
|
|
42
|
+
* `info.wait_events`. Without it there is no breakdown.
|
|
43
|
+
*/
|
|
44
|
+
group_events_by?: WaitEventGrouping;
|
|
45
|
+
/**
|
|
46
|
+
* Also return `summary`, computed over every row that matches the filters, not just this page.
|
|
47
|
+
*/
|
|
48
|
+
include_summary?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* What to sort by, `CONNECTIONS` by default. Ties are broken by the entity's name or id.
|
|
51
|
+
*/
|
|
52
|
+
sort_by?: DatabaseStatsSortBy;
|
|
53
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { DatabaseType } from './databaseType';
|
|
13
|
+
import type { PageRequest } from './pageRequest';
|
|
14
|
+
export type ListDatabasesParams = {
|
|
15
|
+
/**
|
|
16
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
17
|
+
*/
|
|
18
|
+
paging?: PageRequest;
|
|
19
|
+
/**
|
|
20
|
+
* Only databases of these types. All by default.
|
|
21
|
+
*/
|
|
22
|
+
types?: DatabaseType[];
|
|
23
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { PageRequest } from './pageRequest';
|
|
13
|
+
export type ListExportConfigsParams = {
|
|
14
|
+
/**
|
|
15
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
16
|
+
*/
|
|
17
|
+
paging?: PageRequest;
|
|
18
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { IndexFilter } from './indexFilter';
|
|
13
|
+
import type { IndexSortBy } from './indexSortBy';
|
|
14
|
+
import type { PageRequest } from './pageRequest';
|
|
15
|
+
import type { TimeWindow } from './timeWindow';
|
|
16
|
+
export type ListIndexesParams = {
|
|
17
|
+
/**
|
|
18
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
19
|
+
*/
|
|
20
|
+
paging?: PageRequest;
|
|
21
|
+
/**
|
|
22
|
+
* The time window: `start_time` and `end_time`, each a query parameter of its own. `end_time` defaults to now; each operation documents the default `start_time`.
|
|
23
|
+
*/
|
|
24
|
+
window?: TimeWindow;
|
|
25
|
+
/**
|
|
26
|
+
* Which indexes to list: `namespace_name`, `schema_name`, `table_name`, `index_name`, `index_name_contains` and `definition`, each a query parameter of its own.
|
|
27
|
+
*/
|
|
28
|
+
filter?: IndexFilter;
|
|
29
|
+
/**
|
|
30
|
+
* What to sort by, `INDEX_NAME` by default. Ties are broken by the entity's name or id.
|
|
31
|
+
*/
|
|
32
|
+
sort_by?: IndexSortBy;
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { MaterializedViewFilter } from './materializedViewFilter';
|
|
13
|
+
import type { MaterializedViewSortBy } from './materializedViewSortBy';
|
|
14
|
+
import type { PageRequest } from './pageRequest';
|
|
15
|
+
import type { TimeWindow } from './timeWindow';
|
|
16
|
+
export type ListMaterializedViewsParams = {
|
|
17
|
+
/**
|
|
18
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
19
|
+
*/
|
|
20
|
+
paging?: PageRequest;
|
|
21
|
+
/**
|
|
22
|
+
* The time window: `start_time` and `end_time`, each a query parameter of its own. `end_time` defaults to now; each operation documents the default `start_time`.
|
|
23
|
+
*/
|
|
24
|
+
window?: TimeWindow;
|
|
25
|
+
/**
|
|
26
|
+
* Which materialized views to list: `namespace_name`, `schema_name`, `materialized_view_name`, `materialized_view_name_contains` and `definition`, each a query parameter of its own.
|
|
27
|
+
*/
|
|
28
|
+
filter?: MaterializedViewFilter;
|
|
29
|
+
/**
|
|
30
|
+
* What to sort by, `MATERIALIZED_VIEW_NAME` by default. Ties are broken by the entity's name or id.
|
|
31
|
+
*/
|
|
32
|
+
sort_by?: MaterializedViewSortBy;
|
|
33
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { NodeFilter } from './nodeFilter';
|
|
13
|
+
import type { NodeStatsSortBy } from './nodeStatsSortBy';
|
|
14
|
+
import type { PageRequest } from './pageRequest';
|
|
15
|
+
import type { TimeWindow } from './timeWindow';
|
|
16
|
+
import type { WaitEventFilter } from './waitEventFilter';
|
|
17
|
+
import type { WaitEventGrouping } from './waitEventGrouping';
|
|
18
|
+
export type ListNodeStatsParams = {
|
|
19
|
+
/**
|
|
20
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
21
|
+
*/
|
|
22
|
+
paging?: PageRequest;
|
|
23
|
+
/**
|
|
24
|
+
* The time window: `start_time` and `end_time`, each a query parameter of its own. `end_time` defaults to now; each operation documents the default `start_time`.
|
|
25
|
+
*/
|
|
26
|
+
window?: TimeWindow;
|
|
27
|
+
/**
|
|
28
|
+
* Which nodes' data to include: `cluster_uuids`, `region_codes`, `zone_codes`, `node_names` and `server_types`, each a query parameter of its own.
|
|
29
|
+
*/
|
|
30
|
+
nodes?: NodeFilter;
|
|
31
|
+
/**
|
|
32
|
+
* Which activity to count: `wait_event_types` and `wait_events`, each a query parameter of its own.
|
|
33
|
+
*/
|
|
34
|
+
wait_events?: WaitEventFilter;
|
|
35
|
+
/**
|
|
36
|
+
* Break each row's load down by wait event type (`TYPE`) or by wait event (`EVENT`), in
|
|
37
|
+
* `info.wait_events`. Without it there is no breakdown.
|
|
38
|
+
*/
|
|
39
|
+
group_events_by?: WaitEventGrouping;
|
|
40
|
+
/**
|
|
41
|
+
* What to sort by, `CONNECTIONS` by default. Ties are broken by the entity's name or id.
|
|
42
|
+
*/
|
|
43
|
+
sort_by?: NodeStatsSortBy;
|
|
44
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { PageRequest } from './pageRequest';
|
|
13
|
+
import type { QueryFilter } from './queryFilter';
|
|
14
|
+
import type { QuerySortBy } from './querySortBy';
|
|
15
|
+
import type { TimeWindow } from './timeWindow';
|
|
16
|
+
export type ListQueriesParams = {
|
|
17
|
+
/**
|
|
18
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
19
|
+
*/
|
|
20
|
+
paging?: PageRequest;
|
|
21
|
+
/**
|
|
22
|
+
* The time window: `start_time` and `end_time`, each a query parameter of its own. `end_time` defaults to now; each operation documents the default `start_time`.
|
|
23
|
+
*/
|
|
24
|
+
window?: TimeWindow;
|
|
25
|
+
/**
|
|
26
|
+
* Which statements to list: `types`, `database_name`, `user_name`, `query`, `exclude_tp_user` and `exclude_system_dbs`, each a query parameter of its own.
|
|
27
|
+
*/
|
|
28
|
+
filter?: QueryFilter;
|
|
29
|
+
/**
|
|
30
|
+
* What to sort by, `QUERY` by default. Ties are broken by type, then query id.
|
|
31
|
+
*/
|
|
32
|
+
sort_by?: QuerySortBy;
|
|
33
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { ActivityExclusions } from './activityExclusions';
|
|
13
|
+
import type { NodeFilter } from './nodeFilter';
|
|
14
|
+
import type { PageRequest } from './pageRequest';
|
|
15
|
+
import type { QueryStatsFilter } from './queryStatsFilter';
|
|
16
|
+
import type { QueryStatsSortBy } from './queryStatsSortBy';
|
|
17
|
+
import type { TimeWindow } from './timeWindow';
|
|
18
|
+
import type { WaitEventFilter } from './waitEventFilter';
|
|
19
|
+
import type { WaitEventGrouping } from './waitEventGrouping';
|
|
20
|
+
export type ListQueryStatsParams = {
|
|
21
|
+
/**
|
|
22
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
23
|
+
*/
|
|
24
|
+
paging?: PageRequest;
|
|
25
|
+
/**
|
|
26
|
+
* The time window: `start_time` and `end_time`, each a query parameter of its own. `end_time` defaults to now; each operation documents the default `start_time`.
|
|
27
|
+
*/
|
|
28
|
+
window?: TimeWindow;
|
|
29
|
+
/**
|
|
30
|
+
* Which statements to list: `namespace_name`, `query`, `types`, `tablet_id`, `query_keys`, `exclude_tp_user` and `exclude_system_dbs`, each a query parameter of its own.
|
|
31
|
+
*/
|
|
32
|
+
filter?: QueryStatsFilter;
|
|
33
|
+
/**
|
|
34
|
+
* Which nodes' data to include: `cluster_uuids`, `region_codes`, `zone_codes`, `node_names` and `server_types`, each a query parameter of its own.
|
|
35
|
+
*/
|
|
36
|
+
nodes?: NodeFilter;
|
|
37
|
+
/**
|
|
38
|
+
* Which activity to count: `wait_event_types` and `wait_events`, each a query parameter of its own.
|
|
39
|
+
*/
|
|
40
|
+
wait_events?: WaitEventFilter;
|
|
41
|
+
/**
|
|
42
|
+
* Activity to leave out: `exclude_wait_event_types`, `exclude_wait_events` and `exclude_query_ids`, each a query parameter of its own.
|
|
43
|
+
*/
|
|
44
|
+
exclude?: ActivityExclusions;
|
|
45
|
+
/**
|
|
46
|
+
* Break each row's load down by wait event type (`TYPE`) or by wait event (`EVENT`), in
|
|
47
|
+
* `info.wait_events`. Without it there is no breakdown.
|
|
48
|
+
*/
|
|
49
|
+
group_events_by?: WaitEventGrouping;
|
|
50
|
+
/**
|
|
51
|
+
* Also return each YSQL statement's execution plans in `info.plans`, when the universe
|
|
52
|
+
* supports Query Plan Management.
|
|
53
|
+
*/
|
|
54
|
+
include_plans?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* What to sort by, `EPS` by default. Ties are broken by the entity's name or id.
|
|
57
|
+
*/
|
|
58
|
+
sort_by?: QueryStatsSortBy;
|
|
59
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
export type ListRuntimeConfigsParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Only these keys.
|
|
15
|
+
*/
|
|
16
|
+
key?: string[];
|
|
17
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { PageRequest } from './pageRequest';
|
|
13
|
+
export type ListSupportBundlesParams = {
|
|
14
|
+
/**
|
|
15
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
16
|
+
*/
|
|
17
|
+
paging?: PageRequest;
|
|
18
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { PageRequest } from './pageRequest';
|
|
13
|
+
import type { TableStatsFilter } from './tableStatsFilter';
|
|
14
|
+
import type { TableStatsSortBy } from './tableStatsSortBy';
|
|
15
|
+
import type { TimeWindow } from './timeWindow';
|
|
16
|
+
export type ListTableStatsParams = {
|
|
17
|
+
/**
|
|
18
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
19
|
+
*/
|
|
20
|
+
paging?: PageRequest;
|
|
21
|
+
/**
|
|
22
|
+
* The time window: `start_time` and `end_time`, each a query parameter of its own. `end_time` defaults to now; each operation documents the default `start_time`.
|
|
23
|
+
*/
|
|
24
|
+
window?: TimeWindow;
|
|
25
|
+
/**
|
|
26
|
+
* Which tables to list: `types`, `namespace_name`, `schema_name`, `table_name`, `table_name_contains` and `index`, each a query parameter of its own.
|
|
27
|
+
*/
|
|
28
|
+
filter?: TableStatsFilter;
|
|
29
|
+
/**
|
|
30
|
+
* Also return `summary`, computed over every row that matches the filters, not just this page.
|
|
31
|
+
*/
|
|
32
|
+
include_summary?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* What to sort by, `FIRST_SEEN_TIME` by default. Ties are broken by type, then name.
|
|
35
|
+
*/
|
|
36
|
+
sort_by?: TableStatsSortBy;
|
|
37
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { ActivityExclusions } from './activityExclusions';
|
|
13
|
+
import type { NodeFilter } from './nodeFilter';
|
|
14
|
+
import type { PageRequest } from './pageRequest';
|
|
15
|
+
import type { TabletStatsFilter } from './tabletStatsFilter';
|
|
16
|
+
import type { TabletStatsSortBy } from './tabletStatsSortBy';
|
|
17
|
+
import type { TimeWindow } from './timeWindow';
|
|
18
|
+
import type { WaitEventFilter } from './waitEventFilter';
|
|
19
|
+
import type { WaitEventGrouping } from './waitEventGrouping';
|
|
20
|
+
export type ListTabletStatsParams = {
|
|
21
|
+
/**
|
|
22
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
23
|
+
*/
|
|
24
|
+
paging?: PageRequest;
|
|
25
|
+
/**
|
|
26
|
+
* The time window: `start_time` and `end_time`, each a query parameter of its own. `end_time` defaults to now; each operation documents the default `start_time`.
|
|
27
|
+
*/
|
|
28
|
+
window?: TimeWindow;
|
|
29
|
+
/**
|
|
30
|
+
* Which tablets to list: `database_type`, `namespace_name`, `schema_name`, `table_name`, `tablet_id`, `db_id` and `query_id`, each a query parameter of its own.
|
|
31
|
+
*/
|
|
32
|
+
filter?: TabletStatsFilter;
|
|
33
|
+
/**
|
|
34
|
+
* Which nodes' data to include: `cluster_uuids`, `region_codes`, `zone_codes`, `node_names` and `server_types`, each a query parameter of its own.
|
|
35
|
+
*/
|
|
36
|
+
nodes?: NodeFilter;
|
|
37
|
+
/**
|
|
38
|
+
* Which activity to count: `wait_event_types` and `wait_events`, each a query parameter of its own.
|
|
39
|
+
*/
|
|
40
|
+
wait_events?: WaitEventFilter;
|
|
41
|
+
/**
|
|
42
|
+
* Activity to leave out: `exclude_wait_event_types`, `exclude_wait_events` and `exclude_query_ids`, each a query parameter of its own.
|
|
43
|
+
*/
|
|
44
|
+
exclude?: ActivityExclusions;
|
|
45
|
+
/**
|
|
46
|
+
* Break each row's load down by wait event type (`TYPE`) or by wait event (`EVENT`), in
|
|
47
|
+
* `info.wait_events`. Without it there is no breakdown.
|
|
48
|
+
*/
|
|
49
|
+
group_events_by?: WaitEventGrouping;
|
|
50
|
+
/**
|
|
51
|
+
* Also return `summary`, computed over every row that matches the filters, not just this page.
|
|
52
|
+
*/
|
|
53
|
+
include_summary?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* What to sort by, `EPS` by default. Ties are broken by the entity's name or id.
|
|
56
|
+
*/
|
|
57
|
+
sort_by?: TabletStatsSortBy;
|
|
58
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { NodeFilter } from './nodeFilter';
|
|
13
|
+
import type { PageRequest } from './pageRequest';
|
|
14
|
+
import type { TimeWindow } from './timeWindow';
|
|
15
|
+
export type ListUniverseNodesParams = {
|
|
16
|
+
/**
|
|
17
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
18
|
+
*/
|
|
19
|
+
paging?: PageRequest;
|
|
20
|
+
/**
|
|
21
|
+
* The time window: `start_time` and `end_time`, each a query parameter of its own. `end_time` defaults to now; each operation documents the default `start_time`.
|
|
22
|
+
*/
|
|
23
|
+
window?: TimeWindow;
|
|
24
|
+
/**
|
|
25
|
+
* Which nodes' data to include: `cluster_uuids`, `region_codes`, `zone_codes`, `node_names` and `server_types`, each a query parameter of its own.
|
|
26
|
+
*/
|
|
27
|
+
nodes?: NodeFilter;
|
|
28
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
export type ListUniverseRuntimeConfigsParams = {
|
|
13
|
+
/**
|
|
14
|
+
* Only these keys.
|
|
15
|
+
*/
|
|
16
|
+
key?: string[];
|
|
17
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { PageRequest } from './pageRequest';
|
|
13
|
+
import type { UniverseSortBy } from './universeSortBy';
|
|
14
|
+
export type ListUniversesParams = {
|
|
15
|
+
/**
|
|
16
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
17
|
+
*/
|
|
18
|
+
paging?: PageRequest;
|
|
19
|
+
/**
|
|
20
|
+
* Only universes of this customer.
|
|
21
|
+
*/
|
|
22
|
+
customer_uuid?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Only universes whose name, UUID or YBM cluster name contains this text.
|
|
25
|
+
*/
|
|
26
|
+
search?: string;
|
|
27
|
+
/**
|
|
28
|
+
* What to sort by, `NAME` by default. Ties are broken by the universe UUID.
|
|
29
|
+
*/
|
|
30
|
+
sort_by?: UniverseSortBy;
|
|
31
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Perf Advisor API
|
|
5
|
+
* Perf Advisor v2 REST API.
|
|
6
|
+
*
|
|
7
|
+
* Resources are returned as `{ spec, info }`: `spec` holds the properties a client sets,
|
|
8
|
+
* `info` holds read-only properties Perf Advisor computes.
|
|
9
|
+
*
|
|
10
|
+
* OpenAPI spec version: v2
|
|
11
|
+
*/
|
|
12
|
+
import type { PageRequest } from './pageRequest';
|
|
13
|
+
export type ListUsersParams = {
|
|
14
|
+
/**
|
|
15
|
+
* The page to return: `offset`, `limit`, `direction` and `need_total_count`, each a query parameter of its own.
|
|
16
|
+
*/
|
|
17
|
+
paging?: PageRequest;
|
|
18
|
+
};
|