kb-cloud-client-typescript 2.2.136 → 2.2.138
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/apis/load-balancer-api.d.ts +175 -0
- package/dist/adminapi/apis/load-balancer-api.d.ts.map +1 -1
- package/dist/adminapi/apis/load-balancer-api.js +213 -0
- package/dist/adminapi/apis/load-balancer-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +3 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +3 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/load-balancer-annotations.d.ts +35 -0
- package/dist/adminapi/models/load-balancer-annotations.d.ts.map +1 -0
- package/dist/adminapi/models/load-balancer-annotations.js +16 -0
- package/dist/adminapi/models/load-balancer-annotations.js.map +1 -0
- package/dist/adminapi/models/load-balancer-config-update.d.ts +26 -0
- package/dist/adminapi/models/load-balancer-config-update.d.ts.map +1 -0
- package/dist/adminapi/models/load-balancer-config-update.js +16 -0
- package/dist/adminapi/models/load-balancer-config-update.js.map +1 -0
- package/dist/adminapi/models/load-balancer-config.d.ts +32 -0
- package/dist/adminapi/models/load-balancer-config.d.ts.map +1 -0
- package/dist/adminapi/models/load-balancer-config.js +16 -0
- package/dist/adminapi/models/load-balancer-config.js.map +1 -0
- package/dist/adminapi/models/mode-option-values-mappings.d.ts +1 -1
- package/dist/internalapi/apis/recycle-bin-cluster-api.d.ts +15 -7
- package/dist/internalapi/apis/recycle-bin-cluster-api.d.ts.map +1 -1
- package/dist/internalapi/apis/recycle-bin-cluster-api.js +18 -11
- package/dist/internalapi/apis/recycle-bin-cluster-api.js.map +1 -1
- package/dist/openapi/models/mode-option-values-mappings.d.ts +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +3 -0
- package/src/adminapi/apis/load-balancer-api.ts +318 -0
- package/src/adminapi/models/index.ts +3 -0
- package/src/adminapi/models/load-balancer-annotations.ts +36 -0
- package/src/adminapi/models/load-balancer-config-update.ts +33 -0
- package/src/adminapi/models/load-balancer-config.ts +39 -0
- package/src/adminapi/models/mode-option-values-mappings.ts +1 -1
- package/src/adminapi.yaml +117 -0
- package/src/internalapi/apis/recycle-bin-cluster-api.ts +29 -14
- package/src/internalapi.yaml +9 -3
- package/src/openapi/models/mode-option-values-mappings.ts +1 -1
- package/src/openapi.yaml +1 -0
|
@@ -34,18 +34,21 @@ export const RecycleBinClusterApiAxiosParamCreator = function (configuration?: C
|
|
|
34
34
|
* @summary Delete cluster from the Recycle Bin of the Org
|
|
35
35
|
* @param {string} orgName name of the Org
|
|
36
36
|
* @param {string} clusterName name of the cluster
|
|
37
|
-
* @param {
|
|
37
|
+
* @param {string} orgID
|
|
38
|
+
* @param {string} clusterID
|
|
38
39
|
* @param {string} uid the uid of the impersonating user
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
40
41
|
* @throws {RequiredError}
|
|
41
42
|
*/
|
|
42
|
-
deleteRecycleBinCluster: async (orgName: string, clusterName: string,
|
|
43
|
+
deleteRecycleBinCluster: async (orgName: string, clusterName: string, orgID: string, clusterID: string, uid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43
44
|
// verify required parameter 'orgName' is not null or undefined
|
|
44
45
|
assertParamExists('deleteRecycleBinCluster', 'orgName', orgName)
|
|
45
46
|
// verify required parameter 'clusterName' is not null or undefined
|
|
46
47
|
assertParamExists('deleteRecycleBinCluster', 'clusterName', clusterName)
|
|
47
|
-
// verify required parameter '
|
|
48
|
-
assertParamExists('deleteRecycleBinCluster', '
|
|
48
|
+
// verify required parameter 'orgID' is not null or undefined
|
|
49
|
+
assertParamExists('deleteRecycleBinCluster', 'orgID', orgID)
|
|
50
|
+
// verify required parameter 'clusterID' is not null or undefined
|
|
51
|
+
assertParamExists('deleteRecycleBinCluster', 'clusterID', clusterID)
|
|
49
52
|
// verify required parameter 'uid' is not null or undefined
|
|
50
53
|
assertParamExists('deleteRecycleBinCluster', 'uid', uid)
|
|
51
54
|
const localVarPath = `/internal/v1/organizations/{orgName}/recycleBin/clusters/{clusterName}`
|
|
@@ -66,8 +69,12 @@ export const RecycleBinClusterApiAxiosParamCreator = function (configuration?: C
|
|
|
66
69
|
// http basic authentication required
|
|
67
70
|
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
68
71
|
|
|
69
|
-
if (
|
|
70
|
-
localVarQueryParameter['
|
|
72
|
+
if (orgID !== undefined) {
|
|
73
|
+
localVarQueryParameter['orgID'] = orgID;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (clusterID !== undefined) {
|
|
77
|
+
localVarQueryParameter['clusterID'] = clusterID;
|
|
71
78
|
}
|
|
72
79
|
|
|
73
80
|
if (uid !== undefined) {
|
|
@@ -100,13 +107,14 @@ export const RecycleBinClusterApiFp = function(configuration?: Configuration) {
|
|
|
100
107
|
* @summary Delete cluster from the Recycle Bin of the Org
|
|
101
108
|
* @param {string} orgName name of the Org
|
|
102
109
|
* @param {string} clusterName name of the cluster
|
|
103
|
-
* @param {
|
|
110
|
+
* @param {string} orgID
|
|
111
|
+
* @param {string} clusterID
|
|
104
112
|
* @param {string} uid the uid of the impersonating user
|
|
105
113
|
* @param {*} [options] Override http request option.
|
|
106
114
|
* @throws {RequiredError}
|
|
107
115
|
*/
|
|
108
|
-
async deleteRecycleBinCluster(orgName: string, clusterName: string,
|
|
109
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRecycleBinCluster(orgName, clusterName,
|
|
116
|
+
async deleteRecycleBinCluster(orgName: string, clusterName: string, orgID: string, clusterID: string, uid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
117
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRecycleBinCluster(orgName, clusterName, orgID, clusterID, uid, options);
|
|
110
118
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
111
119
|
const localVarOperationServerBasePath = operationServerMap['RecycleBinClusterApi.deleteRecycleBinCluster']?.[localVarOperationServerIndex]?.url;
|
|
112
120
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -129,7 +137,7 @@ export const RecycleBinClusterApiFactory = function (configuration?: Configurati
|
|
|
129
137
|
* @throws {RequiredError}
|
|
130
138
|
*/
|
|
131
139
|
deleteRecycleBinCluster(requestParameters: RecycleBinClusterApiDeleteRecycleBinClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
132
|
-
return localVarFp.deleteRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.
|
|
140
|
+
return localVarFp.deleteRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.orgID, requestParameters.clusterID, requestParameters.uid, options).then((request) => request(axios, basePath));
|
|
133
141
|
},
|
|
134
142
|
};
|
|
135
143
|
};
|
|
@@ -173,11 +181,18 @@ export interface RecycleBinClusterApiDeleteRecycleBinClusterRequest {
|
|
|
173
181
|
readonly clusterName: string
|
|
174
182
|
|
|
175
183
|
/**
|
|
176
|
-
*
|
|
177
|
-
* @type {
|
|
184
|
+
*
|
|
185
|
+
* @type {string}
|
|
186
|
+
* @memberof RecycleBinClusterApiDeleteRecycleBinCluster
|
|
187
|
+
*/
|
|
188
|
+
readonly orgID: string
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @type {string}
|
|
178
193
|
* @memberof RecycleBinClusterApiDeleteRecycleBinCluster
|
|
179
194
|
*/
|
|
180
|
-
readonly
|
|
195
|
+
readonly clusterID: string
|
|
181
196
|
|
|
182
197
|
/**
|
|
183
198
|
* the uid of the impersonating user
|
|
@@ -203,7 +218,7 @@ export class RecycleBinClusterApi extends BaseAPI implements RecycleBinClusterAp
|
|
|
203
218
|
* @memberof RecycleBinClusterApi
|
|
204
219
|
*/
|
|
205
220
|
public deleteRecycleBinCluster(requestParameters: RecycleBinClusterApiDeleteRecycleBinClusterRequest, options?: RawAxiosRequestConfig) {
|
|
206
|
-
return RecycleBinClusterApiFp(this.configuration).deleteRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.
|
|
221
|
+
return RecycleBinClusterApiFp(this.configuration).deleteRecycleBinCluster(requestParameters.orgName, requestParameters.clusterName, requestParameters.orgID, requestParameters.clusterID, requestParameters.uid, options).then((request) => request(this.axios, this.basePath));
|
|
207
222
|
}
|
|
208
223
|
}
|
|
209
224
|
|
package/src/internalapi.yaml
CHANGED
|
@@ -213,12 +213,18 @@ paths:
|
|
|
213
213
|
required: true
|
|
214
214
|
schema:
|
|
215
215
|
type: string
|
|
216
|
-
- name:
|
|
216
|
+
- name: orgID
|
|
217
217
|
in: query
|
|
218
|
-
description: whether to delete the backup of the cluster
|
|
219
218
|
required: true
|
|
220
219
|
schema:
|
|
221
|
-
type:
|
|
220
|
+
type: string
|
|
221
|
+
pattern: ^[1-9][0-9]*$
|
|
222
|
+
- name: clusterID
|
|
223
|
+
in: query
|
|
224
|
+
required: true
|
|
225
|
+
schema:
|
|
226
|
+
type: string
|
|
227
|
+
pattern: ^[1-9][0-9]*$
|
|
222
228
|
- name: uid
|
|
223
229
|
in: query
|
|
224
230
|
description: the uid of the impersonating user
|
|
@@ -24,7 +24,7 @@ import type { ModeOptionValuesMappingsMappingsInner } from './mode-option-values
|
|
|
24
24
|
*/
|
|
25
25
|
export interface ModeOptionValuesMappings {
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* if omitted, all KB versions are compatible
|
|
28
28
|
* @type {Array<string>}
|
|
29
29
|
* @memberof ModeOptionValuesMappings
|
|
30
30
|
*/
|
package/src/openapi.yaml
CHANGED
|
@@ -23366,6 +23366,7 @@ components:
|
|
|
23366
23366
|
properties:
|
|
23367
23367
|
compatibleKBVersions:
|
|
23368
23368
|
type: array
|
|
23369
|
+
description: if omitted, all KB versions are compatible
|
|
23369
23370
|
items:
|
|
23370
23371
|
type: string
|
|
23371
23372
|
mappings:
|