kb-cloud-client-typescript 2.3.66 → 2.3.68
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/backup-api.d.ts +64 -0
- package/dist/adminapi/apis/backup-api.d.ts.map +1 -1
- package/dist/adminapi/apis/backup-api.js +75 -0
- package/dist/adminapi/apis/backup-api.js.map +1 -1
- package/dist/adminapi/apis/compute-group-api.d.ts +113 -33
- package/dist/adminapi/apis/compute-group-api.d.ts.map +1 -1
- package/dist/adminapi/apis/compute-group-api.js +107 -22
- package/dist/adminapi/apis/compute-group-api.js.map +1 -1
- package/dist/adminapi/models/backup-batch-delete.d.ts +25 -0
- package/dist/adminapi/models/backup-batch-delete.d.ts.map +1 -0
- package/dist/adminapi/models/backup-batch-delete.js +16 -0
- package/dist/adminapi/models/backup-batch-delete.js.map +1 -0
- package/dist/adminapi/models/compute-group-enable.d.ts +31 -0
- package/dist/adminapi/models/compute-group-enable.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-enable.js +16 -0
- package/dist/adminapi/models/compute-group-enable.js.map +1 -0
- package/dist/adminapi/models/compute-group-member.d.ts +43 -0
- package/dist/adminapi/models/compute-group-member.d.ts.map +1 -0
- package/dist/adminapi/models/compute-group-member.js +16 -0
- package/dist/adminapi/models/compute-group-member.js.map +1 -0
- package/dist/adminapi/models/compute-group.d.ts +25 -0
- package/dist/adminapi/models/compute-group.d.ts.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/openapi/apis/backup-api.d.ts +64 -0
- package/dist/openapi/apis/backup-api.d.ts.map +1 -1
- package/dist/openapi/apis/backup-api.js +75 -0
- package/dist/openapi/apis/backup-api.js.map +1 -1
- package/dist/openapi/apis/compute-group-api.d.ts +113 -33
- package/dist/openapi/apis/compute-group-api.d.ts.map +1 -1
- package/dist/openapi/apis/compute-group-api.js +107 -22
- package/dist/openapi/apis/compute-group-api.js.map +1 -1
- package/dist/openapi/models/backup-batch-delete.d.ts +25 -0
- package/dist/openapi/models/backup-batch-delete.d.ts.map +1 -0
- package/dist/openapi/models/backup-batch-delete.js +16 -0
- package/dist/openapi/models/backup-batch-delete.js.map +1 -0
- package/dist/openapi/models/compute-group-enable.d.ts +31 -0
- package/dist/openapi/models/compute-group-enable.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-enable.js +16 -0
- package/dist/openapi/models/compute-group-enable.js.map +1 -0
- package/dist/openapi/models/compute-group-member.d.ts +43 -0
- package/dist/openapi/models/compute-group-member.d.ts.map +1 -0
- package/dist/openapi/models/compute-group-member.js +16 -0
- package/dist/openapi/models/compute-group-member.js.map +1 -0
- package/dist/openapi/models/compute-group.d.ts +25 -0
- package/dist/openapi/models/compute-group.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +3 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +3 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +3 -0
- package/src/adminapi/apis/backup-api.ts +116 -0
- package/src/adminapi/apis/compute-group-api.ts +173 -33
- package/src/adminapi/models/backup-batch-delete.ts +30 -0
- package/src/adminapi/models/compute-group-enable.ts +36 -0
- package/src/adminapi/models/compute-group-member.ts +48 -0
- package/src/adminapi/models/compute-group.ts +27 -0
- package/src/adminapi/models/index.ts +3 -0
- package/src/adminapi.yaml +152 -11
- package/src/openapi/.openapi-generator/FILES +3 -0
- package/src/openapi/apis/backup-api.ts +116 -0
- package/src/openapi/apis/compute-group-api.ts +173 -33
- package/src/openapi/models/backup-batch-delete.ts +30 -0
- package/src/openapi/models/compute-group-enable.ts +36 -0
- package/src/openapi/models/compute-group-member.ts +48 -0
- package/src/openapi/models/compute-group.ts +27 -0
- package/src/openapi/models/index.ts +3 -0
- package/src/openapi.yaml +152 -11
package/src/adminapi.yaml
CHANGED
|
@@ -13596,6 +13596,37 @@ paths:
|
|
|
13596
13596
|
$ref: '#/components/responses/403'
|
|
13597
13597
|
tags:
|
|
13598
13598
|
- backup
|
|
13599
|
+
/admin/v1/organizations/{orgName}/backups/batch-delete:
|
|
13600
|
+
post:
|
|
13601
|
+
operationId: batchDeleteBackups
|
|
13602
|
+
summary: Batch delete backups
|
|
13603
|
+
description: Delete multiple backups in a single request. Backups which cannot be deleted are reported in the error response and do not roll back the backups that were already deleted.
|
|
13604
|
+
parameters:
|
|
13605
|
+
- description: name of the Org
|
|
13606
|
+
in: path
|
|
13607
|
+
name: orgName
|
|
13608
|
+
required: true
|
|
13609
|
+
schema:
|
|
13610
|
+
type: string
|
|
13611
|
+
requestBody:
|
|
13612
|
+
content:
|
|
13613
|
+
application/json:
|
|
13614
|
+
schema:
|
|
13615
|
+
$ref: '#/components/schemas/backupBatchDelete'
|
|
13616
|
+
required: true
|
|
13617
|
+
responses:
|
|
13618
|
+
'204':
|
|
13619
|
+
content: {}
|
|
13620
|
+
description: Returned when the backups are deleted successfully.
|
|
13621
|
+
'400':
|
|
13622
|
+
$ref: '#/components/responses/400'
|
|
13623
|
+
'401':
|
|
13624
|
+
$ref: '#/components/responses/401'
|
|
13625
|
+
'403':
|
|
13626
|
+
$ref: '#/components/responses/403'
|
|
13627
|
+
tags:
|
|
13628
|
+
- backup
|
|
13629
|
+
x-codegen-request-body-name: body
|
|
13599
13630
|
/admin/v1/organizations/{orgName}/backups/{backupId}:
|
|
13600
13631
|
delete:
|
|
13601
13632
|
operationId: deleteBackup
|
|
@@ -19083,7 +19114,7 @@ paths:
|
|
|
19083
19114
|
- name: engineName
|
|
19084
19115
|
in: path
|
|
19085
19116
|
required: true
|
|
19086
|
-
description:
|
|
19117
|
+
description: Engine name.
|
|
19087
19118
|
schema:
|
|
19088
19119
|
type: string
|
|
19089
19120
|
- name: orgName
|
|
@@ -19124,7 +19155,7 @@ paths:
|
|
|
19124
19155
|
- name: engineName
|
|
19125
19156
|
in: path
|
|
19126
19157
|
required: true
|
|
19127
|
-
description:
|
|
19158
|
+
description: Engine name.
|
|
19128
19159
|
schema:
|
|
19129
19160
|
type: string
|
|
19130
19161
|
- name: orgName
|
|
@@ -19162,6 +19193,54 @@ paths:
|
|
|
19162
19193
|
application/json:
|
|
19163
19194
|
schema:
|
|
19164
19195
|
$ref: '#/components/schemas/computeGroupCreate'
|
|
19196
|
+
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/computeGroups/enable:
|
|
19197
|
+
post:
|
|
19198
|
+
tags:
|
|
19199
|
+
- computeGroup
|
|
19200
|
+
operationId: enableComputeGroup
|
|
19201
|
+
summary: Enable a compute group on an existing component
|
|
19202
|
+
parameters:
|
|
19203
|
+
- name: engineName
|
|
19204
|
+
in: path
|
|
19205
|
+
required: true
|
|
19206
|
+
description: Engine name.
|
|
19207
|
+
schema:
|
|
19208
|
+
type: string
|
|
19209
|
+
- name: orgName
|
|
19210
|
+
in: path
|
|
19211
|
+
required: true
|
|
19212
|
+
schema:
|
|
19213
|
+
type: string
|
|
19214
|
+
- name: clusterName
|
|
19215
|
+
in: path
|
|
19216
|
+
required: true
|
|
19217
|
+
schema:
|
|
19218
|
+
type: string
|
|
19219
|
+
responses:
|
|
19220
|
+
'202':
|
|
19221
|
+
description: Accepted; poll taskId for convergence.
|
|
19222
|
+
content:
|
|
19223
|
+
application/json:
|
|
19224
|
+
schema:
|
|
19225
|
+
$ref: '#/components/schemas/opsRequestName'
|
|
19226
|
+
'400':
|
|
19227
|
+
$ref: '#/components/responses/400'
|
|
19228
|
+
'401':
|
|
19229
|
+
$ref: '#/components/responses/401'
|
|
19230
|
+
'403':
|
|
19231
|
+
$ref: '#/components/responses/403'
|
|
19232
|
+
'404':
|
|
19233
|
+
$ref: '#/components/responses/404'
|
|
19234
|
+
'409':
|
|
19235
|
+
$ref: '#/components/responses/409'
|
|
19236
|
+
'500':
|
|
19237
|
+
$ref: '#/components/responses/500'
|
|
19238
|
+
requestBody:
|
|
19239
|
+
required: true
|
|
19240
|
+
content:
|
|
19241
|
+
application/json:
|
|
19242
|
+
schema:
|
|
19243
|
+
$ref: '#/components/schemas/computeGroupEnable'
|
|
19165
19244
|
/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/computeGroups/{groupName}:
|
|
19166
19245
|
get:
|
|
19167
19246
|
tags:
|
|
@@ -19172,7 +19251,7 @@ paths:
|
|
|
19172
19251
|
- name: engineName
|
|
19173
19252
|
in: path
|
|
19174
19253
|
required: true
|
|
19175
|
-
description:
|
|
19254
|
+
description: Engine name.
|
|
19176
19255
|
schema:
|
|
19177
19256
|
type: string
|
|
19178
19257
|
- name: orgName
|
|
@@ -19218,7 +19297,7 @@ paths:
|
|
|
19218
19297
|
- name: engineName
|
|
19219
19298
|
in: path
|
|
19220
19299
|
required: true
|
|
19221
|
-
description:
|
|
19300
|
+
description: Engine name.
|
|
19222
19301
|
schema:
|
|
19223
19302
|
type: string
|
|
19224
19303
|
- name: orgName
|
|
@@ -19265,7 +19344,7 @@ paths:
|
|
|
19265
19344
|
- name: engineName
|
|
19266
19345
|
in: path
|
|
19267
19346
|
required: true
|
|
19268
|
-
description:
|
|
19347
|
+
description: Engine name.
|
|
19269
19348
|
schema:
|
|
19270
19349
|
type: string
|
|
19271
19350
|
- name: orgName
|
|
@@ -19318,7 +19397,7 @@ paths:
|
|
|
19318
19397
|
- name: engineName
|
|
19319
19398
|
in: path
|
|
19320
19399
|
required: true
|
|
19321
|
-
description:
|
|
19400
|
+
description: Engine name.
|
|
19322
19401
|
schema:
|
|
19323
19402
|
type: string
|
|
19324
19403
|
- name: orgName
|
|
@@ -19365,7 +19444,7 @@ paths:
|
|
|
19365
19444
|
- name: engineName
|
|
19366
19445
|
in: path
|
|
19367
19446
|
required: true
|
|
19368
|
-
description:
|
|
19447
|
+
description: Engine name.
|
|
19369
19448
|
schema:
|
|
19370
19449
|
type: string
|
|
19371
19450
|
- name: orgName
|
|
@@ -19412,7 +19491,7 @@ paths:
|
|
|
19412
19491
|
- name: engineName
|
|
19413
19492
|
in: path
|
|
19414
19493
|
required: true
|
|
19415
|
-
description:
|
|
19494
|
+
description: Engine name.
|
|
19416
19495
|
schema:
|
|
19417
19496
|
type: string
|
|
19418
19497
|
- name: orgName
|
|
@@ -19459,7 +19538,7 @@ paths:
|
|
|
19459
19538
|
- name: engineName
|
|
19460
19539
|
in: path
|
|
19461
19540
|
required: true
|
|
19462
|
-
description:
|
|
19541
|
+
description: Engine name.
|
|
19463
19542
|
schema:
|
|
19464
19543
|
type: string
|
|
19465
19544
|
- name: orgName
|
|
@@ -19506,7 +19585,7 @@ paths:
|
|
|
19506
19585
|
- name: engineName
|
|
19507
19586
|
in: path
|
|
19508
19587
|
required: true
|
|
19509
|
-
description:
|
|
19588
|
+
description: Engine name.
|
|
19510
19589
|
schema:
|
|
19511
19590
|
type: string
|
|
19512
19591
|
- name: orgName
|
|
@@ -19554,7 +19633,7 @@ paths:
|
|
|
19554
19633
|
- name: engineName
|
|
19555
19634
|
in: path
|
|
19556
19635
|
required: true
|
|
19557
|
-
description:
|
|
19636
|
+
description: Engine name.
|
|
19558
19637
|
schema:
|
|
19559
19638
|
type: string
|
|
19560
19639
|
- name: orgName
|
|
@@ -39923,6 +40002,19 @@ components:
|
|
|
39923
40002
|
type: string
|
|
39924
40003
|
nullable: true
|
|
39925
40004
|
type: object
|
|
40005
|
+
backupBatchDelete:
|
|
40006
|
+
description: BackupBatchDelete is the payload for deleting multiple backups
|
|
40007
|
+
type: object
|
|
40008
|
+
required:
|
|
40009
|
+
- backupIds
|
|
40010
|
+
properties:
|
|
40011
|
+
backupIds:
|
|
40012
|
+
description: IDs of the backups to delete
|
|
40013
|
+
type: array
|
|
40014
|
+
minItems: 1
|
|
40015
|
+
maxItems: 100
|
|
40016
|
+
items:
|
|
40017
|
+
type: string
|
|
39926
40018
|
backupLogByPod:
|
|
39927
40019
|
description: info of backup workload log
|
|
39928
40020
|
properties:
|
|
@@ -45954,6 +46046,20 @@ components:
|
|
|
45954
46046
|
required:
|
|
45955
46047
|
- name
|
|
45956
46048
|
- status
|
|
46049
|
+
computeGroupMember:
|
|
46050
|
+
type: object
|
|
46051
|
+
properties:
|
|
46052
|
+
id:
|
|
46053
|
+
type: string
|
|
46054
|
+
description: Engine-native member identifier.
|
|
46055
|
+
host:
|
|
46056
|
+
type: string
|
|
46057
|
+
port:
|
|
46058
|
+
type: integer
|
|
46059
|
+
format: int64
|
|
46060
|
+
alive:
|
|
46061
|
+
type: boolean
|
|
46062
|
+
x-omitempty: false
|
|
45957
46063
|
computeGroupBackend:
|
|
45958
46064
|
type: object
|
|
45959
46065
|
properties:
|
|
@@ -46003,6 +46109,26 @@ components:
|
|
|
46003
46109
|
type: number
|
|
46004
46110
|
memory:
|
|
46005
46111
|
type: number
|
|
46112
|
+
memberCount:
|
|
46113
|
+
type: integer
|
|
46114
|
+
format: int64
|
|
46115
|
+
x-nullable: true
|
|
46116
|
+
description: Number of registered members.
|
|
46117
|
+
aliveMemberCount:
|
|
46118
|
+
type: integer
|
|
46119
|
+
format: int64
|
|
46120
|
+
x-nullable: true
|
|
46121
|
+
description: Number of members reported online by the engine.
|
|
46122
|
+
members:
|
|
46123
|
+
type: array
|
|
46124
|
+
x-omitempty: true
|
|
46125
|
+
items:
|
|
46126
|
+
$ref: '#/components/schemas/computeGroupMember'
|
|
46127
|
+
computeGroupEnabled:
|
|
46128
|
+
type: boolean
|
|
46129
|
+
default: true
|
|
46130
|
+
x-nullable: true
|
|
46131
|
+
description: Whether the component is configured as a native compute group; task completion reports convergence.
|
|
46006
46132
|
backendCount:
|
|
46007
46133
|
type: integer
|
|
46008
46134
|
format: int64
|
|
@@ -46054,6 +46180,21 @@ components:
|
|
|
46054
46180
|
minLength: 1
|
|
46055
46181
|
maxLength: 128
|
|
46056
46182
|
additionalProperties: false
|
|
46183
|
+
computeGroupEnable:
|
|
46184
|
+
type: object
|
|
46185
|
+
required:
|
|
46186
|
+
- componentName
|
|
46187
|
+
- name
|
|
46188
|
+
properties:
|
|
46189
|
+
componentName:
|
|
46190
|
+
type: string
|
|
46191
|
+
minLength: 1
|
|
46192
|
+
description: Existing compute component to enable.
|
|
46193
|
+
name:
|
|
46194
|
+
type: string
|
|
46195
|
+
pattern: ^[A-Za-z][A-Za-z0-9_]{0,63}$
|
|
46196
|
+
description: Target compute group name. An enabled component cannot be renamed.
|
|
46197
|
+
additionalProperties: false
|
|
46057
46198
|
computeGroupScale:
|
|
46058
46199
|
type: object
|
|
46059
46200
|
properties:
|
|
@@ -169,6 +169,7 @@ models/auto-inspection-run-unit.ts
|
|
|
169
169
|
models/auto-inspection.ts
|
|
170
170
|
models/autohealing-list-inner.ts
|
|
171
171
|
models/available-cluster-list-inner.ts
|
|
172
|
+
models/backup-batch-delete.ts
|
|
172
173
|
models/backup-create.ts
|
|
173
174
|
models/backup-download.ts
|
|
174
175
|
models/backup-list.ts
|
|
@@ -315,7 +316,9 @@ models/compute-group-account-list.ts
|
|
|
315
316
|
models/compute-group-account.ts
|
|
316
317
|
models/compute-group-backend.ts
|
|
317
318
|
models/compute-group-create.ts
|
|
319
|
+
models/compute-group-enable.ts
|
|
318
320
|
models/compute-group-list.ts
|
|
321
|
+
models/compute-group-member.ts
|
|
319
322
|
models/compute-group-scale.ts
|
|
320
323
|
models/compute-group.ts
|
|
321
324
|
models/config-entry.ts
|
|
@@ -26,6 +26,8 @@ import type { APIErrorResponse } from '../models';
|
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import type { Backup } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
|
+
import type { BackupBatchDelete } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
29
31
|
import type { BackupCreate } from '../models';
|
|
30
32
|
// @ts-ignore
|
|
31
33
|
import type { BackupDownload } from '../models';
|
|
@@ -59,6 +61,53 @@ import type { SelectiveObjectTreeNode } from '../models';
|
|
|
59
61
|
*/
|
|
60
62
|
export const BackupApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
61
63
|
return {
|
|
64
|
+
/**
|
|
65
|
+
* Delete multiple backups in a single request. Backups which cannot be deleted are reported in the error response and do not roll back the backups that were already deleted.
|
|
66
|
+
* @summary Batch delete backups
|
|
67
|
+
* @param {string} orgName name of the Org
|
|
68
|
+
* @param {BackupBatchDelete} body
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
batchDeleteBackups: async (orgName: string, body: BackupBatchDelete, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
74
|
+
assertParamExists('batchDeleteBackups', 'orgName', orgName)
|
|
75
|
+
// verify required parameter 'body' is not null or undefined
|
|
76
|
+
assertParamExists('batchDeleteBackups', 'body', body)
|
|
77
|
+
const localVarPath = `/api/v1/organizations/{orgName}/backups/batch-delete`
|
|
78
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
79
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
81
|
+
let baseOptions;
|
|
82
|
+
if (configuration) {
|
|
83
|
+
baseOptions = configuration.baseOptions;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
87
|
+
const localVarHeaderParameter = {} as any;
|
|
88
|
+
const localVarQueryParameter = {} as any;
|
|
89
|
+
|
|
90
|
+
// authentication BearerToken required
|
|
91
|
+
// http bearer authentication required
|
|
92
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
93
|
+
|
|
94
|
+
// authentication DigestAuth required
|
|
95
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
100
|
+
|
|
101
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
102
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
104
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
105
|
+
|
|
106
|
+
return {
|
|
107
|
+
url: toPathString(localVarUrlObj),
|
|
108
|
+
options: localVarRequestOptions,
|
|
109
|
+
};
|
|
110
|
+
},
|
|
62
111
|
/**
|
|
63
112
|
*
|
|
64
113
|
* @summary build backup object with a existing backup directory
|
|
@@ -968,6 +1017,20 @@ export const BackupApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
968
1017
|
export const BackupApiFp = function(configuration?: Configuration) {
|
|
969
1018
|
const localVarAxiosParamCreator = BackupApiAxiosParamCreator(configuration)
|
|
970
1019
|
return {
|
|
1020
|
+
/**
|
|
1021
|
+
* Delete multiple backups in a single request. Backups which cannot be deleted are reported in the error response and do not roll back the backups that were already deleted.
|
|
1022
|
+
* @summary Batch delete backups
|
|
1023
|
+
* @param {string} orgName name of the Org
|
|
1024
|
+
* @param {BackupBatchDelete} body
|
|
1025
|
+
* @param {*} [options] Override http request option.
|
|
1026
|
+
* @throws {RequiredError}
|
|
1027
|
+
*/
|
|
1028
|
+
async batchDeleteBackups(orgName: string, body: BackupBatchDelete, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.batchDeleteBackups(orgName, body, options);
|
|
1030
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1031
|
+
const localVarOperationServerBasePath = operationServerMap['BackupApi.batchDeleteBackups']?.[localVarOperationServerIndex]?.url;
|
|
1032
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1033
|
+
},
|
|
971
1034
|
/**
|
|
972
1035
|
*
|
|
973
1036
|
* @summary build backup object with a existing backup directory
|
|
@@ -1242,6 +1305,16 @@ export const BackupApiFp = function(configuration?: Configuration) {
|
|
|
1242
1305
|
export const BackupApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1243
1306
|
const localVarFp = BackupApiFp(configuration)
|
|
1244
1307
|
return {
|
|
1308
|
+
/**
|
|
1309
|
+
* Delete multiple backups in a single request. Backups which cannot be deleted are reported in the error response and do not roll back the backups that were already deleted.
|
|
1310
|
+
* @summary Batch delete backups
|
|
1311
|
+
* @param {BackupApiBatchDeleteBackupsRequest} requestParameters Request parameters.
|
|
1312
|
+
* @param {*} [options] Override http request option.
|
|
1313
|
+
* @throws {RequiredError}
|
|
1314
|
+
*/
|
|
1315
|
+
batchDeleteBackups(requestParameters: BackupApiBatchDeleteBackupsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1316
|
+
return localVarFp.batchDeleteBackups(requestParameters.orgName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1317
|
+
},
|
|
1245
1318
|
/**
|
|
1246
1319
|
*
|
|
1247
1320
|
* @summary build backup object with a existing backup directory
|
|
@@ -1421,6 +1494,16 @@ export const BackupApiFactory = function (configuration?: Configuration, basePat
|
|
|
1421
1494
|
* @interface BackupApi
|
|
1422
1495
|
*/
|
|
1423
1496
|
export interface BackupApiInterface {
|
|
1497
|
+
/**
|
|
1498
|
+
* Delete multiple backups in a single request. Backups which cannot be deleted are reported in the error response and do not roll back the backups that were already deleted.
|
|
1499
|
+
* @summary Batch delete backups
|
|
1500
|
+
* @param {BackupApiBatchDeleteBackupsRequest} requestParameters Request parameters.
|
|
1501
|
+
* @param {*} [options] Override http request option.
|
|
1502
|
+
* @throws {RequiredError}
|
|
1503
|
+
* @memberof BackupApiInterface
|
|
1504
|
+
*/
|
|
1505
|
+
batchDeleteBackups(requestParameters: BackupApiBatchDeleteBackupsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1506
|
+
|
|
1424
1507
|
/**
|
|
1425
1508
|
*
|
|
1426
1509
|
* @summary build backup object with a existing backup directory
|
|
@@ -1593,6 +1676,27 @@ export interface BackupApiInterface {
|
|
|
1593
1676
|
|
|
1594
1677
|
}
|
|
1595
1678
|
|
|
1679
|
+
/**
|
|
1680
|
+
* Request parameters for batchDeleteBackups operation in BackupApi.
|
|
1681
|
+
* @export
|
|
1682
|
+
* @interface BackupApiBatchDeleteBackupsRequest
|
|
1683
|
+
*/
|
|
1684
|
+
export interface BackupApiBatchDeleteBackupsRequest {
|
|
1685
|
+
/**
|
|
1686
|
+
* name of the Org
|
|
1687
|
+
* @type {string}
|
|
1688
|
+
* @memberof BackupApiBatchDeleteBackups
|
|
1689
|
+
*/
|
|
1690
|
+
readonly orgName: string
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
*
|
|
1694
|
+
* @type {BackupBatchDelete}
|
|
1695
|
+
* @memberof BackupApiBatchDeleteBackups
|
|
1696
|
+
*/
|
|
1697
|
+
readonly body: BackupBatchDelete
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1596
1700
|
/**
|
|
1597
1701
|
* Request parameters for buildBackupObj operation in BackupApi.
|
|
1598
1702
|
* @export
|
|
@@ -2139,6 +2243,18 @@ export interface BackupApiViewBackupRequest {
|
|
|
2139
2243
|
* @extends {BaseAPI}
|
|
2140
2244
|
*/
|
|
2141
2245
|
export class BackupApi extends BaseAPI implements BackupApiInterface {
|
|
2246
|
+
/**
|
|
2247
|
+
* Delete multiple backups in a single request. Backups which cannot be deleted are reported in the error response and do not roll back the backups that were already deleted.
|
|
2248
|
+
* @summary Batch delete backups
|
|
2249
|
+
* @param {BackupApiBatchDeleteBackupsRequest} requestParameters Request parameters.
|
|
2250
|
+
* @param {*} [options] Override http request option.
|
|
2251
|
+
* @throws {RequiredError}
|
|
2252
|
+
* @memberof BackupApi
|
|
2253
|
+
*/
|
|
2254
|
+
public batchDeleteBackups(requestParameters: BackupApiBatchDeleteBackupsRequest, options?: RawAxiosRequestConfig) {
|
|
2255
|
+
return BackupApiFp(this.configuration).batchDeleteBackups(requestParameters.orgName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2142
2258
|
/**
|
|
2143
2259
|
*
|
|
2144
2260
|
* @summary build backup object with a existing backup directory
|