kb-cloud-client-typescript 2.3.28 → 2.3.30
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/dist/adminapi/api.d.ts +2 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +2 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/compute-group-api.d.ts +947 -0
- package/dist/adminapi/apis/compute-group-api.d.ts.map +1 -0
- package/dist/adminapi/apis/compute-group-api.js +1005 -0
- package/dist/adminapi/apis/compute-group-api.js.map +1 -0
- package/dist/adminapi/apis/dashboard-config-api.d.ts +223 -0
- package/dist/adminapi/apis/dashboard-config-api.d.ts.map +1 -0
- package/dist/adminapi/apis/dashboard-config-api.js +277 -0
- package/dist/adminapi/apis/dashboard-config-api.js.map +1 -0
- package/dist/adminapi/apis/inspection-api.d.ts +17 -16
- package/dist/adminapi/apis/inspection-api.d.ts.map +1 -1
- package/dist/adminapi/apis/inspection-api.js +18 -18
- package/dist/adminapi/apis/inspection-api.js.map +1 -1
- package/dist/adminapi/models/compute-group-account-list.d.ts +26 -0
- package/dist/adminapi/models/compute-group-account-list.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-account-list.js +16 -0
- package/dist/adminapi/models/compute-group-account-list.js.map +1 -0
- package/dist/adminapi/models/compute-group-account.d.ts +61 -0
- package/dist/adminapi/models/compute-group-account.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-account.js +16 -0
- package/dist/adminapi/models/compute-group-account.js.map +1 -0
- package/dist/adminapi/models/compute-group-backend.d.ts +73 -0
- package/dist/adminapi/models/compute-group-backend.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-backend.js +16 -0
- package/dist/adminapi/models/compute-group-backend.js.map +1 -0
- package/dist/adminapi/models/compute-group-create.d.ts +37 -0
- package/dist/adminapi/models/compute-group-create.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-create.js +16 -0
- package/dist/adminapi/models/compute-group-create.js.map +1 -0
- package/dist/adminapi/models/compute-group-list.d.ts +38 -0
- package/dist/adminapi/models/compute-group-list.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-list.js +16 -0
- package/dist/adminapi/models/compute-group-list.js.map +1 -0
- package/dist/adminapi/models/compute-group-scale.d.ts +31 -0
- package/dist/adminapi/models/compute-group-scale.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-scale.js +16 -0
- package/dist/adminapi/models/compute-group-scale.js.map +1 -0
- package/dist/adminapi/models/compute-group.d.ts +110 -0
- package/dist/adminapi/models/compute-group.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group.js +16 -0
- package/dist/adminapi/models/compute-group.js.map +1 -0
- package/dist/adminapi/models/dashboard-config-update.d.ts +25 -0
- package/dist/adminapi/models/dashboard-config-update.d.ts.map +1 -0
- package/dist/adminapi/models/dashboard-config-update.js +16 -0
- package/dist/adminapi/models/dashboard-config-update.js.map +1 -0
- package/dist/adminapi/models/dashboard-config.d.ts +31 -0
- package/dist/adminapi/models/dashboard-config.d.ts.map +1 -0
- package/dist/adminapi/models/dashboard-config.js +16 -0
- package/dist/adminapi/models/dashboard-config.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +10 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +10 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-task-create.d.ts +49 -0
- package/dist/adminapi/models/inspection-task-create.d.ts.map +1 -0
- package/dist/adminapi/models/inspection-task-create.js +16 -0
- package/dist/adminapi/models/inspection-task-create.js.map +1 -0
- package/dist/openapi/api.d.ts +2 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +2 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/compute-group-api.d.ts +947 -0
- package/dist/openapi/apis/compute-group-api.d.ts.map +1 -0
- package/dist/openapi/apis/compute-group-api.js +1005 -0
- package/dist/openapi/apis/compute-group-api.js.map +1 -0
- package/dist/openapi/apis/dashboard-config-api.d.ts +104 -0
- package/dist/openapi/apis/dashboard-config-api.d.ts.map +1 -0
- package/dist/openapi/apis/dashboard-config-api.js +133 -0
- package/dist/openapi/apis/dashboard-config-api.js.map +1 -0
- package/dist/openapi/apis/inspection-api.d.ts +17 -16
- package/dist/openapi/apis/inspection-api.d.ts.map +1 -1
- package/dist/openapi/apis/inspection-api.js +18 -18
- package/dist/openapi/apis/inspection-api.js.map +1 -1
- package/dist/openapi/models/compute-group-account-list.d.ts +26 -0
- package/dist/openapi/models/compute-group-account-list.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-account-list.js +16 -0
- package/dist/openapi/models/compute-group-account-list.js.map +1 -0
- package/dist/openapi/models/compute-group-account.d.ts +61 -0
- package/dist/openapi/models/compute-group-account.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-account.js +16 -0
- package/dist/openapi/models/compute-group-account.js.map +1 -0
- package/dist/openapi/models/compute-group-backend.d.ts +73 -0
- package/dist/openapi/models/compute-group-backend.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-backend.js +16 -0
- package/dist/openapi/models/compute-group-backend.js.map +1 -0
- package/dist/openapi/models/compute-group-create.d.ts +37 -0
- package/dist/openapi/models/compute-group-create.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-create.js +16 -0
- package/dist/openapi/models/compute-group-create.js.map +1 -0
- package/dist/openapi/models/compute-group-list.d.ts +38 -0
- package/dist/openapi/models/compute-group-list.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-list.js +16 -0
- package/dist/openapi/models/compute-group-list.js.map +1 -0
- package/dist/openapi/models/compute-group-scale.d.ts +31 -0
- package/dist/openapi/models/compute-group-scale.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-scale.js +16 -0
- package/dist/openapi/models/compute-group-scale.js.map +1 -0
- package/dist/openapi/models/compute-group.d.ts +110 -0
- package/dist/openapi/models/compute-group.d.ts.map +1 -0
- package/dist/openapi/models/compute-group.js +16 -0
- package/dist/openapi/models/compute-group.js.map +1 -0
- package/dist/openapi/models/dashboard-config.d.ts +31 -0
- package/dist/openapi/models/dashboard-config.d.ts.map +1 -0
- package/dist/openapi/models/dashboard-config.js +16 -0
- package/dist/openapi/models/dashboard-config.js.map +1 -0
- package/dist/openapi/models/index.d.ts +9 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +9 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-task-create.d.ts +49 -0
- package/dist/openapi/models/inspection-task-create.d.ts.map +1 -0
- package/dist/openapi/models/inspection-task-create.js +16 -0
- package/dist/openapi/models/inspection-task-create.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +12 -0
- package/src/adminapi/api.ts +2 -0
- package/src/adminapi/apis/compute-group-api.ts +1618 -0
- package/src/adminapi/apis/dashboard-config-api.ts +388 -0
- package/src/adminapi/apis/inspection-api.ts +24 -22
- package/src/adminapi/models/compute-group-account-list.ts +33 -0
- package/src/adminapi/models/compute-group-account.ts +66 -0
- package/src/adminapi/models/compute-group-backend.ts +78 -0
- package/src/adminapi/models/compute-group-create.ts +42 -0
- package/src/adminapi/models/compute-group-list.ts +45 -0
- package/src/adminapi/models/compute-group-scale.ts +36 -0
- package/src/adminapi/models/compute-group.ts +117 -0
- package/src/adminapi/models/dashboard-config-update.ts +30 -0
- package/src/adminapi/models/dashboard-config.ts +36 -0
- package/src/adminapi/models/index.ts +10 -0
- package/src/adminapi/models/inspection-task-create.ts +54 -0
- package/src/adminapi.yaml +845 -51
- package/src/openapi/.openapi-generator/FILES +11 -0
- package/src/openapi/api.ts +2 -0
- package/src/openapi/apis/compute-group-api.ts +1618 -0
- package/src/openapi/apis/dashboard-config-api.ts +172 -0
- package/src/openapi/apis/inspection-api.ts +24 -22
- package/src/openapi/models/compute-group-account-list.ts +33 -0
- package/src/openapi/models/compute-group-account.ts +66 -0
- package/src/openapi/models/compute-group-backend.ts +78 -0
- package/src/openapi/models/compute-group-create.ts +42 -0
- package/src/openapi/models/compute-group-list.ts +45 -0
- package/src/openapi/models/compute-group-scale.ts +36 -0
- package/src/openapi/models/compute-group.ts +117 -0
- package/src/openapi/models/dashboard-config.ts +36 -0
- package/src/openapi/models/index.ts +9 -0
- package/src/openapi/models/inspection-task-create.ts +54 -0
- package/src/openapi.yaml +739 -3
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { APIErrorResponse } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { DashboardConfig } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { DashboardConfigUpdate } from '../models';
|
|
30
|
+
/**
|
|
31
|
+
* DashboardConfigApi - axios parameter creator
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export const DashboardConfigApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35
|
+
return {
|
|
36
|
+
/**
|
|
37
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
38
|
+
* @summary Delete dashboard configuration by key
|
|
39
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
deleteDashboardConfig: async (key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44
|
+
// verify required parameter 'key' is not null or undefined
|
|
45
|
+
assertParamExists('deleteDashboardConfig', 'key', key)
|
|
46
|
+
const localVarPath = `/admin/v1/dashboardConfigs/{key}`
|
|
47
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
48
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50
|
+
let baseOptions;
|
|
51
|
+
if (configuration) {
|
|
52
|
+
baseOptions = configuration.baseOptions;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
56
|
+
const localVarHeaderParameter = {} as any;
|
|
57
|
+
const localVarQueryParameter = {} as any;
|
|
58
|
+
|
|
59
|
+
// authentication BearerToken required
|
|
60
|
+
// http bearer authentication required
|
|
61
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
62
|
+
|
|
63
|
+
// authentication DigestAuth required
|
|
64
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
71
|
+
|
|
72
|
+
return {
|
|
73
|
+
url: toPathString(localVarUrlObj),
|
|
74
|
+
options: localVarRequestOptions,
|
|
75
|
+
};
|
|
76
|
+
},
|
|
77
|
+
/**
|
|
78
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
79
|
+
* @summary Get dashboard configuration by key
|
|
80
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
*/
|
|
84
|
+
getDashboardConfig: async (key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
85
|
+
// verify required parameter 'key' is not null or undefined
|
|
86
|
+
assertParamExists('getDashboardConfig', 'key', key)
|
|
87
|
+
const localVarPath = `/admin/v1/dashboardConfigs/{key}`
|
|
88
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
89
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
90
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
91
|
+
let baseOptions;
|
|
92
|
+
if (configuration) {
|
|
93
|
+
baseOptions = configuration.baseOptions;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
97
|
+
const localVarHeaderParameter = {} as any;
|
|
98
|
+
const localVarQueryParameter = {} as any;
|
|
99
|
+
|
|
100
|
+
// authentication BearerToken required
|
|
101
|
+
// http bearer authentication required
|
|
102
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
103
|
+
|
|
104
|
+
// authentication DigestAuth required
|
|
105
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
110
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
111
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
112
|
+
|
|
113
|
+
return {
|
|
114
|
+
url: toPathString(localVarUrlObj),
|
|
115
|
+
options: localVarRequestOptions,
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
/**
|
|
119
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
120
|
+
* @summary Create or replace dashboard configuration by key
|
|
121
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
122
|
+
* @param {DashboardConfigUpdate} dashboardConfigUpdate
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
putDashboardConfig: async (key: string, dashboardConfigUpdate: DashboardConfigUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
127
|
+
// verify required parameter 'key' is not null or undefined
|
|
128
|
+
assertParamExists('putDashboardConfig', 'key', key)
|
|
129
|
+
// verify required parameter 'dashboardConfigUpdate' is not null or undefined
|
|
130
|
+
assertParamExists('putDashboardConfig', 'dashboardConfigUpdate', dashboardConfigUpdate)
|
|
131
|
+
const localVarPath = `/admin/v1/dashboardConfigs/{key}`
|
|
132
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
133
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
135
|
+
let baseOptions;
|
|
136
|
+
if (configuration) {
|
|
137
|
+
baseOptions = configuration.baseOptions;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
141
|
+
const localVarHeaderParameter = {} as any;
|
|
142
|
+
const localVarQueryParameter = {} as any;
|
|
143
|
+
|
|
144
|
+
// authentication BearerToken required
|
|
145
|
+
// http bearer authentication required
|
|
146
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
147
|
+
|
|
148
|
+
// authentication DigestAuth required
|
|
149
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
154
|
+
|
|
155
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
156
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
157
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
158
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dashboardConfigUpdate, localVarRequestOptions, configuration)
|
|
159
|
+
|
|
160
|
+
return {
|
|
161
|
+
url: toPathString(localVarUrlObj),
|
|
162
|
+
options: localVarRequestOptions,
|
|
163
|
+
};
|
|
164
|
+
},
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* DashboardConfigApi - functional programming interface
|
|
170
|
+
* @export
|
|
171
|
+
*/
|
|
172
|
+
export const DashboardConfigApiFp = function(configuration?: Configuration) {
|
|
173
|
+
const localVarAxiosParamCreator = DashboardConfigApiAxiosParamCreator(configuration)
|
|
174
|
+
return {
|
|
175
|
+
/**
|
|
176
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
177
|
+
* @summary Delete dashboard configuration by key
|
|
178
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
async deleteDashboardConfig(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
183
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDashboardConfig(key, options);
|
|
184
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
185
|
+
const localVarOperationServerBasePath = operationServerMap['DashboardConfigApi.deleteDashboardConfig']?.[localVarOperationServerIndex]?.url;
|
|
186
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
187
|
+
},
|
|
188
|
+
/**
|
|
189
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
190
|
+
* @summary Get dashboard configuration by key
|
|
191
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
*/
|
|
195
|
+
async getDashboardConfig(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardConfig>> {
|
|
196
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardConfig(key, options);
|
|
197
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
198
|
+
const localVarOperationServerBasePath = operationServerMap['DashboardConfigApi.getDashboardConfig']?.[localVarOperationServerIndex]?.url;
|
|
199
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
200
|
+
},
|
|
201
|
+
/**
|
|
202
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
203
|
+
* @summary Create or replace dashboard configuration by key
|
|
204
|
+
* @param {string} key Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
205
|
+
* @param {DashboardConfigUpdate} dashboardConfigUpdate
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
async putDashboardConfig(key: string, dashboardConfigUpdate: DashboardConfigUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardConfig>> {
|
|
210
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putDashboardConfig(key, dashboardConfigUpdate, options);
|
|
211
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
212
|
+
const localVarOperationServerBasePath = operationServerMap['DashboardConfigApi.putDashboardConfig']?.[localVarOperationServerIndex]?.url;
|
|
213
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
214
|
+
},
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* DashboardConfigApi - factory interface
|
|
220
|
+
* @export
|
|
221
|
+
*/
|
|
222
|
+
export const DashboardConfigApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
223
|
+
const localVarFp = DashboardConfigApiFp(configuration)
|
|
224
|
+
return {
|
|
225
|
+
/**
|
|
226
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
227
|
+
* @summary Delete dashboard configuration by key
|
|
228
|
+
* @param {DashboardConfigApiDeleteDashboardConfigRequest} requestParameters Request parameters.
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
deleteDashboardConfig(requestParameters: DashboardConfigApiDeleteDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
233
|
+
return localVarFp.deleteDashboardConfig(requestParameters.key, options).then((request) => request(axios, basePath));
|
|
234
|
+
},
|
|
235
|
+
/**
|
|
236
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
237
|
+
* @summary Get dashboard configuration by key
|
|
238
|
+
* @param {DashboardConfigApiGetDashboardConfigRequest} requestParameters Request parameters.
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
getDashboardConfig(requestParameters: DashboardConfigApiGetDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardConfig> {
|
|
243
|
+
return localVarFp.getDashboardConfig(requestParameters.key, options).then((request) => request(axios, basePath));
|
|
244
|
+
},
|
|
245
|
+
/**
|
|
246
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
247
|
+
* @summary Create or replace dashboard configuration by key
|
|
248
|
+
* @param {DashboardConfigApiPutDashboardConfigRequest} requestParameters Request parameters.
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
putDashboardConfig(requestParameters: DashboardConfigApiPutDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardConfig> {
|
|
253
|
+
return localVarFp.putDashboardConfig(requestParameters.key, requestParameters.dashboardConfigUpdate, options).then((request) => request(axios, basePath));
|
|
254
|
+
},
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* DashboardConfigApi - interface
|
|
260
|
+
* @export
|
|
261
|
+
* @interface DashboardConfigApi
|
|
262
|
+
*/
|
|
263
|
+
export interface DashboardConfigApiInterface {
|
|
264
|
+
/**
|
|
265
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
266
|
+
* @summary Delete dashboard configuration by key
|
|
267
|
+
* @param {DashboardConfigApiDeleteDashboardConfigRequest} requestParameters Request parameters.
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
* @memberof DashboardConfigApiInterface
|
|
271
|
+
*/
|
|
272
|
+
deleteDashboardConfig(requestParameters: DashboardConfigApiDeleteDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
276
|
+
* @summary Get dashboard configuration by key
|
|
277
|
+
* @param {DashboardConfigApiGetDashboardConfigRequest} requestParameters Request parameters.
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
* @memberof DashboardConfigApiInterface
|
|
281
|
+
*/
|
|
282
|
+
getDashboardConfig(requestParameters: DashboardConfigApiGetDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardConfig>;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
286
|
+
* @summary Create or replace dashboard configuration by key
|
|
287
|
+
* @param {DashboardConfigApiPutDashboardConfigRequest} requestParameters Request parameters.
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
* @memberof DashboardConfigApiInterface
|
|
291
|
+
*/
|
|
292
|
+
putDashboardConfig(requestParameters: DashboardConfigApiPutDashboardConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DashboardConfig>;
|
|
293
|
+
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Request parameters for deleteDashboardConfig operation in DashboardConfigApi.
|
|
298
|
+
* @export
|
|
299
|
+
* @interface DashboardConfigApiDeleteDashboardConfigRequest
|
|
300
|
+
*/
|
|
301
|
+
export interface DashboardConfigApiDeleteDashboardConfigRequest {
|
|
302
|
+
/**
|
|
303
|
+
* Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
304
|
+
* @type {string}
|
|
305
|
+
* @memberof DashboardConfigApiDeleteDashboardConfig
|
|
306
|
+
*/
|
|
307
|
+
readonly key: string
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Request parameters for getDashboardConfig operation in DashboardConfigApi.
|
|
312
|
+
* @export
|
|
313
|
+
* @interface DashboardConfigApiGetDashboardConfigRequest
|
|
314
|
+
*/
|
|
315
|
+
export interface DashboardConfigApiGetDashboardConfigRequest {
|
|
316
|
+
/**
|
|
317
|
+
* Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
318
|
+
* @type {string}
|
|
319
|
+
* @memberof DashboardConfigApiGetDashboardConfig
|
|
320
|
+
*/
|
|
321
|
+
readonly key: string
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Request parameters for putDashboardConfig operation in DashboardConfigApi.
|
|
326
|
+
* @export
|
|
327
|
+
* @interface DashboardConfigApiPutDashboardConfigRequest
|
|
328
|
+
*/
|
|
329
|
+
export interface DashboardConfigApiPutDashboardConfigRequest {
|
|
330
|
+
/**
|
|
331
|
+
* Frontend-defined non-blank configuration key, up to 512 Unicode characters. URL-encode the key when used in a request path.
|
|
332
|
+
* @type {string}
|
|
333
|
+
* @memberof DashboardConfigApiPutDashboardConfig
|
|
334
|
+
*/
|
|
335
|
+
readonly key: string
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {DashboardConfigUpdate}
|
|
340
|
+
* @memberof DashboardConfigApiPutDashboardConfig
|
|
341
|
+
*/
|
|
342
|
+
readonly dashboardConfigUpdate: DashboardConfigUpdate
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* DashboardConfigApi - object-oriented interface
|
|
347
|
+
* @export
|
|
348
|
+
* @class DashboardConfigApi
|
|
349
|
+
* @extends {BaseAPI}
|
|
350
|
+
*/
|
|
351
|
+
export class DashboardConfigApi extends BaseAPI implements DashboardConfigApiInterface {
|
|
352
|
+
/**
|
|
353
|
+
* Requires platform configuration write access. Deleting a missing key succeeds.
|
|
354
|
+
* @summary Delete dashboard configuration by key
|
|
355
|
+
* @param {DashboardConfigApiDeleteDashboardConfigRequest} requestParameters Request parameters.
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
* @memberof DashboardConfigApi
|
|
359
|
+
*/
|
|
360
|
+
public deleteDashboardConfig(requestParameters: DashboardConfigApiDeleteDashboardConfigRequest, options?: RawAxiosRequestConfig) {
|
|
361
|
+
return DashboardConfigApiFp(this.configuration).deleteDashboardConfig(requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Requires platform configuration read access. Missing keys return 200 with a null value.
|
|
366
|
+
* @summary Get dashboard configuration by key
|
|
367
|
+
* @param {DashboardConfigApiGetDashboardConfigRequest} requestParameters Request parameters.
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
* @memberof DashboardConfigApi
|
|
371
|
+
*/
|
|
372
|
+
public getDashboardConfig(requestParameters: DashboardConfigApiGetDashboardConfigRequest, options?: RawAxiosRequestConfig) {
|
|
373
|
+
return DashboardConfigApiFp(this.configuration).getDashboardConfig(requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Requires platform configuration write access. Atomic upsert with last-write-wins semantics. Request body is limited to 1 MiB.
|
|
378
|
+
* @summary Create or replace dashboard configuration by key
|
|
379
|
+
* @param {DashboardConfigApiPutDashboardConfigRequest} requestParameters Request parameters.
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
* @memberof DashboardConfigApi
|
|
383
|
+
*/
|
|
384
|
+
public putDashboardConfig(requestParameters: DashboardConfigApiPutDashboardConfigRequest, options?: RawAxiosRequestConfig) {
|
|
385
|
+
return DashboardConfigApiFp(this.configuration).putDashboardConfig(requestParameters.key, requestParameters.dashboardConfigUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
@@ -38,6 +38,8 @@ import type { InspectionScript } from '../models';
|
|
|
38
38
|
// @ts-ignore
|
|
39
39
|
import type { InspectionTask } from '../models';
|
|
40
40
|
// @ts-ignore
|
|
41
|
+
import type { InspectionTaskCreate } from '../models';
|
|
42
|
+
// @ts-ignore
|
|
41
43
|
import type { InspectionTaskFormat } from '../models';
|
|
42
44
|
/**
|
|
43
45
|
* InspectionApi - axios parameter creator
|
|
@@ -179,18 +181,18 @@ export const InspectionApiAxiosParamCreator = function (configuration?: Configur
|
|
|
179
181
|
};
|
|
180
182
|
},
|
|
181
183
|
/**
|
|
182
|
-
*
|
|
183
|
-
* @summary
|
|
184
|
+
* Creates one inspection task per matching non-stopped cluster in the path organization. Omit engines or pass an empty array to select all engines. Omit clusterIDs or pass an empty array to select all clusters. When both arrays are non-empty, clusters must match both filters. All tasks and items are persisted in one transaction before asynchronous execution starts.
|
|
185
|
+
* @summary Trigger inspection for selected clusters in an organization
|
|
184
186
|
* @param {string} orgName name of the Org
|
|
185
|
-
* @param {
|
|
187
|
+
* @param {InspectionTaskCreate} inspectionTaskCreate
|
|
186
188
|
* @param {*} [options] Override http request option.
|
|
187
189
|
* @throws {RequiredError}
|
|
188
190
|
*/
|
|
189
|
-
createInspectionTaskByOrg: async (orgName: string,
|
|
191
|
+
createInspectionTaskByOrg: async (orgName: string, inspectionTaskCreate: InspectionTaskCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
190
192
|
// verify required parameter 'orgName' is not null or undefined
|
|
191
193
|
assertParamExists('createInspectionTaskByOrg', 'orgName', orgName)
|
|
192
|
-
// verify required parameter '
|
|
193
|
-
assertParamExists('createInspectionTaskByOrg', '
|
|
194
|
+
// verify required parameter 'inspectionTaskCreate' is not null or undefined
|
|
195
|
+
assertParamExists('createInspectionTaskByOrg', 'inspectionTaskCreate', inspectionTaskCreate)
|
|
194
196
|
const localVarPath = `/admin/v1/organizations/{orgName}/inspectionTasksByOrg`
|
|
195
197
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
196
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -218,7 +220,7 @@ export const InspectionApiAxiosParamCreator = function (configuration?: Configur
|
|
|
218
220
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
219
221
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
220
222
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
221
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
223
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inspectionTaskCreate, localVarRequestOptions, configuration)
|
|
222
224
|
|
|
223
225
|
return {
|
|
224
226
|
url: toPathString(localVarUrlObj),
|
|
@@ -893,15 +895,15 @@ export const InspectionApiFp = function(configuration?: Configuration) {
|
|
|
893
895
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
894
896
|
},
|
|
895
897
|
/**
|
|
896
|
-
*
|
|
897
|
-
* @summary
|
|
898
|
+
* Creates one inspection task per matching non-stopped cluster in the path organization. Omit engines or pass an empty array to select all engines. Omit clusterIDs or pass an empty array to select all clusters. When both arrays are non-empty, clusters must match both filters. All tasks and items are persisted in one transaction before asynchronous execution starts.
|
|
899
|
+
* @summary Trigger inspection for selected clusters in an organization
|
|
898
900
|
* @param {string} orgName name of the Org
|
|
899
|
-
* @param {
|
|
901
|
+
* @param {InspectionTaskCreate} inspectionTaskCreate
|
|
900
902
|
* @param {*} [options] Override http request option.
|
|
901
903
|
* @throws {RequiredError}
|
|
902
904
|
*/
|
|
903
|
-
async createInspectionTaskByOrg(orgName: string,
|
|
904
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createInspectionTaskByOrg(orgName,
|
|
905
|
+
async createInspectionTaskByOrg(orgName: string, inspectionTaskCreate: InspectionTaskCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
906
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createInspectionTaskByOrg(orgName, inspectionTaskCreate, options);
|
|
905
907
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
906
908
|
const localVarOperationServerBasePath = operationServerMap['InspectionApi.createInspectionTaskByOrg']?.[localVarOperationServerIndex]?.url;
|
|
907
909
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1124,14 +1126,14 @@ export const InspectionApiFactory = function (configuration?: Configuration, bas
|
|
|
1124
1126
|
return localVarFp.createInspectionTaskByEnv(requestParameters.environmentName, requestParameters.inspectionTask, options).then((request) => request(axios, basePath));
|
|
1125
1127
|
},
|
|
1126
1128
|
/**
|
|
1127
|
-
*
|
|
1128
|
-
* @summary
|
|
1129
|
+
* Creates one inspection task per matching non-stopped cluster in the path organization. Omit engines or pass an empty array to select all engines. Omit clusterIDs or pass an empty array to select all clusters. When both arrays are non-empty, clusters must match both filters. All tasks and items are persisted in one transaction before asynchronous execution starts.
|
|
1130
|
+
* @summary Trigger inspection for selected clusters in an organization
|
|
1129
1131
|
* @param {InspectionApiCreateInspectionTaskByOrgRequest} requestParameters Request parameters.
|
|
1130
1132
|
* @param {*} [options] Override http request option.
|
|
1131
1133
|
* @throws {RequiredError}
|
|
1132
1134
|
*/
|
|
1133
1135
|
createInspectionTaskByOrg(requestParameters: InspectionApiCreateInspectionTaskByOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1134
|
-
return localVarFp.createInspectionTaskByOrg(requestParameters.orgName, requestParameters.
|
|
1136
|
+
return localVarFp.createInspectionTaskByOrg(requestParameters.orgName, requestParameters.inspectionTaskCreate, options).then((request) => request(axios, basePath));
|
|
1135
1137
|
},
|
|
1136
1138
|
/**
|
|
1137
1139
|
*
|
|
@@ -1293,8 +1295,8 @@ export interface InspectionApiInterface {
|
|
|
1293
1295
|
createInspectionTaskByEnv(requestParameters: InspectionApiCreateInspectionTaskByEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1294
1296
|
|
|
1295
1297
|
/**
|
|
1296
|
-
*
|
|
1297
|
-
* @summary
|
|
1298
|
+
* Creates one inspection task per matching non-stopped cluster in the path organization. Omit engines or pass an empty array to select all engines. Omit clusterIDs or pass an empty array to select all clusters. When both arrays are non-empty, clusters must match both filters. All tasks and items are persisted in one transaction before asynchronous execution starts.
|
|
1299
|
+
* @summary Trigger inspection for selected clusters in an organization
|
|
1298
1300
|
* @param {InspectionApiCreateInspectionTaskByOrgRequest} requestParameters Request parameters.
|
|
1299
1301
|
* @param {*} [options] Override http request option.
|
|
1300
1302
|
* @throws {RequiredError}
|
|
@@ -1488,10 +1490,10 @@ export interface InspectionApiCreateInspectionTaskByOrgRequest {
|
|
|
1488
1490
|
|
|
1489
1491
|
/**
|
|
1490
1492
|
*
|
|
1491
|
-
* @type {
|
|
1493
|
+
* @type {InspectionTaskCreate}
|
|
1492
1494
|
* @memberof InspectionApiCreateInspectionTaskByOrg
|
|
1493
1495
|
*/
|
|
1494
|
-
readonly
|
|
1496
|
+
readonly inspectionTaskCreate: InspectionTaskCreate
|
|
1495
1497
|
}
|
|
1496
1498
|
|
|
1497
1499
|
/**
|
|
@@ -1853,15 +1855,15 @@ export class InspectionApi extends BaseAPI implements InspectionApiInterface {
|
|
|
1853
1855
|
}
|
|
1854
1856
|
|
|
1855
1857
|
/**
|
|
1856
|
-
*
|
|
1857
|
-
* @summary
|
|
1858
|
+
* Creates one inspection task per matching non-stopped cluster in the path organization. Omit engines or pass an empty array to select all engines. Omit clusterIDs or pass an empty array to select all clusters. When both arrays are non-empty, clusters must match both filters. All tasks and items are persisted in one transaction before asynchronous execution starts.
|
|
1859
|
+
* @summary Trigger inspection for selected clusters in an organization
|
|
1858
1860
|
* @param {InspectionApiCreateInspectionTaskByOrgRequest} requestParameters Request parameters.
|
|
1859
1861
|
* @param {*} [options] Override http request option.
|
|
1860
1862
|
* @throws {RequiredError}
|
|
1861
1863
|
* @memberof InspectionApi
|
|
1862
1864
|
*/
|
|
1863
1865
|
public createInspectionTaskByOrg(requestParameters: InspectionApiCreateInspectionTaskByOrgRequest, options?: RawAxiosRequestConfig) {
|
|
1864
|
-
return InspectionApiFp(this.configuration).createInspectionTaskByOrg(requestParameters.orgName, requestParameters.
|
|
1866
|
+
return InspectionApiFp(this.configuration).createInspectionTaskByOrg(requestParameters.orgName, requestParameters.inspectionTaskCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1865
1867
|
}
|
|
1866
1868
|
|
|
1867
1869
|
/**
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import type { ComputeGroupAccount } from './compute-group-account';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ComputeGroupAccountList
|
|
24
|
+
*/
|
|
25
|
+
export interface ComputeGroupAccountList {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<ComputeGroupAccount>}
|
|
29
|
+
* @memberof ComputeGroupAccountList
|
|
30
|
+
*/
|
|
31
|
+
'items': Array<ComputeGroupAccount>;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@apecloud.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Grants reported by the engine can include role inheritance. Revoking a direct grant does not remove inherited permissions.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ComputeGroupAccount
|
|
21
|
+
*/
|
|
22
|
+
export interface ComputeGroupAccount {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ComputeGroupAccount
|
|
27
|
+
*/
|
|
28
|
+
'identity'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ComputeGroupAccount
|
|
33
|
+
*/
|
|
34
|
+
'accountName'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof ComputeGroupAccount
|
|
39
|
+
*/
|
|
40
|
+
'manageable'?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ComputeGroupAccount
|
|
45
|
+
*/
|
|
46
|
+
'globalGrants'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ComputeGroupAccount
|
|
51
|
+
*/
|
|
52
|
+
'computeGrants'?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ComputeGroupAccount
|
|
57
|
+
*/
|
|
58
|
+
'roles'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof ComputeGroupAccount
|
|
63
|
+
*/
|
|
64
|
+
'isDefault'?: boolean;
|
|
65
|
+
}
|
|
66
|
+
|