@homeflare/distilled-proxmox-backup 0.2.0
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/LICENSE +201 -0
- package/README.md +102 -0
- package/dist/credentials.d.ts +50 -0
- package/dist/credentials.d.ts.map +1 -0
- package/dist/credentials.js +105 -0
- package/dist/credentials.js.map +1 -0
- package/dist/errors.d.ts +100 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +73 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +19 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +158 -0
- package/dist/protocol.js.map +1 -0
- package/dist/protocol.test.d.ts +2 -0
- package/dist/protocol.test.d.ts.map +1 -0
- package/dist/protocol.test.js +75 -0
- package/dist/protocol.test.js.map +1 -0
- package/dist/retry.d.ts +53 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +46 -0
- package/dist/retry.js.map +1 -0
- package/dist/services/access.d.ts +587 -0
- package/dist/services/access.d.ts.map +1 -0
- package/dist/services/access.js +787 -0
- package/dist/services/access.js.map +1 -0
- package/dist/services/admin.d.ts +1110 -0
- package/dist/services/admin.d.ts.map +1 -0
- package/dist/services/admin.js +1428 -0
- package/dist/services/admin.js.map +1 -0
- package/dist/services/backup.d.ts +224 -0
- package/dist/services/backup.d.ts.map +1 -0
- package/dist/services/backup.js +325 -0
- package/dist/services/backup.js.map +1 -0
- package/dist/services/config.d.ts +3662 -0
- package/dist/services/config.d.ts.map +1 -0
- package/dist/services/config.js +4445 -0
- package/dist/services/config.js.map +1 -0
- package/dist/services/index.d.ts +14 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +15 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/nodes.d.ts +1441 -0
- package/dist/services/nodes.d.ts.map +1 -0
- package/dist/services/nodes.js +1829 -0
- package/dist/services/nodes.js.map +1 -0
- package/dist/services/ping.d.ts +15 -0
- package/dist/services/ping.d.ts.map +1 -0
- package/dist/services/ping.js +21 -0
- package/dist/services/ping.js.map +1 -0
- package/dist/services/pull.d.ts +54 -0
- package/dist/services/pull.d.ts.map +1 -0
- package/dist/services/pull.js +47 -0
- package/dist/services/pull.js.map +1 -0
- package/dist/services/push.d.ts +50 -0
- package/dist/services/push.d.ts.map +1 -0
- package/dist/services/push.js +45 -0
- package/dist/services/push.js.map +1 -0
- package/dist/services/reader.d.ts +68 -0
- package/dist/services/reader.d.ts.map +1 -0
- package/dist/services/reader.js +89 -0
- package/dist/services/reader.js.map +1 -0
- package/dist/services/root.d.ts +14 -0
- package/dist/services/root.d.ts.map +1 -0
- package/dist/services/root.js +19 -0
- package/dist/services/root.js.map +1 -0
- package/dist/services/status.d.ts +78 -0
- package/dist/services/status.d.ts.map +1 -0
- package/dist/services/status.js +97 -0
- package/dist/services/status.js.map +1 -0
- package/dist/services/tape.d.ts +711 -0
- package/dist/services/tape.d.ts.map +1 -0
- package/dist/services/tape.js +986 -0
- package/dist/services/tape.js.map +1 -0
- package/dist/services/version.d.ts +17 -0
- package/dist/services/version.d.ts.map +1 -0
- package/dist/services/version.js +25 -0
- package/dist/services/version.js.map +1 -0
- package/dist/task.d.ts +48 -0
- package/dist/task.d.ts.map +1 -0
- package/dist/task.js +57 -0
- package/dist/task.js.map +1 -0
- package/dist/traits.d.ts +13 -0
- package/dist/traits.d.ts.map +1 -0
- package/dist/traits.js +15 -0
- package/dist/traits.js.map +1 -0
- package/package.json +81 -0
- package/src/credentials.ts +139 -0
- package/src/errors.ts +126 -0
- package/src/index.ts +36 -0
- package/src/protocol.test.ts +128 -0
- package/src/protocol.ts +196 -0
- package/src/retry.ts +79 -0
- package/src/services/access.ts +1787 -0
- package/src/services/admin.ts +3258 -0
- package/src/services/backup.ts +698 -0
- package/src/services/config.ts +10561 -0
- package/src/services/index.ts +14 -0
- package/src/services/nodes.ts +4313 -0
- package/src/services/ping.ts +43 -0
- package/src/services/pull.ts +118 -0
- package/src/services/push.ts +108 -0
- package/src/services/reader.ts +196 -0
- package/src/services/root.ts +39 -0
- package/src/services/status.ts +233 -0
- package/src/services/tape.ts +2257 -0
- package/src/services/version.ts +49 -0
- package/src/task.ts +84 -0
- package/src/traits.ts +46 -0
|
@@ -0,0 +1,1110 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as API from "@distilled.cloud/core/api";
|
|
3
|
+
import { type ProxmoxBackupOpError, type ProxmoxBackupOpContext } from "../protocol.ts";
|
|
4
|
+
export type { ProxmoxBackupOpError, ProxmoxBackupOpContext };
|
|
5
|
+
export type CreateAdminDatastoreChangeOwnerRequestBackupType = "vm" | "ct" | "host";
|
|
6
|
+
export declare const CreateAdminDatastoreChangeOwnerRequestBackupType: any;
|
|
7
|
+
export interface CreateAdminDatastoreChangeOwnerRequest {
|
|
8
|
+
store: string;
|
|
9
|
+
/** Backup ID. */
|
|
10
|
+
backup_id: string;
|
|
11
|
+
/** Backup types. */
|
|
12
|
+
backup_type: CreateAdminDatastoreChangeOwnerRequestBackupType | (string & {});
|
|
13
|
+
/** Authentication ID */
|
|
14
|
+
new_owner: string;
|
|
15
|
+
/** Namespace. */
|
|
16
|
+
ns?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const CreateAdminDatastoreChangeOwnerRequest: S.Schema<CreateAdminDatastoreChangeOwnerRequest>;
|
|
19
|
+
export interface CreateAdminDatastoreChangeOwnerResponse {
|
|
20
|
+
}
|
|
21
|
+
export declare const CreateAdminDatastoreChangeOwnerResponse: S.Schema<CreateAdminDatastoreChangeOwnerResponse>;
|
|
22
|
+
export interface CreateAdminDatastoreGcRequest {
|
|
23
|
+
store: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const CreateAdminDatastoreGcRequest: S.Schema<CreateAdminDatastoreGcRequest>;
|
|
26
|
+
export type CreateAdminDatastoreGcResponse = string;
|
|
27
|
+
export declare const CreateAdminDatastoreGcResponse: S.Schema<CreateAdminDatastoreGcResponse>;
|
|
28
|
+
export interface CreateAdminDatastoreMountRequest {
|
|
29
|
+
store: string;
|
|
30
|
+
}
|
|
31
|
+
export declare const CreateAdminDatastoreMountRequest: S.Schema<CreateAdminDatastoreMountRequest>;
|
|
32
|
+
export type CreateAdminDatastoreMountResponse = string;
|
|
33
|
+
export declare const CreateAdminDatastoreMountResponse: S.Schema<CreateAdminDatastoreMountResponse>;
|
|
34
|
+
export interface CreateAdminDatastoreNamespaceRequest {
|
|
35
|
+
store: string;
|
|
36
|
+
/** The name of the new namespace to add at the parent. */
|
|
37
|
+
name: string;
|
|
38
|
+
/** Namespace. */
|
|
39
|
+
parent?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare const CreateAdminDatastoreNamespaceRequest: S.Schema<CreateAdminDatastoreNamespaceRequest>;
|
|
42
|
+
export type CreateAdminDatastoreNamespaceResponse = string;
|
|
43
|
+
export declare const CreateAdminDatastoreNamespaceResponse: S.Schema<CreateAdminDatastoreNamespaceResponse>;
|
|
44
|
+
export type CreateAdminDatastorePruneRequestBackupType = "vm" | "ct" | "host";
|
|
45
|
+
export declare const CreateAdminDatastorePruneRequestBackupType: any;
|
|
46
|
+
export interface CreateAdminDatastorePruneRequest {
|
|
47
|
+
store: string;
|
|
48
|
+
/** Backup ID. */
|
|
49
|
+
backup_id: string;
|
|
50
|
+
/** Backup types. */
|
|
51
|
+
backup_type: CreateAdminDatastorePruneRequestBackupType | (string & {});
|
|
52
|
+
/** Just show what prune would do, but do not delete anything. */
|
|
53
|
+
dry_run?: string;
|
|
54
|
+
/** Number of daily backups to keep. */
|
|
55
|
+
keep_daily?: string;
|
|
56
|
+
/** Number of hourly backups to keep. */
|
|
57
|
+
keep_hourly?: string;
|
|
58
|
+
/** Number of backups to keep. */
|
|
59
|
+
keep_last?: string;
|
|
60
|
+
/** Number of monthly backups to keep. */
|
|
61
|
+
keep_monthly?: string;
|
|
62
|
+
/** Number of weekly backups to keep. */
|
|
63
|
+
keep_weekly?: string;
|
|
64
|
+
/** Number of yearly backups to keep. */
|
|
65
|
+
keep_yearly?: string;
|
|
66
|
+
/** Namespace. */
|
|
67
|
+
ns?: string;
|
|
68
|
+
/** Spins up an asynchronous task that does the work. */
|
|
69
|
+
use_task?: string;
|
|
70
|
+
}
|
|
71
|
+
export declare const CreateAdminDatastorePruneRequest: S.Schema<CreateAdminDatastorePruneRequest>;
|
|
72
|
+
export type CreateAdminDatastorePruneResponseBodyItemBackupType = "vm" | "ct" | "host";
|
|
73
|
+
export declare const CreateAdminDatastorePruneResponseBodyItemBackupType: any;
|
|
74
|
+
export interface CreateAdminDatastorePruneResponseBodyItem {
|
|
75
|
+
backup_id?: string;
|
|
76
|
+
backup_time?: number;
|
|
77
|
+
backup_type?: CreateAdminDatastorePruneResponseBodyItemBackupType;
|
|
78
|
+
keep: unknown;
|
|
79
|
+
}
|
|
80
|
+
export declare const CreateAdminDatastorePruneResponseBodyItem: S.Schema<CreateAdminDatastorePruneResponseBodyItem>;
|
|
81
|
+
export type CreateAdminDatastorePruneResponseBodyList = Array<CreateAdminDatastorePruneResponseBodyItem>;
|
|
82
|
+
export declare const CreateAdminDatastorePruneResponseBodyList: S.Schema<CreateAdminDatastorePruneResponseBodyList>;
|
|
83
|
+
export type CreateAdminDatastorePruneResponse = CreateAdminDatastorePruneResponseBodyList;
|
|
84
|
+
export declare const CreateAdminDatastorePruneResponse: S.Schema<CreateAdminDatastorePruneResponse>;
|
|
85
|
+
export interface CreateAdminDatastorePruneDatastoreRequest {
|
|
86
|
+
store: string;
|
|
87
|
+
/** Just show what prune would do, but do not delete anything. */
|
|
88
|
+
dry_run?: string;
|
|
89
|
+
/** Number of daily backups to keep. */
|
|
90
|
+
keep_daily?: string;
|
|
91
|
+
/** Number of hourly backups to keep. */
|
|
92
|
+
keep_hourly?: string;
|
|
93
|
+
/** Number of backups to keep. */
|
|
94
|
+
keep_last?: string;
|
|
95
|
+
/** Number of monthly backups to keep. */
|
|
96
|
+
keep_monthly?: string;
|
|
97
|
+
/** Number of weekly backups to keep. */
|
|
98
|
+
keep_weekly?: string;
|
|
99
|
+
/** Number of yearly backups to keep. */
|
|
100
|
+
keep_yearly?: string;
|
|
101
|
+
/** How many levels of namespaces should be operated on (0 == no recursion, empty == automatic full recursion, namespace depths reduce maximum allowed value) */
|
|
102
|
+
max_depth?: string;
|
|
103
|
+
/** Namespace. */
|
|
104
|
+
ns?: string;
|
|
105
|
+
}
|
|
106
|
+
export declare const CreateAdminDatastorePruneDatastoreRequest: S.Schema<CreateAdminDatastorePruneDatastoreRequest>;
|
|
107
|
+
export type CreateAdminDatastorePruneDatastoreResponse = string;
|
|
108
|
+
export declare const CreateAdminDatastorePruneDatastoreResponse: S.Schema<CreateAdminDatastorePruneDatastoreResponse>;
|
|
109
|
+
export interface CreateAdminDatastoreUnmountRequest {
|
|
110
|
+
store: string;
|
|
111
|
+
}
|
|
112
|
+
export declare const CreateAdminDatastoreUnmountRequest: S.Schema<CreateAdminDatastoreUnmountRequest>;
|
|
113
|
+
export type CreateAdminDatastoreUnmountResponse = string;
|
|
114
|
+
export declare const CreateAdminDatastoreUnmountResponse: S.Schema<CreateAdminDatastoreUnmountResponse>;
|
|
115
|
+
export type DeleteAdminDatastoreGroupsRequestBackupType = "vm" | "ct" | "host";
|
|
116
|
+
export declare const DeleteAdminDatastoreGroupsRequestBackupType: any;
|
|
117
|
+
export interface DeleteAdminDatastoreGroupsRequest {
|
|
118
|
+
store: string;
|
|
119
|
+
/** Backup ID. */
|
|
120
|
+
backup_id: string;
|
|
121
|
+
/** Backup types. */
|
|
122
|
+
backup_type: DeleteAdminDatastoreGroupsRequestBackupType | (string & {});
|
|
123
|
+
/** Return error when group cannot be deleted because of protected snapshots */
|
|
124
|
+
error_on_protected?: string;
|
|
125
|
+
/** Namespace. */
|
|
126
|
+
ns?: string;
|
|
127
|
+
}
|
|
128
|
+
export declare const DeleteAdminDatastoreGroupsRequest: S.Schema<DeleteAdminDatastoreGroupsRequest>;
|
|
129
|
+
export interface DeleteAdminDatastoreGroupsResponse {
|
|
130
|
+
protected_snapshots?: number;
|
|
131
|
+
removed_groups?: number;
|
|
132
|
+
removed_snapshots?: number;
|
|
133
|
+
}
|
|
134
|
+
export declare const DeleteAdminDatastoreGroupsResponse: S.Schema<DeleteAdminDatastoreGroupsResponse>;
|
|
135
|
+
export interface DeleteAdminDatastoreNamespaceRequest {
|
|
136
|
+
store: string;
|
|
137
|
+
/** If set, all groups will be destroyed in the whole hierarchy below andincluding `ns`. If not set, only empty namespaces will be pruned. */
|
|
138
|
+
delete_groups?: string;
|
|
139
|
+
/** Return error when namespace cannot be deleted because of protected snapshots */
|
|
140
|
+
error_on_protected?: string;
|
|
141
|
+
/** Namespace. */
|
|
142
|
+
ns: string;
|
|
143
|
+
}
|
|
144
|
+
export declare const DeleteAdminDatastoreNamespaceRequest: S.Schema<DeleteAdminDatastoreNamespaceRequest>;
|
|
145
|
+
export interface DeleteAdminDatastoreNamespaceResponse {
|
|
146
|
+
}
|
|
147
|
+
export declare const DeleteAdminDatastoreNamespaceResponse: S.Schema<DeleteAdminDatastoreNamespaceResponse>;
|
|
148
|
+
export type DeleteAdminDatastoreSnapshotsRequestBackupType = "vm" | "ct" | "host";
|
|
149
|
+
export declare const DeleteAdminDatastoreSnapshotsRequestBackupType: any;
|
|
150
|
+
export interface DeleteAdminDatastoreSnapshotsRequest {
|
|
151
|
+
store: string;
|
|
152
|
+
/** Backup ID. */
|
|
153
|
+
backup_id: string;
|
|
154
|
+
/** Backup time (Unix epoch.) */
|
|
155
|
+
backup_time: string;
|
|
156
|
+
/** Backup types. */
|
|
157
|
+
backup_type: DeleteAdminDatastoreSnapshotsRequestBackupType | (string & {});
|
|
158
|
+
/** Namespace. */
|
|
159
|
+
ns?: string;
|
|
160
|
+
}
|
|
161
|
+
export declare const DeleteAdminDatastoreSnapshotsRequest: S.Schema<DeleteAdminDatastoreSnapshotsRequest>;
|
|
162
|
+
export interface DeleteAdminDatastoreSnapshotsResponse {
|
|
163
|
+
}
|
|
164
|
+
export declare const DeleteAdminDatastoreSnapshotsResponse: S.Schema<DeleteAdminDatastoreSnapshotsResponse>;
|
|
165
|
+
export interface GetAdminRequest {
|
|
166
|
+
}
|
|
167
|
+
export declare const GetAdminRequest: S.Schema<GetAdminRequest>;
|
|
168
|
+
export interface GetAdminResponse {
|
|
169
|
+
}
|
|
170
|
+
export declare const GetAdminResponse: S.Schema<GetAdminResponse>;
|
|
171
|
+
export interface GetAdminDatastoreRequest {
|
|
172
|
+
store: string;
|
|
173
|
+
}
|
|
174
|
+
export declare const GetAdminDatastoreRequest: S.Schema<GetAdminDatastoreRequest>;
|
|
175
|
+
export interface GetAdminDatastoreResponse {
|
|
176
|
+
}
|
|
177
|
+
export declare const GetAdminDatastoreResponse: S.Schema<GetAdminDatastoreResponse>;
|
|
178
|
+
export interface GetAdminDatastoreActiveOperationsRequest {
|
|
179
|
+
store: string;
|
|
180
|
+
}
|
|
181
|
+
export declare const GetAdminDatastoreActiveOperationsRequest: S.Schema<GetAdminDatastoreActiveOperationsRequest>;
|
|
182
|
+
export interface GetAdminDatastoreActiveOperationsResponse {
|
|
183
|
+
}
|
|
184
|
+
export declare const GetAdminDatastoreActiveOperationsResponse: S.Schema<GetAdminDatastoreActiveOperationsResponse>;
|
|
185
|
+
export type GetAdminDatastoreCatalogRequestBackupType = "vm" | "ct" | "host";
|
|
186
|
+
export declare const GetAdminDatastoreCatalogRequestBackupType: any;
|
|
187
|
+
export interface GetAdminDatastoreCatalogRequest {
|
|
188
|
+
store: string;
|
|
189
|
+
/** Backup archive name. */
|
|
190
|
+
archive_name?: string;
|
|
191
|
+
/** Backup ID. */
|
|
192
|
+
backup_id: string;
|
|
193
|
+
/** Backup time (Unix epoch.) */
|
|
194
|
+
backup_time: string;
|
|
195
|
+
/** Backup types. */
|
|
196
|
+
backup_type: GetAdminDatastoreCatalogRequestBackupType | (string & {});
|
|
197
|
+
/** Base64 encoded path. */
|
|
198
|
+
filepath: string;
|
|
199
|
+
/** Namespace. */
|
|
200
|
+
ns?: string;
|
|
201
|
+
}
|
|
202
|
+
export declare const GetAdminDatastoreCatalogRequest: S.Schema<GetAdminDatastoreCatalogRequest>;
|
|
203
|
+
export interface GetAdminDatastoreCatalogResponse {
|
|
204
|
+
}
|
|
205
|
+
export declare const GetAdminDatastoreCatalogResponse: S.Schema<GetAdminDatastoreCatalogResponse>;
|
|
206
|
+
export type GetAdminDatastoreDownloadRequestBackupType = "vm" | "ct" | "host";
|
|
207
|
+
export declare const GetAdminDatastoreDownloadRequestBackupType: any;
|
|
208
|
+
export interface GetAdminDatastoreDownloadRequest {
|
|
209
|
+
store: string;
|
|
210
|
+
/** Backup ID. */
|
|
211
|
+
backup_id: string;
|
|
212
|
+
/** Backup time (Unix epoch.) */
|
|
213
|
+
backup_time: string;
|
|
214
|
+
/** Backup type. */
|
|
215
|
+
backup_type: GetAdminDatastoreDownloadRequestBackupType | (string & {});
|
|
216
|
+
/** Backup archive name. */
|
|
217
|
+
file_name: string;
|
|
218
|
+
/** Namespace. */
|
|
219
|
+
ns?: string;
|
|
220
|
+
}
|
|
221
|
+
export declare const GetAdminDatastoreDownloadRequest: S.Schema<GetAdminDatastoreDownloadRequest>;
|
|
222
|
+
export interface GetAdminDatastoreDownloadResponse {
|
|
223
|
+
}
|
|
224
|
+
export declare const GetAdminDatastoreDownloadResponse: S.Schema<GetAdminDatastoreDownloadResponse>;
|
|
225
|
+
export type GetAdminDatastoreDownloadDecodedRequestBackupType = "vm" | "ct" | "host";
|
|
226
|
+
export declare const GetAdminDatastoreDownloadDecodedRequestBackupType: any;
|
|
227
|
+
export interface GetAdminDatastoreDownloadDecodedRequest {
|
|
228
|
+
store: string;
|
|
229
|
+
/** Backup ID. */
|
|
230
|
+
backup_id: string;
|
|
231
|
+
/** Backup time (Unix epoch.) */
|
|
232
|
+
backup_time: string;
|
|
233
|
+
/** Backup type. */
|
|
234
|
+
backup_type: GetAdminDatastoreDownloadDecodedRequestBackupType | (string & {});
|
|
235
|
+
/** Backup archive name. */
|
|
236
|
+
file_name: string;
|
|
237
|
+
/** Namespace. */
|
|
238
|
+
ns?: string;
|
|
239
|
+
}
|
|
240
|
+
export declare const GetAdminDatastoreDownloadDecodedRequest: S.Schema<GetAdminDatastoreDownloadDecodedRequest>;
|
|
241
|
+
export interface GetAdminDatastoreDownloadDecodedResponse {
|
|
242
|
+
}
|
|
243
|
+
export declare const GetAdminDatastoreDownloadDecodedResponse: S.Schema<GetAdminDatastoreDownloadDecodedResponse>;
|
|
244
|
+
export interface GetAdminDatastoreGcRequest {
|
|
245
|
+
store: string;
|
|
246
|
+
}
|
|
247
|
+
export declare const GetAdminDatastoreGcRequest: S.Schema<GetAdminDatastoreGcRequest>;
|
|
248
|
+
export interface GetAdminDatastoreGcResponseCacheStats {
|
|
249
|
+
hits: number;
|
|
250
|
+
misses: number;
|
|
251
|
+
}
|
|
252
|
+
export declare const GetAdminDatastoreGcResponseCacheStats: S.Schema<GetAdminDatastoreGcResponseCacheStats>;
|
|
253
|
+
export interface GetAdminDatastoreGcResponse {
|
|
254
|
+
cache_stats?: GetAdminDatastoreGcResponseCacheStats;
|
|
255
|
+
disk_bytes?: number;
|
|
256
|
+
disk_chunks?: number;
|
|
257
|
+
duration?: number;
|
|
258
|
+
index_data_bytes?: number;
|
|
259
|
+
index_file_count?: number;
|
|
260
|
+
last_run_endtime?: number;
|
|
261
|
+
last_run_state?: string;
|
|
262
|
+
next_run?: number;
|
|
263
|
+
pending_bytes?: number;
|
|
264
|
+
pending_chunks?: number;
|
|
265
|
+
removed_bad?: number;
|
|
266
|
+
removed_bytes?: number;
|
|
267
|
+
removed_chunks?: number;
|
|
268
|
+
schedule?: string;
|
|
269
|
+
still_bad?: number;
|
|
270
|
+
store: string;
|
|
271
|
+
upid?: string;
|
|
272
|
+
}
|
|
273
|
+
export declare const GetAdminDatastoreGcResponse: S.Schema<GetAdminDatastoreGcResponse>;
|
|
274
|
+
export type GetAdminDatastoreGroupNotesRequestBackupType = "vm" | "ct" | "host";
|
|
275
|
+
export declare const GetAdminDatastoreGroupNotesRequestBackupType: any;
|
|
276
|
+
export interface GetAdminDatastoreGroupNotesRequest {
|
|
277
|
+
store: string;
|
|
278
|
+
/** Backup ID. */
|
|
279
|
+
backup_id: string;
|
|
280
|
+
/** Backup types. */
|
|
281
|
+
backup_type: GetAdminDatastoreGroupNotesRequestBackupType | (string & {});
|
|
282
|
+
/** Namespace. */
|
|
283
|
+
ns?: string;
|
|
284
|
+
}
|
|
285
|
+
export declare const GetAdminDatastoreGroupNotesRequest: S.Schema<GetAdminDatastoreGroupNotesRequest>;
|
|
286
|
+
export interface GetAdminDatastoreGroupNotesResponse {
|
|
287
|
+
}
|
|
288
|
+
export declare const GetAdminDatastoreGroupNotesResponse: S.Schema<GetAdminDatastoreGroupNotesResponse>;
|
|
289
|
+
export type GetAdminDatastoreNotesRequestBackupType = "vm" | "ct" | "host";
|
|
290
|
+
export declare const GetAdminDatastoreNotesRequestBackupType: any;
|
|
291
|
+
export interface GetAdminDatastoreNotesRequest {
|
|
292
|
+
store: string;
|
|
293
|
+
/** Backup ID. */
|
|
294
|
+
backup_id: string;
|
|
295
|
+
/** Backup time (Unix epoch.) */
|
|
296
|
+
backup_time: string;
|
|
297
|
+
/** Backup types. */
|
|
298
|
+
backup_type: GetAdminDatastoreNotesRequestBackupType | (string & {});
|
|
299
|
+
/** Namespace. */
|
|
300
|
+
ns?: string;
|
|
301
|
+
}
|
|
302
|
+
export declare const GetAdminDatastoreNotesRequest: S.Schema<GetAdminDatastoreNotesRequest>;
|
|
303
|
+
export interface GetAdminDatastoreNotesResponse {
|
|
304
|
+
}
|
|
305
|
+
export declare const GetAdminDatastoreNotesResponse: S.Schema<GetAdminDatastoreNotesResponse>;
|
|
306
|
+
export type GetAdminDatastoreProtectedRequestBackupType = "vm" | "ct" | "host";
|
|
307
|
+
export declare const GetAdminDatastoreProtectedRequestBackupType: any;
|
|
308
|
+
export interface GetAdminDatastoreProtectedRequest {
|
|
309
|
+
store: string;
|
|
310
|
+
/** Backup ID. */
|
|
311
|
+
backup_id: string;
|
|
312
|
+
/** Backup time (Unix epoch.) */
|
|
313
|
+
backup_time: string;
|
|
314
|
+
/** Backup types. */
|
|
315
|
+
backup_type: GetAdminDatastoreProtectedRequestBackupType | (string & {});
|
|
316
|
+
/** Namespace. */
|
|
317
|
+
ns?: string;
|
|
318
|
+
}
|
|
319
|
+
export declare const GetAdminDatastoreProtectedRequest: S.Schema<GetAdminDatastoreProtectedRequest>;
|
|
320
|
+
export interface GetAdminDatastoreProtectedResponse {
|
|
321
|
+
}
|
|
322
|
+
export declare const GetAdminDatastoreProtectedResponse: S.Schema<GetAdminDatastoreProtectedResponse>;
|
|
323
|
+
export type GetAdminDatastorePxarFileDownloadRequestBackupType = "vm" | "ct" | "host";
|
|
324
|
+
export declare const GetAdminDatastorePxarFileDownloadRequestBackupType: any;
|
|
325
|
+
export interface GetAdminDatastorePxarFileDownloadRequest {
|
|
326
|
+
store: string;
|
|
327
|
+
/** Backup archive name. */
|
|
328
|
+
archive_name?: string;
|
|
329
|
+
/** Backup ID. */
|
|
330
|
+
backup_id: string;
|
|
331
|
+
/** Backup time (Unix epoch.) */
|
|
332
|
+
backup_time: string;
|
|
333
|
+
/** Backup type. */
|
|
334
|
+
backup_type: GetAdminDatastorePxarFileDownloadRequestBackupType | (string & {});
|
|
335
|
+
/** Base64 encoded path */
|
|
336
|
+
filepath: string;
|
|
337
|
+
/** Namespace. */
|
|
338
|
+
ns?: string;
|
|
339
|
+
/** Download as .tar.zst */
|
|
340
|
+
tar?: string;
|
|
341
|
+
}
|
|
342
|
+
export declare const GetAdminDatastorePxarFileDownloadRequest: S.Schema<GetAdminDatastorePxarFileDownloadRequest>;
|
|
343
|
+
export interface GetAdminDatastorePxarFileDownloadResponse {
|
|
344
|
+
}
|
|
345
|
+
export declare const GetAdminDatastorePxarFileDownloadResponse: S.Schema<GetAdminDatastorePxarFileDownloadResponse>;
|
|
346
|
+
export type GetAdminDatastoreRrdRequestCf = "MAX" | "AVERAGE";
|
|
347
|
+
export declare const GetAdminDatastoreRrdRequestCf: any;
|
|
348
|
+
export type GetAdminDatastoreRrdRequestTimeframe = "hour" | "day" | "week" | "month" | "year" | "decade";
|
|
349
|
+
export declare const GetAdminDatastoreRrdRequestTimeframe: any;
|
|
350
|
+
export interface GetAdminDatastoreRrdRequest {
|
|
351
|
+
store: string;
|
|
352
|
+
/** RRD consolidation mode */
|
|
353
|
+
cf: GetAdminDatastoreRrdRequestCf | (string & {});
|
|
354
|
+
/** RRD time frame */
|
|
355
|
+
timeframe: GetAdminDatastoreRrdRequestTimeframe | (string & {});
|
|
356
|
+
}
|
|
357
|
+
export declare const GetAdminDatastoreRrdRequest: S.Schema<GetAdminDatastoreRrdRequest>;
|
|
358
|
+
export interface GetAdminDatastoreRrdResponse {
|
|
359
|
+
}
|
|
360
|
+
export declare const GetAdminDatastoreRrdResponse: S.Schema<GetAdminDatastoreRrdResponse>;
|
|
361
|
+
export interface GetAdminDatastoreStatusRequest {
|
|
362
|
+
store: string;
|
|
363
|
+
/** Include additional information like snapshot counts and GC status. */
|
|
364
|
+
verbose?: string;
|
|
365
|
+
}
|
|
366
|
+
export declare const GetAdminDatastoreStatusRequest: S.Schema<GetAdminDatastoreStatusRequest>;
|
|
367
|
+
export type GetAdminDatastoreStatusResponseBackendType = "filesystem" | "s3";
|
|
368
|
+
export declare const GetAdminDatastoreStatusResponseBackendType: any;
|
|
369
|
+
export interface GetAdminDatastoreStatusResponseCountsCt {
|
|
370
|
+
groups: number;
|
|
371
|
+
snapshots: number;
|
|
372
|
+
}
|
|
373
|
+
export declare const GetAdminDatastoreStatusResponseCountsCt: S.Schema<GetAdminDatastoreStatusResponseCountsCt>;
|
|
374
|
+
export type GetAdminDatastoreStatusResponseCountsHost = GetAdminDatastoreStatusResponseCountsCt;
|
|
375
|
+
export declare const GetAdminDatastoreStatusResponseCountsHost: S.Schema<GetAdminDatastoreStatusResponseCountsCt>;
|
|
376
|
+
export type GetAdminDatastoreStatusResponseCountsOther = GetAdminDatastoreStatusResponseCountsCt;
|
|
377
|
+
export declare const GetAdminDatastoreStatusResponseCountsOther: S.Schema<GetAdminDatastoreStatusResponseCountsCt>;
|
|
378
|
+
export type GetAdminDatastoreStatusResponseCountsVm = GetAdminDatastoreStatusResponseCountsCt;
|
|
379
|
+
export declare const GetAdminDatastoreStatusResponseCountsVm: S.Schema<GetAdminDatastoreStatusResponseCountsCt>;
|
|
380
|
+
export interface GetAdminDatastoreStatusResponseCounts {
|
|
381
|
+
ct?: GetAdminDatastoreStatusResponseCountsCt;
|
|
382
|
+
host?: GetAdminDatastoreStatusResponseCountsCt;
|
|
383
|
+
other?: GetAdminDatastoreStatusResponseCountsCt;
|
|
384
|
+
vm?: GetAdminDatastoreStatusResponseCountsCt;
|
|
385
|
+
}
|
|
386
|
+
export declare const GetAdminDatastoreStatusResponseCounts: S.Schema<GetAdminDatastoreStatusResponseCounts>;
|
|
387
|
+
export type GetAdminDatastoreStatusResponseGcStatusCacheStats = GetAdminDatastoreGcResponseCacheStats;
|
|
388
|
+
export declare const GetAdminDatastoreStatusResponseGcStatusCacheStats: S.Schema<GetAdminDatastoreGcResponseCacheStats>;
|
|
389
|
+
export interface GetAdminDatastoreStatusResponseGcStatus {
|
|
390
|
+
cache_stats?: GetAdminDatastoreGcResponseCacheStats;
|
|
391
|
+
disk_bytes?: number;
|
|
392
|
+
disk_chunks?: number;
|
|
393
|
+
index_data_bytes?: number;
|
|
394
|
+
index_file_count?: number;
|
|
395
|
+
pending_bytes?: number;
|
|
396
|
+
pending_chunks?: number;
|
|
397
|
+
removed_bad?: number;
|
|
398
|
+
removed_bytes?: number;
|
|
399
|
+
removed_chunks?: number;
|
|
400
|
+
still_bad?: number;
|
|
401
|
+
upid?: string;
|
|
402
|
+
}
|
|
403
|
+
export declare const GetAdminDatastoreStatusResponseGcStatus: S.Schema<GetAdminDatastoreStatusResponseGcStatus>;
|
|
404
|
+
export interface GetAdminDatastoreStatusResponseS3Statistics {
|
|
405
|
+
delete: number;
|
|
406
|
+
downloaded: number;
|
|
407
|
+
get: number;
|
|
408
|
+
head: number;
|
|
409
|
+
post: number;
|
|
410
|
+
put: number;
|
|
411
|
+
uploaded: number;
|
|
412
|
+
}
|
|
413
|
+
export declare const GetAdminDatastoreStatusResponseS3Statistics: S.Schema<GetAdminDatastoreStatusResponseS3Statistics>;
|
|
414
|
+
export interface GetAdminDatastoreStatusResponse {
|
|
415
|
+
avail: number;
|
|
416
|
+
backend_type?: GetAdminDatastoreStatusResponseBackendType;
|
|
417
|
+
counts?: GetAdminDatastoreStatusResponseCounts;
|
|
418
|
+
gc_status?: GetAdminDatastoreStatusResponseGcStatus;
|
|
419
|
+
s3_statistics?: GetAdminDatastoreStatusResponseS3Statistics;
|
|
420
|
+
total: number;
|
|
421
|
+
used: number;
|
|
422
|
+
}
|
|
423
|
+
export declare const GetAdminDatastoreStatusResponse: S.Schema<GetAdminDatastoreStatusResponse>;
|
|
424
|
+
export interface GetAdminGcRequest {
|
|
425
|
+
store: string;
|
|
426
|
+
}
|
|
427
|
+
export declare const GetAdminGcRequest: S.Schema<GetAdminGcRequest>;
|
|
428
|
+
export type GetAdminGcResponseBodyItemCacheStats = GetAdminDatastoreGcResponseCacheStats;
|
|
429
|
+
export declare const GetAdminGcResponseBodyItemCacheStats: S.Schema<GetAdminDatastoreGcResponseCacheStats>;
|
|
430
|
+
export interface GetAdminGcResponseBodyItem {
|
|
431
|
+
cache_stats?: GetAdminDatastoreGcResponseCacheStats;
|
|
432
|
+
disk_bytes?: number;
|
|
433
|
+
disk_chunks?: number;
|
|
434
|
+
duration?: number;
|
|
435
|
+
index_data_bytes?: number;
|
|
436
|
+
index_file_count?: number;
|
|
437
|
+
last_run_endtime?: number;
|
|
438
|
+
last_run_state?: string;
|
|
439
|
+
next_run?: number;
|
|
440
|
+
pending_bytes?: number;
|
|
441
|
+
pending_chunks?: number;
|
|
442
|
+
removed_bad?: number;
|
|
443
|
+
removed_bytes?: number;
|
|
444
|
+
removed_chunks?: number;
|
|
445
|
+
schedule?: string;
|
|
446
|
+
still_bad?: number;
|
|
447
|
+
store: string;
|
|
448
|
+
upid?: string;
|
|
449
|
+
}
|
|
450
|
+
export declare const GetAdminGcResponseBodyItem: S.Schema<GetAdminGcResponseBodyItem>;
|
|
451
|
+
export type GetAdminGcResponseBodyList = Array<GetAdminGcResponseBodyItem>;
|
|
452
|
+
export declare const GetAdminGcResponseBodyList: S.Schema<GetAdminGcResponseBodyList>;
|
|
453
|
+
export type GetAdminGcResponse = GetAdminGcResponseBodyList;
|
|
454
|
+
export declare const GetAdminGcResponse: S.Schema<GetAdminGcResponse>;
|
|
455
|
+
export interface GetAdminPruneRequest {
|
|
456
|
+
id: string;
|
|
457
|
+
}
|
|
458
|
+
export declare const GetAdminPruneRequest: S.Schema<GetAdminPruneRequest>;
|
|
459
|
+
export interface GetAdminPruneResponse {
|
|
460
|
+
}
|
|
461
|
+
export declare const GetAdminPruneResponse: S.Schema<GetAdminPruneResponse>;
|
|
462
|
+
export interface GetAdminS3Request {
|
|
463
|
+
s3_endpoint_id: string;
|
|
464
|
+
}
|
|
465
|
+
export declare const GetAdminS3Request: S.Schema<GetAdminS3Request>;
|
|
466
|
+
export interface GetAdminS3Response {
|
|
467
|
+
}
|
|
468
|
+
export declare const GetAdminS3Response: S.Schema<GetAdminS3Response>;
|
|
469
|
+
export interface GetAdminSyncRequest {
|
|
470
|
+
id: string;
|
|
471
|
+
}
|
|
472
|
+
export declare const GetAdminSyncRequest: S.Schema<GetAdminSyncRequest>;
|
|
473
|
+
export interface GetAdminSyncResponse {
|
|
474
|
+
}
|
|
475
|
+
export declare const GetAdminSyncResponse: S.Schema<GetAdminSyncResponse>;
|
|
476
|
+
export interface GetAdminVerifyRequest {
|
|
477
|
+
id: string;
|
|
478
|
+
}
|
|
479
|
+
export declare const GetAdminVerifyRequest: S.Schema<GetAdminVerifyRequest>;
|
|
480
|
+
export interface GetAdminVerifyResponse {
|
|
481
|
+
}
|
|
482
|
+
export declare const GetAdminVerifyResponse: S.Schema<GetAdminVerifyResponse>;
|
|
483
|
+
export interface ListAdminDatastoreRequest {
|
|
484
|
+
}
|
|
485
|
+
export declare const ListAdminDatastoreRequest: S.Schema<ListAdminDatastoreRequest>;
|
|
486
|
+
export type ListAdminDatastoreResponseBodyItemBackendType = "filesystem" | "s3";
|
|
487
|
+
export declare const ListAdminDatastoreResponseBodyItemBackendType: any;
|
|
488
|
+
export type ListAdminDatastoreResponseBodyItemMountStatus = "mounted" | "notmounted" | "nonremovable";
|
|
489
|
+
export declare const ListAdminDatastoreResponseBodyItemMountStatus: any;
|
|
490
|
+
export interface ListAdminDatastoreResponseBodyItem {
|
|
491
|
+
backend_type?: ListAdminDatastoreResponseBodyItemBackendType;
|
|
492
|
+
comment?: string;
|
|
493
|
+
maintenance?: string;
|
|
494
|
+
mount_status?: ListAdminDatastoreResponseBodyItemMountStatus;
|
|
495
|
+
store: string;
|
|
496
|
+
}
|
|
497
|
+
export declare const ListAdminDatastoreResponseBodyItem: S.Schema<ListAdminDatastoreResponseBodyItem>;
|
|
498
|
+
export type ListAdminDatastoreResponseBodyList = Array<ListAdminDatastoreResponseBodyItem>;
|
|
499
|
+
export declare const ListAdminDatastoreResponseBodyList: S.Schema<ListAdminDatastoreResponseBodyList>;
|
|
500
|
+
export type ListAdminDatastoreResponse = ListAdminDatastoreResponseBodyList;
|
|
501
|
+
export declare const ListAdminDatastoreResponse: S.Schema<ListAdminDatastoreResponse>;
|
|
502
|
+
export type ListAdminDatastoreFilesRequestBackupType = "vm" | "ct" | "host";
|
|
503
|
+
export declare const ListAdminDatastoreFilesRequestBackupType: any;
|
|
504
|
+
export interface ListAdminDatastoreFilesRequest {
|
|
505
|
+
store: string;
|
|
506
|
+
/** Backup ID. */
|
|
507
|
+
backup_id: string;
|
|
508
|
+
/** Backup time (Unix epoch.) */
|
|
509
|
+
backup_time: string;
|
|
510
|
+
/** Backup types. */
|
|
511
|
+
backup_type: ListAdminDatastoreFilesRequestBackupType | (string & {});
|
|
512
|
+
/** Namespace. */
|
|
513
|
+
ns?: string;
|
|
514
|
+
}
|
|
515
|
+
export declare const ListAdminDatastoreFilesRequest: S.Schema<ListAdminDatastoreFilesRequest>;
|
|
516
|
+
export type ListAdminDatastoreFilesResponseBodyItemCryptMode = "none" | "encrypt" | "sign-only";
|
|
517
|
+
export declare const ListAdminDatastoreFilesResponseBodyItemCryptMode: any;
|
|
518
|
+
export interface ListAdminDatastoreFilesResponseBodyItem {
|
|
519
|
+
crypt_mode?: ListAdminDatastoreFilesResponseBodyItemCryptMode;
|
|
520
|
+
filename: string;
|
|
521
|
+
size?: number;
|
|
522
|
+
}
|
|
523
|
+
export declare const ListAdminDatastoreFilesResponseBodyItem: S.Schema<ListAdminDatastoreFilesResponseBodyItem>;
|
|
524
|
+
export type ListAdminDatastoreFilesResponseBodyList = Array<ListAdminDatastoreFilesResponseBodyItem>;
|
|
525
|
+
export declare const ListAdminDatastoreFilesResponseBodyList: S.Schema<ListAdminDatastoreFilesResponseBodyList>;
|
|
526
|
+
export type ListAdminDatastoreFilesResponse = ListAdminDatastoreFilesResponseBodyList;
|
|
527
|
+
export declare const ListAdminDatastoreFilesResponse: S.Schema<ListAdminDatastoreFilesResponse>;
|
|
528
|
+
export interface ListAdminDatastoreGroupsRequest {
|
|
529
|
+
store: string;
|
|
530
|
+
/** Namespace. */
|
|
531
|
+
ns?: string;
|
|
532
|
+
}
|
|
533
|
+
export declare const ListAdminDatastoreGroupsRequest: S.Schema<ListAdminDatastoreGroupsRequest>;
|
|
534
|
+
export type ListAdminDatastoreGroupsResponseBodyItemBackupType = "vm" | "ct" | "host";
|
|
535
|
+
export declare const ListAdminDatastoreGroupsResponseBodyItemBackupType: any;
|
|
536
|
+
export type ListAdminDatastoreGroupsResponseBodyItemFilesList = Array<string>;
|
|
537
|
+
export declare const ListAdminDatastoreGroupsResponseBodyItemFilesList: S.Schema<ListAdminDatastoreGroupsResponseBodyItemFilesList>;
|
|
538
|
+
export interface ListAdminDatastoreGroupsResponseBodyItem {
|
|
539
|
+
backup_count?: number;
|
|
540
|
+
backup_id?: string;
|
|
541
|
+
backup_type?: ListAdminDatastoreGroupsResponseBodyItemBackupType;
|
|
542
|
+
comment?: string;
|
|
543
|
+
files: ListAdminDatastoreGroupsResponseBodyItemFilesList;
|
|
544
|
+
last_backup?: number;
|
|
545
|
+
owner?: string;
|
|
546
|
+
}
|
|
547
|
+
export declare const ListAdminDatastoreGroupsResponseBodyItem: S.Schema<ListAdminDatastoreGroupsResponseBodyItem>;
|
|
548
|
+
export type ListAdminDatastoreGroupsResponseBodyList = Array<ListAdminDatastoreGroupsResponseBodyItem>;
|
|
549
|
+
export declare const ListAdminDatastoreGroupsResponseBodyList: S.Schema<ListAdminDatastoreGroupsResponseBodyList>;
|
|
550
|
+
export type ListAdminDatastoreGroupsResponse = ListAdminDatastoreGroupsResponseBodyList;
|
|
551
|
+
export declare const ListAdminDatastoreGroupsResponse: S.Schema<ListAdminDatastoreGroupsResponse>;
|
|
552
|
+
export interface ListAdminDatastoreNamespaceRequest {
|
|
553
|
+
store: string;
|
|
554
|
+
/** How many levels of namespaces should be operated on (0 == no recursion) */
|
|
555
|
+
max_depth?: string;
|
|
556
|
+
/** Namespace. */
|
|
557
|
+
parent?: string;
|
|
558
|
+
}
|
|
559
|
+
export declare const ListAdminDatastoreNamespaceRequest: S.Schema<ListAdminDatastoreNamespaceRequest>;
|
|
560
|
+
export interface ListAdminDatastoreNamespaceResponseBodyItem {
|
|
561
|
+
comment?: string;
|
|
562
|
+
ns: string;
|
|
563
|
+
}
|
|
564
|
+
export declare const ListAdminDatastoreNamespaceResponseBodyItem: S.Schema<ListAdminDatastoreNamespaceResponseBodyItem>;
|
|
565
|
+
export type ListAdminDatastoreNamespaceResponseBodyList = Array<ListAdminDatastoreNamespaceResponseBodyItem>;
|
|
566
|
+
export declare const ListAdminDatastoreNamespaceResponseBodyList: S.Schema<ListAdminDatastoreNamespaceResponseBodyList>;
|
|
567
|
+
export type ListAdminDatastoreNamespaceResponse = ListAdminDatastoreNamespaceResponseBodyList;
|
|
568
|
+
export declare const ListAdminDatastoreNamespaceResponse: S.Schema<ListAdminDatastoreNamespaceResponse>;
|
|
569
|
+
export type ListAdminDatastoreSnapshotsRequestBackupType = "vm" | "ct" | "host";
|
|
570
|
+
export declare const ListAdminDatastoreSnapshotsRequestBackupType: any;
|
|
571
|
+
export interface ListAdminDatastoreSnapshotsRequest {
|
|
572
|
+
store: string;
|
|
573
|
+
/** Backup ID. */
|
|
574
|
+
backup_id?: string;
|
|
575
|
+
/** Backup types. */
|
|
576
|
+
backup_type?: ListAdminDatastoreSnapshotsRequestBackupType | (string & {});
|
|
577
|
+
/** Namespace. */
|
|
578
|
+
ns?: string;
|
|
579
|
+
}
|
|
580
|
+
export declare const ListAdminDatastoreSnapshotsRequest: S.Schema<ListAdminDatastoreSnapshotsRequest>;
|
|
581
|
+
export type ListAdminDatastoreSnapshotsResponseBodyItemBackupType = "vm" | "ct" | "host";
|
|
582
|
+
export declare const ListAdminDatastoreSnapshotsResponseBodyItemBackupType: any;
|
|
583
|
+
export type ListAdminDatastoreSnapshotsResponseBodyItemFilesList = Array<string>;
|
|
584
|
+
export declare const ListAdminDatastoreSnapshotsResponseBodyItemFilesList: S.Schema<ListAdminDatastoreSnapshotsResponseBodyItemFilesList>;
|
|
585
|
+
export type ListAdminDatastoreSnapshotsResponseBodyItemVerificationState = "ok" | "failed";
|
|
586
|
+
export declare const ListAdminDatastoreSnapshotsResponseBodyItemVerificationState: any;
|
|
587
|
+
export interface ListAdminDatastoreSnapshotsResponseBodyItemVerification {
|
|
588
|
+
state: ListAdminDatastoreSnapshotsResponseBodyItemVerificationState;
|
|
589
|
+
upid: string;
|
|
590
|
+
}
|
|
591
|
+
export declare const ListAdminDatastoreSnapshotsResponseBodyItemVerification: S.Schema<ListAdminDatastoreSnapshotsResponseBodyItemVerification>;
|
|
592
|
+
export interface ListAdminDatastoreSnapshotsResponseBodyItem {
|
|
593
|
+
backup_id?: string;
|
|
594
|
+
backup_time?: number;
|
|
595
|
+
backup_type?: ListAdminDatastoreSnapshotsResponseBodyItemBackupType;
|
|
596
|
+
comment?: string;
|
|
597
|
+
files: ListAdminDatastoreSnapshotsResponseBodyItemFilesList;
|
|
598
|
+
fingerprint?: string;
|
|
599
|
+
owner?: string;
|
|
600
|
+
protected: unknown;
|
|
601
|
+
size?: number;
|
|
602
|
+
verification?: ListAdminDatastoreSnapshotsResponseBodyItemVerification;
|
|
603
|
+
}
|
|
604
|
+
export declare const ListAdminDatastoreSnapshotsResponseBodyItem: S.Schema<ListAdminDatastoreSnapshotsResponseBodyItem>;
|
|
605
|
+
export type ListAdminDatastoreSnapshotsResponseBodyList = Array<ListAdminDatastoreSnapshotsResponseBodyItem>;
|
|
606
|
+
export declare const ListAdminDatastoreSnapshotsResponseBodyList: S.Schema<ListAdminDatastoreSnapshotsResponseBodyList>;
|
|
607
|
+
export type ListAdminDatastoreSnapshotsResponse = ListAdminDatastoreSnapshotsResponseBodyList;
|
|
608
|
+
export declare const ListAdminDatastoreSnapshotsResponse: S.Schema<ListAdminDatastoreSnapshotsResponse>;
|
|
609
|
+
export interface ListAdminGcRequest {
|
|
610
|
+
/** Datastore name. */
|
|
611
|
+
store?: string;
|
|
612
|
+
}
|
|
613
|
+
export declare const ListAdminGcRequest: S.Schema<ListAdminGcRequest>;
|
|
614
|
+
export type ListAdminGcResponseBodyItemCacheStats = GetAdminDatastoreGcResponseCacheStats;
|
|
615
|
+
export declare const ListAdminGcResponseBodyItemCacheStats: S.Schema<GetAdminDatastoreGcResponseCacheStats>;
|
|
616
|
+
export type ListAdminGcResponseBodyItem = GetAdminGcResponseBodyItem;
|
|
617
|
+
export declare const ListAdminGcResponseBodyItem: S.Schema<GetAdminGcResponseBodyItem>;
|
|
618
|
+
export type ListAdminGcResponseBodyList = Array<GetAdminGcResponseBodyItem>;
|
|
619
|
+
export declare const ListAdminGcResponseBodyList: S.Schema<ListAdminGcResponseBodyList>;
|
|
620
|
+
export type ListAdminGcResponse = ListAdminGcResponseBodyList;
|
|
621
|
+
export declare const ListAdminGcResponse: S.Schema<ListAdminGcResponse>;
|
|
622
|
+
export interface ListAdminMetricsRequest {
|
|
623
|
+
}
|
|
624
|
+
export declare const ListAdminMetricsRequest: S.Schema<ListAdminMetricsRequest>;
|
|
625
|
+
export type ListAdminMetricsResponseBodyItemType = "influxdb-http" | "influxdb-udp";
|
|
626
|
+
export declare const ListAdminMetricsResponseBodyItemType: any;
|
|
627
|
+
export interface ListAdminMetricsResponseBodyItem {
|
|
628
|
+
comment?: string;
|
|
629
|
+
enable?: unknown;
|
|
630
|
+
name: string;
|
|
631
|
+
server: string;
|
|
632
|
+
type: ListAdminMetricsResponseBodyItemType;
|
|
633
|
+
}
|
|
634
|
+
export declare const ListAdminMetricsResponseBodyItem: S.Schema<ListAdminMetricsResponseBodyItem>;
|
|
635
|
+
export type ListAdminMetricsResponseBodyList = Array<ListAdminMetricsResponseBodyItem>;
|
|
636
|
+
export declare const ListAdminMetricsResponseBodyList: S.Schema<ListAdminMetricsResponseBodyList>;
|
|
637
|
+
export type ListAdminMetricsResponse = ListAdminMetricsResponseBodyList;
|
|
638
|
+
export declare const ListAdminMetricsResponse: S.Schema<ListAdminMetricsResponse>;
|
|
639
|
+
export interface ListAdminPruneRequest {
|
|
640
|
+
/** Datastore name. */
|
|
641
|
+
store?: string;
|
|
642
|
+
}
|
|
643
|
+
export declare const ListAdminPruneRequest: S.Schema<ListAdminPruneRequest>;
|
|
644
|
+
export interface ListAdminPruneResponseBodyItem {
|
|
645
|
+
comment?: string;
|
|
646
|
+
disable?: unknown;
|
|
647
|
+
id: string;
|
|
648
|
+
keep_daily?: number;
|
|
649
|
+
keep_hourly?: number;
|
|
650
|
+
keep_last?: number;
|
|
651
|
+
keep_monthly?: number;
|
|
652
|
+
keep_weekly?: number;
|
|
653
|
+
keep_yearly?: number;
|
|
654
|
+
last_run_endtime?: number;
|
|
655
|
+
last_run_state?: string;
|
|
656
|
+
last_run_upid?: string;
|
|
657
|
+
max_depth?: number;
|
|
658
|
+
next_run?: number;
|
|
659
|
+
ns?: string;
|
|
660
|
+
schedule: string;
|
|
661
|
+
store: string;
|
|
662
|
+
}
|
|
663
|
+
export declare const ListAdminPruneResponseBodyItem: S.Schema<ListAdminPruneResponseBodyItem>;
|
|
664
|
+
export type ListAdminPruneResponseBodyList = Array<ListAdminPruneResponseBodyItem>;
|
|
665
|
+
export declare const ListAdminPruneResponseBodyList: S.Schema<ListAdminPruneResponseBodyList>;
|
|
666
|
+
export type ListAdminPruneResponse = ListAdminPruneResponseBodyList;
|
|
667
|
+
export declare const ListAdminPruneResponse: S.Schema<ListAdminPruneResponse>;
|
|
668
|
+
export type ListAdminSyncRequestSyncDirection = "all" | "push" | "pull";
|
|
669
|
+
export declare const ListAdminSyncRequestSyncDirection: any;
|
|
670
|
+
export interface ListAdminSyncRequest {
|
|
671
|
+
/** Datastore name. */
|
|
672
|
+
store?: string;
|
|
673
|
+
/** The direction of the listed sync jobs: push, pull or all. */
|
|
674
|
+
sync_direction?: ListAdminSyncRequestSyncDirection | (string & {});
|
|
675
|
+
}
|
|
676
|
+
export declare const ListAdminSyncRequest: S.Schema<ListAdminSyncRequest>;
|
|
677
|
+
export type ListAdminSyncResponseBodyItemAssociatedKeyList = Array<string>;
|
|
678
|
+
export declare const ListAdminSyncResponseBodyItemAssociatedKeyList: S.Schema<ListAdminSyncResponseBodyItemAssociatedKeyList>;
|
|
679
|
+
export type ListAdminSyncResponseBodyItemGroupFilterList = Array<string>;
|
|
680
|
+
export declare const ListAdminSyncResponseBodyItemGroupFilterList: S.Schema<ListAdminSyncResponseBodyItemGroupFilterList>;
|
|
681
|
+
export type ListAdminSyncResponseBodyItemSyncDirection = "pull" | "push";
|
|
682
|
+
export declare const ListAdminSyncResponseBodyItemSyncDirection: any;
|
|
683
|
+
export interface ListAdminSyncResponseBodyItem {
|
|
684
|
+
active_encryption_key?: string;
|
|
685
|
+
associated_key?: ListAdminSyncResponseBodyItemAssociatedKeyList;
|
|
686
|
+
burst_in?: string;
|
|
687
|
+
burst_out?: string;
|
|
688
|
+
comment?: string;
|
|
689
|
+
encrypted_only?: unknown;
|
|
690
|
+
group_filter?: ListAdminSyncResponseBodyItemGroupFilterList;
|
|
691
|
+
id: string;
|
|
692
|
+
last_run_endtime?: number;
|
|
693
|
+
last_run_state?: string;
|
|
694
|
+
last_run_upid?: string;
|
|
695
|
+
max_depth?: number;
|
|
696
|
+
next_run?: number;
|
|
697
|
+
ns?: string;
|
|
698
|
+
owner?: string;
|
|
699
|
+
rate_in?: string;
|
|
700
|
+
rate_out?: string;
|
|
701
|
+
remote?: string;
|
|
702
|
+
remote_ns?: string;
|
|
703
|
+
remote_store?: string;
|
|
704
|
+
remove_vanished?: unknown;
|
|
705
|
+
resync_corrupt?: unknown;
|
|
706
|
+
run_on_mount?: unknown;
|
|
707
|
+
schedule?: string;
|
|
708
|
+
store: string;
|
|
709
|
+
sync_direction?: ListAdminSyncResponseBodyItemSyncDirection;
|
|
710
|
+
transfer_last?: number;
|
|
711
|
+
unmount_on_done?: unknown;
|
|
712
|
+
verified_only?: unknown;
|
|
713
|
+
worker_threads?: number;
|
|
714
|
+
}
|
|
715
|
+
export declare const ListAdminSyncResponseBodyItem: S.Schema<ListAdminSyncResponseBodyItem>;
|
|
716
|
+
export type ListAdminSyncResponseBodyList = Array<ListAdminSyncResponseBodyItem>;
|
|
717
|
+
export declare const ListAdminSyncResponseBodyList: S.Schema<ListAdminSyncResponseBodyList>;
|
|
718
|
+
export type ListAdminSyncResponse = ListAdminSyncResponseBodyList;
|
|
719
|
+
export declare const ListAdminSyncResponse: S.Schema<ListAdminSyncResponse>;
|
|
720
|
+
export interface ListAdminTrafficControlRequest {
|
|
721
|
+
}
|
|
722
|
+
export declare const ListAdminTrafficControlRequest: S.Schema<ListAdminTrafficControlRequest>;
|
|
723
|
+
export type ListAdminTrafficControlResponseBodyItemNetworkList = Array<string>;
|
|
724
|
+
export declare const ListAdminTrafficControlResponseBodyItemNetworkList: S.Schema<ListAdminTrafficControlResponseBodyItemNetworkList>;
|
|
725
|
+
export type ListAdminTrafficControlResponseBodyItemTimeframeList = Array<string>;
|
|
726
|
+
export declare const ListAdminTrafficControlResponseBodyItemTimeframeList: S.Schema<ListAdminTrafficControlResponseBodyItemTimeframeList>;
|
|
727
|
+
export type ListAdminTrafficControlResponseBodyItemUsersList = Array<string>;
|
|
728
|
+
export declare const ListAdminTrafficControlResponseBodyItemUsersList: S.Schema<ListAdminTrafficControlResponseBodyItemUsersList>;
|
|
729
|
+
export interface ListAdminTrafficControlResponseBodyItem {
|
|
730
|
+
burst_in?: string;
|
|
731
|
+
burst_out?: string;
|
|
732
|
+
comment?: string;
|
|
733
|
+
cur_rate_in?: number;
|
|
734
|
+
cur_rate_out?: number;
|
|
735
|
+
name: string;
|
|
736
|
+
network: ListAdminTrafficControlResponseBodyItemNetworkList;
|
|
737
|
+
rate_in?: string;
|
|
738
|
+
rate_out?: string;
|
|
739
|
+
timeframe?: ListAdminTrafficControlResponseBodyItemTimeframeList;
|
|
740
|
+
users?: ListAdminTrafficControlResponseBodyItemUsersList;
|
|
741
|
+
}
|
|
742
|
+
export declare const ListAdminTrafficControlResponseBodyItem: S.Schema<ListAdminTrafficControlResponseBodyItem>;
|
|
743
|
+
export type ListAdminTrafficControlResponseBodyList = Array<ListAdminTrafficControlResponseBodyItem>;
|
|
744
|
+
export declare const ListAdminTrafficControlResponseBodyList: S.Schema<ListAdminTrafficControlResponseBodyList>;
|
|
745
|
+
export type ListAdminTrafficControlResponse = ListAdminTrafficControlResponseBodyList;
|
|
746
|
+
export declare const ListAdminTrafficControlResponse: S.Schema<ListAdminTrafficControlResponse>;
|
|
747
|
+
export interface ListAdminVerifyRequest {
|
|
748
|
+
/** Datastore name. */
|
|
749
|
+
store?: string;
|
|
750
|
+
}
|
|
751
|
+
export declare const ListAdminVerifyRequest: S.Schema<ListAdminVerifyRequest>;
|
|
752
|
+
export interface ListAdminVerifyResponseBodyItem {
|
|
753
|
+
comment?: string;
|
|
754
|
+
id: string;
|
|
755
|
+
ignore_verified?: unknown;
|
|
756
|
+
last_run_endtime?: number;
|
|
757
|
+
last_run_state?: string;
|
|
758
|
+
last_run_upid?: string;
|
|
759
|
+
max_depth?: number;
|
|
760
|
+
next_run?: number;
|
|
761
|
+
ns?: string;
|
|
762
|
+
outdated_after?: number;
|
|
763
|
+
read_threads?: number;
|
|
764
|
+
schedule?: string;
|
|
765
|
+
store: string;
|
|
766
|
+
verify_threads?: number;
|
|
767
|
+
}
|
|
768
|
+
export declare const ListAdminVerifyResponseBodyItem: S.Schema<ListAdminVerifyResponseBodyItem>;
|
|
769
|
+
export type ListAdminVerifyResponseBodyList = Array<ListAdminVerifyResponseBodyItem>;
|
|
770
|
+
export declare const ListAdminVerifyResponseBodyList: S.Schema<ListAdminVerifyResponseBodyList>;
|
|
771
|
+
export type ListAdminVerifyResponse = ListAdminVerifyResponseBodyList;
|
|
772
|
+
export declare const ListAdminVerifyResponse: S.Schema<ListAdminVerifyResponse>;
|
|
773
|
+
export type MoveAdminDatastoreGroupRequestBackupType = "vm" | "ct" | "host";
|
|
774
|
+
export declare const MoveAdminDatastoreGroupRequestBackupType: any;
|
|
775
|
+
export interface MoveAdminDatastoreGroupRequest {
|
|
776
|
+
store: string;
|
|
777
|
+
/** Backup ID. */
|
|
778
|
+
backup_id: string;
|
|
779
|
+
/** Backup types. */
|
|
780
|
+
backup_type: MoveAdminDatastoreGroupRequestBackupType | (string & {});
|
|
781
|
+
/** If the group already exists in the target namespace, merge snapshots into it. Requires matching ownership and non-overlapping snapshot times. */
|
|
782
|
+
merge_group?: string;
|
|
783
|
+
/** Namespace. */
|
|
784
|
+
ns?: string;
|
|
785
|
+
/** Namespace. */
|
|
786
|
+
target_ns?: string;
|
|
787
|
+
}
|
|
788
|
+
export declare const MoveAdminDatastoreGroupRequest: S.Schema<MoveAdminDatastoreGroupRequest>;
|
|
789
|
+
export type MoveAdminDatastoreGroupResponse = string;
|
|
790
|
+
export declare const MoveAdminDatastoreGroupResponse: S.Schema<MoveAdminDatastoreGroupResponse>;
|
|
791
|
+
export interface MoveAdminDatastoreNamespaceRequest {
|
|
792
|
+
store: string;
|
|
793
|
+
/** Remove the source namespace after moving all contents. Defaults to true. */
|
|
794
|
+
delete_source?: string;
|
|
795
|
+
/** How many levels of namespaces should be operated on (0 == no recursion) */
|
|
796
|
+
max_depth?: string;
|
|
797
|
+
/** If a group with the same name already exists in the target namespace, merge snapshots into it. Requires matching ownership and non-overlapping snapshot times. */
|
|
798
|
+
merge_groups?: string;
|
|
799
|
+
/** Namespace. */
|
|
800
|
+
ns: string;
|
|
801
|
+
/** Namespace. */
|
|
802
|
+
target_ns: string;
|
|
803
|
+
}
|
|
804
|
+
export declare const MoveAdminDatastoreNamespaceRequest: S.Schema<MoveAdminDatastoreNamespaceRequest>;
|
|
805
|
+
export type MoveAdminDatastoreNamespaceResponse = string;
|
|
806
|
+
export declare const MoveAdminDatastoreNamespaceResponse: S.Schema<MoveAdminDatastoreNamespaceResponse>;
|
|
807
|
+
export type PutAdminDatastoreGroupNotesRequestBackupType = "vm" | "ct" | "host";
|
|
808
|
+
export declare const PutAdminDatastoreGroupNotesRequestBackupType: any;
|
|
809
|
+
export interface PutAdminDatastoreGroupNotesRequest {
|
|
810
|
+
store: string;
|
|
811
|
+
/** Backup ID. */
|
|
812
|
+
backup_id: string;
|
|
813
|
+
/** Backup types. */
|
|
814
|
+
backup_type: PutAdminDatastoreGroupNotesRequestBackupType | (string & {});
|
|
815
|
+
/** A multiline text. */
|
|
816
|
+
notes: string;
|
|
817
|
+
/** Namespace. */
|
|
818
|
+
ns?: string;
|
|
819
|
+
}
|
|
820
|
+
export declare const PutAdminDatastoreGroupNotesRequest: S.Schema<PutAdminDatastoreGroupNotesRequest>;
|
|
821
|
+
export interface PutAdminDatastoreGroupNotesResponse {
|
|
822
|
+
}
|
|
823
|
+
export declare const PutAdminDatastoreGroupNotesResponse: S.Schema<PutAdminDatastoreGroupNotesResponse>;
|
|
824
|
+
export type PutAdminDatastoreNotesRequestBackupType = "vm" | "ct" | "host";
|
|
825
|
+
export declare const PutAdminDatastoreNotesRequestBackupType: any;
|
|
826
|
+
export interface PutAdminDatastoreNotesRequest {
|
|
827
|
+
store: string;
|
|
828
|
+
/** Backup ID. */
|
|
829
|
+
backup_id: string;
|
|
830
|
+
/** Backup time (Unix epoch.) */
|
|
831
|
+
backup_time: string;
|
|
832
|
+
/** Backup types. */
|
|
833
|
+
backup_type: PutAdminDatastoreNotesRequestBackupType | (string & {});
|
|
834
|
+
/** A multiline text. */
|
|
835
|
+
notes: string;
|
|
836
|
+
/** Namespace. */
|
|
837
|
+
ns?: string;
|
|
838
|
+
}
|
|
839
|
+
export declare const PutAdminDatastoreNotesRequest: S.Schema<PutAdminDatastoreNotesRequest>;
|
|
840
|
+
export interface PutAdminDatastoreNotesResponse {
|
|
841
|
+
}
|
|
842
|
+
export declare const PutAdminDatastoreNotesResponse: S.Schema<PutAdminDatastoreNotesResponse>;
|
|
843
|
+
export type PutAdminDatastoreProtectedRequestBackupType = "vm" | "ct" | "host";
|
|
844
|
+
export declare const PutAdminDatastoreProtectedRequestBackupType: any;
|
|
845
|
+
export interface PutAdminDatastoreProtectedRequest {
|
|
846
|
+
store: string;
|
|
847
|
+
/** Backup ID. */
|
|
848
|
+
backup_id: string;
|
|
849
|
+
/** Backup time (Unix epoch.) */
|
|
850
|
+
backup_time: string;
|
|
851
|
+
/** Backup types. */
|
|
852
|
+
backup_type: PutAdminDatastoreProtectedRequestBackupType | (string & {});
|
|
853
|
+
/** Namespace. */
|
|
854
|
+
ns?: string;
|
|
855
|
+
/** Enable/disable protection. */
|
|
856
|
+
protected: string;
|
|
857
|
+
}
|
|
858
|
+
export declare const PutAdminDatastoreProtectedRequest: S.Schema<PutAdminDatastoreProtectedRequest>;
|
|
859
|
+
export interface PutAdminDatastoreProtectedResponse {
|
|
860
|
+
}
|
|
861
|
+
export declare const PutAdminDatastoreProtectedResponse: S.Schema<PutAdminDatastoreProtectedResponse>;
|
|
862
|
+
export interface PutAdminDatastoreS3RefreshRequest {
|
|
863
|
+
store: string;
|
|
864
|
+
}
|
|
865
|
+
export declare const PutAdminDatastoreS3RefreshRequest: S.Schema<PutAdminDatastoreS3RefreshRequest>;
|
|
866
|
+
export type PutAdminDatastoreS3RefreshResponse = string;
|
|
867
|
+
export declare const PutAdminDatastoreS3RefreshResponse: S.Schema<PutAdminDatastoreS3RefreshResponse>;
|
|
868
|
+
export interface PutAdminS3CheckRequest {
|
|
869
|
+
s3_endpoint_id: string;
|
|
870
|
+
/** Bucket name for S3 object store. */
|
|
871
|
+
bucket: string;
|
|
872
|
+
/** Store prefix within bucket for S3 object keys (commonly datastore name) */
|
|
873
|
+
store_prefix?: string;
|
|
874
|
+
}
|
|
875
|
+
export declare const PutAdminS3CheckRequest: S.Schema<PutAdminS3CheckRequest>;
|
|
876
|
+
export interface PutAdminS3CheckResponse {
|
|
877
|
+
}
|
|
878
|
+
export declare const PutAdminS3CheckResponse: S.Schema<PutAdminS3CheckResponse>;
|
|
879
|
+
export interface PutAdminS3ResetCountersRequest {
|
|
880
|
+
s3_endpoint_id: string;
|
|
881
|
+
/** Bucket name for S3 object store. */
|
|
882
|
+
bucket: string;
|
|
883
|
+
/** Store prefix within bucket for S3 object keys (commonly datastore name) */
|
|
884
|
+
store_prefix?: string;
|
|
885
|
+
}
|
|
886
|
+
export declare const PutAdminS3ResetCountersRequest: S.Schema<PutAdminS3ResetCountersRequest>;
|
|
887
|
+
export interface PutAdminS3ResetCountersResponse {
|
|
888
|
+
}
|
|
889
|
+
export declare const PutAdminS3ResetCountersResponse: S.Schema<PutAdminS3ResetCountersResponse>;
|
|
890
|
+
export interface RunAdminPruneRequest {
|
|
891
|
+
id: string;
|
|
892
|
+
}
|
|
893
|
+
export declare const RunAdminPruneRequest: S.Schema<RunAdminPruneRequest>;
|
|
894
|
+
export interface RunAdminPruneResponse {
|
|
895
|
+
}
|
|
896
|
+
export declare const RunAdminPruneResponse: S.Schema<RunAdminPruneResponse>;
|
|
897
|
+
export interface RunAdminSyncRequest {
|
|
898
|
+
id: string;
|
|
899
|
+
}
|
|
900
|
+
export declare const RunAdminSyncRequest: S.Schema<RunAdminSyncRequest>;
|
|
901
|
+
export interface RunAdminSyncResponse {
|
|
902
|
+
}
|
|
903
|
+
export declare const RunAdminSyncResponse: S.Schema<RunAdminSyncResponse>;
|
|
904
|
+
export type UploadAdminDatastoreBackupLogRequestBackupType = "vm" | "ct" | "host";
|
|
905
|
+
export declare const UploadAdminDatastoreBackupLogRequestBackupType: any;
|
|
906
|
+
export interface UploadAdminDatastoreBackupLogRequest {
|
|
907
|
+
store: string;
|
|
908
|
+
/** Backup ID. */
|
|
909
|
+
backup_id: string;
|
|
910
|
+
/** Backup time (Unix epoch.) */
|
|
911
|
+
backup_time: string;
|
|
912
|
+
/** Backup type. */
|
|
913
|
+
backup_type: UploadAdminDatastoreBackupLogRequestBackupType | (string & {});
|
|
914
|
+
/** Namespace. */
|
|
915
|
+
ns?: string;
|
|
916
|
+
}
|
|
917
|
+
export declare const UploadAdminDatastoreBackupLogRequest: S.Schema<UploadAdminDatastoreBackupLogRequest>;
|
|
918
|
+
export interface UploadAdminDatastoreBackupLogResponse {
|
|
919
|
+
}
|
|
920
|
+
export declare const UploadAdminDatastoreBackupLogResponse: S.Schema<UploadAdminDatastoreBackupLogResponse>;
|
|
921
|
+
export type VerifyAdminDatastoreRequestBackupType = "vm" | "ct" | "host";
|
|
922
|
+
export declare const VerifyAdminDatastoreRequestBackupType: any;
|
|
923
|
+
export interface VerifyAdminDatastoreRequest {
|
|
924
|
+
store: string;
|
|
925
|
+
/** Backup ID. */
|
|
926
|
+
backup_id?: string;
|
|
927
|
+
/** Backup time (Unix epoch.) */
|
|
928
|
+
backup_time?: string;
|
|
929
|
+
/** Backup types. */
|
|
930
|
+
backup_type?: VerifyAdminDatastoreRequestBackupType | (string & {});
|
|
931
|
+
/** Do not verify backups that are already verified if their verification is not outdated. */
|
|
932
|
+
ignore_verified?: string;
|
|
933
|
+
/** How many levels of namespaces should be operated on (0 == no recursion) */
|
|
934
|
+
max_depth?: string;
|
|
935
|
+
/** Namespace. */
|
|
936
|
+
ns?: string;
|
|
937
|
+
/** Days after that a verification becomes outdated. (0 is deprecated)' */
|
|
938
|
+
outdated_after?: string;
|
|
939
|
+
/** The number of threads to use for reading chunks in verify job. */
|
|
940
|
+
read_threads?: string;
|
|
941
|
+
/** The number of threads to use for verifying chunks in verify job. */
|
|
942
|
+
verify_threads?: string;
|
|
943
|
+
}
|
|
944
|
+
export declare const VerifyAdminDatastoreRequest: S.Schema<VerifyAdminDatastoreRequest>;
|
|
945
|
+
export type VerifyAdminDatastoreResponse = string;
|
|
946
|
+
export declare const VerifyAdminDatastoreResponse: S.Schema<VerifyAdminDatastoreResponse>;
|
|
947
|
+
export interface VerifyRunAdminRequest {
|
|
948
|
+
id: string;
|
|
949
|
+
}
|
|
950
|
+
export declare const VerifyRunAdminRequest: S.Schema<VerifyRunAdminRequest>;
|
|
951
|
+
export interface VerifyRunAdminResponse {
|
|
952
|
+
}
|
|
953
|
+
export declare const VerifyRunAdminResponse: S.Schema<VerifyRunAdminResponse>;
|
|
954
|
+
export type CreateAdminDatastoreChangeOwnerError = ProxmoxBackupOpError;
|
|
955
|
+
/** Change owner of a backup group */
|
|
956
|
+
export declare const createAdminDatastoreChangeOwner: API.OperationMethod<CreateAdminDatastoreChangeOwnerRequest, CreateAdminDatastoreChangeOwnerResponse, CreateAdminDatastoreChangeOwnerError, ProxmoxBackupOpContext>;
|
|
957
|
+
export type CreateAdminDatastoreGcError = ProxmoxBackupOpError;
|
|
958
|
+
/** Start garbage collection. */
|
|
959
|
+
export declare const createAdminDatastoreGc: API.OperationMethod<CreateAdminDatastoreGcRequest, CreateAdminDatastoreGcResponse, CreateAdminDatastoreGcError, ProxmoxBackupOpContext>;
|
|
960
|
+
export type CreateAdminDatastoreMountError = ProxmoxBackupOpError;
|
|
961
|
+
/** Mount removable datastore. */
|
|
962
|
+
export declare const createAdminDatastoreMount: API.OperationMethod<CreateAdminDatastoreMountRequest, CreateAdminDatastoreMountResponse, CreateAdminDatastoreMountError, ProxmoxBackupOpContext>;
|
|
963
|
+
export type CreateAdminDatastoreNamespaceError = ProxmoxBackupOpError;
|
|
964
|
+
/** Create a new datastore namespace. */
|
|
965
|
+
export declare const createAdminDatastoreNamespace: API.OperationMethod<CreateAdminDatastoreNamespaceRequest, CreateAdminDatastoreNamespaceResponse, CreateAdminDatastoreNamespaceError, ProxmoxBackupOpContext>;
|
|
966
|
+
export type CreateAdminDatastorePruneError = ProxmoxBackupOpError;
|
|
967
|
+
/** Prune a group on the datastore */
|
|
968
|
+
export declare const createAdminDatastorePrune: API.OperationMethod<CreateAdminDatastorePruneRequest, CreateAdminDatastorePruneResponse, CreateAdminDatastorePruneError, ProxmoxBackupOpContext>;
|
|
969
|
+
export type CreateAdminDatastorePruneDatastoreError = ProxmoxBackupOpError;
|
|
970
|
+
/** Prune the datastore */
|
|
971
|
+
export declare const createAdminDatastorePruneDatastore: API.OperationMethod<CreateAdminDatastorePruneDatastoreRequest, CreateAdminDatastorePruneDatastoreResponse, CreateAdminDatastorePruneDatastoreError, ProxmoxBackupOpContext>;
|
|
972
|
+
export type CreateAdminDatastoreUnmountError = ProxmoxBackupOpError;
|
|
973
|
+
/** Unmount a removable device that is associated with the datastore */
|
|
974
|
+
export declare const createAdminDatastoreUnmount: API.OperationMethod<CreateAdminDatastoreUnmountRequest, CreateAdminDatastoreUnmountResponse, CreateAdminDatastoreUnmountError, ProxmoxBackupOpContext>;
|
|
975
|
+
export type DeleteAdminDatastoreGroupsError = ProxmoxBackupOpError;
|
|
976
|
+
/** Delete backup group including all snapshots. */
|
|
977
|
+
export declare const deleteAdminDatastoreGroups: API.OperationMethod<DeleteAdminDatastoreGroupsRequest, DeleteAdminDatastoreGroupsResponse, DeleteAdminDatastoreGroupsError, ProxmoxBackupOpContext>;
|
|
978
|
+
export type DeleteAdminDatastoreNamespaceError = ProxmoxBackupOpError;
|
|
979
|
+
/** Delete a backup namespace including all snapshots. */
|
|
980
|
+
export declare const deleteAdminDatastoreNamespace: API.OperationMethod<DeleteAdminDatastoreNamespaceRequest, DeleteAdminDatastoreNamespaceResponse, DeleteAdminDatastoreNamespaceError, ProxmoxBackupOpContext>;
|
|
981
|
+
export type DeleteAdminDatastoreSnapshotsError = ProxmoxBackupOpError;
|
|
982
|
+
/** Delete backup snapshot. */
|
|
983
|
+
export declare const deleteAdminDatastoreSnapshots: API.OperationMethod<DeleteAdminDatastoreSnapshotsRequest, DeleteAdminDatastoreSnapshotsResponse, DeleteAdminDatastoreSnapshotsError, ProxmoxBackupOpContext>;
|
|
984
|
+
export type GetAdminError = ProxmoxBackupOpError;
|
|
985
|
+
/** Directory index. */
|
|
986
|
+
export declare const getAdmin: API.OperationMethod<GetAdminRequest, GetAdminResponse, GetAdminError, ProxmoxBackupOpContext>;
|
|
987
|
+
export type GetAdminDatastoreError = ProxmoxBackupOpError;
|
|
988
|
+
/** Directory index. */
|
|
989
|
+
export declare const getAdminDatastore: API.OperationMethod<GetAdminDatastoreRequest, GetAdminDatastoreResponse, GetAdminDatastoreError, ProxmoxBackupOpContext>;
|
|
990
|
+
export type GetAdminDatastoreActiveOperationsError = ProxmoxBackupOpError;
|
|
991
|
+
/** Read datastore stats */
|
|
992
|
+
export declare const getAdminDatastoreActiveOperations: API.OperationMethod<GetAdminDatastoreActiveOperationsRequest, GetAdminDatastoreActiveOperationsResponse, GetAdminDatastoreActiveOperationsError, ProxmoxBackupOpContext>;
|
|
993
|
+
export type GetAdminDatastoreCatalogError = ProxmoxBackupOpError;
|
|
994
|
+
/** Get the entries of the given path of the catalog */
|
|
995
|
+
export declare const getAdminDatastoreCatalog: API.OperationMethod<GetAdminDatastoreCatalogRequest, GetAdminDatastoreCatalogResponse, GetAdminDatastoreCatalogError, ProxmoxBackupOpContext>;
|
|
996
|
+
export type GetAdminDatastoreDownloadError = ProxmoxBackupOpError;
|
|
997
|
+
/** Download single raw file from backup snapshot. */
|
|
998
|
+
export declare const getAdminDatastoreDownload: API.OperationMethod<GetAdminDatastoreDownloadRequest, GetAdminDatastoreDownloadResponse, GetAdminDatastoreDownloadError, ProxmoxBackupOpContext>;
|
|
999
|
+
export type GetAdminDatastoreDownloadDecodedError = ProxmoxBackupOpError;
|
|
1000
|
+
/** Download single decoded file from backup snapshot. Only works if it's not encrypted. */
|
|
1001
|
+
export declare const getAdminDatastoreDownloadDecoded: API.OperationMethod<GetAdminDatastoreDownloadDecodedRequest, GetAdminDatastoreDownloadDecodedResponse, GetAdminDatastoreDownloadDecodedError, ProxmoxBackupOpContext>;
|
|
1002
|
+
export type GetAdminDatastoreGcError = ProxmoxBackupOpError;
|
|
1003
|
+
/** Garbage collection status. */
|
|
1004
|
+
export declare const getAdminDatastoreGc: API.OperationMethod<GetAdminDatastoreGcRequest, GetAdminDatastoreGcResponse, GetAdminDatastoreGcError, ProxmoxBackupOpContext>;
|
|
1005
|
+
export type GetAdminDatastoreGroupNotesError = ProxmoxBackupOpError;
|
|
1006
|
+
/** Get "notes" for a backup group */
|
|
1007
|
+
export declare const getAdminDatastoreGroupNotes: API.OperationMethod<GetAdminDatastoreGroupNotesRequest, GetAdminDatastoreGroupNotesResponse, GetAdminDatastoreGroupNotesError, ProxmoxBackupOpContext>;
|
|
1008
|
+
export type GetAdminDatastoreNotesError = ProxmoxBackupOpError;
|
|
1009
|
+
/** Get "notes" for a specific backup */
|
|
1010
|
+
export declare const getAdminDatastoreNotes: API.OperationMethod<GetAdminDatastoreNotesRequest, GetAdminDatastoreNotesResponse, GetAdminDatastoreNotesError, ProxmoxBackupOpContext>;
|
|
1011
|
+
export type GetAdminDatastoreProtectedError = ProxmoxBackupOpError;
|
|
1012
|
+
/** Query protection for a specific backup */
|
|
1013
|
+
export declare const getAdminDatastoreProtected: API.OperationMethod<GetAdminDatastoreProtectedRequest, GetAdminDatastoreProtectedResponse, GetAdminDatastoreProtectedError, ProxmoxBackupOpContext>;
|
|
1014
|
+
export type GetAdminDatastorePxarFileDownloadError = ProxmoxBackupOpError;
|
|
1015
|
+
/** Download single file from pxar file of a backup snapshot. Only works if it's not encrypted. */
|
|
1016
|
+
export declare const getAdminDatastorePxarFileDownload: API.OperationMethod<GetAdminDatastorePxarFileDownloadRequest, GetAdminDatastorePxarFileDownloadResponse, GetAdminDatastorePxarFileDownloadError, ProxmoxBackupOpContext>;
|
|
1017
|
+
export type GetAdminDatastoreRrdError = ProxmoxBackupOpError;
|
|
1018
|
+
/** Read datastore stats */
|
|
1019
|
+
export declare const getAdminDatastoreRrd: API.OperationMethod<GetAdminDatastoreRrdRequest, GetAdminDatastoreRrdResponse, GetAdminDatastoreRrdError, ProxmoxBackupOpContext>;
|
|
1020
|
+
export type GetAdminDatastoreStatusError = ProxmoxBackupOpError;
|
|
1021
|
+
/** Get datastore status. */
|
|
1022
|
+
export declare const getAdminDatastoreStatus: API.OperationMethod<GetAdminDatastoreStatusRequest, GetAdminDatastoreStatusResponse, GetAdminDatastoreStatusError, ProxmoxBackupOpContext>;
|
|
1023
|
+
export type GetAdminGcError = ProxmoxBackupOpError;
|
|
1024
|
+
/** List all GC jobs (max one per datastore) */
|
|
1025
|
+
export declare const getAdminGc: API.OperationMethod<GetAdminGcRequest, GetAdminGcResponse, GetAdminGcError, ProxmoxBackupOpContext>;
|
|
1026
|
+
export type GetAdminPruneError = ProxmoxBackupOpError;
|
|
1027
|
+
/** Directory index. */
|
|
1028
|
+
export declare const getAdminPrune: API.OperationMethod<GetAdminPruneRequest, GetAdminPruneResponse, GetAdminPruneError, ProxmoxBackupOpContext>;
|
|
1029
|
+
export type GetAdminS3Error = ProxmoxBackupOpError;
|
|
1030
|
+
/** Directory index. */
|
|
1031
|
+
export declare const getAdminS3: API.OperationMethod<GetAdminS3Request, GetAdminS3Response, GetAdminS3Error, ProxmoxBackupOpContext>;
|
|
1032
|
+
export type GetAdminSyncError = ProxmoxBackupOpError;
|
|
1033
|
+
/** Directory index. */
|
|
1034
|
+
export declare const getAdminSync: API.OperationMethod<GetAdminSyncRequest, GetAdminSyncResponse, GetAdminSyncError, ProxmoxBackupOpContext>;
|
|
1035
|
+
export type GetAdminVerifyError = ProxmoxBackupOpError;
|
|
1036
|
+
/** Directory index. */
|
|
1037
|
+
export declare const getAdminVerify: API.OperationMethod<GetAdminVerifyRequest, GetAdminVerifyResponse, GetAdminVerifyError, ProxmoxBackupOpContext>;
|
|
1038
|
+
export type ListAdminDatastoreError = ProxmoxBackupOpError;
|
|
1039
|
+
/** Datastore list */
|
|
1040
|
+
export declare const listAdminDatastore: API.OperationMethod<ListAdminDatastoreRequest, ListAdminDatastoreResponse, ListAdminDatastoreError, ProxmoxBackupOpContext>;
|
|
1041
|
+
export type ListAdminDatastoreFilesError = ProxmoxBackupOpError;
|
|
1042
|
+
/** List snapshot files. */
|
|
1043
|
+
export declare const listAdminDatastoreFiles: API.OperationMethod<ListAdminDatastoreFilesRequest, ListAdminDatastoreFilesResponse, ListAdminDatastoreFilesError, ProxmoxBackupOpContext>;
|
|
1044
|
+
export type ListAdminDatastoreGroupsError = ProxmoxBackupOpError;
|
|
1045
|
+
/** List backup groups. */
|
|
1046
|
+
export declare const listAdminDatastoreGroups: API.OperationMethod<ListAdminDatastoreGroupsRequest, ListAdminDatastoreGroupsResponse, ListAdminDatastoreGroupsError, ProxmoxBackupOpContext>;
|
|
1047
|
+
export type ListAdminDatastoreNamespaceError = ProxmoxBackupOpError;
|
|
1048
|
+
/** List the namespaces of a datastore. */
|
|
1049
|
+
export declare const listAdminDatastoreNamespace: API.OperationMethod<ListAdminDatastoreNamespaceRequest, ListAdminDatastoreNamespaceResponse, ListAdminDatastoreNamespaceError, ProxmoxBackupOpContext>;
|
|
1050
|
+
export type ListAdminDatastoreSnapshotsError = ProxmoxBackupOpError;
|
|
1051
|
+
/** List backup snapshots. */
|
|
1052
|
+
export declare const listAdminDatastoreSnapshots: API.OperationMethod<ListAdminDatastoreSnapshotsRequest, ListAdminDatastoreSnapshotsResponse, ListAdminDatastoreSnapshotsError, ProxmoxBackupOpContext>;
|
|
1053
|
+
export type ListAdminGcError = ProxmoxBackupOpError;
|
|
1054
|
+
/** List all GC jobs (max one per datastore) */
|
|
1055
|
+
export declare const listAdminGc: API.OperationMethod<ListAdminGcRequest, ListAdminGcResponse, ListAdminGcError, ProxmoxBackupOpContext>;
|
|
1056
|
+
export type ListAdminMetricsError = ProxmoxBackupOpError;
|
|
1057
|
+
/** List configured metric servers. */
|
|
1058
|
+
export declare const listAdminMetrics: API.OperationMethod<ListAdminMetricsRequest, ListAdminMetricsResponse, ListAdminMetricsError, ProxmoxBackupOpContext>;
|
|
1059
|
+
export type ListAdminPruneError = ProxmoxBackupOpError;
|
|
1060
|
+
/** List all prune jobs */
|
|
1061
|
+
export declare const listAdminPrune: API.OperationMethod<ListAdminPruneRequest, ListAdminPruneResponse, ListAdminPruneError, ProxmoxBackupOpContext>;
|
|
1062
|
+
export type ListAdminSyncError = ProxmoxBackupOpError;
|
|
1063
|
+
/** List all configured sync jobs */
|
|
1064
|
+
export declare const listAdminSync: API.OperationMethod<ListAdminSyncRequest, ListAdminSyncResponse, ListAdminSyncError, ProxmoxBackupOpContext>;
|
|
1065
|
+
export type ListAdminTrafficControlError = ProxmoxBackupOpError;
|
|
1066
|
+
/** Show current traffic for all traffic control rules. */
|
|
1067
|
+
export declare const listAdminTrafficControl: API.OperationMethod<ListAdminTrafficControlRequest, ListAdminTrafficControlResponse, ListAdminTrafficControlError, ProxmoxBackupOpContext>;
|
|
1068
|
+
export type ListAdminVerifyError = ProxmoxBackupOpError;
|
|
1069
|
+
/** List all verification jobs */
|
|
1070
|
+
export declare const listAdminVerify: API.OperationMethod<ListAdminVerifyRequest, ListAdminVerifyResponse, ListAdminVerifyError, ProxmoxBackupOpContext>;
|
|
1071
|
+
export type MoveAdminDatastoreGroupError = ProxmoxBackupOpError;
|
|
1072
|
+
/** Move a backup group to a different namespace within the same datastore. */
|
|
1073
|
+
export declare const moveAdminDatastoreGroup: API.OperationMethod<MoveAdminDatastoreGroupRequest, MoveAdminDatastoreGroupResponse, MoveAdminDatastoreGroupError, ProxmoxBackupOpContext>;
|
|
1074
|
+
export type MoveAdminDatastoreNamespaceError = ProxmoxBackupOpError;
|
|
1075
|
+
/** Move a backup namespace (including all child namespaces and groups) to a new location. */
|
|
1076
|
+
export declare const moveAdminDatastoreNamespace: API.OperationMethod<MoveAdminDatastoreNamespaceRequest, MoveAdminDatastoreNamespaceResponse, MoveAdminDatastoreNamespaceError, ProxmoxBackupOpContext>;
|
|
1077
|
+
export type PutAdminDatastoreGroupNotesError = ProxmoxBackupOpError;
|
|
1078
|
+
/** Set "notes" for a backup group */
|
|
1079
|
+
export declare const putAdminDatastoreGroupNotes: API.OperationMethod<PutAdminDatastoreGroupNotesRequest, PutAdminDatastoreGroupNotesResponse, PutAdminDatastoreGroupNotesError, ProxmoxBackupOpContext>;
|
|
1080
|
+
export type PutAdminDatastoreNotesError = ProxmoxBackupOpError;
|
|
1081
|
+
/** Set "notes" for a specific backup */
|
|
1082
|
+
export declare const putAdminDatastoreNotes: API.OperationMethod<PutAdminDatastoreNotesRequest, PutAdminDatastoreNotesResponse, PutAdminDatastoreNotesError, ProxmoxBackupOpContext>;
|
|
1083
|
+
export type PutAdminDatastoreProtectedError = ProxmoxBackupOpError;
|
|
1084
|
+
/** En- or disable protection for a specific backup */
|
|
1085
|
+
export declare const putAdminDatastoreProtected: API.OperationMethod<PutAdminDatastoreProtectedRequest, PutAdminDatastoreProtectedResponse, PutAdminDatastoreProtectedError, ProxmoxBackupOpContext>;
|
|
1086
|
+
export type PutAdminDatastoreS3RefreshError = ProxmoxBackupOpError;
|
|
1087
|
+
/** Refresh datastore contents from S3 to local cache store. */
|
|
1088
|
+
export declare const putAdminDatastoreS3Refresh: API.OperationMethod<PutAdminDatastoreS3RefreshRequest, PutAdminDatastoreS3RefreshResponse, PutAdminDatastoreS3RefreshError, ProxmoxBackupOpContext>;
|
|
1089
|
+
export type PutAdminS3CheckError = ProxmoxBackupOpError;
|
|
1090
|
+
/** Perform basic sanity check for given s3 client configuration */
|
|
1091
|
+
export declare const putAdminS3Check: API.OperationMethod<PutAdminS3CheckRequest, PutAdminS3CheckResponse, PutAdminS3CheckError, ProxmoxBackupOpContext>;
|
|
1092
|
+
export type PutAdminS3ResetCountersError = ProxmoxBackupOpError;
|
|
1093
|
+
/** Reset the S3 request counters for matching endpoint, bucket or datastore (if prefix is given). */
|
|
1094
|
+
export declare const putAdminS3ResetCounters: API.OperationMethod<PutAdminS3ResetCountersRequest, PutAdminS3ResetCountersResponse, PutAdminS3ResetCountersError, ProxmoxBackupOpContext>;
|
|
1095
|
+
export type RunAdminPruneError = ProxmoxBackupOpError;
|
|
1096
|
+
/** Runs a prune job manually. */
|
|
1097
|
+
export declare const runAdminPrune: API.OperationMethod<RunAdminPruneRequest, RunAdminPruneResponse, RunAdminPruneError, ProxmoxBackupOpContext>;
|
|
1098
|
+
export type RunAdminSyncError = ProxmoxBackupOpError;
|
|
1099
|
+
/** Runs the sync jobs manually. */
|
|
1100
|
+
export declare const runAdminSync: API.OperationMethod<RunAdminSyncRequest, RunAdminSyncResponse, RunAdminSyncError, ProxmoxBackupOpContext>;
|
|
1101
|
+
export type UploadAdminDatastoreBackupLogError = ProxmoxBackupOpError;
|
|
1102
|
+
/** Upload the client backup log file into a backup snapshot ('client.log.blob'). */
|
|
1103
|
+
export declare const uploadAdminDatastoreBackupLog: API.OperationMethod<UploadAdminDatastoreBackupLogRequest, UploadAdminDatastoreBackupLogResponse, UploadAdminDatastoreBackupLogError, ProxmoxBackupOpContext>;
|
|
1104
|
+
export type VerifyAdminDatastoreError = ProxmoxBackupOpError;
|
|
1105
|
+
/** Verify backups. This function can verify a single backup snapshot, all backups from a backup group, or all backups in the datastore. */
|
|
1106
|
+
export declare const verifyAdminDatastore: API.OperationMethod<VerifyAdminDatastoreRequest, VerifyAdminDatastoreResponse, VerifyAdminDatastoreError, ProxmoxBackupOpContext>;
|
|
1107
|
+
export type VerifyRunAdminError = ProxmoxBackupOpError;
|
|
1108
|
+
/** Runs a verification job manually. */
|
|
1109
|
+
export declare const verifyRunAdmin: API.OperationMethod<VerifyRunAdminRequest, VerifyRunAdminResponse, VerifyRunAdminError, ProxmoxBackupOpContext>;
|
|
1110
|
+
//# sourceMappingURL=admin.d.ts.map
|