@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,4313 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (apidoc.js, via scripts/apidoc.ts — see its header). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.ts";
|
|
5
|
+
import {
|
|
6
|
+
ProxmoxBackupProtocol,
|
|
7
|
+
type ProxmoxBackupOpError,
|
|
8
|
+
type ProxmoxBackupOpContext,
|
|
9
|
+
} from "../protocol.ts";
|
|
10
|
+
import * as Retry from "../retry.ts";
|
|
11
|
+
|
|
12
|
+
export type { ProxmoxBackupOpError, ProxmoxBackupOpContext };
|
|
13
|
+
|
|
14
|
+
export interface CreateNodeAptRepositoryRequest {
|
|
15
|
+
node: string;
|
|
16
|
+
/** Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications. */
|
|
17
|
+
digest?: string;
|
|
18
|
+
/** Whether the repository should be enabled or not. */
|
|
19
|
+
enabled?: string;
|
|
20
|
+
/** Index within the file (starting from 0). */
|
|
21
|
+
index: string;
|
|
22
|
+
/** Path to the containing file. */
|
|
23
|
+
path: string;
|
|
24
|
+
}
|
|
25
|
+
export const CreateNodeAptRepositoryRequest = /*@__PURE__*/ S.suspend(() =>
|
|
26
|
+
S.Struct({
|
|
27
|
+
node: S.String.pipe(T.Label()),
|
|
28
|
+
digest: S.optional(S.String),
|
|
29
|
+
enabled: S.optional(S.String),
|
|
30
|
+
index: S.String,
|
|
31
|
+
path: S.String,
|
|
32
|
+
}).pipe(
|
|
33
|
+
T.Http({
|
|
34
|
+
method: "POST",
|
|
35
|
+
uri: "/nodes/{node}/apt/repositories",
|
|
36
|
+
code: 200,
|
|
37
|
+
contentType: "form-urlencoded",
|
|
38
|
+
}),
|
|
39
|
+
),
|
|
40
|
+
).annotate({
|
|
41
|
+
identifier: "CreateNodeAptRepositoryRequest",
|
|
42
|
+
}) as any as S.Schema<CreateNodeAptRepositoryRequest>;
|
|
43
|
+
|
|
44
|
+
export interface CreateNodeAptRepositoryResponse {}
|
|
45
|
+
export const CreateNodeAptRepositoryResponse = /*@__PURE__*/ S.suspend(() =>
|
|
46
|
+
S.Struct({}),
|
|
47
|
+
).annotate({
|
|
48
|
+
identifier: "CreateNodeAptRepositoryResponse",
|
|
49
|
+
}) as any as S.Schema<CreateNodeAptRepositoryResponse>;
|
|
50
|
+
|
|
51
|
+
export interface CreateNodeCertificateAcmeCertificateRequest {
|
|
52
|
+
node: string;
|
|
53
|
+
/** Force replacement of existing files. */
|
|
54
|
+
force?: string;
|
|
55
|
+
}
|
|
56
|
+
export const CreateNodeCertificateAcmeCertificateRequest =
|
|
57
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
58
|
+
S.Struct({
|
|
59
|
+
node: S.String.pipe(T.Label()),
|
|
60
|
+
force: S.optional(S.String),
|
|
61
|
+
}).pipe(
|
|
62
|
+
T.Http({
|
|
63
|
+
method: "POST",
|
|
64
|
+
uri: "/nodes/{node}/certificates/acme/certificate",
|
|
65
|
+
code: 200,
|
|
66
|
+
contentType: "form-urlencoded",
|
|
67
|
+
}),
|
|
68
|
+
),
|
|
69
|
+
).annotate({
|
|
70
|
+
identifier: "CreateNodeCertificateAcmeCertificateRequest",
|
|
71
|
+
}) as any as S.Schema<CreateNodeCertificateAcmeCertificateRequest>;
|
|
72
|
+
|
|
73
|
+
export interface CreateNodeCertificateAcmeCertificateResponse {}
|
|
74
|
+
export const CreateNodeCertificateAcmeCertificateResponse =
|
|
75
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
76
|
+
identifier: "CreateNodeCertificateAcmeCertificateResponse",
|
|
77
|
+
}) as any as S.Schema<CreateNodeCertificateAcmeCertificateResponse>;
|
|
78
|
+
|
|
79
|
+
export interface CreateNodeCertificateCustomRequest {
|
|
80
|
+
node: string;
|
|
81
|
+
/** PEM encoded certificate (chain). */
|
|
82
|
+
certificates: string;
|
|
83
|
+
/** Force replacement of existing files. */
|
|
84
|
+
force?: string;
|
|
85
|
+
/** PEM encoded private key. */
|
|
86
|
+
key?: string;
|
|
87
|
+
/** UI compatibility parameter, ignored */
|
|
88
|
+
restart?: string;
|
|
89
|
+
}
|
|
90
|
+
export const CreateNodeCertificateCustomRequest = /*@__PURE__*/ S.suspend(() =>
|
|
91
|
+
S.Struct({
|
|
92
|
+
node: S.String.pipe(T.Label()),
|
|
93
|
+
certificates: S.String,
|
|
94
|
+
force: S.optional(S.String),
|
|
95
|
+
key: S.optional(S.String),
|
|
96
|
+
restart: S.optional(S.String),
|
|
97
|
+
}).pipe(
|
|
98
|
+
T.Http({
|
|
99
|
+
method: "POST",
|
|
100
|
+
uri: "/nodes/{node}/certificates/custom",
|
|
101
|
+
code: 200,
|
|
102
|
+
contentType: "form-urlencoded",
|
|
103
|
+
}),
|
|
104
|
+
),
|
|
105
|
+
).annotate({
|
|
106
|
+
identifier: "CreateNodeCertificateCustomRequest",
|
|
107
|
+
}) as any as S.Schema<CreateNodeCertificateCustomRequest>;
|
|
108
|
+
|
|
109
|
+
export type CreateNodeCertificateCustomResponseBodyItemSanList = Array<string>;
|
|
110
|
+
export const CreateNodeCertificateCustomResponseBodyItemSanList =
|
|
111
|
+
/*@__PURE__*/ S.Array(
|
|
112
|
+
S.String,
|
|
113
|
+
) as any as S.Schema<CreateNodeCertificateCustomResponseBodyItemSanList>;
|
|
114
|
+
|
|
115
|
+
export interface CreateNodeCertificateCustomResponseBodyItem {
|
|
116
|
+
filename: string;
|
|
117
|
+
fingerprint?: string;
|
|
118
|
+
issuer: string;
|
|
119
|
+
notafter?: number;
|
|
120
|
+
notbefore?: number;
|
|
121
|
+
pem?: string;
|
|
122
|
+
public_key_bits?: number;
|
|
123
|
+
public_key_type?: string;
|
|
124
|
+
san: CreateNodeCertificateCustomResponseBodyItemSanList;
|
|
125
|
+
subject: string;
|
|
126
|
+
}
|
|
127
|
+
export const CreateNodeCertificateCustomResponseBodyItem =
|
|
128
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
129
|
+
S.Struct({
|
|
130
|
+
filename: S.String,
|
|
131
|
+
fingerprint: S.optional(S.String),
|
|
132
|
+
issuer: S.String,
|
|
133
|
+
notafter: S.optional(S.Number),
|
|
134
|
+
notbefore: S.optional(S.Number),
|
|
135
|
+
pem: S.optional(S.String),
|
|
136
|
+
public_key_bits: S.optional(S.Number.pipe(T.Body("public-key-bits"))),
|
|
137
|
+
public_key_type: S.optional(S.String.pipe(T.Body("public-key-type"))),
|
|
138
|
+
san: CreateNodeCertificateCustomResponseBodyItemSanList,
|
|
139
|
+
subject: S.String,
|
|
140
|
+
}),
|
|
141
|
+
).annotate({
|
|
142
|
+
identifier: "CreateNodeCertificateCustomResponseBodyItem",
|
|
143
|
+
}) as any as S.Schema<CreateNodeCertificateCustomResponseBodyItem>;
|
|
144
|
+
|
|
145
|
+
export type CreateNodeCertificateCustomResponseBodyList =
|
|
146
|
+
Array<CreateNodeCertificateCustomResponseBodyItem>;
|
|
147
|
+
export const CreateNodeCertificateCustomResponseBodyList =
|
|
148
|
+
/*@__PURE__*/ S.Array(
|
|
149
|
+
CreateNodeCertificateCustomResponseBodyItem,
|
|
150
|
+
) as any as S.Schema<CreateNodeCertificateCustomResponseBodyList>;
|
|
151
|
+
|
|
152
|
+
export type CreateNodeCertificateCustomResponse =
|
|
153
|
+
CreateNodeCertificateCustomResponseBodyList;
|
|
154
|
+
export const CreateNodeCertificateCustomResponse = /*@__PURE__*/ S.suspend(() =>
|
|
155
|
+
CreateNodeCertificateCustomResponseBodyList.pipe(T.RawResponseRoot()),
|
|
156
|
+
).annotate({
|
|
157
|
+
identifier: "CreateNodeCertificateCustomResponse",
|
|
158
|
+
}) as any as S.Schema<CreateNodeCertificateCustomResponse>;
|
|
159
|
+
|
|
160
|
+
export type CreateNodeDiskDirectoryRequestFilesystem = "ext4" | "xfs";
|
|
161
|
+
export const CreateNodeDiskDirectoryRequestFilesystem = S.String;
|
|
162
|
+
|
|
163
|
+
export interface CreateNodeDiskDirectoryRequest {
|
|
164
|
+
node: string;
|
|
165
|
+
/** Configure a datastore using the directory. */
|
|
166
|
+
add_datastore?: string;
|
|
167
|
+
/** Block device name (/sys/block/<name>). */
|
|
168
|
+
disk: string;
|
|
169
|
+
/** A file system type supported by our tooling. */
|
|
170
|
+
filesystem?: CreateNodeDiskDirectoryRequestFilesystem | (string & {});
|
|
171
|
+
/** Datastore name. */
|
|
172
|
+
name: string;
|
|
173
|
+
/** The added datastore is removable. */
|
|
174
|
+
removable_datastore?: string;
|
|
175
|
+
}
|
|
176
|
+
export const CreateNodeDiskDirectoryRequest = /*@__PURE__*/ S.suspend(() =>
|
|
177
|
+
S.Struct({
|
|
178
|
+
node: S.String.pipe(T.Label()),
|
|
179
|
+
add_datastore: S.optional(S.String.pipe(T.Body("add-datastore"))),
|
|
180
|
+
disk: S.String,
|
|
181
|
+
filesystem: S.optional(CreateNodeDiskDirectoryRequestFilesystem),
|
|
182
|
+
name: S.String,
|
|
183
|
+
removable_datastore: S.optional(
|
|
184
|
+
S.String.pipe(T.Body("removable-datastore")),
|
|
185
|
+
),
|
|
186
|
+
}).pipe(
|
|
187
|
+
T.Http({
|
|
188
|
+
method: "POST",
|
|
189
|
+
uri: "/nodes/{node}/disks/directory",
|
|
190
|
+
code: 200,
|
|
191
|
+
contentType: "form-urlencoded",
|
|
192
|
+
}),
|
|
193
|
+
),
|
|
194
|
+
).annotate({
|
|
195
|
+
identifier: "CreateNodeDiskDirectoryRequest",
|
|
196
|
+
}) as any as S.Schema<CreateNodeDiskDirectoryRequest>;
|
|
197
|
+
|
|
198
|
+
export type CreateNodeDiskDirectoryResponse = string;
|
|
199
|
+
export const CreateNodeDiskDirectoryResponse = /*@__PURE__*/ S.suspend(() =>
|
|
200
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
201
|
+
).annotate({
|
|
202
|
+
identifier: "CreateNodeDiskDirectoryResponse",
|
|
203
|
+
}) as any as S.Schema<CreateNodeDiskDirectoryResponse>;
|
|
204
|
+
|
|
205
|
+
export interface CreateNodeDiskInitgptRequest {
|
|
206
|
+
node: string;
|
|
207
|
+
/** Block device name (/sys/block/<name>). */
|
|
208
|
+
disk: string;
|
|
209
|
+
/** UUID for the GPT table. */
|
|
210
|
+
uuid?: string;
|
|
211
|
+
}
|
|
212
|
+
export const CreateNodeDiskInitgptRequest = /*@__PURE__*/ S.suspend(() =>
|
|
213
|
+
S.Struct({
|
|
214
|
+
node: S.String.pipe(T.Label()),
|
|
215
|
+
disk: S.String,
|
|
216
|
+
uuid: S.optional(S.String),
|
|
217
|
+
}).pipe(
|
|
218
|
+
T.Http({
|
|
219
|
+
method: "POST",
|
|
220
|
+
uri: "/nodes/{node}/disks/initgpt",
|
|
221
|
+
code: 200,
|
|
222
|
+
contentType: "form-urlencoded",
|
|
223
|
+
}),
|
|
224
|
+
),
|
|
225
|
+
).annotate({
|
|
226
|
+
identifier: "CreateNodeDiskInitgptRequest",
|
|
227
|
+
}) as any as S.Schema<CreateNodeDiskInitgptRequest>;
|
|
228
|
+
|
|
229
|
+
export type CreateNodeDiskInitgptResponse = string;
|
|
230
|
+
export const CreateNodeDiskInitgptResponse = /*@__PURE__*/ S.suspend(() =>
|
|
231
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
232
|
+
).annotate({
|
|
233
|
+
identifier: "CreateNodeDiskInitgptResponse",
|
|
234
|
+
}) as any as S.Schema<CreateNodeDiskInitgptResponse>;
|
|
235
|
+
|
|
236
|
+
export type CreateNodeDiskZfsRequestCompression =
|
|
237
|
+
| "gzip"
|
|
238
|
+
| "lz4"
|
|
239
|
+
| "lzjb"
|
|
240
|
+
| "zle"
|
|
241
|
+
| "zstd"
|
|
242
|
+
| "on"
|
|
243
|
+
| "off";
|
|
244
|
+
export const CreateNodeDiskZfsRequestCompression = S.String;
|
|
245
|
+
|
|
246
|
+
export type CreateNodeDiskZfsRequestRaidlevel =
|
|
247
|
+
| "single"
|
|
248
|
+
| "mirror"
|
|
249
|
+
| "raid10"
|
|
250
|
+
| "raidz"
|
|
251
|
+
| "raidz2"
|
|
252
|
+
| "raidz3";
|
|
253
|
+
export const CreateNodeDiskZfsRequestRaidlevel = S.String;
|
|
254
|
+
|
|
255
|
+
export interface CreateNodeDiskZfsRequest {
|
|
256
|
+
node: string;
|
|
257
|
+
/** Configure a datastore using the zpool. */
|
|
258
|
+
add_datastore?: string;
|
|
259
|
+
/** Pool sector size exponent. */
|
|
260
|
+
ashift?: string;
|
|
261
|
+
/** The ZFS compression algorithm to use. */
|
|
262
|
+
compression?: CreateNodeDiskZfsRequestCompression | (string & {});
|
|
263
|
+
/** A list of disk names, comma separated. */
|
|
264
|
+
devices: string;
|
|
265
|
+
/** Datastore name. */
|
|
266
|
+
name: string;
|
|
267
|
+
/** The ZFS RAID level to use. */
|
|
268
|
+
raidlevel: CreateNodeDiskZfsRequestRaidlevel | (string & {});
|
|
269
|
+
}
|
|
270
|
+
export const CreateNodeDiskZfsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
271
|
+
S.Struct({
|
|
272
|
+
node: S.String.pipe(T.Label()),
|
|
273
|
+
add_datastore: S.optional(S.String.pipe(T.Body("add-datastore"))),
|
|
274
|
+
ashift: S.optional(S.String),
|
|
275
|
+
compression: S.optional(CreateNodeDiskZfsRequestCompression),
|
|
276
|
+
devices: S.String,
|
|
277
|
+
name: S.String,
|
|
278
|
+
raidlevel: CreateNodeDiskZfsRequestRaidlevel,
|
|
279
|
+
}).pipe(
|
|
280
|
+
T.Http({
|
|
281
|
+
method: "POST",
|
|
282
|
+
uri: "/nodes/{node}/disks/zfs",
|
|
283
|
+
code: 200,
|
|
284
|
+
contentType: "form-urlencoded",
|
|
285
|
+
}),
|
|
286
|
+
),
|
|
287
|
+
).annotate({
|
|
288
|
+
identifier: "CreateNodeDiskZfsRequest",
|
|
289
|
+
}) as any as S.Schema<CreateNodeDiskZfsRequest>;
|
|
290
|
+
|
|
291
|
+
export type CreateNodeDiskZfsResponse = string;
|
|
292
|
+
export const CreateNodeDiskZfsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
293
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
294
|
+
).annotate({
|
|
295
|
+
identifier: "CreateNodeDiskZfsResponse",
|
|
296
|
+
}) as any as S.Schema<CreateNodeDiskZfsResponse>;
|
|
297
|
+
|
|
298
|
+
export type CreateNodeNetworkRequestBondMode =
|
|
299
|
+
| "balance-rr"
|
|
300
|
+
| "active-backup"
|
|
301
|
+
| "balance-xor"
|
|
302
|
+
| "broadcast"
|
|
303
|
+
| "802.3ad"
|
|
304
|
+
| "balance-tlb"
|
|
305
|
+
| "balance-alb";
|
|
306
|
+
export const CreateNodeNetworkRequestBondMode = S.String;
|
|
307
|
+
|
|
308
|
+
export type CreateNodeNetworkRequestBondXmitHashPolicy =
|
|
309
|
+
| "layer2"
|
|
310
|
+
| "layer2+3"
|
|
311
|
+
| "layer3+4";
|
|
312
|
+
export const CreateNodeNetworkRequestBondXmitHashPolicy = S.String;
|
|
313
|
+
|
|
314
|
+
export type CreateNodeNetworkRequestMethod =
|
|
315
|
+
| "manual"
|
|
316
|
+
| "static"
|
|
317
|
+
| "dhcp"
|
|
318
|
+
| "loopback";
|
|
319
|
+
export const CreateNodeNetworkRequestMethod = S.String;
|
|
320
|
+
|
|
321
|
+
export type CreateNodeNetworkRequestMethod6 =
|
|
322
|
+
| "manual"
|
|
323
|
+
| "static"
|
|
324
|
+
| "dhcp"
|
|
325
|
+
| "loopback";
|
|
326
|
+
export const CreateNodeNetworkRequestMethod6 = S.String;
|
|
327
|
+
|
|
328
|
+
export type CreateNodeNetworkRequestType =
|
|
329
|
+
| "loopback"
|
|
330
|
+
| "eth"
|
|
331
|
+
| "bridge"
|
|
332
|
+
| "bond"
|
|
333
|
+
| "vlan"
|
|
334
|
+
| "alias"
|
|
335
|
+
| "unknown";
|
|
336
|
+
export const CreateNodeNetworkRequestType = S.String;
|
|
337
|
+
|
|
338
|
+
export interface CreateNodeNetworkRequest {
|
|
339
|
+
node: string;
|
|
340
|
+
/** Autostart interface. */
|
|
341
|
+
autostart?: string;
|
|
342
|
+
/** Network interface name. */
|
|
343
|
+
bond_primary?: string;
|
|
344
|
+
/** Linux Bond Mode */
|
|
345
|
+
bond_mode?: CreateNodeNetworkRequestBondMode | (string & {});
|
|
346
|
+
/** Bond Transmit Hash Policy for LACP (802.3ad) */
|
|
347
|
+
bond_xmit_hash_policy?:
|
|
348
|
+
| CreateNodeNetworkRequestBondXmitHashPolicy
|
|
349
|
+
| (string & {});
|
|
350
|
+
/** A list of network devices, comma separated. */
|
|
351
|
+
bridge_ports?: string;
|
|
352
|
+
/** Enable bridge vlan support. */
|
|
353
|
+
bridge_vlan_aware?: string;
|
|
354
|
+
/** IPv4 address with netmask (CIDR notation). */
|
|
355
|
+
cidr?: string;
|
|
356
|
+
/** IPv6 address with netmask (CIDR notation). */
|
|
357
|
+
cidr6?: string;
|
|
358
|
+
/** Comments (inet, may span multiple lines) */
|
|
359
|
+
comments?: string;
|
|
360
|
+
/** Comments (inet5, may span multiple lines) */
|
|
361
|
+
comments6?: string;
|
|
362
|
+
/** IPv4 address. */
|
|
363
|
+
gateway?: string;
|
|
364
|
+
/** IPv6 address. */
|
|
365
|
+
gateway6?: string;
|
|
366
|
+
/** Network interface name. */
|
|
367
|
+
iface: string;
|
|
368
|
+
/** Interface configuration method */
|
|
369
|
+
method?: CreateNodeNetworkRequestMethod | (string & {});
|
|
370
|
+
/** Interface configuration method */
|
|
371
|
+
method6?: CreateNodeNetworkRequestMethod6 | (string & {});
|
|
372
|
+
/** Maximum Transmission Unit. */
|
|
373
|
+
mtu?: string;
|
|
374
|
+
/** A list of network devices, comma separated. */
|
|
375
|
+
slaves?: string;
|
|
376
|
+
/** Network interface type */
|
|
377
|
+
type?: CreateNodeNetworkRequestType | (string & {});
|
|
378
|
+
/** VLAN ID. */
|
|
379
|
+
vlan_id?: string;
|
|
380
|
+
/** Network interface name. */
|
|
381
|
+
vlan_raw_device?: string;
|
|
382
|
+
}
|
|
383
|
+
export const CreateNodeNetworkRequest = /*@__PURE__*/ S.suspend(() =>
|
|
384
|
+
S.Struct({
|
|
385
|
+
node: S.String.pipe(T.Label()),
|
|
386
|
+
autostart: S.optional(S.String),
|
|
387
|
+
bond_primary: S.optional(S.String.pipe(T.Body("bond-primary"))),
|
|
388
|
+
bond_mode: S.optional(CreateNodeNetworkRequestBondMode),
|
|
389
|
+
bond_xmit_hash_policy: S.optional(
|
|
390
|
+
CreateNodeNetworkRequestBondXmitHashPolicy,
|
|
391
|
+
),
|
|
392
|
+
bridge_ports: S.optional(S.String),
|
|
393
|
+
bridge_vlan_aware: S.optional(S.String),
|
|
394
|
+
cidr: S.optional(S.String),
|
|
395
|
+
cidr6: S.optional(S.String),
|
|
396
|
+
comments: S.optional(S.String),
|
|
397
|
+
comments6: S.optional(S.String),
|
|
398
|
+
gateway: S.optional(S.String),
|
|
399
|
+
gateway6: S.optional(S.String),
|
|
400
|
+
iface: S.String,
|
|
401
|
+
method: S.optional(CreateNodeNetworkRequestMethod),
|
|
402
|
+
method6: S.optional(CreateNodeNetworkRequestMethod6),
|
|
403
|
+
mtu: S.optional(S.String),
|
|
404
|
+
slaves: S.optional(S.String),
|
|
405
|
+
type: S.optional(CreateNodeNetworkRequestType),
|
|
406
|
+
vlan_id: S.optional(S.String.pipe(T.Body("vlan-id"))),
|
|
407
|
+
vlan_raw_device: S.optional(S.String.pipe(T.Body("vlan-raw-device"))),
|
|
408
|
+
}).pipe(
|
|
409
|
+
T.Http({
|
|
410
|
+
method: "POST",
|
|
411
|
+
uri: "/nodes/{node}/network",
|
|
412
|
+
code: 200,
|
|
413
|
+
contentType: "form-urlencoded",
|
|
414
|
+
}),
|
|
415
|
+
),
|
|
416
|
+
).annotate({
|
|
417
|
+
identifier: "CreateNodeNetworkRequest",
|
|
418
|
+
}) as any as S.Schema<CreateNodeNetworkRequest>;
|
|
419
|
+
|
|
420
|
+
export interface CreateNodeNetworkResponse {}
|
|
421
|
+
export const CreateNodeNetworkResponse = /*@__PURE__*/ S.suspend(() =>
|
|
422
|
+
S.Struct({}),
|
|
423
|
+
).annotate({
|
|
424
|
+
identifier: "CreateNodeNetworkResponse",
|
|
425
|
+
}) as any as S.Schema<CreateNodeNetworkResponse>;
|
|
426
|
+
|
|
427
|
+
export interface CreateNodeServiceReloadRequest {
|
|
428
|
+
node: string;
|
|
429
|
+
service: string;
|
|
430
|
+
}
|
|
431
|
+
export const CreateNodeServiceReloadRequest = /*@__PURE__*/ S.suspend(() =>
|
|
432
|
+
S.Struct({
|
|
433
|
+
node: S.String.pipe(T.Label()),
|
|
434
|
+
service: S.String.pipe(T.Label()),
|
|
435
|
+
}).pipe(
|
|
436
|
+
T.Http({
|
|
437
|
+
method: "POST",
|
|
438
|
+
uri: "/nodes/{node}/services/{service}/reload",
|
|
439
|
+
code: 200,
|
|
440
|
+
}),
|
|
441
|
+
),
|
|
442
|
+
).annotate({
|
|
443
|
+
identifier: "CreateNodeServiceReloadRequest",
|
|
444
|
+
}) as any as S.Schema<CreateNodeServiceReloadRequest>;
|
|
445
|
+
|
|
446
|
+
export interface CreateNodeServiceReloadResponse {}
|
|
447
|
+
export const CreateNodeServiceReloadResponse = /*@__PURE__*/ S.suspend(() =>
|
|
448
|
+
S.Struct({}),
|
|
449
|
+
).annotate({
|
|
450
|
+
identifier: "CreateNodeServiceReloadResponse",
|
|
451
|
+
}) as any as S.Schema<CreateNodeServiceReloadResponse>;
|
|
452
|
+
|
|
453
|
+
export type CreateNodeStatusRequestCommand = "reboot" | "shutdown";
|
|
454
|
+
export const CreateNodeStatusRequestCommand = S.String;
|
|
455
|
+
|
|
456
|
+
export interface CreateNodeStatusRequest {
|
|
457
|
+
node: string;
|
|
458
|
+
/** Node Power command type. */
|
|
459
|
+
command: CreateNodeStatusRequestCommand | (string & {});
|
|
460
|
+
}
|
|
461
|
+
export const CreateNodeStatusRequest = /*@__PURE__*/ S.suspend(() =>
|
|
462
|
+
S.Struct({
|
|
463
|
+
node: S.String.pipe(T.Label()),
|
|
464
|
+
command: CreateNodeStatusRequestCommand,
|
|
465
|
+
}).pipe(
|
|
466
|
+
T.Http({
|
|
467
|
+
method: "POST",
|
|
468
|
+
uri: "/nodes/{node}/status",
|
|
469
|
+
code: 200,
|
|
470
|
+
contentType: "form-urlencoded",
|
|
471
|
+
}),
|
|
472
|
+
),
|
|
473
|
+
).annotate({
|
|
474
|
+
identifier: "CreateNodeStatusRequest",
|
|
475
|
+
}) as any as S.Schema<CreateNodeStatusRequest>;
|
|
476
|
+
|
|
477
|
+
export interface CreateNodeStatusResponse {}
|
|
478
|
+
export const CreateNodeStatusResponse = /*@__PURE__*/ S.suspend(() =>
|
|
479
|
+
S.Struct({}),
|
|
480
|
+
).annotate({
|
|
481
|
+
identifier: "CreateNodeStatusResponse",
|
|
482
|
+
}) as any as S.Schema<CreateNodeStatusResponse>;
|
|
483
|
+
|
|
484
|
+
export interface CreateNodeSubscriptionRequest {
|
|
485
|
+
node: string;
|
|
486
|
+
/** Always connect to server, even if information in cache is up to date. */
|
|
487
|
+
force?: string;
|
|
488
|
+
}
|
|
489
|
+
export const CreateNodeSubscriptionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
490
|
+
S.Struct({
|
|
491
|
+
node: S.String.pipe(T.Label()),
|
|
492
|
+
force: S.optional(S.String),
|
|
493
|
+
}).pipe(
|
|
494
|
+
T.Http({
|
|
495
|
+
method: "POST",
|
|
496
|
+
uri: "/nodes/{node}/subscription",
|
|
497
|
+
code: 200,
|
|
498
|
+
contentType: "form-urlencoded",
|
|
499
|
+
}),
|
|
500
|
+
),
|
|
501
|
+
).annotate({
|
|
502
|
+
identifier: "CreateNodeSubscriptionRequest",
|
|
503
|
+
}) as any as S.Schema<CreateNodeSubscriptionRequest>;
|
|
504
|
+
|
|
505
|
+
export interface CreateNodeSubscriptionResponse {}
|
|
506
|
+
export const CreateNodeSubscriptionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
507
|
+
S.Struct({}),
|
|
508
|
+
).annotate({
|
|
509
|
+
identifier: "CreateNodeSubscriptionResponse",
|
|
510
|
+
}) as any as S.Schema<CreateNodeSubscriptionResponse>;
|
|
511
|
+
|
|
512
|
+
export type CreateNodeTermproxyRequestCmd = "login" | "upgrade";
|
|
513
|
+
export const CreateNodeTermproxyRequestCmd = S.String;
|
|
514
|
+
|
|
515
|
+
export interface CreateNodeTermproxyRequest {
|
|
516
|
+
node: string;
|
|
517
|
+
/** The command to run. */
|
|
518
|
+
cmd?: CreateNodeTermproxyRequestCmd | (string & {});
|
|
519
|
+
}
|
|
520
|
+
export const CreateNodeTermproxyRequest = /*@__PURE__*/ S.suspend(() =>
|
|
521
|
+
S.Struct({
|
|
522
|
+
node: S.String.pipe(T.Label()),
|
|
523
|
+
cmd: S.optional(CreateNodeTermproxyRequestCmd),
|
|
524
|
+
}).pipe(
|
|
525
|
+
T.Http({
|
|
526
|
+
method: "POST",
|
|
527
|
+
uri: "/nodes/{node}/termproxy",
|
|
528
|
+
code: 200,
|
|
529
|
+
contentType: "form-urlencoded",
|
|
530
|
+
}),
|
|
531
|
+
),
|
|
532
|
+
).annotate({
|
|
533
|
+
identifier: "CreateNodeTermproxyRequest",
|
|
534
|
+
}) as any as S.Schema<CreateNodeTermproxyRequest>;
|
|
535
|
+
|
|
536
|
+
export interface CreateNodeTermproxyResponse {
|
|
537
|
+
port: number;
|
|
538
|
+
ticket: string;
|
|
539
|
+
upid: string;
|
|
540
|
+
user: string;
|
|
541
|
+
}
|
|
542
|
+
export const CreateNodeTermproxyResponse = /*@__PURE__*/ S.suspend(() =>
|
|
543
|
+
S.Struct({
|
|
544
|
+
port: S.Number,
|
|
545
|
+
ticket: S.String,
|
|
546
|
+
upid: S.String,
|
|
547
|
+
user: S.String,
|
|
548
|
+
}),
|
|
549
|
+
).annotate({
|
|
550
|
+
identifier: "CreateNodeTermproxyResponse",
|
|
551
|
+
}) as any as S.Schema<CreateNodeTermproxyResponse>;
|
|
552
|
+
|
|
553
|
+
export interface DeleteNodeCertificateCustomRequest {
|
|
554
|
+
node: string;
|
|
555
|
+
/** UI compatibility parameter, ignored */
|
|
556
|
+
restart?: string;
|
|
557
|
+
}
|
|
558
|
+
export const DeleteNodeCertificateCustomRequest = /*@__PURE__*/ S.suspend(() =>
|
|
559
|
+
S.Struct({
|
|
560
|
+
node: S.String.pipe(T.Label()),
|
|
561
|
+
restart: S.optional(S.String),
|
|
562
|
+
}).pipe(
|
|
563
|
+
T.Http({
|
|
564
|
+
method: "DELETE",
|
|
565
|
+
uri: "/nodes/{node}/certificates/custom",
|
|
566
|
+
code: 200,
|
|
567
|
+
contentType: "form-urlencoded",
|
|
568
|
+
}),
|
|
569
|
+
),
|
|
570
|
+
).annotate({
|
|
571
|
+
identifier: "DeleteNodeCertificateCustomRequest",
|
|
572
|
+
}) as any as S.Schema<DeleteNodeCertificateCustomRequest>;
|
|
573
|
+
|
|
574
|
+
export interface DeleteNodeCertificateCustomResponse {}
|
|
575
|
+
export const DeleteNodeCertificateCustomResponse = /*@__PURE__*/ S.suspend(() =>
|
|
576
|
+
S.Struct({}),
|
|
577
|
+
).annotate({
|
|
578
|
+
identifier: "DeleteNodeCertificateCustomResponse",
|
|
579
|
+
}) as any as S.Schema<DeleteNodeCertificateCustomResponse>;
|
|
580
|
+
|
|
581
|
+
export interface DeleteNodeDiskDirectoryRequest {
|
|
582
|
+
node: string;
|
|
583
|
+
name: string;
|
|
584
|
+
}
|
|
585
|
+
export const DeleteNodeDiskDirectoryRequest = /*@__PURE__*/ S.suspend(() =>
|
|
586
|
+
S.Struct({
|
|
587
|
+
node: S.String.pipe(T.Label()),
|
|
588
|
+
name: S.String.pipe(T.Label()),
|
|
589
|
+
}).pipe(
|
|
590
|
+
T.Http({
|
|
591
|
+
method: "DELETE",
|
|
592
|
+
uri: "/nodes/{node}/disks/directory/{name}",
|
|
593
|
+
code: 200,
|
|
594
|
+
}),
|
|
595
|
+
),
|
|
596
|
+
).annotate({
|
|
597
|
+
identifier: "DeleteNodeDiskDirectoryRequest",
|
|
598
|
+
}) as any as S.Schema<DeleteNodeDiskDirectoryRequest>;
|
|
599
|
+
|
|
600
|
+
export interface DeleteNodeDiskDirectoryResponse {}
|
|
601
|
+
export const DeleteNodeDiskDirectoryResponse = /*@__PURE__*/ S.suspend(() =>
|
|
602
|
+
S.Struct({}),
|
|
603
|
+
).annotate({
|
|
604
|
+
identifier: "DeleteNodeDiskDirectoryResponse",
|
|
605
|
+
}) as any as S.Schema<DeleteNodeDiskDirectoryResponse>;
|
|
606
|
+
|
|
607
|
+
export interface DeleteNodeNetworkRequest {
|
|
608
|
+
node: string;
|
|
609
|
+
}
|
|
610
|
+
export const DeleteNodeNetworkRequest = /*@__PURE__*/ S.suspend(() =>
|
|
611
|
+
S.Struct({
|
|
612
|
+
node: S.String.pipe(T.Label()),
|
|
613
|
+
}).pipe(
|
|
614
|
+
T.Http({ method: "DELETE", uri: "/nodes/{node}/network", code: 200 }),
|
|
615
|
+
),
|
|
616
|
+
).annotate({
|
|
617
|
+
identifier: "DeleteNodeNetworkRequest",
|
|
618
|
+
}) as any as S.Schema<DeleteNodeNetworkRequest>;
|
|
619
|
+
|
|
620
|
+
export interface DeleteNodeNetworkResponse {}
|
|
621
|
+
export const DeleteNodeNetworkResponse = /*@__PURE__*/ S.suspend(() =>
|
|
622
|
+
S.Struct({}),
|
|
623
|
+
).annotate({
|
|
624
|
+
identifier: "DeleteNodeNetworkResponse",
|
|
625
|
+
}) as any as S.Schema<DeleteNodeNetworkResponse>;
|
|
626
|
+
|
|
627
|
+
export interface DeleteNodeNetwork2Request {
|
|
628
|
+
node: string;
|
|
629
|
+
iface: string;
|
|
630
|
+
/** Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications. */
|
|
631
|
+
digest?: string;
|
|
632
|
+
}
|
|
633
|
+
export const DeleteNodeNetwork2Request = /*@__PURE__*/ S.suspend(() =>
|
|
634
|
+
S.Struct({
|
|
635
|
+
node: S.String.pipe(T.Label()),
|
|
636
|
+
iface: S.String.pipe(T.Label()),
|
|
637
|
+
digest: S.optional(S.String),
|
|
638
|
+
}).pipe(
|
|
639
|
+
T.Http({
|
|
640
|
+
method: "DELETE",
|
|
641
|
+
uri: "/nodes/{node}/network/{iface}",
|
|
642
|
+
code: 200,
|
|
643
|
+
contentType: "form-urlencoded",
|
|
644
|
+
}),
|
|
645
|
+
),
|
|
646
|
+
).annotate({
|
|
647
|
+
identifier: "DeleteNodeNetwork2Request",
|
|
648
|
+
}) as any as S.Schema<DeleteNodeNetwork2Request>;
|
|
649
|
+
|
|
650
|
+
export interface DeleteNodeNetwork2Response {}
|
|
651
|
+
export const DeleteNodeNetwork2Response = /*@__PURE__*/ S.suspend(() =>
|
|
652
|
+
S.Struct({}),
|
|
653
|
+
).annotate({
|
|
654
|
+
identifier: "DeleteNodeNetwork2Response",
|
|
655
|
+
}) as any as S.Schema<DeleteNodeNetwork2Response>;
|
|
656
|
+
|
|
657
|
+
export interface DeleteNodeSubscriptionRequest {
|
|
658
|
+
node: string;
|
|
659
|
+
}
|
|
660
|
+
export const DeleteNodeSubscriptionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
661
|
+
S.Struct({
|
|
662
|
+
node: S.String.pipe(T.Label()),
|
|
663
|
+
}).pipe(
|
|
664
|
+
T.Http({ method: "DELETE", uri: "/nodes/{node}/subscription", code: 200 }),
|
|
665
|
+
),
|
|
666
|
+
).annotate({
|
|
667
|
+
identifier: "DeleteNodeSubscriptionRequest",
|
|
668
|
+
}) as any as S.Schema<DeleteNodeSubscriptionRequest>;
|
|
669
|
+
|
|
670
|
+
export interface DeleteNodeSubscriptionResponse {}
|
|
671
|
+
export const DeleteNodeSubscriptionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
672
|
+
S.Struct({}),
|
|
673
|
+
).annotate({
|
|
674
|
+
identifier: "DeleteNodeSubscriptionResponse",
|
|
675
|
+
}) as any as S.Schema<DeleteNodeSubscriptionResponse>;
|
|
676
|
+
|
|
677
|
+
export interface DeleteNodeTaskRequest {
|
|
678
|
+
node: string;
|
|
679
|
+
upid: string;
|
|
680
|
+
}
|
|
681
|
+
export const DeleteNodeTaskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
682
|
+
S.Struct({
|
|
683
|
+
node: S.String.pipe(T.Label()),
|
|
684
|
+
upid: S.String.pipe(T.Label()),
|
|
685
|
+
}).pipe(
|
|
686
|
+
T.Http({ method: "DELETE", uri: "/nodes/{node}/tasks/{upid}", code: 200 }),
|
|
687
|
+
),
|
|
688
|
+
).annotate({
|
|
689
|
+
identifier: "DeleteNodeTaskRequest",
|
|
690
|
+
}) as any as S.Schema<DeleteNodeTaskRequest>;
|
|
691
|
+
|
|
692
|
+
export interface DeleteNodeTaskResponse {}
|
|
693
|
+
export const DeleteNodeTaskResponse = /*@__PURE__*/ S.suspend(() =>
|
|
694
|
+
S.Struct({}),
|
|
695
|
+
).annotate({
|
|
696
|
+
identifier: "DeleteNodeTaskResponse",
|
|
697
|
+
}) as any as S.Schema<DeleteNodeTaskResponse>;
|
|
698
|
+
|
|
699
|
+
export interface GetNodeRequest {
|
|
700
|
+
node: string;
|
|
701
|
+
}
|
|
702
|
+
export const GetNodeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
703
|
+
S.Struct({
|
|
704
|
+
node: S.String.pipe(T.Label()),
|
|
705
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}", code: 200 })),
|
|
706
|
+
).annotate({ identifier: "GetNodeRequest" }) as any as S.Schema<GetNodeRequest>;
|
|
707
|
+
|
|
708
|
+
export interface GetNodeResponse {}
|
|
709
|
+
export const GetNodeResponse = /*@__PURE__*/ S.suspend(() =>
|
|
710
|
+
S.Struct({}),
|
|
711
|
+
).annotate({
|
|
712
|
+
identifier: "GetNodeResponse",
|
|
713
|
+
}) as any as S.Schema<GetNodeResponse>;
|
|
714
|
+
|
|
715
|
+
export interface GetNodeAptRequest {
|
|
716
|
+
node: string;
|
|
717
|
+
}
|
|
718
|
+
export const GetNodeAptRequest = /*@__PURE__*/ S.suspend(() =>
|
|
719
|
+
S.Struct({
|
|
720
|
+
node: S.String.pipe(T.Label()),
|
|
721
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/apt", code: 200 })),
|
|
722
|
+
).annotate({
|
|
723
|
+
identifier: "GetNodeAptRequest",
|
|
724
|
+
}) as any as S.Schema<GetNodeAptRequest>;
|
|
725
|
+
|
|
726
|
+
export interface GetNodeAptResponse {}
|
|
727
|
+
export const GetNodeAptResponse = /*@__PURE__*/ S.suspend(() =>
|
|
728
|
+
S.Struct({}),
|
|
729
|
+
).annotate({
|
|
730
|
+
identifier: "GetNodeAptResponse",
|
|
731
|
+
}) as any as S.Schema<GetNodeAptResponse>;
|
|
732
|
+
|
|
733
|
+
export interface GetNodeAptChangelogRequest {
|
|
734
|
+
node: string;
|
|
735
|
+
/** Package name to get changelog of. */
|
|
736
|
+
name: string;
|
|
737
|
+
/** Package version to get changelog of. Omit to use candidate version. */
|
|
738
|
+
version?: string;
|
|
739
|
+
}
|
|
740
|
+
export const GetNodeAptChangelogRequest = /*@__PURE__*/ S.suspend(() =>
|
|
741
|
+
S.Struct({
|
|
742
|
+
node: S.String.pipe(T.Label()),
|
|
743
|
+
name: S.String.pipe(T.Query()),
|
|
744
|
+
version: S.optional(S.String.pipe(T.Query())),
|
|
745
|
+
}).pipe(
|
|
746
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/apt/changelog", code: 200 }),
|
|
747
|
+
),
|
|
748
|
+
).annotate({
|
|
749
|
+
identifier: "GetNodeAptChangelogRequest",
|
|
750
|
+
}) as any as S.Schema<GetNodeAptChangelogRequest>;
|
|
751
|
+
|
|
752
|
+
export type GetNodeAptChangelogResponse = string;
|
|
753
|
+
export const GetNodeAptChangelogResponse = /*@__PURE__*/ S.suspend(() =>
|
|
754
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
755
|
+
).annotate({
|
|
756
|
+
identifier: "GetNodeAptChangelogResponse",
|
|
757
|
+
}) as any as S.Schema<GetNodeAptChangelogResponse>;
|
|
758
|
+
|
|
759
|
+
export interface GetNodeAptRepositoriesRequest {
|
|
760
|
+
node: string;
|
|
761
|
+
}
|
|
762
|
+
export const GetNodeAptRepositoriesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
763
|
+
S.Struct({
|
|
764
|
+
node: S.String.pipe(T.Label()),
|
|
765
|
+
}).pipe(
|
|
766
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/apt/repositories", code: 200 }),
|
|
767
|
+
),
|
|
768
|
+
).annotate({
|
|
769
|
+
identifier: "GetNodeAptRepositoriesRequest",
|
|
770
|
+
}) as any as S.Schema<GetNodeAptRepositoriesRequest>;
|
|
771
|
+
|
|
772
|
+
export interface GetNodeAptRepositoriesResponseErrorsItem {
|
|
773
|
+
error: string;
|
|
774
|
+
path: string;
|
|
775
|
+
}
|
|
776
|
+
export const GetNodeAptRepositoriesResponseErrorsItem = /*@__PURE__*/ S.suspend(
|
|
777
|
+
() =>
|
|
778
|
+
S.Struct({
|
|
779
|
+
error: S.String,
|
|
780
|
+
path: S.String,
|
|
781
|
+
}),
|
|
782
|
+
).annotate({
|
|
783
|
+
identifier: "GetNodeAptRepositoriesResponseErrorsItem",
|
|
784
|
+
}) as any as S.Schema<GetNodeAptRepositoriesResponseErrorsItem>;
|
|
785
|
+
|
|
786
|
+
export type GetNodeAptRepositoriesResponseErrorsList =
|
|
787
|
+
Array<GetNodeAptRepositoriesResponseErrorsItem>;
|
|
788
|
+
export const GetNodeAptRepositoriesResponseErrorsList = /*@__PURE__*/ S.Array(
|
|
789
|
+
GetNodeAptRepositoriesResponseErrorsItem,
|
|
790
|
+
) as any as S.Schema<GetNodeAptRepositoriesResponseErrorsList>;
|
|
791
|
+
|
|
792
|
+
export type GetNodeAptRepositoriesResponseFilesItemFileType =
|
|
793
|
+
| "list"
|
|
794
|
+
| "sources";
|
|
795
|
+
export const GetNodeAptRepositoriesResponseFilesItemFileType = S.String;
|
|
796
|
+
|
|
797
|
+
export type GetNodeAptRepositoriesResponseFilesItemRepositoriesItemComponentsList =
|
|
798
|
+
Array<string>;
|
|
799
|
+
export const GetNodeAptRepositoriesResponseFilesItemRepositoriesItemComponentsList =
|
|
800
|
+
/*@__PURE__*/ S.Array(
|
|
801
|
+
S.String,
|
|
802
|
+
) as any as S.Schema<GetNodeAptRepositoriesResponseFilesItemRepositoriesItemComponentsList>;
|
|
803
|
+
|
|
804
|
+
export type GetNodeAptRepositoriesResponseFilesItemRepositoriesItemFileType =
|
|
805
|
+
| "list"
|
|
806
|
+
| "sources";
|
|
807
|
+
export const GetNodeAptRepositoriesResponseFilesItemRepositoriesItemFileType =
|
|
808
|
+
S.String;
|
|
809
|
+
|
|
810
|
+
export type GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsItemValuesList =
|
|
811
|
+
Array<string>;
|
|
812
|
+
export const GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsItemValuesList =
|
|
813
|
+
/*@__PURE__*/ S.Array(
|
|
814
|
+
S.String,
|
|
815
|
+
) as any as S.Schema<GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsItemValuesList>;
|
|
816
|
+
|
|
817
|
+
export interface GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsItem {
|
|
818
|
+
Key: string;
|
|
819
|
+
Values: GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsItemValuesList;
|
|
820
|
+
}
|
|
821
|
+
export const GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsItem =
|
|
822
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
823
|
+
S.Struct({
|
|
824
|
+
Key: S.String,
|
|
825
|
+
Values:
|
|
826
|
+
GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsItemValuesList,
|
|
827
|
+
}),
|
|
828
|
+
).annotate({
|
|
829
|
+
identifier:
|
|
830
|
+
"GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsItem",
|
|
831
|
+
}) as any as S.Schema<GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsItem>;
|
|
832
|
+
|
|
833
|
+
export type GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsList =
|
|
834
|
+
Array<GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsItem>;
|
|
835
|
+
export const GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsList =
|
|
836
|
+
/*@__PURE__*/ S.Array(
|
|
837
|
+
GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsItem,
|
|
838
|
+
) as any as S.Schema<GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsList>;
|
|
839
|
+
|
|
840
|
+
export type GetNodeAptRepositoriesResponseFilesItemRepositoriesItemSuitesList =
|
|
841
|
+
Array<string>;
|
|
842
|
+
export const GetNodeAptRepositoriesResponseFilesItemRepositoriesItemSuitesList =
|
|
843
|
+
/*@__PURE__*/ S.Array(
|
|
844
|
+
S.String,
|
|
845
|
+
) as any as S.Schema<GetNodeAptRepositoriesResponseFilesItemRepositoriesItemSuitesList>;
|
|
846
|
+
|
|
847
|
+
export type GetNodeAptRepositoriesResponseFilesItemRepositoriesItemTypesItem =
|
|
848
|
+
| "deb"
|
|
849
|
+
| "deb-src";
|
|
850
|
+
export const GetNodeAptRepositoriesResponseFilesItemRepositoriesItemTypesItem =
|
|
851
|
+
S.String;
|
|
852
|
+
|
|
853
|
+
export type GetNodeAptRepositoriesResponseFilesItemRepositoriesItemTypesList =
|
|
854
|
+
Array<GetNodeAptRepositoriesResponseFilesItemRepositoriesItemTypesItem>;
|
|
855
|
+
export const GetNodeAptRepositoriesResponseFilesItemRepositoriesItemTypesList =
|
|
856
|
+
/*@__PURE__*/ S.Array(
|
|
857
|
+
GetNodeAptRepositoriesResponseFilesItemRepositoriesItemTypesItem,
|
|
858
|
+
) as any as S.Schema<GetNodeAptRepositoriesResponseFilesItemRepositoriesItemTypesList>;
|
|
859
|
+
|
|
860
|
+
export type GetNodeAptRepositoriesResponseFilesItemRepositoriesItemURIsList =
|
|
861
|
+
Array<string>;
|
|
862
|
+
export const GetNodeAptRepositoriesResponseFilesItemRepositoriesItemURIsList =
|
|
863
|
+
/*@__PURE__*/ S.Array(
|
|
864
|
+
S.String,
|
|
865
|
+
) as any as S.Schema<GetNodeAptRepositoriesResponseFilesItemRepositoriesItemURIsList>;
|
|
866
|
+
|
|
867
|
+
export interface GetNodeAptRepositoriesResponseFilesItemRepositoriesItem {
|
|
868
|
+
Comment?: string;
|
|
869
|
+
Components: GetNodeAptRepositoriesResponseFilesItemRepositoriesItemComponentsList;
|
|
870
|
+
Enabled: unknown;
|
|
871
|
+
FileType: GetNodeAptRepositoriesResponseFilesItemRepositoriesItemFileType;
|
|
872
|
+
Options?: GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsList;
|
|
873
|
+
Suites: GetNodeAptRepositoriesResponseFilesItemRepositoriesItemSuitesList;
|
|
874
|
+
Types: GetNodeAptRepositoriesResponseFilesItemRepositoriesItemTypesList;
|
|
875
|
+
URIs: GetNodeAptRepositoriesResponseFilesItemRepositoriesItemURIsList;
|
|
876
|
+
}
|
|
877
|
+
export const GetNodeAptRepositoriesResponseFilesItemRepositoriesItem =
|
|
878
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
879
|
+
S.Struct({
|
|
880
|
+
Comment: S.optional(S.String),
|
|
881
|
+
Components:
|
|
882
|
+
GetNodeAptRepositoriesResponseFilesItemRepositoriesItemComponentsList,
|
|
883
|
+
Enabled: S.Unknown,
|
|
884
|
+
FileType: GetNodeAptRepositoriesResponseFilesItemRepositoriesItemFileType,
|
|
885
|
+
Options: S.optional(
|
|
886
|
+
GetNodeAptRepositoriesResponseFilesItemRepositoriesItemOptionsList,
|
|
887
|
+
),
|
|
888
|
+
Suites: GetNodeAptRepositoriesResponseFilesItemRepositoriesItemSuitesList,
|
|
889
|
+
Types: GetNodeAptRepositoriesResponseFilesItemRepositoriesItemTypesList,
|
|
890
|
+
URIs: GetNodeAptRepositoriesResponseFilesItemRepositoriesItemURIsList,
|
|
891
|
+
}),
|
|
892
|
+
).annotate({
|
|
893
|
+
identifier: "GetNodeAptRepositoriesResponseFilesItemRepositoriesItem",
|
|
894
|
+
}) as any as S.Schema<GetNodeAptRepositoriesResponseFilesItemRepositoriesItem>;
|
|
895
|
+
|
|
896
|
+
export type GetNodeAptRepositoriesResponseFilesItemRepositoriesList =
|
|
897
|
+
Array<GetNodeAptRepositoriesResponseFilesItemRepositoriesItem>;
|
|
898
|
+
export const GetNodeAptRepositoriesResponseFilesItemRepositoriesList =
|
|
899
|
+
/*@__PURE__*/ S.Array(
|
|
900
|
+
GetNodeAptRepositoriesResponseFilesItemRepositoriesItem,
|
|
901
|
+
) as any as S.Schema<GetNodeAptRepositoriesResponseFilesItemRepositoriesList>;
|
|
902
|
+
|
|
903
|
+
export interface GetNodeAptRepositoriesResponseFilesItem {
|
|
904
|
+
content?: string;
|
|
905
|
+
digest?: string;
|
|
906
|
+
file_type?: GetNodeAptRepositoriesResponseFilesItemFileType;
|
|
907
|
+
path?: string;
|
|
908
|
+
repositories: GetNodeAptRepositoriesResponseFilesItemRepositoriesList;
|
|
909
|
+
}
|
|
910
|
+
export const GetNodeAptRepositoriesResponseFilesItem = /*@__PURE__*/ S.suspend(
|
|
911
|
+
() =>
|
|
912
|
+
S.Struct({
|
|
913
|
+
content: S.optional(S.String),
|
|
914
|
+
digest: S.optional(S.String),
|
|
915
|
+
file_type: S.optional(
|
|
916
|
+
GetNodeAptRepositoriesResponseFilesItemFileType.pipe(
|
|
917
|
+
T.Body("file-type"),
|
|
918
|
+
),
|
|
919
|
+
),
|
|
920
|
+
path: S.optional(S.String),
|
|
921
|
+
repositories: GetNodeAptRepositoriesResponseFilesItemRepositoriesList,
|
|
922
|
+
}),
|
|
923
|
+
).annotate({
|
|
924
|
+
identifier: "GetNodeAptRepositoriesResponseFilesItem",
|
|
925
|
+
}) as any as S.Schema<GetNodeAptRepositoriesResponseFilesItem>;
|
|
926
|
+
|
|
927
|
+
export type GetNodeAptRepositoriesResponseFilesList =
|
|
928
|
+
Array<GetNodeAptRepositoriesResponseFilesItem>;
|
|
929
|
+
export const GetNodeAptRepositoriesResponseFilesList = /*@__PURE__*/ S.Array(
|
|
930
|
+
GetNodeAptRepositoriesResponseFilesItem,
|
|
931
|
+
) as any as S.Schema<GetNodeAptRepositoriesResponseFilesList>;
|
|
932
|
+
|
|
933
|
+
export interface GetNodeAptRepositoriesResponseInfosItem {
|
|
934
|
+
index: number;
|
|
935
|
+
kind: string;
|
|
936
|
+
message: string;
|
|
937
|
+
path: string;
|
|
938
|
+
property?: string;
|
|
939
|
+
}
|
|
940
|
+
export const GetNodeAptRepositoriesResponseInfosItem = /*@__PURE__*/ S.suspend(
|
|
941
|
+
() =>
|
|
942
|
+
S.Struct({
|
|
943
|
+
index: S.Number,
|
|
944
|
+
kind: S.String,
|
|
945
|
+
message: S.String,
|
|
946
|
+
path: S.String,
|
|
947
|
+
property: S.optional(S.String),
|
|
948
|
+
}),
|
|
949
|
+
).annotate({
|
|
950
|
+
identifier: "GetNodeAptRepositoriesResponseInfosItem",
|
|
951
|
+
}) as any as S.Schema<GetNodeAptRepositoriesResponseInfosItem>;
|
|
952
|
+
|
|
953
|
+
export type GetNodeAptRepositoriesResponseInfosList =
|
|
954
|
+
Array<GetNodeAptRepositoriesResponseInfosItem>;
|
|
955
|
+
export const GetNodeAptRepositoriesResponseInfosList = /*@__PURE__*/ S.Array(
|
|
956
|
+
GetNodeAptRepositoriesResponseInfosItem,
|
|
957
|
+
) as any as S.Schema<GetNodeAptRepositoriesResponseInfosList>;
|
|
958
|
+
|
|
959
|
+
export interface GetNodeAptRepositoriesResponseStandardReposItem {
|
|
960
|
+
description: string;
|
|
961
|
+
handle: string;
|
|
962
|
+
name: string;
|
|
963
|
+
status?: unknown;
|
|
964
|
+
}
|
|
965
|
+
export const GetNodeAptRepositoriesResponseStandardReposItem =
|
|
966
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
967
|
+
S.Struct({
|
|
968
|
+
description: S.String,
|
|
969
|
+
handle: S.String,
|
|
970
|
+
name: S.String,
|
|
971
|
+
status: S.optional(S.Unknown),
|
|
972
|
+
}),
|
|
973
|
+
).annotate({
|
|
974
|
+
identifier: "GetNodeAptRepositoriesResponseStandardReposItem",
|
|
975
|
+
}) as any as S.Schema<GetNodeAptRepositoriesResponseStandardReposItem>;
|
|
976
|
+
|
|
977
|
+
export type GetNodeAptRepositoriesResponseStandardReposList =
|
|
978
|
+
Array<GetNodeAptRepositoriesResponseStandardReposItem>;
|
|
979
|
+
export const GetNodeAptRepositoriesResponseStandardReposList =
|
|
980
|
+
/*@__PURE__*/ S.Array(
|
|
981
|
+
GetNodeAptRepositoriesResponseStandardReposItem,
|
|
982
|
+
) as any as S.Schema<GetNodeAptRepositoriesResponseStandardReposList>;
|
|
983
|
+
|
|
984
|
+
export interface GetNodeAptRepositoriesResponse {
|
|
985
|
+
digest: string;
|
|
986
|
+
errors: GetNodeAptRepositoriesResponseErrorsList;
|
|
987
|
+
files: GetNodeAptRepositoriesResponseFilesList;
|
|
988
|
+
infos: GetNodeAptRepositoriesResponseInfosList;
|
|
989
|
+
standard_repos?: GetNodeAptRepositoriesResponseStandardReposList;
|
|
990
|
+
}
|
|
991
|
+
export const GetNodeAptRepositoriesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
992
|
+
S.Struct({
|
|
993
|
+
digest: S.String,
|
|
994
|
+
errors: GetNodeAptRepositoriesResponseErrorsList,
|
|
995
|
+
files: GetNodeAptRepositoriesResponseFilesList,
|
|
996
|
+
infos: GetNodeAptRepositoriesResponseInfosList,
|
|
997
|
+
standard_repos: S.optional(
|
|
998
|
+
GetNodeAptRepositoriesResponseStandardReposList.pipe(
|
|
999
|
+
T.Body("standard-repos"),
|
|
1000
|
+
),
|
|
1001
|
+
),
|
|
1002
|
+
}),
|
|
1003
|
+
).annotate({
|
|
1004
|
+
identifier: "GetNodeAptRepositoriesResponse",
|
|
1005
|
+
}) as any as S.Schema<GetNodeAptRepositoriesResponse>;
|
|
1006
|
+
|
|
1007
|
+
export interface GetNodeCertificateAcmeRequest {
|
|
1008
|
+
node: string;
|
|
1009
|
+
}
|
|
1010
|
+
export const GetNodeCertificateAcmeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1011
|
+
S.Struct({
|
|
1012
|
+
node: S.String.pipe(T.Label()),
|
|
1013
|
+
}).pipe(
|
|
1014
|
+
T.Http({
|
|
1015
|
+
method: "GET",
|
|
1016
|
+
uri: "/nodes/{node}/certificates/acme",
|
|
1017
|
+
code: 200,
|
|
1018
|
+
}),
|
|
1019
|
+
),
|
|
1020
|
+
).annotate({
|
|
1021
|
+
identifier: "GetNodeCertificateAcmeRequest",
|
|
1022
|
+
}) as any as S.Schema<GetNodeCertificateAcmeRequest>;
|
|
1023
|
+
|
|
1024
|
+
export interface GetNodeCertificateAcmeResponse {}
|
|
1025
|
+
export const GetNodeCertificateAcmeResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1026
|
+
S.Struct({}),
|
|
1027
|
+
).annotate({
|
|
1028
|
+
identifier: "GetNodeCertificateAcmeResponse",
|
|
1029
|
+
}) as any as S.Schema<GetNodeCertificateAcmeResponse>;
|
|
1030
|
+
|
|
1031
|
+
export interface GetNodeCertificatesRequest {
|
|
1032
|
+
node: string;
|
|
1033
|
+
}
|
|
1034
|
+
export const GetNodeCertificatesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1035
|
+
S.Struct({
|
|
1036
|
+
node: S.String.pipe(T.Label()),
|
|
1037
|
+
}).pipe(
|
|
1038
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/certificates", code: 200 }),
|
|
1039
|
+
),
|
|
1040
|
+
).annotate({
|
|
1041
|
+
identifier: "GetNodeCertificatesRequest",
|
|
1042
|
+
}) as any as S.Schema<GetNodeCertificatesRequest>;
|
|
1043
|
+
|
|
1044
|
+
export interface GetNodeCertificatesResponse {}
|
|
1045
|
+
export const GetNodeCertificatesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1046
|
+
S.Struct({}),
|
|
1047
|
+
).annotate({
|
|
1048
|
+
identifier: "GetNodeCertificatesResponse",
|
|
1049
|
+
}) as any as S.Schema<GetNodeCertificatesResponse>;
|
|
1050
|
+
|
|
1051
|
+
export interface GetNodeConfigRequest {
|
|
1052
|
+
node: string;
|
|
1053
|
+
}
|
|
1054
|
+
export const GetNodeConfigRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1055
|
+
S.Struct({
|
|
1056
|
+
node: S.String.pipe(T.Label()),
|
|
1057
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/config", code: 200 })),
|
|
1058
|
+
).annotate({
|
|
1059
|
+
identifier: "GetNodeConfigRequest",
|
|
1060
|
+
}) as any as S.Schema<GetNodeConfigRequest>;
|
|
1061
|
+
|
|
1062
|
+
export type GetNodeConfigResponseDefaultLang =
|
|
1063
|
+
| "ar"
|
|
1064
|
+
| "ca"
|
|
1065
|
+
| "da"
|
|
1066
|
+
| "de"
|
|
1067
|
+
| "en"
|
|
1068
|
+
| "es"
|
|
1069
|
+
| "eu"
|
|
1070
|
+
| "fa"
|
|
1071
|
+
| "fr"
|
|
1072
|
+
| "gl"
|
|
1073
|
+
| "he"
|
|
1074
|
+
| "hu"
|
|
1075
|
+
| "it"
|
|
1076
|
+
| "ja"
|
|
1077
|
+
| "kr"
|
|
1078
|
+
| "nb"
|
|
1079
|
+
| "nl"
|
|
1080
|
+
| "nn"
|
|
1081
|
+
| "pl"
|
|
1082
|
+
| "pt_BR"
|
|
1083
|
+
| "ru"
|
|
1084
|
+
| "sl"
|
|
1085
|
+
| "sv"
|
|
1086
|
+
| "tr"
|
|
1087
|
+
| "zh_CN"
|
|
1088
|
+
| "zh_TW";
|
|
1089
|
+
export const GetNodeConfigResponseDefaultLang = S.String;
|
|
1090
|
+
|
|
1091
|
+
export interface GetNodeConfigResponse {
|
|
1092
|
+
acme?: string;
|
|
1093
|
+
acmedomain0?: string;
|
|
1094
|
+
acmedomain1?: string;
|
|
1095
|
+
acmedomain2?: string;
|
|
1096
|
+
acmedomain3?: string;
|
|
1097
|
+
acmedomain4?: string;
|
|
1098
|
+
ciphers_tls_1_2?: string;
|
|
1099
|
+
ciphers_tls_1_3?: string;
|
|
1100
|
+
consent_text?: string;
|
|
1101
|
+
default_lang?: GetNodeConfigResponseDefaultLang;
|
|
1102
|
+
description?: string;
|
|
1103
|
+
email_from?: string;
|
|
1104
|
+
http_proxy?: string;
|
|
1105
|
+
location?: string;
|
|
1106
|
+
task_log_max_days?: number;
|
|
1107
|
+
}
|
|
1108
|
+
export const GetNodeConfigResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1109
|
+
S.Struct({
|
|
1110
|
+
acme: S.optional(S.String),
|
|
1111
|
+
acmedomain0: S.optional(S.String),
|
|
1112
|
+
acmedomain1: S.optional(S.String),
|
|
1113
|
+
acmedomain2: S.optional(S.String),
|
|
1114
|
+
acmedomain3: S.optional(S.String),
|
|
1115
|
+
acmedomain4: S.optional(S.String),
|
|
1116
|
+
ciphers_tls_1_2: S.optional(S.String.pipe(T.Body("ciphers-tls-1.2"))),
|
|
1117
|
+
ciphers_tls_1_3: S.optional(S.String.pipe(T.Body("ciphers-tls-1.3"))),
|
|
1118
|
+
consent_text: S.optional(S.String.pipe(T.Body("consent-text"))),
|
|
1119
|
+
default_lang: S.optional(
|
|
1120
|
+
GetNodeConfigResponseDefaultLang.pipe(T.Body("default-lang")),
|
|
1121
|
+
),
|
|
1122
|
+
description: S.optional(S.String),
|
|
1123
|
+
email_from: S.optional(S.String.pipe(T.Body("email-from"))),
|
|
1124
|
+
http_proxy: S.optional(S.String.pipe(T.Body("http-proxy"))),
|
|
1125
|
+
location: S.optional(S.String),
|
|
1126
|
+
task_log_max_days: S.optional(S.Number.pipe(T.Body("task-log-max-days"))),
|
|
1127
|
+
}),
|
|
1128
|
+
).annotate({
|
|
1129
|
+
identifier: "GetNodeConfigResponse",
|
|
1130
|
+
}) as any as S.Schema<GetNodeConfigResponse>;
|
|
1131
|
+
|
|
1132
|
+
export interface GetNodeDisksRequest {
|
|
1133
|
+
node: string;
|
|
1134
|
+
}
|
|
1135
|
+
export const GetNodeDisksRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1136
|
+
S.Struct({
|
|
1137
|
+
node: S.String.pipe(T.Label()),
|
|
1138
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/disks", code: 200 })),
|
|
1139
|
+
).annotate({
|
|
1140
|
+
identifier: "GetNodeDisksRequest",
|
|
1141
|
+
}) as any as S.Schema<GetNodeDisksRequest>;
|
|
1142
|
+
|
|
1143
|
+
export interface GetNodeDisksResponse {}
|
|
1144
|
+
export const GetNodeDisksResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1145
|
+
S.Struct({}),
|
|
1146
|
+
).annotate({
|
|
1147
|
+
identifier: "GetNodeDisksResponse",
|
|
1148
|
+
}) as any as S.Schema<GetNodeDisksResponse>;
|
|
1149
|
+
|
|
1150
|
+
export interface GetNodeDiskSmartRequest {
|
|
1151
|
+
node: string;
|
|
1152
|
+
/** Block device name (/sys/block/<name>). */
|
|
1153
|
+
disk: string;
|
|
1154
|
+
/** If true returns only the health status. */
|
|
1155
|
+
healthonly?: string;
|
|
1156
|
+
}
|
|
1157
|
+
export const GetNodeDiskSmartRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1158
|
+
S.Struct({
|
|
1159
|
+
node: S.String.pipe(T.Label()),
|
|
1160
|
+
disk: S.String.pipe(T.Query()),
|
|
1161
|
+
healthonly: S.optional(S.String.pipe(T.Query())),
|
|
1162
|
+
}).pipe(
|
|
1163
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/disks/smart", code: 200 }),
|
|
1164
|
+
),
|
|
1165
|
+
).annotate({
|
|
1166
|
+
identifier: "GetNodeDiskSmartRequest",
|
|
1167
|
+
}) as any as S.Schema<GetNodeDiskSmartRequest>;
|
|
1168
|
+
|
|
1169
|
+
export interface GetNodeDiskSmartResponseAttributesItem {
|
|
1170
|
+
flags?: string;
|
|
1171
|
+
id?: number;
|
|
1172
|
+
name: string;
|
|
1173
|
+
normalized?: number;
|
|
1174
|
+
raw: string;
|
|
1175
|
+
threshold?: number;
|
|
1176
|
+
value: string;
|
|
1177
|
+
worst?: number;
|
|
1178
|
+
}
|
|
1179
|
+
export const GetNodeDiskSmartResponseAttributesItem = /*@__PURE__*/ S.suspend(
|
|
1180
|
+
() =>
|
|
1181
|
+
S.Struct({
|
|
1182
|
+
flags: S.optional(S.String),
|
|
1183
|
+
id: S.optional(S.Number),
|
|
1184
|
+
name: S.String,
|
|
1185
|
+
normalized: S.optional(S.Number),
|
|
1186
|
+
raw: S.String,
|
|
1187
|
+
threshold: S.optional(S.Number),
|
|
1188
|
+
value: S.String,
|
|
1189
|
+
worst: S.optional(S.Number),
|
|
1190
|
+
}),
|
|
1191
|
+
).annotate({
|
|
1192
|
+
identifier: "GetNodeDiskSmartResponseAttributesItem",
|
|
1193
|
+
}) as any as S.Schema<GetNodeDiskSmartResponseAttributesItem>;
|
|
1194
|
+
|
|
1195
|
+
export type GetNodeDiskSmartResponseAttributesList =
|
|
1196
|
+
Array<GetNodeDiskSmartResponseAttributesItem>;
|
|
1197
|
+
export const GetNodeDiskSmartResponseAttributesList = /*@__PURE__*/ S.Array(
|
|
1198
|
+
GetNodeDiskSmartResponseAttributesItem,
|
|
1199
|
+
) as any as S.Schema<GetNodeDiskSmartResponseAttributesList>;
|
|
1200
|
+
|
|
1201
|
+
export type GetNodeDiskSmartResponseStatus = "passed" | "failed" | "unknown";
|
|
1202
|
+
export const GetNodeDiskSmartResponseStatus = S.String;
|
|
1203
|
+
|
|
1204
|
+
export interface GetNodeDiskSmartResponse {
|
|
1205
|
+
attributes: GetNodeDiskSmartResponseAttributesList;
|
|
1206
|
+
status: GetNodeDiskSmartResponseStatus;
|
|
1207
|
+
wearout?: number;
|
|
1208
|
+
}
|
|
1209
|
+
export const GetNodeDiskSmartResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1210
|
+
S.Struct({
|
|
1211
|
+
attributes: GetNodeDiskSmartResponseAttributesList,
|
|
1212
|
+
status: GetNodeDiskSmartResponseStatus,
|
|
1213
|
+
wearout: S.optional(S.Number),
|
|
1214
|
+
}),
|
|
1215
|
+
).annotate({
|
|
1216
|
+
identifier: "GetNodeDiskSmartResponse",
|
|
1217
|
+
}) as any as S.Schema<GetNodeDiskSmartResponse>;
|
|
1218
|
+
|
|
1219
|
+
export interface GetNodeDiskZfsRequest {
|
|
1220
|
+
node: string;
|
|
1221
|
+
name: string;
|
|
1222
|
+
}
|
|
1223
|
+
export const GetNodeDiskZfsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1224
|
+
S.Struct({
|
|
1225
|
+
node: S.String.pipe(T.Label()),
|
|
1226
|
+
name: S.String.pipe(T.Label()),
|
|
1227
|
+
}).pipe(
|
|
1228
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/disks/zfs/{name}", code: 200 }),
|
|
1229
|
+
),
|
|
1230
|
+
).annotate({
|
|
1231
|
+
identifier: "GetNodeDiskZfsRequest",
|
|
1232
|
+
}) as any as S.Schema<GetNodeDiskZfsRequest>;
|
|
1233
|
+
|
|
1234
|
+
export type GetNodeDiskZfsResponse = unknown;
|
|
1235
|
+
export const GetNodeDiskZfsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1236
|
+
S.Unknown.pipe(T.RawResponseRoot()),
|
|
1237
|
+
).annotate({
|
|
1238
|
+
identifier: "GetNodeDiskZfsResponse",
|
|
1239
|
+
}) as any as S.Schema<GetNodeDiskZfsResponse>;
|
|
1240
|
+
|
|
1241
|
+
export interface GetNodeDnsRequest {
|
|
1242
|
+
node: string;
|
|
1243
|
+
}
|
|
1244
|
+
export const GetNodeDnsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1245
|
+
S.Struct({
|
|
1246
|
+
node: S.String.pipe(T.Label()),
|
|
1247
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/dns", code: 200 })),
|
|
1248
|
+
).annotate({
|
|
1249
|
+
identifier: "GetNodeDnsRequest",
|
|
1250
|
+
}) as any as S.Schema<GetNodeDnsRequest>;
|
|
1251
|
+
|
|
1252
|
+
export interface GetNodeDnsResponse {
|
|
1253
|
+
digest: string;
|
|
1254
|
+
dns1?: string;
|
|
1255
|
+
dns2?: string;
|
|
1256
|
+
dns3?: string;
|
|
1257
|
+
search?: string;
|
|
1258
|
+
}
|
|
1259
|
+
export const GetNodeDnsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1260
|
+
S.Struct({
|
|
1261
|
+
digest: S.String,
|
|
1262
|
+
dns1: S.optional(S.String),
|
|
1263
|
+
dns2: S.optional(S.String),
|
|
1264
|
+
dns3: S.optional(S.String),
|
|
1265
|
+
search: S.optional(S.String),
|
|
1266
|
+
}),
|
|
1267
|
+
).annotate({
|
|
1268
|
+
identifier: "GetNodeDnsResponse",
|
|
1269
|
+
}) as any as S.Schema<GetNodeDnsResponse>;
|
|
1270
|
+
|
|
1271
|
+
export interface GetNodeIdentityRequest {
|
|
1272
|
+
node: string;
|
|
1273
|
+
}
|
|
1274
|
+
export const GetNodeIdentityRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1275
|
+
S.Struct({
|
|
1276
|
+
node: S.String.pipe(T.Label()),
|
|
1277
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/identity", code: 200 })),
|
|
1278
|
+
).annotate({
|
|
1279
|
+
identifier: "GetNodeIdentityRequest",
|
|
1280
|
+
}) as any as S.Schema<GetNodeIdentityRequest>;
|
|
1281
|
+
|
|
1282
|
+
export interface GetNodeIdentityResponse {
|
|
1283
|
+
pbs_instance_id?: string;
|
|
1284
|
+
}
|
|
1285
|
+
export const GetNodeIdentityResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1286
|
+
S.Struct({
|
|
1287
|
+
pbs_instance_id: S.optional(S.String.pipe(T.Body("pbs-instance-id"))),
|
|
1288
|
+
}),
|
|
1289
|
+
).annotate({
|
|
1290
|
+
identifier: "GetNodeIdentityResponse",
|
|
1291
|
+
}) as any as S.Schema<GetNodeIdentityResponse>;
|
|
1292
|
+
|
|
1293
|
+
export interface GetNodeJournalRequest {
|
|
1294
|
+
node: string;
|
|
1295
|
+
/** End before the given Cursor. Conflicts with 'until' */
|
|
1296
|
+
endcursor?: string;
|
|
1297
|
+
/** Also list the distinct syslog identifiers present. Requires 'structured'. */
|
|
1298
|
+
identifiers?: string;
|
|
1299
|
+
/** Only print kernel messages. */
|
|
1300
|
+
kernel?: string;
|
|
1301
|
+
/** Limit to the last X lines. Conflicts with a range. */
|
|
1302
|
+
lastentries?: string;
|
|
1303
|
+
/** Only print messages of this syslog priority: a single level from 0 (emerg) to 7 (debug), selecting that level and everything more severe, or a 'LOW..HIGH' range. Empty means no filter. */
|
|
1304
|
+
priority?: string;
|
|
1305
|
+
/** Only print messages whose syslog identifier matches this glob. */
|
|
1306
|
+
service?: string;
|
|
1307
|
+
/** Display all log since this UNIX epoch. Conflicts with 'startcursor'. */
|
|
1308
|
+
since?: string;
|
|
1309
|
+
/** Start after the given Cursor. Conflicts with 'since'. */
|
|
1310
|
+
startcursor?: string;
|
|
1311
|
+
/** Emit structured JSON with separate entry fields instead of plain text. */
|
|
1312
|
+
structured?: string;
|
|
1313
|
+
/** Only print messages of this systemd unit (the .service suffix is implied). */
|
|
1314
|
+
unit?: string;
|
|
1315
|
+
/** Also list the distinct systemd units present. Requires 'structured'. */
|
|
1316
|
+
units?: string;
|
|
1317
|
+
/** Display all log until this UNIX epoch. Conflicts with 'endcursor'. */
|
|
1318
|
+
until?: string;
|
|
1319
|
+
}
|
|
1320
|
+
export const GetNodeJournalRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1321
|
+
S.Struct({
|
|
1322
|
+
node: S.String.pipe(T.Label()),
|
|
1323
|
+
endcursor: S.optional(S.String.pipe(T.Query())),
|
|
1324
|
+
identifiers: S.optional(S.String.pipe(T.Query())),
|
|
1325
|
+
kernel: S.optional(S.String.pipe(T.Query())),
|
|
1326
|
+
lastentries: S.optional(S.String.pipe(T.Query())),
|
|
1327
|
+
priority: S.optional(S.String.pipe(T.Query())),
|
|
1328
|
+
service: S.optional(S.String.pipe(T.Query())),
|
|
1329
|
+
since: S.optional(S.String.pipe(T.Query())),
|
|
1330
|
+
startcursor: S.optional(S.String.pipe(T.Query())),
|
|
1331
|
+
structured: S.optional(S.String.pipe(T.Query())),
|
|
1332
|
+
unit: S.optional(S.String.pipe(T.Query())),
|
|
1333
|
+
units: S.optional(S.String.pipe(T.Query())),
|
|
1334
|
+
until: S.optional(S.String.pipe(T.Query())),
|
|
1335
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/journal", code: 200 })),
|
|
1336
|
+
).annotate({
|
|
1337
|
+
identifier: "GetNodeJournalRequest",
|
|
1338
|
+
}) as any as S.Schema<GetNodeJournalRequest>;
|
|
1339
|
+
|
|
1340
|
+
export interface GetNodeJournalResponse {}
|
|
1341
|
+
export const GetNodeJournalResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1342
|
+
S.Struct({}),
|
|
1343
|
+
).annotate({
|
|
1344
|
+
identifier: "GetNodeJournalResponse",
|
|
1345
|
+
}) as any as S.Schema<GetNodeJournalResponse>;
|
|
1346
|
+
|
|
1347
|
+
export interface GetNodeNetworkRequest {
|
|
1348
|
+
node: string;
|
|
1349
|
+
iface: string;
|
|
1350
|
+
}
|
|
1351
|
+
export const GetNodeNetworkRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1352
|
+
S.Struct({
|
|
1353
|
+
node: S.String.pipe(T.Label()),
|
|
1354
|
+
iface: S.String.pipe(T.Label()),
|
|
1355
|
+
}).pipe(
|
|
1356
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/network/{iface}", code: 200 }),
|
|
1357
|
+
),
|
|
1358
|
+
).annotate({
|
|
1359
|
+
identifier: "GetNodeNetworkRequest",
|
|
1360
|
+
}) as any as S.Schema<GetNodeNetworkRequest>;
|
|
1361
|
+
|
|
1362
|
+
export type GetNodeNetworkResponseAltnamesList = Array<string>;
|
|
1363
|
+
export const GetNodeNetworkResponseAltnamesList = /*@__PURE__*/ S.Array(
|
|
1364
|
+
S.String,
|
|
1365
|
+
) as any as S.Schema<GetNodeNetworkResponseAltnamesList>;
|
|
1366
|
+
|
|
1367
|
+
export type GetNodeNetworkResponseBondMode =
|
|
1368
|
+
| "balance-rr"
|
|
1369
|
+
| "active-backup"
|
|
1370
|
+
| "balance-xor"
|
|
1371
|
+
| "broadcast"
|
|
1372
|
+
| "802.3ad"
|
|
1373
|
+
| "balance-tlb"
|
|
1374
|
+
| "balance-alb";
|
|
1375
|
+
export const GetNodeNetworkResponseBondMode = S.String;
|
|
1376
|
+
|
|
1377
|
+
export type GetNodeNetworkResponseBondXmitHashPolicy =
|
|
1378
|
+
| "layer2"
|
|
1379
|
+
| "layer2+3"
|
|
1380
|
+
| "layer3+4";
|
|
1381
|
+
export const GetNodeNetworkResponseBondXmitHashPolicy = S.String;
|
|
1382
|
+
|
|
1383
|
+
export type GetNodeNetworkResponseBridgePortsList = Array<string>;
|
|
1384
|
+
export const GetNodeNetworkResponseBridgePortsList = /*@__PURE__*/ S.Array(
|
|
1385
|
+
S.String,
|
|
1386
|
+
) as any as S.Schema<GetNodeNetworkResponseBridgePortsList>;
|
|
1387
|
+
|
|
1388
|
+
export type GetNodeNetworkResponseMethod =
|
|
1389
|
+
| "manual"
|
|
1390
|
+
| "static"
|
|
1391
|
+
| "dhcp"
|
|
1392
|
+
| "loopback";
|
|
1393
|
+
export const GetNodeNetworkResponseMethod = S.String;
|
|
1394
|
+
|
|
1395
|
+
export type GetNodeNetworkResponseMethod6 =
|
|
1396
|
+
| "manual"
|
|
1397
|
+
| "static"
|
|
1398
|
+
| "dhcp"
|
|
1399
|
+
| "loopback";
|
|
1400
|
+
export const GetNodeNetworkResponseMethod6 = S.String;
|
|
1401
|
+
|
|
1402
|
+
export type GetNodeNetworkResponseOptionsList = Array<string>;
|
|
1403
|
+
export const GetNodeNetworkResponseOptionsList = /*@__PURE__*/ S.Array(
|
|
1404
|
+
S.String,
|
|
1405
|
+
) as any as S.Schema<GetNodeNetworkResponseOptionsList>;
|
|
1406
|
+
|
|
1407
|
+
export type GetNodeNetworkResponseOptions6List = Array<string>;
|
|
1408
|
+
export const GetNodeNetworkResponseOptions6List = /*@__PURE__*/ S.Array(
|
|
1409
|
+
S.String,
|
|
1410
|
+
) as any as S.Schema<GetNodeNetworkResponseOptions6List>;
|
|
1411
|
+
|
|
1412
|
+
export type GetNodeNetworkResponseSlavesList = Array<string>;
|
|
1413
|
+
export const GetNodeNetworkResponseSlavesList = /*@__PURE__*/ S.Array(
|
|
1414
|
+
S.String,
|
|
1415
|
+
) as any as S.Schema<GetNodeNetworkResponseSlavesList>;
|
|
1416
|
+
|
|
1417
|
+
export type GetNodeNetworkResponseType =
|
|
1418
|
+
| "loopback"
|
|
1419
|
+
| "eth"
|
|
1420
|
+
| "bridge"
|
|
1421
|
+
| "bond"
|
|
1422
|
+
| "vlan"
|
|
1423
|
+
| "alias"
|
|
1424
|
+
| "unknown";
|
|
1425
|
+
export const GetNodeNetworkResponseType = S.String;
|
|
1426
|
+
|
|
1427
|
+
export interface GetNodeNetworkResponse {
|
|
1428
|
+
active: unknown;
|
|
1429
|
+
altnames: GetNodeNetworkResponseAltnamesList;
|
|
1430
|
+
autostart: unknown;
|
|
1431
|
+
bond_primary?: string;
|
|
1432
|
+
bond_mode?: GetNodeNetworkResponseBondMode;
|
|
1433
|
+
bond_xmit_hash_policy?: GetNodeNetworkResponseBondXmitHashPolicy;
|
|
1434
|
+
bridge_ports?: GetNodeNetworkResponseBridgePortsList;
|
|
1435
|
+
bridge_vlan_aware?: unknown;
|
|
1436
|
+
cidr?: string;
|
|
1437
|
+
cidr6?: string;
|
|
1438
|
+
comments?: string;
|
|
1439
|
+
comments6?: string;
|
|
1440
|
+
gateway?: string;
|
|
1441
|
+
gateway6?: string;
|
|
1442
|
+
method?: GetNodeNetworkResponseMethod;
|
|
1443
|
+
method6?: GetNodeNetworkResponseMethod6;
|
|
1444
|
+
mtu?: number;
|
|
1445
|
+
name: string;
|
|
1446
|
+
options: GetNodeNetworkResponseOptionsList;
|
|
1447
|
+
options6: GetNodeNetworkResponseOptions6List;
|
|
1448
|
+
slaves?: GetNodeNetworkResponseSlavesList;
|
|
1449
|
+
type: GetNodeNetworkResponseType;
|
|
1450
|
+
vlan_id?: number;
|
|
1451
|
+
vlan_raw_device?: string;
|
|
1452
|
+
}
|
|
1453
|
+
export const GetNodeNetworkResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1454
|
+
S.Struct({
|
|
1455
|
+
active: S.Unknown,
|
|
1456
|
+
altnames: GetNodeNetworkResponseAltnamesList,
|
|
1457
|
+
autostart: S.Unknown,
|
|
1458
|
+
bond_primary: S.optional(S.String.pipe(T.Body("bond-primary"))),
|
|
1459
|
+
bond_mode: S.optional(GetNodeNetworkResponseBondMode),
|
|
1460
|
+
bond_xmit_hash_policy: S.optional(GetNodeNetworkResponseBondXmitHashPolicy),
|
|
1461
|
+
bridge_ports: S.optional(GetNodeNetworkResponseBridgePortsList),
|
|
1462
|
+
bridge_vlan_aware: S.optional(S.Unknown),
|
|
1463
|
+
cidr: S.optional(S.String),
|
|
1464
|
+
cidr6: S.optional(S.String),
|
|
1465
|
+
comments: S.optional(S.String),
|
|
1466
|
+
comments6: S.optional(S.String),
|
|
1467
|
+
gateway: S.optional(S.String),
|
|
1468
|
+
gateway6: S.optional(S.String),
|
|
1469
|
+
method: S.optional(GetNodeNetworkResponseMethod),
|
|
1470
|
+
method6: S.optional(GetNodeNetworkResponseMethod6),
|
|
1471
|
+
mtu: S.optional(S.Number),
|
|
1472
|
+
name: S.String,
|
|
1473
|
+
options: GetNodeNetworkResponseOptionsList,
|
|
1474
|
+
options6: GetNodeNetworkResponseOptions6List,
|
|
1475
|
+
slaves: S.optional(GetNodeNetworkResponseSlavesList),
|
|
1476
|
+
type: GetNodeNetworkResponseType,
|
|
1477
|
+
vlan_id: S.optional(S.Number.pipe(T.Body("vlan-id"))),
|
|
1478
|
+
vlan_raw_device: S.optional(S.String.pipe(T.Body("vlan-raw-device"))),
|
|
1479
|
+
}),
|
|
1480
|
+
).annotate({
|
|
1481
|
+
identifier: "GetNodeNetworkResponse",
|
|
1482
|
+
}) as any as S.Schema<GetNodeNetworkResponse>;
|
|
1483
|
+
|
|
1484
|
+
export interface GetNodeReportRequest {
|
|
1485
|
+
node: string;
|
|
1486
|
+
}
|
|
1487
|
+
export const GetNodeReportRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1488
|
+
S.Struct({
|
|
1489
|
+
node: S.String.pipe(T.Label()),
|
|
1490
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/report", code: 200 })),
|
|
1491
|
+
).annotate({
|
|
1492
|
+
identifier: "GetNodeReportRequest",
|
|
1493
|
+
}) as any as S.Schema<GetNodeReportRequest>;
|
|
1494
|
+
|
|
1495
|
+
export type GetNodeReportResponse = string;
|
|
1496
|
+
export const GetNodeReportResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1497
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
1498
|
+
).annotate({
|
|
1499
|
+
identifier: "GetNodeReportResponse",
|
|
1500
|
+
}) as any as S.Schema<GetNodeReportResponse>;
|
|
1501
|
+
|
|
1502
|
+
export type GetNodeRrdRequestCf = "MAX" | "AVERAGE";
|
|
1503
|
+
export const GetNodeRrdRequestCf = S.String;
|
|
1504
|
+
|
|
1505
|
+
export type GetNodeRrdRequestTimeframe =
|
|
1506
|
+
| "hour"
|
|
1507
|
+
| "day"
|
|
1508
|
+
| "week"
|
|
1509
|
+
| "month"
|
|
1510
|
+
| "year"
|
|
1511
|
+
| "decade";
|
|
1512
|
+
export const GetNodeRrdRequestTimeframe = S.String;
|
|
1513
|
+
|
|
1514
|
+
export interface GetNodeRrdRequest {
|
|
1515
|
+
node: string;
|
|
1516
|
+
/** RRD consolidation mode */
|
|
1517
|
+
cf: GetNodeRrdRequestCf | (string & {});
|
|
1518
|
+
/** RRD time frame */
|
|
1519
|
+
timeframe: GetNodeRrdRequestTimeframe | (string & {});
|
|
1520
|
+
}
|
|
1521
|
+
export const GetNodeRrdRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1522
|
+
S.Struct({
|
|
1523
|
+
node: S.String.pipe(T.Label()),
|
|
1524
|
+
cf: GetNodeRrdRequestCf.pipe(T.Query()),
|
|
1525
|
+
timeframe: GetNodeRrdRequestTimeframe.pipe(T.Query()),
|
|
1526
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/rrd", code: 200 })),
|
|
1527
|
+
).annotate({
|
|
1528
|
+
identifier: "GetNodeRrdRequest",
|
|
1529
|
+
}) as any as S.Schema<GetNodeRrdRequest>;
|
|
1530
|
+
|
|
1531
|
+
export interface GetNodeRrdResponse {}
|
|
1532
|
+
export const GetNodeRrdResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1533
|
+
S.Struct({}),
|
|
1534
|
+
).annotate({
|
|
1535
|
+
identifier: "GetNodeRrdResponse",
|
|
1536
|
+
}) as any as S.Schema<GetNodeRrdResponse>;
|
|
1537
|
+
|
|
1538
|
+
export interface GetNodesRequest {}
|
|
1539
|
+
export const GetNodesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1540
|
+
S.Struct({}).pipe(T.Http({ method: "GET", uri: "/nodes", code: 200 })),
|
|
1541
|
+
).annotate({
|
|
1542
|
+
identifier: "GetNodesRequest",
|
|
1543
|
+
}) as any as S.Schema<GetNodesRequest>;
|
|
1544
|
+
|
|
1545
|
+
export interface GetNodesResponse {}
|
|
1546
|
+
export const GetNodesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1547
|
+
S.Struct({}),
|
|
1548
|
+
).annotate({
|
|
1549
|
+
identifier: "GetNodesResponse",
|
|
1550
|
+
}) as any as S.Schema<GetNodesResponse>;
|
|
1551
|
+
|
|
1552
|
+
export interface GetNodeServiceRequest {
|
|
1553
|
+
node: string;
|
|
1554
|
+
service: string;
|
|
1555
|
+
}
|
|
1556
|
+
export const GetNodeServiceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1557
|
+
S.Struct({
|
|
1558
|
+
node: S.String.pipe(T.Label()),
|
|
1559
|
+
service: S.String.pipe(T.Label()),
|
|
1560
|
+
}).pipe(
|
|
1561
|
+
T.Http({
|
|
1562
|
+
method: "GET",
|
|
1563
|
+
uri: "/nodes/{node}/services/{service}",
|
|
1564
|
+
code: 200,
|
|
1565
|
+
}),
|
|
1566
|
+
),
|
|
1567
|
+
).annotate({
|
|
1568
|
+
identifier: "GetNodeServiceRequest",
|
|
1569
|
+
}) as any as S.Schema<GetNodeServiceRequest>;
|
|
1570
|
+
|
|
1571
|
+
export interface GetNodeServiceResponse {}
|
|
1572
|
+
export const GetNodeServiceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1573
|
+
S.Struct({}),
|
|
1574
|
+
).annotate({
|
|
1575
|
+
identifier: "GetNodeServiceResponse",
|
|
1576
|
+
}) as any as S.Schema<GetNodeServiceResponse>;
|
|
1577
|
+
|
|
1578
|
+
export interface GetNodeServiceStateRequest {
|
|
1579
|
+
node: string;
|
|
1580
|
+
service: string;
|
|
1581
|
+
}
|
|
1582
|
+
export const GetNodeServiceStateRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1583
|
+
S.Struct({
|
|
1584
|
+
node: S.String.pipe(T.Label()),
|
|
1585
|
+
service: S.String.pipe(T.Label()),
|
|
1586
|
+
}).pipe(
|
|
1587
|
+
T.Http({
|
|
1588
|
+
method: "GET",
|
|
1589
|
+
uri: "/nodes/{node}/services/{service}/state",
|
|
1590
|
+
code: 200,
|
|
1591
|
+
}),
|
|
1592
|
+
),
|
|
1593
|
+
).annotate({
|
|
1594
|
+
identifier: "GetNodeServiceStateRequest",
|
|
1595
|
+
}) as any as S.Schema<GetNodeServiceStateRequest>;
|
|
1596
|
+
|
|
1597
|
+
export interface GetNodeServiceStateResponse {}
|
|
1598
|
+
export const GetNodeServiceStateResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1599
|
+
S.Struct({}),
|
|
1600
|
+
).annotate({
|
|
1601
|
+
identifier: "GetNodeServiceStateResponse",
|
|
1602
|
+
}) as any as S.Schema<GetNodeServiceStateResponse>;
|
|
1603
|
+
|
|
1604
|
+
export interface GetNodeStatusRequest {
|
|
1605
|
+
node: string;
|
|
1606
|
+
}
|
|
1607
|
+
export const GetNodeStatusRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1608
|
+
S.Struct({
|
|
1609
|
+
node: S.String.pipe(T.Label()),
|
|
1610
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/status", code: 200 })),
|
|
1611
|
+
).annotate({
|
|
1612
|
+
identifier: "GetNodeStatusRequest",
|
|
1613
|
+
}) as any as S.Schema<GetNodeStatusRequest>;
|
|
1614
|
+
|
|
1615
|
+
export type GetNodeStatusResponseBootInfoMode = "efi" | "legacy-bios";
|
|
1616
|
+
export const GetNodeStatusResponseBootInfoMode = S.String;
|
|
1617
|
+
|
|
1618
|
+
export interface GetNodeStatusResponseBootInfo {
|
|
1619
|
+
mode: GetNodeStatusResponseBootInfoMode;
|
|
1620
|
+
secureboot: unknown;
|
|
1621
|
+
}
|
|
1622
|
+
export const GetNodeStatusResponseBootInfo = /*@__PURE__*/ S.suspend(() =>
|
|
1623
|
+
S.Struct({
|
|
1624
|
+
mode: GetNodeStatusResponseBootInfoMode,
|
|
1625
|
+
secureboot: S.Unknown,
|
|
1626
|
+
}),
|
|
1627
|
+
).annotate({
|
|
1628
|
+
identifier: "GetNodeStatusResponseBootInfo",
|
|
1629
|
+
}) as any as S.Schema<GetNodeStatusResponseBootInfo>;
|
|
1630
|
+
|
|
1631
|
+
export interface GetNodeStatusResponseCpuinfo {
|
|
1632
|
+
cpus: number;
|
|
1633
|
+
model: string;
|
|
1634
|
+
sockets: number;
|
|
1635
|
+
}
|
|
1636
|
+
export const GetNodeStatusResponseCpuinfo = /*@__PURE__*/ S.suspend(() =>
|
|
1637
|
+
S.Struct({
|
|
1638
|
+
cpus: S.Number,
|
|
1639
|
+
model: S.String,
|
|
1640
|
+
sockets: S.Number,
|
|
1641
|
+
}),
|
|
1642
|
+
).annotate({
|
|
1643
|
+
identifier: "GetNodeStatusResponseCpuinfo",
|
|
1644
|
+
}) as any as S.Schema<GetNodeStatusResponseCpuinfo>;
|
|
1645
|
+
|
|
1646
|
+
export interface GetNodeStatusResponseCurrentKernel {
|
|
1647
|
+
machine: string;
|
|
1648
|
+
release: string;
|
|
1649
|
+
sysname: string;
|
|
1650
|
+
version: string;
|
|
1651
|
+
}
|
|
1652
|
+
export const GetNodeStatusResponseCurrentKernel = /*@__PURE__*/ S.suspend(() =>
|
|
1653
|
+
S.Struct({
|
|
1654
|
+
machine: S.String,
|
|
1655
|
+
release: S.String,
|
|
1656
|
+
sysname: S.String,
|
|
1657
|
+
version: S.String,
|
|
1658
|
+
}),
|
|
1659
|
+
).annotate({
|
|
1660
|
+
identifier: "GetNodeStatusResponseCurrentKernel",
|
|
1661
|
+
}) as any as S.Schema<GetNodeStatusResponseCurrentKernel>;
|
|
1662
|
+
|
|
1663
|
+
export interface GetNodeStatusResponseInfo {
|
|
1664
|
+
fingerprint: string;
|
|
1665
|
+
}
|
|
1666
|
+
export const GetNodeStatusResponseInfo = /*@__PURE__*/ S.suspend(() =>
|
|
1667
|
+
S.Struct({
|
|
1668
|
+
fingerprint: S.String,
|
|
1669
|
+
}),
|
|
1670
|
+
).annotate({
|
|
1671
|
+
identifier: "GetNodeStatusResponseInfo",
|
|
1672
|
+
}) as any as S.Schema<GetNodeStatusResponseInfo>;
|
|
1673
|
+
|
|
1674
|
+
export type GetNodeStatusResponseLoadavgList = Array<number>;
|
|
1675
|
+
export const GetNodeStatusResponseLoadavgList = /*@__PURE__*/ S.Array(
|
|
1676
|
+
S.Number,
|
|
1677
|
+
) as any as S.Schema<GetNodeStatusResponseLoadavgList>;
|
|
1678
|
+
|
|
1679
|
+
export interface GetNodeStatusResponseMemory {
|
|
1680
|
+
free: number;
|
|
1681
|
+
total: number;
|
|
1682
|
+
used: number;
|
|
1683
|
+
}
|
|
1684
|
+
export const GetNodeStatusResponseMemory = /*@__PURE__*/ S.suspend(() =>
|
|
1685
|
+
S.Struct({
|
|
1686
|
+
free: S.Number,
|
|
1687
|
+
total: S.Number,
|
|
1688
|
+
used: S.Number,
|
|
1689
|
+
}),
|
|
1690
|
+
).annotate({
|
|
1691
|
+
identifier: "GetNodeStatusResponseMemory",
|
|
1692
|
+
}) as any as S.Schema<GetNodeStatusResponseMemory>;
|
|
1693
|
+
|
|
1694
|
+
export interface GetNodeStatusResponseRoot {
|
|
1695
|
+
avail: number;
|
|
1696
|
+
total: number;
|
|
1697
|
+
used: number;
|
|
1698
|
+
}
|
|
1699
|
+
export const GetNodeStatusResponseRoot = /*@__PURE__*/ S.suspend(() =>
|
|
1700
|
+
S.Struct({
|
|
1701
|
+
avail: S.Number,
|
|
1702
|
+
total: S.Number,
|
|
1703
|
+
used: S.Number,
|
|
1704
|
+
}),
|
|
1705
|
+
).annotate({
|
|
1706
|
+
identifier: "GetNodeStatusResponseRoot",
|
|
1707
|
+
}) as any as S.Schema<GetNodeStatusResponseRoot>;
|
|
1708
|
+
|
|
1709
|
+
export type GetNodeStatusResponseSwap = GetNodeStatusResponseMemory;
|
|
1710
|
+
export const GetNodeStatusResponseSwap = GetNodeStatusResponseMemory;
|
|
1711
|
+
|
|
1712
|
+
export interface GetNodeStatusResponse {
|
|
1713
|
+
boot_info?: GetNodeStatusResponseBootInfo;
|
|
1714
|
+
cpu: number;
|
|
1715
|
+
cpuinfo: GetNodeStatusResponseCpuinfo;
|
|
1716
|
+
current_kernel?: GetNodeStatusResponseCurrentKernel;
|
|
1717
|
+
info: GetNodeStatusResponseInfo;
|
|
1718
|
+
kversion: string;
|
|
1719
|
+
loadavg: GetNodeStatusResponseLoadavgList;
|
|
1720
|
+
memory: GetNodeStatusResponseMemory;
|
|
1721
|
+
root: GetNodeStatusResponseRoot;
|
|
1722
|
+
swap: GetNodeStatusResponseMemory;
|
|
1723
|
+
uptime: number;
|
|
1724
|
+
wait: number;
|
|
1725
|
+
}
|
|
1726
|
+
export const GetNodeStatusResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1727
|
+
S.Struct({
|
|
1728
|
+
boot_info: S.optional(
|
|
1729
|
+
GetNodeStatusResponseBootInfo.pipe(T.Body("boot-info")),
|
|
1730
|
+
),
|
|
1731
|
+
cpu: S.Number,
|
|
1732
|
+
cpuinfo: GetNodeStatusResponseCpuinfo,
|
|
1733
|
+
current_kernel: S.optional(
|
|
1734
|
+
GetNodeStatusResponseCurrentKernel.pipe(T.Body("current-kernel")),
|
|
1735
|
+
),
|
|
1736
|
+
info: GetNodeStatusResponseInfo,
|
|
1737
|
+
kversion: S.String,
|
|
1738
|
+
loadavg: GetNodeStatusResponseLoadavgList,
|
|
1739
|
+
memory: GetNodeStatusResponseMemory,
|
|
1740
|
+
root: GetNodeStatusResponseRoot,
|
|
1741
|
+
swap: GetNodeStatusResponseMemory,
|
|
1742
|
+
uptime: S.Number,
|
|
1743
|
+
wait: S.Number,
|
|
1744
|
+
}),
|
|
1745
|
+
).annotate({
|
|
1746
|
+
identifier: "GetNodeStatusResponse",
|
|
1747
|
+
}) as any as S.Schema<GetNodeStatusResponse>;
|
|
1748
|
+
|
|
1749
|
+
export interface GetNodeSubscriptionRequest {
|
|
1750
|
+
node: string;
|
|
1751
|
+
}
|
|
1752
|
+
export const GetNodeSubscriptionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1753
|
+
S.Struct({
|
|
1754
|
+
node: S.String.pipe(T.Label()),
|
|
1755
|
+
}).pipe(
|
|
1756
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/subscription", code: 200 }),
|
|
1757
|
+
),
|
|
1758
|
+
).annotate({
|
|
1759
|
+
identifier: "GetNodeSubscriptionRequest",
|
|
1760
|
+
}) as any as S.Schema<GetNodeSubscriptionRequest>;
|
|
1761
|
+
|
|
1762
|
+
export type GetNodeSubscriptionResponseStatus =
|
|
1763
|
+
| "new"
|
|
1764
|
+
| "notfound"
|
|
1765
|
+
| "active"
|
|
1766
|
+
| "invalid"
|
|
1767
|
+
| "expired"
|
|
1768
|
+
| "suspended";
|
|
1769
|
+
export const GetNodeSubscriptionResponseStatus = S.String;
|
|
1770
|
+
|
|
1771
|
+
export interface GetNodeSubscriptionResponse {
|
|
1772
|
+
checktime?: number;
|
|
1773
|
+
key?: string;
|
|
1774
|
+
message?: string;
|
|
1775
|
+
nextduedate?: string;
|
|
1776
|
+
productname?: string;
|
|
1777
|
+
regdate?: string;
|
|
1778
|
+
serverid?: string;
|
|
1779
|
+
signature?: string;
|
|
1780
|
+
status: GetNodeSubscriptionResponseStatus;
|
|
1781
|
+
url?: string;
|
|
1782
|
+
}
|
|
1783
|
+
export const GetNodeSubscriptionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1784
|
+
S.Struct({
|
|
1785
|
+
checktime: S.optional(S.Number),
|
|
1786
|
+
key: S.optional(S.String),
|
|
1787
|
+
message: S.optional(S.String),
|
|
1788
|
+
nextduedate: S.optional(S.String),
|
|
1789
|
+
productname: S.optional(S.String),
|
|
1790
|
+
regdate: S.optional(S.String),
|
|
1791
|
+
serverid: S.optional(S.String),
|
|
1792
|
+
signature: S.optional(S.String),
|
|
1793
|
+
status: GetNodeSubscriptionResponseStatus,
|
|
1794
|
+
url: S.optional(S.String),
|
|
1795
|
+
}),
|
|
1796
|
+
).annotate({
|
|
1797
|
+
identifier: "GetNodeSubscriptionResponse",
|
|
1798
|
+
}) as any as S.Schema<GetNodeSubscriptionResponse>;
|
|
1799
|
+
|
|
1800
|
+
export interface GetNodeTaskRequest {
|
|
1801
|
+
node: string;
|
|
1802
|
+
upid: string;
|
|
1803
|
+
}
|
|
1804
|
+
export const GetNodeTaskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1805
|
+
S.Struct({
|
|
1806
|
+
node: S.String.pipe(T.Label()),
|
|
1807
|
+
upid: S.String.pipe(T.Label()),
|
|
1808
|
+
}).pipe(
|
|
1809
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/tasks/{upid}", code: 200 }),
|
|
1810
|
+
),
|
|
1811
|
+
).annotate({
|
|
1812
|
+
identifier: "GetNodeTaskRequest",
|
|
1813
|
+
}) as any as S.Schema<GetNodeTaskRequest>;
|
|
1814
|
+
|
|
1815
|
+
export interface GetNodeTaskResponse {}
|
|
1816
|
+
export const GetNodeTaskResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1817
|
+
S.Struct({}),
|
|
1818
|
+
).annotate({
|
|
1819
|
+
identifier: "GetNodeTaskResponse",
|
|
1820
|
+
}) as any as S.Schema<GetNodeTaskResponse>;
|
|
1821
|
+
|
|
1822
|
+
export interface GetNodeTaskLogRequest {
|
|
1823
|
+
node: string;
|
|
1824
|
+
upid: string;
|
|
1825
|
+
/** Whether the tasklog file should be downloaded. This parameter can't be used in conjunction with other parameters */
|
|
1826
|
+
download?: string;
|
|
1827
|
+
/** The amount of lines to read from the tasklog. Setting this parameter to 0 will return all lines until the end of the file. */
|
|
1828
|
+
limit?: string;
|
|
1829
|
+
/** Start at this line when reading the tasklog */
|
|
1830
|
+
start?: string;
|
|
1831
|
+
/** Test task status, and set result attribute "active" accordingly. */
|
|
1832
|
+
test_status?: string;
|
|
1833
|
+
}
|
|
1834
|
+
export const GetNodeTaskLogRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1835
|
+
S.Struct({
|
|
1836
|
+
node: S.String.pipe(T.Label()),
|
|
1837
|
+
upid: S.String.pipe(T.Label()),
|
|
1838
|
+
download: S.optional(S.String.pipe(T.Query())),
|
|
1839
|
+
limit: S.optional(S.String.pipe(T.Query())),
|
|
1840
|
+
start: S.optional(S.String.pipe(T.Query())),
|
|
1841
|
+
test_status: S.optional(S.String.pipe(T.Query("test-status"))),
|
|
1842
|
+
}).pipe(
|
|
1843
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/tasks/{upid}/log", code: 200 }),
|
|
1844
|
+
),
|
|
1845
|
+
).annotate({
|
|
1846
|
+
identifier: "GetNodeTaskLogRequest",
|
|
1847
|
+
}) as any as S.Schema<GetNodeTaskLogRequest>;
|
|
1848
|
+
|
|
1849
|
+
export interface GetNodeTaskLogResponse {}
|
|
1850
|
+
export const GetNodeTaskLogResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1851
|
+
S.Struct({}),
|
|
1852
|
+
).annotate({
|
|
1853
|
+
identifier: "GetNodeTaskLogResponse",
|
|
1854
|
+
}) as any as S.Schema<GetNodeTaskLogResponse>;
|
|
1855
|
+
|
|
1856
|
+
export interface GetNodeTaskStatusRequest {
|
|
1857
|
+
node: string;
|
|
1858
|
+
upid: string;
|
|
1859
|
+
}
|
|
1860
|
+
export const GetNodeTaskStatusRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1861
|
+
S.Struct({
|
|
1862
|
+
node: S.String.pipe(T.Label()),
|
|
1863
|
+
upid: S.String.pipe(T.Label()),
|
|
1864
|
+
}).pipe(
|
|
1865
|
+
T.Http({
|
|
1866
|
+
method: "GET",
|
|
1867
|
+
uri: "/nodes/{node}/tasks/{upid}/status",
|
|
1868
|
+
code: 200,
|
|
1869
|
+
}),
|
|
1870
|
+
),
|
|
1871
|
+
).annotate({
|
|
1872
|
+
identifier: "GetNodeTaskStatusRequest",
|
|
1873
|
+
}) as any as S.Schema<GetNodeTaskStatusRequest>;
|
|
1874
|
+
|
|
1875
|
+
export interface GetNodeTaskStatusResponse {
|
|
1876
|
+
endtime?: number;
|
|
1877
|
+
exitstatus?: string;
|
|
1878
|
+
id?: string;
|
|
1879
|
+
node: string;
|
|
1880
|
+
pid: number;
|
|
1881
|
+
pstart: number;
|
|
1882
|
+
starttime: number;
|
|
1883
|
+
status: string;
|
|
1884
|
+
tokenid?: string;
|
|
1885
|
+
type: string;
|
|
1886
|
+
upid: string;
|
|
1887
|
+
user: string;
|
|
1888
|
+
}
|
|
1889
|
+
export const GetNodeTaskStatusResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1890
|
+
S.Struct({
|
|
1891
|
+
endtime: S.optional(S.Number),
|
|
1892
|
+
exitstatus: S.optional(S.String),
|
|
1893
|
+
id: S.optional(S.String),
|
|
1894
|
+
node: S.String,
|
|
1895
|
+
pid: S.Number,
|
|
1896
|
+
pstart: S.Number,
|
|
1897
|
+
starttime: S.Number,
|
|
1898
|
+
status: S.String,
|
|
1899
|
+
tokenid: S.optional(S.String),
|
|
1900
|
+
type: S.String,
|
|
1901
|
+
upid: S.String,
|
|
1902
|
+
user: S.String,
|
|
1903
|
+
}),
|
|
1904
|
+
).annotate({
|
|
1905
|
+
identifier: "GetNodeTaskStatusResponse",
|
|
1906
|
+
}) as any as S.Schema<GetNodeTaskStatusResponse>;
|
|
1907
|
+
|
|
1908
|
+
export interface GetNodeTimeRequest {
|
|
1909
|
+
node: string;
|
|
1910
|
+
}
|
|
1911
|
+
export const GetNodeTimeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1912
|
+
S.Struct({
|
|
1913
|
+
node: S.String.pipe(T.Label()),
|
|
1914
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/time", code: 200 })),
|
|
1915
|
+
).annotate({
|
|
1916
|
+
identifier: "GetNodeTimeRequest",
|
|
1917
|
+
}) as any as S.Schema<GetNodeTimeRequest>;
|
|
1918
|
+
|
|
1919
|
+
export interface GetNodeTimeResponse {
|
|
1920
|
+
localtime: number;
|
|
1921
|
+
time: number;
|
|
1922
|
+
timezone: string;
|
|
1923
|
+
}
|
|
1924
|
+
export const GetNodeTimeResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1925
|
+
S.Struct({
|
|
1926
|
+
localtime: S.Number,
|
|
1927
|
+
time: S.Number,
|
|
1928
|
+
timezone: S.String,
|
|
1929
|
+
}),
|
|
1930
|
+
).annotate({
|
|
1931
|
+
identifier: "GetNodeTimeResponse",
|
|
1932
|
+
}) as any as S.Schema<GetNodeTimeResponse>;
|
|
1933
|
+
|
|
1934
|
+
export interface GetNodeVncwebsocketRequest {
|
|
1935
|
+
node: string;
|
|
1936
|
+
/** Terminal port */
|
|
1937
|
+
port: string;
|
|
1938
|
+
/** Terminal ticket */
|
|
1939
|
+
vncticket: string;
|
|
1940
|
+
}
|
|
1941
|
+
export const GetNodeVncwebsocketRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1942
|
+
S.Struct({
|
|
1943
|
+
node: S.String.pipe(T.Label()),
|
|
1944
|
+
port: S.String.pipe(T.Query()),
|
|
1945
|
+
vncticket: S.String.pipe(T.Query()),
|
|
1946
|
+
}).pipe(
|
|
1947
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/vncwebsocket", code: 200 }),
|
|
1948
|
+
),
|
|
1949
|
+
).annotate({
|
|
1950
|
+
identifier: "GetNodeVncwebsocketRequest",
|
|
1951
|
+
}) as any as S.Schema<GetNodeVncwebsocketRequest>;
|
|
1952
|
+
|
|
1953
|
+
export interface GetNodeVncwebsocketResponse {}
|
|
1954
|
+
export const GetNodeVncwebsocketResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1955
|
+
S.Struct({}),
|
|
1956
|
+
).annotate({
|
|
1957
|
+
identifier: "GetNodeVncwebsocketResponse",
|
|
1958
|
+
}) as any as S.Schema<GetNodeVncwebsocketResponse>;
|
|
1959
|
+
|
|
1960
|
+
export interface ListNodeAptUpdateRequest {
|
|
1961
|
+
node: string;
|
|
1962
|
+
}
|
|
1963
|
+
export const ListNodeAptUpdateRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1964
|
+
S.Struct({
|
|
1965
|
+
node: S.String.pipe(T.Label()),
|
|
1966
|
+
}).pipe(
|
|
1967
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/apt/update", code: 200 }),
|
|
1968
|
+
),
|
|
1969
|
+
).annotate({
|
|
1970
|
+
identifier: "ListNodeAptUpdateRequest",
|
|
1971
|
+
}) as any as S.Schema<ListNodeAptUpdateRequest>;
|
|
1972
|
+
|
|
1973
|
+
export interface ListNodeAptUpdateResponseBodyItem {
|
|
1974
|
+
Arch: string;
|
|
1975
|
+
Description: string;
|
|
1976
|
+
ExtraInfo?: string;
|
|
1977
|
+
OldVersion?: string;
|
|
1978
|
+
Origin: string;
|
|
1979
|
+
Package: string;
|
|
1980
|
+
Priority: string;
|
|
1981
|
+
Section: string;
|
|
1982
|
+
Title: string;
|
|
1983
|
+
Version: string;
|
|
1984
|
+
}
|
|
1985
|
+
export const ListNodeAptUpdateResponseBodyItem = /*@__PURE__*/ S.suspend(() =>
|
|
1986
|
+
S.Struct({
|
|
1987
|
+
Arch: S.String,
|
|
1988
|
+
Description: S.String,
|
|
1989
|
+
ExtraInfo: S.optional(S.String),
|
|
1990
|
+
OldVersion: S.optional(S.String),
|
|
1991
|
+
Origin: S.String,
|
|
1992
|
+
Package: S.String,
|
|
1993
|
+
Priority: S.String,
|
|
1994
|
+
Section: S.String,
|
|
1995
|
+
Title: S.String,
|
|
1996
|
+
Version: S.String,
|
|
1997
|
+
}),
|
|
1998
|
+
).annotate({
|
|
1999
|
+
identifier: "ListNodeAptUpdateResponseBodyItem",
|
|
2000
|
+
}) as any as S.Schema<ListNodeAptUpdateResponseBodyItem>;
|
|
2001
|
+
|
|
2002
|
+
export type ListNodeAptUpdateResponseBodyList =
|
|
2003
|
+
Array<ListNodeAptUpdateResponseBodyItem>;
|
|
2004
|
+
export const ListNodeAptUpdateResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2005
|
+
ListNodeAptUpdateResponseBodyItem,
|
|
2006
|
+
) as any as S.Schema<ListNodeAptUpdateResponseBodyList>;
|
|
2007
|
+
|
|
2008
|
+
export type ListNodeAptUpdateResponse = ListNodeAptUpdateResponseBodyList;
|
|
2009
|
+
export const ListNodeAptUpdateResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2010
|
+
ListNodeAptUpdateResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2011
|
+
).annotate({
|
|
2012
|
+
identifier: "ListNodeAptUpdateResponse",
|
|
2013
|
+
}) as any as S.Schema<ListNodeAptUpdateResponse>;
|
|
2014
|
+
|
|
2015
|
+
export interface ListNodeAptVersionsRequest {
|
|
2016
|
+
node: string;
|
|
2017
|
+
}
|
|
2018
|
+
export const ListNodeAptVersionsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2019
|
+
S.Struct({
|
|
2020
|
+
node: S.String.pipe(T.Label()),
|
|
2021
|
+
}).pipe(
|
|
2022
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/apt/versions", code: 200 }),
|
|
2023
|
+
),
|
|
2024
|
+
).annotate({
|
|
2025
|
+
identifier: "ListNodeAptVersionsRequest",
|
|
2026
|
+
}) as any as S.Schema<ListNodeAptVersionsRequest>;
|
|
2027
|
+
|
|
2028
|
+
export type ListNodeAptVersionsResponseBodyItem =
|
|
2029
|
+
ListNodeAptUpdateResponseBodyItem;
|
|
2030
|
+
export const ListNodeAptVersionsResponseBodyItem =
|
|
2031
|
+
ListNodeAptUpdateResponseBodyItem;
|
|
2032
|
+
|
|
2033
|
+
export type ListNodeAptVersionsResponseBodyList =
|
|
2034
|
+
Array<ListNodeAptUpdateResponseBodyItem>;
|
|
2035
|
+
export const ListNodeAptVersionsResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2036
|
+
ListNodeAptUpdateResponseBodyItem,
|
|
2037
|
+
) as any as S.Schema<ListNodeAptVersionsResponseBodyList>;
|
|
2038
|
+
|
|
2039
|
+
export type ListNodeAptVersionsResponse = ListNodeAptVersionsResponseBodyList;
|
|
2040
|
+
export const ListNodeAptVersionsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2041
|
+
ListNodeAptVersionsResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2042
|
+
).annotate({
|
|
2043
|
+
identifier: "ListNodeAptVersionsResponse",
|
|
2044
|
+
}) as any as S.Schema<ListNodeAptVersionsResponse>;
|
|
2045
|
+
|
|
2046
|
+
export interface ListNodeCertificateInfoRequest {
|
|
2047
|
+
node: string;
|
|
2048
|
+
}
|
|
2049
|
+
export const ListNodeCertificateInfoRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2050
|
+
S.Struct({
|
|
2051
|
+
node: S.String.pipe(T.Label()),
|
|
2052
|
+
}).pipe(
|
|
2053
|
+
T.Http({
|
|
2054
|
+
method: "GET",
|
|
2055
|
+
uri: "/nodes/{node}/certificates/info",
|
|
2056
|
+
code: 200,
|
|
2057
|
+
}),
|
|
2058
|
+
),
|
|
2059
|
+
).annotate({
|
|
2060
|
+
identifier: "ListNodeCertificateInfoRequest",
|
|
2061
|
+
}) as any as S.Schema<ListNodeCertificateInfoRequest>;
|
|
2062
|
+
|
|
2063
|
+
export type ListNodeCertificateInfoResponseBodyItemSanList = Array<string>;
|
|
2064
|
+
export const ListNodeCertificateInfoResponseBodyItemSanList =
|
|
2065
|
+
/*@__PURE__*/ S.Array(
|
|
2066
|
+
S.String,
|
|
2067
|
+
) as any as S.Schema<ListNodeCertificateInfoResponseBodyItemSanList>;
|
|
2068
|
+
|
|
2069
|
+
export interface ListNodeCertificateInfoResponseBodyItem {
|
|
2070
|
+
filename: string;
|
|
2071
|
+
fingerprint?: string;
|
|
2072
|
+
issuer: string;
|
|
2073
|
+
notafter?: number;
|
|
2074
|
+
notbefore?: number;
|
|
2075
|
+
pem?: string;
|
|
2076
|
+
public_key_bits?: number;
|
|
2077
|
+
public_key_type?: string;
|
|
2078
|
+
san: ListNodeCertificateInfoResponseBodyItemSanList;
|
|
2079
|
+
subject: string;
|
|
2080
|
+
}
|
|
2081
|
+
export const ListNodeCertificateInfoResponseBodyItem = /*@__PURE__*/ S.suspend(
|
|
2082
|
+
() =>
|
|
2083
|
+
S.Struct({
|
|
2084
|
+
filename: S.String,
|
|
2085
|
+
fingerprint: S.optional(S.String),
|
|
2086
|
+
issuer: S.String,
|
|
2087
|
+
notafter: S.optional(S.Number),
|
|
2088
|
+
notbefore: S.optional(S.Number),
|
|
2089
|
+
pem: S.optional(S.String),
|
|
2090
|
+
public_key_bits: S.optional(S.Number.pipe(T.Body("public-key-bits"))),
|
|
2091
|
+
public_key_type: S.optional(S.String.pipe(T.Body("public-key-type"))),
|
|
2092
|
+
san: ListNodeCertificateInfoResponseBodyItemSanList,
|
|
2093
|
+
subject: S.String,
|
|
2094
|
+
}),
|
|
2095
|
+
).annotate({
|
|
2096
|
+
identifier: "ListNodeCertificateInfoResponseBodyItem",
|
|
2097
|
+
}) as any as S.Schema<ListNodeCertificateInfoResponseBodyItem>;
|
|
2098
|
+
|
|
2099
|
+
export type ListNodeCertificateInfoResponseBodyList =
|
|
2100
|
+
Array<ListNodeCertificateInfoResponseBodyItem>;
|
|
2101
|
+
export const ListNodeCertificateInfoResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2102
|
+
ListNodeCertificateInfoResponseBodyItem,
|
|
2103
|
+
) as any as S.Schema<ListNodeCertificateInfoResponseBodyList>;
|
|
2104
|
+
|
|
2105
|
+
export type ListNodeCertificateInfoResponse =
|
|
2106
|
+
ListNodeCertificateInfoResponseBodyList;
|
|
2107
|
+
export const ListNodeCertificateInfoResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2108
|
+
ListNodeCertificateInfoResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2109
|
+
).annotate({
|
|
2110
|
+
identifier: "ListNodeCertificateInfoResponse",
|
|
2111
|
+
}) as any as S.Schema<ListNodeCertificateInfoResponse>;
|
|
2112
|
+
|
|
2113
|
+
export interface ListNodeDiskDirectoryRequest {
|
|
2114
|
+
node: string;
|
|
2115
|
+
}
|
|
2116
|
+
export const ListNodeDiskDirectoryRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2117
|
+
S.Struct({
|
|
2118
|
+
node: S.String.pipe(T.Label()),
|
|
2119
|
+
}).pipe(
|
|
2120
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/disks/directory", code: 200 }),
|
|
2121
|
+
),
|
|
2122
|
+
).annotate({
|
|
2123
|
+
identifier: "ListNodeDiskDirectoryRequest",
|
|
2124
|
+
}) as any as S.Schema<ListNodeDiskDirectoryRequest>;
|
|
2125
|
+
|
|
2126
|
+
export type ListNodeDiskDirectoryResponseBodyItemFilesystem = "ext4" | "xfs";
|
|
2127
|
+
export const ListNodeDiskDirectoryResponseBodyItemFilesystem = S.String;
|
|
2128
|
+
|
|
2129
|
+
export interface ListNodeDiskDirectoryResponseBodyItem {
|
|
2130
|
+
device: string;
|
|
2131
|
+
filesystem?: ListNodeDiskDirectoryResponseBodyItemFilesystem;
|
|
2132
|
+
name: string;
|
|
2133
|
+
options?: string;
|
|
2134
|
+
path: string;
|
|
2135
|
+
removable: unknown;
|
|
2136
|
+
unitfile: string;
|
|
2137
|
+
}
|
|
2138
|
+
export const ListNodeDiskDirectoryResponseBodyItem = /*@__PURE__*/ S.suspend(
|
|
2139
|
+
() =>
|
|
2140
|
+
S.Struct({
|
|
2141
|
+
device: S.String,
|
|
2142
|
+
filesystem: S.optional(ListNodeDiskDirectoryResponseBodyItemFilesystem),
|
|
2143
|
+
name: S.String,
|
|
2144
|
+
options: S.optional(S.String),
|
|
2145
|
+
path: S.String,
|
|
2146
|
+
removable: S.Unknown,
|
|
2147
|
+
unitfile: S.String,
|
|
2148
|
+
}),
|
|
2149
|
+
).annotate({
|
|
2150
|
+
identifier: "ListNodeDiskDirectoryResponseBodyItem",
|
|
2151
|
+
}) as any as S.Schema<ListNodeDiskDirectoryResponseBodyItem>;
|
|
2152
|
+
|
|
2153
|
+
export type ListNodeDiskDirectoryResponseBodyList =
|
|
2154
|
+
Array<ListNodeDiskDirectoryResponseBodyItem>;
|
|
2155
|
+
export const ListNodeDiskDirectoryResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2156
|
+
ListNodeDiskDirectoryResponseBodyItem,
|
|
2157
|
+
) as any as S.Schema<ListNodeDiskDirectoryResponseBodyList>;
|
|
2158
|
+
|
|
2159
|
+
export type ListNodeDiskDirectoryResponse =
|
|
2160
|
+
ListNodeDiskDirectoryResponseBodyList;
|
|
2161
|
+
export const ListNodeDiskDirectoryResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2162
|
+
ListNodeDiskDirectoryResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2163
|
+
).annotate({
|
|
2164
|
+
identifier: "ListNodeDiskDirectoryResponse",
|
|
2165
|
+
}) as any as S.Schema<ListNodeDiskDirectoryResponse>;
|
|
2166
|
+
|
|
2167
|
+
export type ListNodeDiskListRequestUsageType =
|
|
2168
|
+
| "unused"
|
|
2169
|
+
| "mounted"
|
|
2170
|
+
| "lvm"
|
|
2171
|
+
| "zfs"
|
|
2172
|
+
| "devicemapper"
|
|
2173
|
+
| "partitions"
|
|
2174
|
+
| "filesystem";
|
|
2175
|
+
export const ListNodeDiskListRequestUsageType = S.String;
|
|
2176
|
+
|
|
2177
|
+
export interface ListNodeDiskListRequest {
|
|
2178
|
+
node: string;
|
|
2179
|
+
/** Include partitions. */
|
|
2180
|
+
include_partitions?: string;
|
|
2181
|
+
/** Skip smart checks. */
|
|
2182
|
+
skipsmart?: string;
|
|
2183
|
+
/** What a block device (disk) is used for. */
|
|
2184
|
+
usage_type?: ListNodeDiskListRequestUsageType | (string & {});
|
|
2185
|
+
}
|
|
2186
|
+
export const ListNodeDiskListRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2187
|
+
S.Struct({
|
|
2188
|
+
node: S.String.pipe(T.Label()),
|
|
2189
|
+
include_partitions: S.optional(
|
|
2190
|
+
S.String.pipe(T.Query("include-partitions")),
|
|
2191
|
+
),
|
|
2192
|
+
skipsmart: S.optional(S.String.pipe(T.Query())),
|
|
2193
|
+
usage_type: S.optional(
|
|
2194
|
+
ListNodeDiskListRequestUsageType.pipe(T.Query("usage-type")),
|
|
2195
|
+
),
|
|
2196
|
+
}).pipe(
|
|
2197
|
+
T.Http({ method: "GET", uri: "/nodes/{node}/disks/list", code: 200 }),
|
|
2198
|
+
),
|
|
2199
|
+
).annotate({
|
|
2200
|
+
identifier: "ListNodeDiskListRequest",
|
|
2201
|
+
}) as any as S.Schema<ListNodeDiskListRequest>;
|
|
2202
|
+
|
|
2203
|
+
export type ListNodeDiskListResponseBodyItemDiskType =
|
|
2204
|
+
| "unknown"
|
|
2205
|
+
| "hdd"
|
|
2206
|
+
| "ssd"
|
|
2207
|
+
| "usb";
|
|
2208
|
+
export const ListNodeDiskListResponseBodyItemDiskType = S.String;
|
|
2209
|
+
|
|
2210
|
+
export type ListNodeDiskListResponseBodyItemPartitionsItemUsed =
|
|
2211
|
+
| "unused"
|
|
2212
|
+
| "lvm"
|
|
2213
|
+
| "zfs"
|
|
2214
|
+
| "zfsreserved"
|
|
2215
|
+
| "efi"
|
|
2216
|
+
| "bios"
|
|
2217
|
+
| "filesystem";
|
|
2218
|
+
export const ListNodeDiskListResponseBodyItemPartitionsItemUsed = S.String;
|
|
2219
|
+
|
|
2220
|
+
export interface ListNodeDiskListResponseBodyItemPartitionsItem {
|
|
2221
|
+
devpath?: string;
|
|
2222
|
+
filesystem?: string;
|
|
2223
|
+
gpt: unknown;
|
|
2224
|
+
mounted: unknown;
|
|
2225
|
+
name: string;
|
|
2226
|
+
size?: number;
|
|
2227
|
+
used: ListNodeDiskListResponseBodyItemPartitionsItemUsed;
|
|
2228
|
+
uuid?: string;
|
|
2229
|
+
}
|
|
2230
|
+
export const ListNodeDiskListResponseBodyItemPartitionsItem =
|
|
2231
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2232
|
+
S.Struct({
|
|
2233
|
+
devpath: S.optional(S.String),
|
|
2234
|
+
filesystem: S.optional(S.String),
|
|
2235
|
+
gpt: S.Unknown,
|
|
2236
|
+
mounted: S.Unknown,
|
|
2237
|
+
name: S.String,
|
|
2238
|
+
size: S.optional(S.Number),
|
|
2239
|
+
used: ListNodeDiskListResponseBodyItemPartitionsItemUsed,
|
|
2240
|
+
uuid: S.optional(S.String),
|
|
2241
|
+
}),
|
|
2242
|
+
).annotate({
|
|
2243
|
+
identifier: "ListNodeDiskListResponseBodyItemPartitionsItem",
|
|
2244
|
+
}) as any as S.Schema<ListNodeDiskListResponseBodyItemPartitionsItem>;
|
|
2245
|
+
|
|
2246
|
+
export type ListNodeDiskListResponseBodyItemPartitionsList =
|
|
2247
|
+
Array<ListNodeDiskListResponseBodyItemPartitionsItem>;
|
|
2248
|
+
export const ListNodeDiskListResponseBodyItemPartitionsList =
|
|
2249
|
+
/*@__PURE__*/ S.Array(
|
|
2250
|
+
ListNodeDiskListResponseBodyItemPartitionsItem,
|
|
2251
|
+
) as any as S.Schema<ListNodeDiskListResponseBodyItemPartitionsList>;
|
|
2252
|
+
|
|
2253
|
+
export type ListNodeDiskListResponseBodyItemStatus =
|
|
2254
|
+
| "passed"
|
|
2255
|
+
| "failed"
|
|
2256
|
+
| "unknown";
|
|
2257
|
+
export const ListNodeDiskListResponseBodyItemStatus = S.String;
|
|
2258
|
+
|
|
2259
|
+
export type ListNodeDiskListResponseBodyItemUsed =
|
|
2260
|
+
| "unused"
|
|
2261
|
+
| "mounted"
|
|
2262
|
+
| "lvm"
|
|
2263
|
+
| "zfs"
|
|
2264
|
+
| "devicemapper"
|
|
2265
|
+
| "partitions"
|
|
2266
|
+
| "filesystem";
|
|
2267
|
+
export const ListNodeDiskListResponseBodyItemUsed = S.String;
|
|
2268
|
+
|
|
2269
|
+
export interface ListNodeDiskListResponseBodyItem {
|
|
2270
|
+
devpath?: string;
|
|
2271
|
+
disk_type?: ListNodeDiskListResponseBodyItemDiskType;
|
|
2272
|
+
gpt: unknown;
|
|
2273
|
+
model?: string;
|
|
2274
|
+
name: string;
|
|
2275
|
+
partitions?: ListNodeDiskListResponseBodyItemPartitionsList;
|
|
2276
|
+
rpm?: number;
|
|
2277
|
+
serial?: string;
|
|
2278
|
+
size: number;
|
|
2279
|
+
status: ListNodeDiskListResponseBodyItemStatus;
|
|
2280
|
+
used: ListNodeDiskListResponseBodyItemUsed;
|
|
2281
|
+
vendor?: string;
|
|
2282
|
+
wearout?: number;
|
|
2283
|
+
wwn?: string;
|
|
2284
|
+
}
|
|
2285
|
+
export const ListNodeDiskListResponseBodyItem = /*@__PURE__*/ S.suspend(() =>
|
|
2286
|
+
S.Struct({
|
|
2287
|
+
devpath: S.optional(S.String),
|
|
2288
|
+
disk_type: S.optional(
|
|
2289
|
+
ListNodeDiskListResponseBodyItemDiskType.pipe(T.Body("disk-type")),
|
|
2290
|
+
),
|
|
2291
|
+
gpt: S.Unknown,
|
|
2292
|
+
model: S.optional(S.String),
|
|
2293
|
+
name: S.String,
|
|
2294
|
+
partitions: S.optional(ListNodeDiskListResponseBodyItemPartitionsList),
|
|
2295
|
+
rpm: S.optional(S.Number),
|
|
2296
|
+
serial: S.optional(S.String),
|
|
2297
|
+
size: S.Number,
|
|
2298
|
+
status: ListNodeDiskListResponseBodyItemStatus,
|
|
2299
|
+
used: ListNodeDiskListResponseBodyItemUsed,
|
|
2300
|
+
vendor: S.optional(S.String),
|
|
2301
|
+
wearout: S.optional(S.Number),
|
|
2302
|
+
wwn: S.optional(S.String),
|
|
2303
|
+
}),
|
|
2304
|
+
).annotate({
|
|
2305
|
+
identifier: "ListNodeDiskListResponseBodyItem",
|
|
2306
|
+
}) as any as S.Schema<ListNodeDiskListResponseBodyItem>;
|
|
2307
|
+
|
|
2308
|
+
export type ListNodeDiskListResponseBodyList =
|
|
2309
|
+
Array<ListNodeDiskListResponseBodyItem>;
|
|
2310
|
+
export const ListNodeDiskListResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2311
|
+
ListNodeDiskListResponseBodyItem,
|
|
2312
|
+
) as any as S.Schema<ListNodeDiskListResponseBodyList>;
|
|
2313
|
+
|
|
2314
|
+
export type ListNodeDiskListResponse = ListNodeDiskListResponseBodyList;
|
|
2315
|
+
export const ListNodeDiskListResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2316
|
+
ListNodeDiskListResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2317
|
+
).annotate({
|
|
2318
|
+
identifier: "ListNodeDiskListResponse",
|
|
2319
|
+
}) as any as S.Schema<ListNodeDiskListResponse>;
|
|
2320
|
+
|
|
2321
|
+
export interface ListNodeDiskZfsRequest {
|
|
2322
|
+
node: string;
|
|
2323
|
+
}
|
|
2324
|
+
export const ListNodeDiskZfsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2325
|
+
S.Struct({
|
|
2326
|
+
node: S.String.pipe(T.Label()),
|
|
2327
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/disks/zfs", code: 200 })),
|
|
2328
|
+
).annotate({
|
|
2329
|
+
identifier: "ListNodeDiskZfsRequest",
|
|
2330
|
+
}) as any as S.Schema<ListNodeDiskZfsRequest>;
|
|
2331
|
+
|
|
2332
|
+
export interface ListNodeDiskZfsResponseBodyItem {
|
|
2333
|
+
alloc: number;
|
|
2334
|
+
dedup: number;
|
|
2335
|
+
frag: number;
|
|
2336
|
+
free: number;
|
|
2337
|
+
health: string;
|
|
2338
|
+
name: string;
|
|
2339
|
+
size: number;
|
|
2340
|
+
}
|
|
2341
|
+
export const ListNodeDiskZfsResponseBodyItem = /*@__PURE__*/ S.suspend(() =>
|
|
2342
|
+
S.Struct({
|
|
2343
|
+
alloc: S.Number,
|
|
2344
|
+
dedup: S.Number,
|
|
2345
|
+
frag: S.Number,
|
|
2346
|
+
free: S.Number,
|
|
2347
|
+
health: S.String,
|
|
2348
|
+
name: S.String,
|
|
2349
|
+
size: S.Number,
|
|
2350
|
+
}),
|
|
2351
|
+
).annotate({
|
|
2352
|
+
identifier: "ListNodeDiskZfsResponseBodyItem",
|
|
2353
|
+
}) as any as S.Schema<ListNodeDiskZfsResponseBodyItem>;
|
|
2354
|
+
|
|
2355
|
+
export type ListNodeDiskZfsResponseBodyList =
|
|
2356
|
+
Array<ListNodeDiskZfsResponseBodyItem>;
|
|
2357
|
+
export const ListNodeDiskZfsResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2358
|
+
ListNodeDiskZfsResponseBodyItem,
|
|
2359
|
+
) as any as S.Schema<ListNodeDiskZfsResponseBodyList>;
|
|
2360
|
+
|
|
2361
|
+
export type ListNodeDiskZfsResponse = ListNodeDiskZfsResponseBodyList;
|
|
2362
|
+
export const ListNodeDiskZfsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2363
|
+
ListNodeDiskZfsResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2364
|
+
).annotate({
|
|
2365
|
+
identifier: "ListNodeDiskZfsResponse",
|
|
2366
|
+
}) as any as S.Schema<ListNodeDiskZfsResponse>;
|
|
2367
|
+
|
|
2368
|
+
export interface ListNodeNetworkRequest {
|
|
2369
|
+
node: string;
|
|
2370
|
+
}
|
|
2371
|
+
export const ListNodeNetworkRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2372
|
+
S.Struct({
|
|
2373
|
+
node: S.String.pipe(T.Label()),
|
|
2374
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/network", code: 200 })),
|
|
2375
|
+
).annotate({
|
|
2376
|
+
identifier: "ListNodeNetworkRequest",
|
|
2377
|
+
}) as any as S.Schema<ListNodeNetworkRequest>;
|
|
2378
|
+
|
|
2379
|
+
export type ListNodeNetworkResponseBodyItemAltnamesList = Array<string>;
|
|
2380
|
+
export const ListNodeNetworkResponseBodyItemAltnamesList =
|
|
2381
|
+
/*@__PURE__*/ S.Array(
|
|
2382
|
+
S.String,
|
|
2383
|
+
) as any as S.Schema<ListNodeNetworkResponseBodyItemAltnamesList>;
|
|
2384
|
+
|
|
2385
|
+
export type ListNodeNetworkResponseBodyItemBondMode =
|
|
2386
|
+
| "balance-rr"
|
|
2387
|
+
| "active-backup"
|
|
2388
|
+
| "balance-xor"
|
|
2389
|
+
| "broadcast"
|
|
2390
|
+
| "802.3ad"
|
|
2391
|
+
| "balance-tlb"
|
|
2392
|
+
| "balance-alb";
|
|
2393
|
+
export const ListNodeNetworkResponseBodyItemBondMode = S.String;
|
|
2394
|
+
|
|
2395
|
+
export type ListNodeNetworkResponseBodyItemBondXmitHashPolicy =
|
|
2396
|
+
| "layer2"
|
|
2397
|
+
| "layer2+3"
|
|
2398
|
+
| "layer3+4";
|
|
2399
|
+
export const ListNodeNetworkResponseBodyItemBondXmitHashPolicy = S.String;
|
|
2400
|
+
|
|
2401
|
+
export type ListNodeNetworkResponseBodyItemBridgePortsList = Array<string>;
|
|
2402
|
+
export const ListNodeNetworkResponseBodyItemBridgePortsList =
|
|
2403
|
+
/*@__PURE__*/ S.Array(
|
|
2404
|
+
S.String,
|
|
2405
|
+
) as any as S.Schema<ListNodeNetworkResponseBodyItemBridgePortsList>;
|
|
2406
|
+
|
|
2407
|
+
export type ListNodeNetworkResponseBodyItemMethod =
|
|
2408
|
+
| "manual"
|
|
2409
|
+
| "static"
|
|
2410
|
+
| "dhcp"
|
|
2411
|
+
| "loopback";
|
|
2412
|
+
export const ListNodeNetworkResponseBodyItemMethod = S.String;
|
|
2413
|
+
|
|
2414
|
+
export type ListNodeNetworkResponseBodyItemMethod6 =
|
|
2415
|
+
| "manual"
|
|
2416
|
+
| "static"
|
|
2417
|
+
| "dhcp"
|
|
2418
|
+
| "loopback";
|
|
2419
|
+
export const ListNodeNetworkResponseBodyItemMethod6 = S.String;
|
|
2420
|
+
|
|
2421
|
+
export type ListNodeNetworkResponseBodyItemOptionsList = Array<string>;
|
|
2422
|
+
export const ListNodeNetworkResponseBodyItemOptionsList = /*@__PURE__*/ S.Array(
|
|
2423
|
+
S.String,
|
|
2424
|
+
) as any as S.Schema<ListNodeNetworkResponseBodyItemOptionsList>;
|
|
2425
|
+
|
|
2426
|
+
export type ListNodeNetworkResponseBodyItemOptions6List = Array<string>;
|
|
2427
|
+
export const ListNodeNetworkResponseBodyItemOptions6List =
|
|
2428
|
+
/*@__PURE__*/ S.Array(
|
|
2429
|
+
S.String,
|
|
2430
|
+
) as any as S.Schema<ListNodeNetworkResponseBodyItemOptions6List>;
|
|
2431
|
+
|
|
2432
|
+
export type ListNodeNetworkResponseBodyItemSlavesList = Array<string>;
|
|
2433
|
+
export const ListNodeNetworkResponseBodyItemSlavesList = /*@__PURE__*/ S.Array(
|
|
2434
|
+
S.String,
|
|
2435
|
+
) as any as S.Schema<ListNodeNetworkResponseBodyItemSlavesList>;
|
|
2436
|
+
|
|
2437
|
+
export type ListNodeNetworkResponseBodyItemType =
|
|
2438
|
+
| "loopback"
|
|
2439
|
+
| "eth"
|
|
2440
|
+
| "bridge"
|
|
2441
|
+
| "bond"
|
|
2442
|
+
| "vlan"
|
|
2443
|
+
| "alias"
|
|
2444
|
+
| "unknown";
|
|
2445
|
+
export const ListNodeNetworkResponseBodyItemType = S.String;
|
|
2446
|
+
|
|
2447
|
+
export interface ListNodeNetworkResponseBodyItem {
|
|
2448
|
+
active: unknown;
|
|
2449
|
+
altnames: ListNodeNetworkResponseBodyItemAltnamesList;
|
|
2450
|
+
autostart: unknown;
|
|
2451
|
+
bond_primary?: string;
|
|
2452
|
+
bond_mode?: ListNodeNetworkResponseBodyItemBondMode;
|
|
2453
|
+
bond_xmit_hash_policy?: ListNodeNetworkResponseBodyItemBondXmitHashPolicy;
|
|
2454
|
+
bridge_ports?: ListNodeNetworkResponseBodyItemBridgePortsList;
|
|
2455
|
+
bridge_vlan_aware?: unknown;
|
|
2456
|
+
cidr?: string;
|
|
2457
|
+
cidr6?: string;
|
|
2458
|
+
comments?: string;
|
|
2459
|
+
comments6?: string;
|
|
2460
|
+
gateway?: string;
|
|
2461
|
+
gateway6?: string;
|
|
2462
|
+
method?: ListNodeNetworkResponseBodyItemMethod;
|
|
2463
|
+
method6?: ListNodeNetworkResponseBodyItemMethod6;
|
|
2464
|
+
mtu?: number;
|
|
2465
|
+
name: string;
|
|
2466
|
+
options: ListNodeNetworkResponseBodyItemOptionsList;
|
|
2467
|
+
options6: ListNodeNetworkResponseBodyItemOptions6List;
|
|
2468
|
+
slaves?: ListNodeNetworkResponseBodyItemSlavesList;
|
|
2469
|
+
type: ListNodeNetworkResponseBodyItemType;
|
|
2470
|
+
vlan_id?: number;
|
|
2471
|
+
vlan_raw_device?: string;
|
|
2472
|
+
}
|
|
2473
|
+
export const ListNodeNetworkResponseBodyItem = /*@__PURE__*/ S.suspend(() =>
|
|
2474
|
+
S.Struct({
|
|
2475
|
+
active: S.Unknown,
|
|
2476
|
+
altnames: ListNodeNetworkResponseBodyItemAltnamesList,
|
|
2477
|
+
autostart: S.Unknown,
|
|
2478
|
+
bond_primary: S.optional(S.String.pipe(T.Body("bond-primary"))),
|
|
2479
|
+
bond_mode: S.optional(ListNodeNetworkResponseBodyItemBondMode),
|
|
2480
|
+
bond_xmit_hash_policy: S.optional(
|
|
2481
|
+
ListNodeNetworkResponseBodyItemBondXmitHashPolicy,
|
|
2482
|
+
),
|
|
2483
|
+
bridge_ports: S.optional(ListNodeNetworkResponseBodyItemBridgePortsList),
|
|
2484
|
+
bridge_vlan_aware: S.optional(S.Unknown),
|
|
2485
|
+
cidr: S.optional(S.String),
|
|
2486
|
+
cidr6: S.optional(S.String),
|
|
2487
|
+
comments: S.optional(S.String),
|
|
2488
|
+
comments6: S.optional(S.String),
|
|
2489
|
+
gateway: S.optional(S.String),
|
|
2490
|
+
gateway6: S.optional(S.String),
|
|
2491
|
+
method: S.optional(ListNodeNetworkResponseBodyItemMethod),
|
|
2492
|
+
method6: S.optional(ListNodeNetworkResponseBodyItemMethod6),
|
|
2493
|
+
mtu: S.optional(S.Number),
|
|
2494
|
+
name: S.String,
|
|
2495
|
+
options: ListNodeNetworkResponseBodyItemOptionsList,
|
|
2496
|
+
options6: ListNodeNetworkResponseBodyItemOptions6List,
|
|
2497
|
+
slaves: S.optional(ListNodeNetworkResponseBodyItemSlavesList),
|
|
2498
|
+
type: ListNodeNetworkResponseBodyItemType,
|
|
2499
|
+
vlan_id: S.optional(S.Number.pipe(T.Body("vlan-id"))),
|
|
2500
|
+
vlan_raw_device: S.optional(S.String.pipe(T.Body("vlan-raw-device"))),
|
|
2501
|
+
}),
|
|
2502
|
+
).annotate({
|
|
2503
|
+
identifier: "ListNodeNetworkResponseBodyItem",
|
|
2504
|
+
}) as any as S.Schema<ListNodeNetworkResponseBodyItem>;
|
|
2505
|
+
|
|
2506
|
+
export type ListNodeNetworkResponseBodyList =
|
|
2507
|
+
Array<ListNodeNetworkResponseBodyItem>;
|
|
2508
|
+
export const ListNodeNetworkResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2509
|
+
ListNodeNetworkResponseBodyItem,
|
|
2510
|
+
) as any as S.Schema<ListNodeNetworkResponseBodyList>;
|
|
2511
|
+
|
|
2512
|
+
export type ListNodeNetworkResponse = ListNodeNetworkResponseBodyList;
|
|
2513
|
+
export const ListNodeNetworkResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2514
|
+
ListNodeNetworkResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2515
|
+
).annotate({
|
|
2516
|
+
identifier: "ListNodeNetworkResponse",
|
|
2517
|
+
}) as any as S.Schema<ListNodeNetworkResponse>;
|
|
2518
|
+
|
|
2519
|
+
export interface ListNodeServicesRequest {
|
|
2520
|
+
node: string;
|
|
2521
|
+
}
|
|
2522
|
+
export const ListNodeServicesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2523
|
+
S.Struct({
|
|
2524
|
+
node: S.String.pipe(T.Label()),
|
|
2525
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/services", code: 200 })),
|
|
2526
|
+
).annotate({
|
|
2527
|
+
identifier: "ListNodeServicesRequest",
|
|
2528
|
+
}) as any as S.Schema<ListNodeServicesRequest>;
|
|
2529
|
+
|
|
2530
|
+
export interface ListNodeServicesResponseBodyItem {
|
|
2531
|
+
desc: string;
|
|
2532
|
+
name: string;
|
|
2533
|
+
service: string;
|
|
2534
|
+
state: string;
|
|
2535
|
+
unit_state?: string;
|
|
2536
|
+
}
|
|
2537
|
+
export const ListNodeServicesResponseBodyItem = /*@__PURE__*/ S.suspend(() =>
|
|
2538
|
+
S.Struct({
|
|
2539
|
+
desc: S.String,
|
|
2540
|
+
name: S.String,
|
|
2541
|
+
service: S.String,
|
|
2542
|
+
state: S.String,
|
|
2543
|
+
unit_state: S.optional(S.String.pipe(T.Body("unit-state"))),
|
|
2544
|
+
}),
|
|
2545
|
+
).annotate({
|
|
2546
|
+
identifier: "ListNodeServicesResponseBodyItem",
|
|
2547
|
+
}) as any as S.Schema<ListNodeServicesResponseBodyItem>;
|
|
2548
|
+
|
|
2549
|
+
export type ListNodeServicesResponseBodyList =
|
|
2550
|
+
Array<ListNodeServicesResponseBodyItem>;
|
|
2551
|
+
export const ListNodeServicesResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2552
|
+
ListNodeServicesResponseBodyItem,
|
|
2553
|
+
) as any as S.Schema<ListNodeServicesResponseBodyList>;
|
|
2554
|
+
|
|
2555
|
+
export type ListNodeServicesResponse = ListNodeServicesResponseBodyList;
|
|
2556
|
+
export const ListNodeServicesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2557
|
+
ListNodeServicesResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2558
|
+
).annotate({
|
|
2559
|
+
identifier: "ListNodeServicesResponse",
|
|
2560
|
+
}) as any as S.Schema<ListNodeServicesResponse>;
|
|
2561
|
+
|
|
2562
|
+
export interface ListNodeSyslogRequest {
|
|
2563
|
+
node: string;
|
|
2564
|
+
/** Max. number of lines. */
|
|
2565
|
+
limit?: string;
|
|
2566
|
+
/** Service ID. */
|
|
2567
|
+
service?: string;
|
|
2568
|
+
/** Display all log since this date-time string. */
|
|
2569
|
+
since?: string;
|
|
2570
|
+
/** Start line number. */
|
|
2571
|
+
start?: string;
|
|
2572
|
+
/** Display all log until this date-time string. */
|
|
2573
|
+
until?: string;
|
|
2574
|
+
}
|
|
2575
|
+
export const ListNodeSyslogRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2576
|
+
S.Struct({
|
|
2577
|
+
node: S.String.pipe(T.Label()),
|
|
2578
|
+
limit: S.optional(S.String.pipe(T.Query())),
|
|
2579
|
+
service: S.optional(S.String.pipe(T.Query())),
|
|
2580
|
+
since: S.optional(S.String.pipe(T.Query())),
|
|
2581
|
+
start: S.optional(S.String.pipe(T.Query())),
|
|
2582
|
+
until: S.optional(S.String.pipe(T.Query())),
|
|
2583
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/syslog", code: 200 })),
|
|
2584
|
+
).annotate({
|
|
2585
|
+
identifier: "ListNodeSyslogRequest",
|
|
2586
|
+
}) as any as S.Schema<ListNodeSyslogRequest>;
|
|
2587
|
+
|
|
2588
|
+
export interface ListNodeSyslogResponseBodyItem {
|
|
2589
|
+
n: number;
|
|
2590
|
+
t: string;
|
|
2591
|
+
}
|
|
2592
|
+
export const ListNodeSyslogResponseBodyItem = /*@__PURE__*/ S.suspend(() =>
|
|
2593
|
+
S.Struct({
|
|
2594
|
+
n: S.Number,
|
|
2595
|
+
t: S.String,
|
|
2596
|
+
}),
|
|
2597
|
+
).annotate({
|
|
2598
|
+
identifier: "ListNodeSyslogResponseBodyItem",
|
|
2599
|
+
}) as any as S.Schema<ListNodeSyslogResponseBodyItem>;
|
|
2600
|
+
|
|
2601
|
+
export type ListNodeSyslogResponseBodyList =
|
|
2602
|
+
Array<ListNodeSyslogResponseBodyItem>;
|
|
2603
|
+
export const ListNodeSyslogResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2604
|
+
ListNodeSyslogResponseBodyItem,
|
|
2605
|
+
) as any as S.Schema<ListNodeSyslogResponseBodyList>;
|
|
2606
|
+
|
|
2607
|
+
export type ListNodeSyslogResponse = ListNodeSyslogResponseBodyList;
|
|
2608
|
+
export const ListNodeSyslogResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2609
|
+
ListNodeSyslogResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2610
|
+
).annotate({
|
|
2611
|
+
identifier: "ListNodeSyslogResponse",
|
|
2612
|
+
}) as any as S.Schema<ListNodeSyslogResponse>;
|
|
2613
|
+
|
|
2614
|
+
export type ListNodeTasksRequestStatusfilterItem =
|
|
2615
|
+
| "ok"
|
|
2616
|
+
| "warning"
|
|
2617
|
+
| "error"
|
|
2618
|
+
| "unknown";
|
|
2619
|
+
export const ListNodeTasksRequestStatusfilterItem = S.String;
|
|
2620
|
+
|
|
2621
|
+
export type ListNodeTasksRequestStatusfilterList = Array<
|
|
2622
|
+
ListNodeTasksRequestStatusfilterItem | (string & {})
|
|
2623
|
+
>;
|
|
2624
|
+
export const ListNodeTasksRequestStatusfilterList = /*@__PURE__*/ S.Array(
|
|
2625
|
+
ListNodeTasksRequestStatusfilterItem,
|
|
2626
|
+
) as any as S.Schema<ListNodeTasksRequestStatusfilterList>;
|
|
2627
|
+
|
|
2628
|
+
export interface ListNodeTasksRequest {
|
|
2629
|
+
node: string;
|
|
2630
|
+
/** Only list erroneous tasks. */
|
|
2631
|
+
errors?: string;
|
|
2632
|
+
/** Only list this amount of tasks. (0 means no limit) */
|
|
2633
|
+
limit?: string;
|
|
2634
|
+
/** Only list running tasks. */
|
|
2635
|
+
running?: string;
|
|
2636
|
+
/** Only list tasks since this UNIX epoch. */
|
|
2637
|
+
since?: string;
|
|
2638
|
+
/** List tasks beginning from this offset. */
|
|
2639
|
+
start?: string;
|
|
2640
|
+
/** Only list tasks which have any one of the listed status. */
|
|
2641
|
+
statusfilter?: ListNodeTasksRequestStatusfilterList;
|
|
2642
|
+
/** Datastore name. */
|
|
2643
|
+
store?: string;
|
|
2644
|
+
/** Only list tasks whose type contains this. */
|
|
2645
|
+
typefilter?: string;
|
|
2646
|
+
/** Only list tasks until this UNIX epoch. */
|
|
2647
|
+
until?: string;
|
|
2648
|
+
/** Only list tasks from this user. */
|
|
2649
|
+
userfilter?: string;
|
|
2650
|
+
}
|
|
2651
|
+
export const ListNodeTasksRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2652
|
+
S.Struct({
|
|
2653
|
+
node: S.String.pipe(T.Label()),
|
|
2654
|
+
errors: S.optional(S.String.pipe(T.Query())),
|
|
2655
|
+
limit: S.optional(S.String.pipe(T.Query())),
|
|
2656
|
+
running: S.optional(S.String.pipe(T.Query())),
|
|
2657
|
+
since: S.optional(S.String.pipe(T.Query())),
|
|
2658
|
+
start: S.optional(S.String.pipe(T.Query())),
|
|
2659
|
+
statusfilter: S.optional(
|
|
2660
|
+
ListNodeTasksRequestStatusfilterList.pipe(T.Query()),
|
|
2661
|
+
),
|
|
2662
|
+
store: S.optional(S.String.pipe(T.Query())),
|
|
2663
|
+
typefilter: S.optional(S.String.pipe(T.Query())),
|
|
2664
|
+
until: S.optional(S.String.pipe(T.Query())),
|
|
2665
|
+
userfilter: S.optional(S.String.pipe(T.Query())),
|
|
2666
|
+
}).pipe(T.Http({ method: "GET", uri: "/nodes/{node}/tasks", code: 200 })),
|
|
2667
|
+
).annotate({
|
|
2668
|
+
identifier: "ListNodeTasksRequest",
|
|
2669
|
+
}) as any as S.Schema<ListNodeTasksRequest>;
|
|
2670
|
+
|
|
2671
|
+
export interface ListNodeTasksResponseBodyItem {
|
|
2672
|
+
endtime?: number;
|
|
2673
|
+
node: string;
|
|
2674
|
+
pid: number;
|
|
2675
|
+
pstart: number;
|
|
2676
|
+
starttime: number;
|
|
2677
|
+
status?: string;
|
|
2678
|
+
upid: string;
|
|
2679
|
+
user: string;
|
|
2680
|
+
worker_id?: string;
|
|
2681
|
+
worker_type: string;
|
|
2682
|
+
}
|
|
2683
|
+
export const ListNodeTasksResponseBodyItem = /*@__PURE__*/ S.suspend(() =>
|
|
2684
|
+
S.Struct({
|
|
2685
|
+
endtime: S.optional(S.Number),
|
|
2686
|
+
node: S.String,
|
|
2687
|
+
pid: S.Number,
|
|
2688
|
+
pstart: S.Number,
|
|
2689
|
+
starttime: S.Number,
|
|
2690
|
+
status: S.optional(S.String),
|
|
2691
|
+
upid: S.String,
|
|
2692
|
+
user: S.String,
|
|
2693
|
+
worker_id: S.optional(S.String),
|
|
2694
|
+
worker_type: S.String,
|
|
2695
|
+
}),
|
|
2696
|
+
).annotate({
|
|
2697
|
+
identifier: "ListNodeTasksResponseBodyItem",
|
|
2698
|
+
}) as any as S.Schema<ListNodeTasksResponseBodyItem>;
|
|
2699
|
+
|
|
2700
|
+
export type ListNodeTasksResponseBodyList =
|
|
2701
|
+
Array<ListNodeTasksResponseBodyItem>;
|
|
2702
|
+
export const ListNodeTasksResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2703
|
+
ListNodeTasksResponseBodyItem,
|
|
2704
|
+
) as any as S.Schema<ListNodeTasksResponseBodyList>;
|
|
2705
|
+
|
|
2706
|
+
export type ListNodeTasksResponse = ListNodeTasksResponseBodyList;
|
|
2707
|
+
export const ListNodeTasksResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2708
|
+
ListNodeTasksResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2709
|
+
).annotate({
|
|
2710
|
+
identifier: "ListNodeTasksResponse",
|
|
2711
|
+
}) as any as S.Schema<ListNodeTasksResponse>;
|
|
2712
|
+
|
|
2713
|
+
export interface PutNodeAptRepositoriesRequest {
|
|
2714
|
+
node: string;
|
|
2715
|
+
/** Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications. */
|
|
2716
|
+
digest?: string;
|
|
2717
|
+
/** Handle referencing a standard APT repository. */
|
|
2718
|
+
handle: string;
|
|
2719
|
+
}
|
|
2720
|
+
export const PutNodeAptRepositoriesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2721
|
+
S.Struct({
|
|
2722
|
+
node: S.String.pipe(T.Label()),
|
|
2723
|
+
digest: S.optional(S.String),
|
|
2724
|
+
handle: S.String,
|
|
2725
|
+
}).pipe(
|
|
2726
|
+
T.Http({
|
|
2727
|
+
method: "PUT",
|
|
2728
|
+
uri: "/nodes/{node}/apt/repositories",
|
|
2729
|
+
code: 200,
|
|
2730
|
+
contentType: "form-urlencoded",
|
|
2731
|
+
}),
|
|
2732
|
+
),
|
|
2733
|
+
).annotate({
|
|
2734
|
+
identifier: "PutNodeAptRepositoriesRequest",
|
|
2735
|
+
}) as any as S.Schema<PutNodeAptRepositoriesRequest>;
|
|
2736
|
+
|
|
2737
|
+
export interface PutNodeAptRepositoriesResponse {}
|
|
2738
|
+
export const PutNodeAptRepositoriesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2739
|
+
S.Struct({}),
|
|
2740
|
+
).annotate({
|
|
2741
|
+
identifier: "PutNodeAptRepositoriesResponse",
|
|
2742
|
+
}) as any as S.Schema<PutNodeAptRepositoriesResponse>;
|
|
2743
|
+
|
|
2744
|
+
export interface PutNodeCertificateAcmeCertificateRequest {
|
|
2745
|
+
node: string;
|
|
2746
|
+
/** Force replacement of existing files. */
|
|
2747
|
+
force?: string;
|
|
2748
|
+
}
|
|
2749
|
+
export const PutNodeCertificateAcmeCertificateRequest = /*@__PURE__*/ S.suspend(
|
|
2750
|
+
() =>
|
|
2751
|
+
S.Struct({
|
|
2752
|
+
node: S.String.pipe(T.Label()),
|
|
2753
|
+
force: S.optional(S.String),
|
|
2754
|
+
}).pipe(
|
|
2755
|
+
T.Http({
|
|
2756
|
+
method: "PUT",
|
|
2757
|
+
uri: "/nodes/{node}/certificates/acme/certificate",
|
|
2758
|
+
code: 200,
|
|
2759
|
+
contentType: "form-urlencoded",
|
|
2760
|
+
}),
|
|
2761
|
+
),
|
|
2762
|
+
).annotate({
|
|
2763
|
+
identifier: "PutNodeCertificateAcmeCertificateRequest",
|
|
2764
|
+
}) as any as S.Schema<PutNodeCertificateAcmeCertificateRequest>;
|
|
2765
|
+
|
|
2766
|
+
export interface PutNodeCertificateAcmeCertificateResponse {}
|
|
2767
|
+
export const PutNodeCertificateAcmeCertificateResponse =
|
|
2768
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2769
|
+
identifier: "PutNodeCertificateAcmeCertificateResponse",
|
|
2770
|
+
}) as any as S.Schema<PutNodeCertificateAcmeCertificateResponse>;
|
|
2771
|
+
|
|
2772
|
+
export type PutNodeConfigRequestDefaultLang =
|
|
2773
|
+
| "ar"
|
|
2774
|
+
| "ca"
|
|
2775
|
+
| "da"
|
|
2776
|
+
| "de"
|
|
2777
|
+
| "en"
|
|
2778
|
+
| "es"
|
|
2779
|
+
| "eu"
|
|
2780
|
+
| "fa"
|
|
2781
|
+
| "fr"
|
|
2782
|
+
| "gl"
|
|
2783
|
+
| "he"
|
|
2784
|
+
| "hu"
|
|
2785
|
+
| "it"
|
|
2786
|
+
| "ja"
|
|
2787
|
+
| "kr"
|
|
2788
|
+
| "nb"
|
|
2789
|
+
| "nl"
|
|
2790
|
+
| "nn"
|
|
2791
|
+
| "pl"
|
|
2792
|
+
| "pt_BR"
|
|
2793
|
+
| "ru"
|
|
2794
|
+
| "sl"
|
|
2795
|
+
| "sv"
|
|
2796
|
+
| "tr"
|
|
2797
|
+
| "zh_CN"
|
|
2798
|
+
| "zh_TW";
|
|
2799
|
+
export const PutNodeConfigRequestDefaultLang = S.String;
|
|
2800
|
+
|
|
2801
|
+
export type PutNodeConfigRequestDeleteItem =
|
|
2802
|
+
| "acme"
|
|
2803
|
+
| "acmedomain0"
|
|
2804
|
+
| "acmedomain1"
|
|
2805
|
+
| "acmedomain2"
|
|
2806
|
+
| "acmedomain3"
|
|
2807
|
+
| "acmedomain4"
|
|
2808
|
+
| "http-proxy"
|
|
2809
|
+
| "email-from"
|
|
2810
|
+
| "ciphers-tls-1.3"
|
|
2811
|
+
| "ciphers-tls-1.2"
|
|
2812
|
+
| "default-lang"
|
|
2813
|
+
| "description"
|
|
2814
|
+
| "task-log-max-days"
|
|
2815
|
+
| "consent-text"
|
|
2816
|
+
| "location";
|
|
2817
|
+
export const PutNodeConfigRequestDeleteItem = S.String;
|
|
2818
|
+
|
|
2819
|
+
export type PutNodeConfigRequestDeleteList = Array<
|
|
2820
|
+
PutNodeConfigRequestDeleteItem | (string & {})
|
|
2821
|
+
>;
|
|
2822
|
+
export const PutNodeConfigRequestDeleteList = /*@__PURE__*/ S.Array(
|
|
2823
|
+
PutNodeConfigRequestDeleteItem,
|
|
2824
|
+
) as any as S.Schema<PutNodeConfigRequestDeleteList>;
|
|
2825
|
+
|
|
2826
|
+
export interface PutNodeConfigRequest {
|
|
2827
|
+
node: string;
|
|
2828
|
+
/** The acme account to use on this node. */
|
|
2829
|
+
acme?: string;
|
|
2830
|
+
/** ACME domain configuration string */
|
|
2831
|
+
acmedomain0?: string;
|
|
2832
|
+
/** ACME domain configuration string */
|
|
2833
|
+
acmedomain1?: string;
|
|
2834
|
+
/** ACME domain configuration string */
|
|
2835
|
+
acmedomain2?: string;
|
|
2836
|
+
/** ACME domain configuration string */
|
|
2837
|
+
acmedomain3?: string;
|
|
2838
|
+
/** ACME domain configuration string */
|
|
2839
|
+
acmedomain4?: string;
|
|
2840
|
+
/** OpenSSL cipher list used by the proxy for TLS <= 1.2 */
|
|
2841
|
+
ciphers_tls_1_2?: string;
|
|
2842
|
+
/** OpenSSL ciphersuites list used by the proxy for TLS 1.3 */
|
|
2843
|
+
ciphers_tls_1_3?: string;
|
|
2844
|
+
/** Consent banner text */
|
|
2845
|
+
consent_text?: string;
|
|
2846
|
+
/** All available languages in Proxmox. Taken from proxmox-i18n repository. pt_BR, zh_CN, and zh_TW use the same case in the translation files. */
|
|
2847
|
+
default_lang?: PutNodeConfigRequestDefaultLang | (string & {});
|
|
2848
|
+
/** List of properties to delete. */
|
|
2849
|
+
delete?: PutNodeConfigRequestDeleteList;
|
|
2850
|
+
/** Comment (multiple lines). */
|
|
2851
|
+
description?: string;
|
|
2852
|
+
/** Digest to protect against concurrent updates */
|
|
2853
|
+
digest?: string;
|
|
2854
|
+
/** E-Mail Address. */
|
|
2855
|
+
email_from?: string;
|
|
2856
|
+
/** HTTP proxy configuration [http://]<host>[:port] */
|
|
2857
|
+
http_proxy?: string;
|
|
2858
|
+
/** The location of the PBS instance. */
|
|
2859
|
+
location?: string;
|
|
2860
|
+
/** Maximum days to keep Task logs */
|
|
2861
|
+
task_log_max_days?: string;
|
|
2862
|
+
}
|
|
2863
|
+
export const PutNodeConfigRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2864
|
+
S.Struct({
|
|
2865
|
+
node: S.String.pipe(T.Label()),
|
|
2866
|
+
acme: S.optional(S.String),
|
|
2867
|
+
acmedomain0: S.optional(S.String),
|
|
2868
|
+
acmedomain1: S.optional(S.String),
|
|
2869
|
+
acmedomain2: S.optional(S.String),
|
|
2870
|
+
acmedomain3: S.optional(S.String),
|
|
2871
|
+
acmedomain4: S.optional(S.String),
|
|
2872
|
+
ciphers_tls_1_2: S.optional(S.String.pipe(T.Body("ciphers-tls-1.2"))),
|
|
2873
|
+
ciphers_tls_1_3: S.optional(S.String.pipe(T.Body("ciphers-tls-1.3"))),
|
|
2874
|
+
consent_text: S.optional(S.String.pipe(T.Body("consent-text"))),
|
|
2875
|
+
default_lang: S.optional(
|
|
2876
|
+
PutNodeConfigRequestDefaultLang.pipe(T.Body("default-lang")),
|
|
2877
|
+
),
|
|
2878
|
+
delete: S.optional(PutNodeConfigRequestDeleteList),
|
|
2879
|
+
description: S.optional(S.String),
|
|
2880
|
+
digest: S.optional(S.String),
|
|
2881
|
+
email_from: S.optional(S.String.pipe(T.Body("email-from"))),
|
|
2882
|
+
http_proxy: S.optional(S.String.pipe(T.Body("http-proxy"))),
|
|
2883
|
+
location: S.optional(S.String),
|
|
2884
|
+
task_log_max_days: S.optional(S.String.pipe(T.Body("task-log-max-days"))),
|
|
2885
|
+
}).pipe(
|
|
2886
|
+
T.Http({
|
|
2887
|
+
method: "PUT",
|
|
2888
|
+
uri: "/nodes/{node}/config",
|
|
2889
|
+
code: 200,
|
|
2890
|
+
contentType: "form-urlencoded",
|
|
2891
|
+
}),
|
|
2892
|
+
),
|
|
2893
|
+
).annotate({
|
|
2894
|
+
identifier: "PutNodeConfigRequest",
|
|
2895
|
+
}) as any as S.Schema<PutNodeConfigRequest>;
|
|
2896
|
+
|
|
2897
|
+
export interface PutNodeConfigResponse {}
|
|
2898
|
+
export const PutNodeConfigResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2899
|
+
S.Struct({}),
|
|
2900
|
+
).annotate({
|
|
2901
|
+
identifier: "PutNodeConfigResponse",
|
|
2902
|
+
}) as any as S.Schema<PutNodeConfigResponse>;
|
|
2903
|
+
|
|
2904
|
+
export interface PutNodeDiskWipediskRequest {
|
|
2905
|
+
node: string;
|
|
2906
|
+
/** (Partition) block device name (/sys/class/block/<name>). */
|
|
2907
|
+
disk: string;
|
|
2908
|
+
}
|
|
2909
|
+
export const PutNodeDiskWipediskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2910
|
+
S.Struct({
|
|
2911
|
+
node: S.String.pipe(T.Label()),
|
|
2912
|
+
disk: S.String,
|
|
2913
|
+
}).pipe(
|
|
2914
|
+
T.Http({
|
|
2915
|
+
method: "PUT",
|
|
2916
|
+
uri: "/nodes/{node}/disks/wipedisk",
|
|
2917
|
+
code: 200,
|
|
2918
|
+
contentType: "form-urlencoded",
|
|
2919
|
+
}),
|
|
2920
|
+
),
|
|
2921
|
+
).annotate({
|
|
2922
|
+
identifier: "PutNodeDiskWipediskRequest",
|
|
2923
|
+
}) as any as S.Schema<PutNodeDiskWipediskRequest>;
|
|
2924
|
+
|
|
2925
|
+
export type PutNodeDiskWipediskResponse = string;
|
|
2926
|
+
export const PutNodeDiskWipediskResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2927
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
2928
|
+
).annotate({
|
|
2929
|
+
identifier: "PutNodeDiskWipediskResponse",
|
|
2930
|
+
}) as any as S.Schema<PutNodeDiskWipediskResponse>;
|
|
2931
|
+
|
|
2932
|
+
export type PutNodeDnsRequestDeleteItem = "dns1" | "dns2" | "dns3";
|
|
2933
|
+
export const PutNodeDnsRequestDeleteItem = S.String;
|
|
2934
|
+
|
|
2935
|
+
export type PutNodeDnsRequestDeleteList = Array<
|
|
2936
|
+
PutNodeDnsRequestDeleteItem | (string & {})
|
|
2937
|
+
>;
|
|
2938
|
+
export const PutNodeDnsRequestDeleteList = /*@__PURE__*/ S.Array(
|
|
2939
|
+
PutNodeDnsRequestDeleteItem,
|
|
2940
|
+
) as any as S.Schema<PutNodeDnsRequestDeleteList>;
|
|
2941
|
+
|
|
2942
|
+
export interface PutNodeDnsRequest {
|
|
2943
|
+
node: string;
|
|
2944
|
+
/** List of properties to delete. */
|
|
2945
|
+
delete?: PutNodeDnsRequestDeleteList;
|
|
2946
|
+
/** Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications. */
|
|
2947
|
+
digest?: string;
|
|
2948
|
+
/** First name server IP address. */
|
|
2949
|
+
dns1?: string;
|
|
2950
|
+
/** Second name server IP address. */
|
|
2951
|
+
dns2?: string;
|
|
2952
|
+
/** Third name server IP address. */
|
|
2953
|
+
dns3?: string;
|
|
2954
|
+
/** Search domain for host-name lookup. */
|
|
2955
|
+
search?: string;
|
|
2956
|
+
}
|
|
2957
|
+
export const PutNodeDnsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2958
|
+
S.Struct({
|
|
2959
|
+
node: S.String.pipe(T.Label()),
|
|
2960
|
+
delete: S.optional(PutNodeDnsRequestDeleteList),
|
|
2961
|
+
digest: S.optional(S.String),
|
|
2962
|
+
dns1: S.optional(S.String),
|
|
2963
|
+
dns2: S.optional(S.String),
|
|
2964
|
+
dns3: S.optional(S.String),
|
|
2965
|
+
search: S.optional(S.String),
|
|
2966
|
+
}).pipe(
|
|
2967
|
+
T.Http({
|
|
2968
|
+
method: "PUT",
|
|
2969
|
+
uri: "/nodes/{node}/dns",
|
|
2970
|
+
code: 200,
|
|
2971
|
+
contentType: "form-urlencoded",
|
|
2972
|
+
}),
|
|
2973
|
+
),
|
|
2974
|
+
).annotate({
|
|
2975
|
+
identifier: "PutNodeDnsRequest",
|
|
2976
|
+
}) as any as S.Schema<PutNodeDnsRequest>;
|
|
2977
|
+
|
|
2978
|
+
export interface PutNodeDnsResponse {}
|
|
2979
|
+
export const PutNodeDnsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2980
|
+
S.Struct({}),
|
|
2981
|
+
).annotate({
|
|
2982
|
+
identifier: "PutNodeDnsResponse",
|
|
2983
|
+
}) as any as S.Schema<PutNodeDnsResponse>;
|
|
2984
|
+
|
|
2985
|
+
export interface PutNodeNetworkRequest {
|
|
2986
|
+
node: string;
|
|
2987
|
+
}
|
|
2988
|
+
export const PutNodeNetworkRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2989
|
+
S.Struct({
|
|
2990
|
+
node: S.String.pipe(T.Label()),
|
|
2991
|
+
}).pipe(T.Http({ method: "PUT", uri: "/nodes/{node}/network", code: 200 })),
|
|
2992
|
+
).annotate({
|
|
2993
|
+
identifier: "PutNodeNetworkRequest",
|
|
2994
|
+
}) as any as S.Schema<PutNodeNetworkRequest>;
|
|
2995
|
+
|
|
2996
|
+
export interface PutNodeNetworkResponse {}
|
|
2997
|
+
export const PutNodeNetworkResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2998
|
+
S.Struct({}),
|
|
2999
|
+
).annotate({
|
|
3000
|
+
identifier: "PutNodeNetworkResponse",
|
|
3001
|
+
}) as any as S.Schema<PutNodeNetworkResponse>;
|
|
3002
|
+
|
|
3003
|
+
export type PutNodeNetwork2RequestBondMode =
|
|
3004
|
+
| "balance-rr"
|
|
3005
|
+
| "active-backup"
|
|
3006
|
+
| "balance-xor"
|
|
3007
|
+
| "broadcast"
|
|
3008
|
+
| "802.3ad"
|
|
3009
|
+
| "balance-tlb"
|
|
3010
|
+
| "balance-alb";
|
|
3011
|
+
export const PutNodeNetwork2RequestBondMode = S.String;
|
|
3012
|
+
|
|
3013
|
+
export type PutNodeNetwork2RequestBondXmitHashPolicy =
|
|
3014
|
+
| "layer2"
|
|
3015
|
+
| "layer2+3"
|
|
3016
|
+
| "layer3+4";
|
|
3017
|
+
export const PutNodeNetwork2RequestBondXmitHashPolicy = S.String;
|
|
3018
|
+
|
|
3019
|
+
export type PutNodeNetwork2RequestDeleteItem =
|
|
3020
|
+
| "cidr"
|
|
3021
|
+
| "cidr6"
|
|
3022
|
+
| "gateway"
|
|
3023
|
+
| "gateway6"
|
|
3024
|
+
| "method"
|
|
3025
|
+
| "method6"
|
|
3026
|
+
| "comments"
|
|
3027
|
+
| "comments6"
|
|
3028
|
+
| "mtu"
|
|
3029
|
+
| "autostart"
|
|
3030
|
+
| "bridge_ports"
|
|
3031
|
+
| "bridge_vlan_aware"
|
|
3032
|
+
| "slaves"
|
|
3033
|
+
| "bond-primary"
|
|
3034
|
+
| "bond_xmit_hash_policy";
|
|
3035
|
+
export const PutNodeNetwork2RequestDeleteItem = S.String;
|
|
3036
|
+
|
|
3037
|
+
export type PutNodeNetwork2RequestDeleteList = Array<
|
|
3038
|
+
PutNodeNetwork2RequestDeleteItem | (string & {})
|
|
3039
|
+
>;
|
|
3040
|
+
export const PutNodeNetwork2RequestDeleteList = /*@__PURE__*/ S.Array(
|
|
3041
|
+
PutNodeNetwork2RequestDeleteItem,
|
|
3042
|
+
) as any as S.Schema<PutNodeNetwork2RequestDeleteList>;
|
|
3043
|
+
|
|
3044
|
+
export type PutNodeNetwork2RequestMethod =
|
|
3045
|
+
| "manual"
|
|
3046
|
+
| "static"
|
|
3047
|
+
| "dhcp"
|
|
3048
|
+
| "loopback";
|
|
3049
|
+
export const PutNodeNetwork2RequestMethod = S.String;
|
|
3050
|
+
|
|
3051
|
+
export type PutNodeNetwork2RequestMethod6 =
|
|
3052
|
+
| "manual"
|
|
3053
|
+
| "static"
|
|
3054
|
+
| "dhcp"
|
|
3055
|
+
| "loopback";
|
|
3056
|
+
export const PutNodeNetwork2RequestMethod6 = S.String;
|
|
3057
|
+
|
|
3058
|
+
export type PutNodeNetwork2RequestType =
|
|
3059
|
+
| "loopback"
|
|
3060
|
+
| "eth"
|
|
3061
|
+
| "bridge"
|
|
3062
|
+
| "bond"
|
|
3063
|
+
| "vlan"
|
|
3064
|
+
| "alias"
|
|
3065
|
+
| "unknown";
|
|
3066
|
+
export const PutNodeNetwork2RequestType = S.String;
|
|
3067
|
+
|
|
3068
|
+
export interface PutNodeNetwork2Request {
|
|
3069
|
+
node: string;
|
|
3070
|
+
iface: string;
|
|
3071
|
+
/** Autostart interface. */
|
|
3072
|
+
autostart?: string;
|
|
3073
|
+
/** Network interface name. */
|
|
3074
|
+
bond_primary?: string;
|
|
3075
|
+
/** Linux Bond Mode */
|
|
3076
|
+
bond_mode?: PutNodeNetwork2RequestBondMode | (string & {});
|
|
3077
|
+
/** Bond Transmit Hash Policy for LACP (802.3ad) */
|
|
3078
|
+
bond_xmit_hash_policy?:
|
|
3079
|
+
| PutNodeNetwork2RequestBondXmitHashPolicy
|
|
3080
|
+
| (string & {});
|
|
3081
|
+
/** A list of network devices, comma separated. */
|
|
3082
|
+
bridge_ports?: string;
|
|
3083
|
+
/** Enable bridge vlan support. */
|
|
3084
|
+
bridge_vlan_aware?: string;
|
|
3085
|
+
/** IPv4 address with netmask (CIDR notation). */
|
|
3086
|
+
cidr?: string;
|
|
3087
|
+
/** IPv6 address with netmask (CIDR notation). */
|
|
3088
|
+
cidr6?: string;
|
|
3089
|
+
/** Comments (inet, may span multiple lines) */
|
|
3090
|
+
comments?: string;
|
|
3091
|
+
/** Comments (inet5, may span multiple lines) */
|
|
3092
|
+
comments6?: string;
|
|
3093
|
+
/** List of properties to delete. */
|
|
3094
|
+
delete?: PutNodeNetwork2RequestDeleteList;
|
|
3095
|
+
/** Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications. */
|
|
3096
|
+
digest?: string;
|
|
3097
|
+
/** IPv4 address. */
|
|
3098
|
+
gateway?: string;
|
|
3099
|
+
/** IPv6 address. */
|
|
3100
|
+
gateway6?: string;
|
|
3101
|
+
/** Interface configuration method */
|
|
3102
|
+
method?: PutNodeNetwork2RequestMethod | (string & {});
|
|
3103
|
+
/** Interface configuration method */
|
|
3104
|
+
method6?: PutNodeNetwork2RequestMethod6 | (string & {});
|
|
3105
|
+
/** Maximum Transmission Unit. */
|
|
3106
|
+
mtu?: string;
|
|
3107
|
+
/** A list of network devices, comma separated. */
|
|
3108
|
+
slaves?: string;
|
|
3109
|
+
/** Network interface type */
|
|
3110
|
+
type?: PutNodeNetwork2RequestType | (string & {});
|
|
3111
|
+
/** VLAN ID. */
|
|
3112
|
+
vlan_id?: string;
|
|
3113
|
+
/** Network interface name. */
|
|
3114
|
+
vlan_raw_device?: string;
|
|
3115
|
+
}
|
|
3116
|
+
export const PutNodeNetwork2Request = /*@__PURE__*/ S.suspend(() =>
|
|
3117
|
+
S.Struct({
|
|
3118
|
+
node: S.String.pipe(T.Label()),
|
|
3119
|
+
iface: S.String.pipe(T.Label()),
|
|
3120
|
+
autostart: S.optional(S.String),
|
|
3121
|
+
bond_primary: S.optional(S.String.pipe(T.Body("bond-primary"))),
|
|
3122
|
+
bond_mode: S.optional(PutNodeNetwork2RequestBondMode),
|
|
3123
|
+
bond_xmit_hash_policy: S.optional(PutNodeNetwork2RequestBondXmitHashPolicy),
|
|
3124
|
+
bridge_ports: S.optional(S.String),
|
|
3125
|
+
bridge_vlan_aware: S.optional(S.String),
|
|
3126
|
+
cidr: S.optional(S.String),
|
|
3127
|
+
cidr6: S.optional(S.String),
|
|
3128
|
+
comments: S.optional(S.String),
|
|
3129
|
+
comments6: S.optional(S.String),
|
|
3130
|
+
delete: S.optional(PutNodeNetwork2RequestDeleteList),
|
|
3131
|
+
digest: S.optional(S.String),
|
|
3132
|
+
gateway: S.optional(S.String),
|
|
3133
|
+
gateway6: S.optional(S.String),
|
|
3134
|
+
method: S.optional(PutNodeNetwork2RequestMethod),
|
|
3135
|
+
method6: S.optional(PutNodeNetwork2RequestMethod6),
|
|
3136
|
+
mtu: S.optional(S.String),
|
|
3137
|
+
slaves: S.optional(S.String),
|
|
3138
|
+
type: S.optional(PutNodeNetwork2RequestType),
|
|
3139
|
+
vlan_id: S.optional(S.String.pipe(T.Body("vlan-id"))),
|
|
3140
|
+
vlan_raw_device: S.optional(S.String.pipe(T.Body("vlan-raw-device"))),
|
|
3141
|
+
}).pipe(
|
|
3142
|
+
T.Http({
|
|
3143
|
+
method: "PUT",
|
|
3144
|
+
uri: "/nodes/{node}/network/{iface}",
|
|
3145
|
+
code: 200,
|
|
3146
|
+
contentType: "form-urlencoded",
|
|
3147
|
+
}),
|
|
3148
|
+
),
|
|
3149
|
+
).annotate({
|
|
3150
|
+
identifier: "PutNodeNetwork2Request",
|
|
3151
|
+
}) as any as S.Schema<PutNodeNetwork2Request>;
|
|
3152
|
+
|
|
3153
|
+
export interface PutNodeNetwork2Response {}
|
|
3154
|
+
export const PutNodeNetwork2Response = /*@__PURE__*/ S.suspend(() =>
|
|
3155
|
+
S.Struct({}),
|
|
3156
|
+
).annotate({
|
|
3157
|
+
identifier: "PutNodeNetwork2Response",
|
|
3158
|
+
}) as any as S.Schema<PutNodeNetwork2Response>;
|
|
3159
|
+
|
|
3160
|
+
export interface PutNodeSubscriptionRequest {
|
|
3161
|
+
node: string;
|
|
3162
|
+
/** The subscription key to install. */
|
|
3163
|
+
key: string;
|
|
3164
|
+
}
|
|
3165
|
+
export const PutNodeSubscriptionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3166
|
+
S.Struct({
|
|
3167
|
+
node: S.String.pipe(T.Label()),
|
|
3168
|
+
key: S.String,
|
|
3169
|
+
}).pipe(
|
|
3170
|
+
T.Http({
|
|
3171
|
+
method: "PUT",
|
|
3172
|
+
uri: "/nodes/{node}/subscription",
|
|
3173
|
+
code: 200,
|
|
3174
|
+
contentType: "form-urlencoded",
|
|
3175
|
+
}),
|
|
3176
|
+
),
|
|
3177
|
+
).annotate({
|
|
3178
|
+
identifier: "PutNodeSubscriptionRequest",
|
|
3179
|
+
}) as any as S.Schema<PutNodeSubscriptionRequest>;
|
|
3180
|
+
|
|
3181
|
+
export interface PutNodeSubscriptionResponse {}
|
|
3182
|
+
export const PutNodeSubscriptionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3183
|
+
S.Struct({}),
|
|
3184
|
+
).annotate({
|
|
3185
|
+
identifier: "PutNodeSubscriptionResponse",
|
|
3186
|
+
}) as any as S.Schema<PutNodeSubscriptionResponse>;
|
|
3187
|
+
|
|
3188
|
+
export interface PutNodeTimeRequest {
|
|
3189
|
+
node: string;
|
|
3190
|
+
/** Time zone. The file '/usr/share/zoneinfo/zone.tab' contains the list of valid names. */
|
|
3191
|
+
timezone: string;
|
|
3192
|
+
}
|
|
3193
|
+
export const PutNodeTimeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3194
|
+
S.Struct({
|
|
3195
|
+
node: S.String.pipe(T.Label()),
|
|
3196
|
+
timezone: S.String,
|
|
3197
|
+
}).pipe(
|
|
3198
|
+
T.Http({
|
|
3199
|
+
method: "PUT",
|
|
3200
|
+
uri: "/nodes/{node}/time",
|
|
3201
|
+
code: 200,
|
|
3202
|
+
contentType: "form-urlencoded",
|
|
3203
|
+
}),
|
|
3204
|
+
),
|
|
3205
|
+
).annotate({
|
|
3206
|
+
identifier: "PutNodeTimeRequest",
|
|
3207
|
+
}) as any as S.Schema<PutNodeTimeRequest>;
|
|
3208
|
+
|
|
3209
|
+
export interface PutNodeTimeResponse {}
|
|
3210
|
+
export const PutNodeTimeResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3211
|
+
S.Struct({}),
|
|
3212
|
+
).annotate({
|
|
3213
|
+
identifier: "PutNodeTimeResponse",
|
|
3214
|
+
}) as any as S.Schema<PutNodeTimeResponse>;
|
|
3215
|
+
|
|
3216
|
+
export interface RestartNodesServiceRequest {
|
|
3217
|
+
node: string;
|
|
3218
|
+
service: string;
|
|
3219
|
+
}
|
|
3220
|
+
export const RestartNodesServiceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3221
|
+
S.Struct({
|
|
3222
|
+
node: S.String.pipe(T.Label()),
|
|
3223
|
+
service: S.String.pipe(T.Label()),
|
|
3224
|
+
}).pipe(
|
|
3225
|
+
T.Http({
|
|
3226
|
+
method: "POST",
|
|
3227
|
+
uri: "/nodes/{node}/services/{service}/restart",
|
|
3228
|
+
code: 200,
|
|
3229
|
+
}),
|
|
3230
|
+
),
|
|
3231
|
+
).annotate({
|
|
3232
|
+
identifier: "RestartNodesServiceRequest",
|
|
3233
|
+
}) as any as S.Schema<RestartNodesServiceRequest>;
|
|
3234
|
+
|
|
3235
|
+
export interface RestartNodesServiceResponse {}
|
|
3236
|
+
export const RestartNodesServiceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3237
|
+
S.Struct({}),
|
|
3238
|
+
).annotate({
|
|
3239
|
+
identifier: "RestartNodesServiceResponse",
|
|
3240
|
+
}) as any as S.Schema<RestartNodesServiceResponse>;
|
|
3241
|
+
|
|
3242
|
+
export interface StartNodesServiceRequest {
|
|
3243
|
+
node: string;
|
|
3244
|
+
service: string;
|
|
3245
|
+
}
|
|
3246
|
+
export const StartNodesServiceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3247
|
+
S.Struct({
|
|
3248
|
+
node: S.String.pipe(T.Label()),
|
|
3249
|
+
service: S.String.pipe(T.Label()),
|
|
3250
|
+
}).pipe(
|
|
3251
|
+
T.Http({
|
|
3252
|
+
method: "POST",
|
|
3253
|
+
uri: "/nodes/{node}/services/{service}/start",
|
|
3254
|
+
code: 200,
|
|
3255
|
+
}),
|
|
3256
|
+
),
|
|
3257
|
+
).annotate({
|
|
3258
|
+
identifier: "StartNodesServiceRequest",
|
|
3259
|
+
}) as any as S.Schema<StartNodesServiceRequest>;
|
|
3260
|
+
|
|
3261
|
+
export interface StartNodesServiceResponse {}
|
|
3262
|
+
export const StartNodesServiceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3263
|
+
S.Struct({}),
|
|
3264
|
+
).annotate({
|
|
3265
|
+
identifier: "StartNodesServiceResponse",
|
|
3266
|
+
}) as any as S.Schema<StartNodesServiceResponse>;
|
|
3267
|
+
|
|
3268
|
+
export interface StopNodesServiceRequest {
|
|
3269
|
+
node: string;
|
|
3270
|
+
service: string;
|
|
3271
|
+
}
|
|
3272
|
+
export const StopNodesServiceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3273
|
+
S.Struct({
|
|
3274
|
+
node: S.String.pipe(T.Label()),
|
|
3275
|
+
service: S.String.pipe(T.Label()),
|
|
3276
|
+
}).pipe(
|
|
3277
|
+
T.Http({
|
|
3278
|
+
method: "POST",
|
|
3279
|
+
uri: "/nodes/{node}/services/{service}/stop",
|
|
3280
|
+
code: 200,
|
|
3281
|
+
}),
|
|
3282
|
+
),
|
|
3283
|
+
).annotate({
|
|
3284
|
+
identifier: "StopNodesServiceRequest",
|
|
3285
|
+
}) as any as S.Schema<StopNodesServiceRequest>;
|
|
3286
|
+
|
|
3287
|
+
export interface StopNodesServiceResponse {}
|
|
3288
|
+
export const StopNodesServiceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3289
|
+
S.Struct({}),
|
|
3290
|
+
).annotate({
|
|
3291
|
+
identifier: "StopNodesServiceResponse",
|
|
3292
|
+
}) as any as S.Schema<StopNodesServiceResponse>;
|
|
3293
|
+
|
|
3294
|
+
export interface UpdateNodesAptRequest {
|
|
3295
|
+
node: string;
|
|
3296
|
+
/** Send notification mail about new package updates available to the email address configured for 'root@pam'). */
|
|
3297
|
+
notify?: string;
|
|
3298
|
+
/** Only produces output suitable for logging, omitting progress indicators. */
|
|
3299
|
+
quiet?: string;
|
|
3300
|
+
}
|
|
3301
|
+
export const UpdateNodesAptRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3302
|
+
S.Struct({
|
|
3303
|
+
node: S.String.pipe(T.Label()),
|
|
3304
|
+
notify: S.optional(S.String),
|
|
3305
|
+
quiet: S.optional(S.String),
|
|
3306
|
+
}).pipe(
|
|
3307
|
+
T.Http({
|
|
3308
|
+
method: "POST",
|
|
3309
|
+
uri: "/nodes/{node}/apt/update",
|
|
3310
|
+
code: 200,
|
|
3311
|
+
contentType: "form-urlencoded",
|
|
3312
|
+
}),
|
|
3313
|
+
),
|
|
3314
|
+
).annotate({
|
|
3315
|
+
identifier: "UpdateNodesAptRequest",
|
|
3316
|
+
}) as any as S.Schema<UpdateNodesAptRequest>;
|
|
3317
|
+
|
|
3318
|
+
export type UpdateNodesAptResponse = string;
|
|
3319
|
+
export const UpdateNodesAptResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3320
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
3321
|
+
).annotate({
|
|
3322
|
+
identifier: "UpdateNodesAptResponse",
|
|
3323
|
+
}) as any as S.Schema<UpdateNodesAptResponse>;
|
|
3324
|
+
|
|
3325
|
+
export type CreateNodeAptRepositoryError = ProxmoxBackupOpError;
|
|
3326
|
+
/** Change the properties of the specified repository. The `digest` parameter asserts that the configuration has not been modified. */
|
|
3327
|
+
export const createNodeAptRepository: API.OperationMethod<
|
|
3328
|
+
CreateNodeAptRepositoryRequest,
|
|
3329
|
+
CreateNodeAptRepositoryResponse,
|
|
3330
|
+
CreateNodeAptRepositoryError,
|
|
3331
|
+
ProxmoxBackupOpContext
|
|
3332
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3333
|
+
input: CreateNodeAptRepositoryRequest,
|
|
3334
|
+
output: CreateNodeAptRepositoryResponse,
|
|
3335
|
+
errors: [],
|
|
3336
|
+
protocol: ProxmoxBackupProtocol,
|
|
3337
|
+
retry: Retry.Retry,
|
|
3338
|
+
}));
|
|
3339
|
+
|
|
3340
|
+
export type CreateNodeCertificateAcmeCertificateError = ProxmoxBackupOpError;
|
|
3341
|
+
/** Order a new ACME certificate. */
|
|
3342
|
+
export const createNodeCertificateAcmeCertificate: API.OperationMethod<
|
|
3343
|
+
CreateNodeCertificateAcmeCertificateRequest,
|
|
3344
|
+
CreateNodeCertificateAcmeCertificateResponse,
|
|
3345
|
+
CreateNodeCertificateAcmeCertificateError,
|
|
3346
|
+
ProxmoxBackupOpContext
|
|
3347
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3348
|
+
input: CreateNodeCertificateAcmeCertificateRequest,
|
|
3349
|
+
output: CreateNodeCertificateAcmeCertificateResponse,
|
|
3350
|
+
errors: [],
|
|
3351
|
+
protocol: ProxmoxBackupProtocol,
|
|
3352
|
+
retry: Retry.Retry,
|
|
3353
|
+
}));
|
|
3354
|
+
|
|
3355
|
+
export type CreateNodeCertificateCustomError = ProxmoxBackupOpError;
|
|
3356
|
+
/** Upload a custom certificate. */
|
|
3357
|
+
export const createNodeCertificateCustom: API.OperationMethod<
|
|
3358
|
+
CreateNodeCertificateCustomRequest,
|
|
3359
|
+
CreateNodeCertificateCustomResponse,
|
|
3360
|
+
CreateNodeCertificateCustomError,
|
|
3361
|
+
ProxmoxBackupOpContext
|
|
3362
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3363
|
+
input: CreateNodeCertificateCustomRequest,
|
|
3364
|
+
output: CreateNodeCertificateCustomResponse,
|
|
3365
|
+
errors: [],
|
|
3366
|
+
protocol: ProxmoxBackupProtocol,
|
|
3367
|
+
retry: Retry.Retry,
|
|
3368
|
+
}));
|
|
3369
|
+
|
|
3370
|
+
export type CreateNodeDiskDirectoryError = ProxmoxBackupOpError;
|
|
3371
|
+
/** Create a Filesystem on an unused disk. Will be mounted under `/mnt/datastore/<name>`. */
|
|
3372
|
+
export const createNodeDiskDirectory: API.OperationMethod<
|
|
3373
|
+
CreateNodeDiskDirectoryRequest,
|
|
3374
|
+
CreateNodeDiskDirectoryResponse,
|
|
3375
|
+
CreateNodeDiskDirectoryError,
|
|
3376
|
+
ProxmoxBackupOpContext
|
|
3377
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3378
|
+
input: CreateNodeDiskDirectoryRequest,
|
|
3379
|
+
output: CreateNodeDiskDirectoryResponse,
|
|
3380
|
+
errors: [],
|
|
3381
|
+
protocol: ProxmoxBackupProtocol,
|
|
3382
|
+
retry: Retry.Retry,
|
|
3383
|
+
}));
|
|
3384
|
+
|
|
3385
|
+
export type CreateNodeDiskInitgptError = ProxmoxBackupOpError;
|
|
3386
|
+
/** Initialize empty Disk with GPT */
|
|
3387
|
+
export const createNodeDiskInitgpt: API.OperationMethod<
|
|
3388
|
+
CreateNodeDiskInitgptRequest,
|
|
3389
|
+
CreateNodeDiskInitgptResponse,
|
|
3390
|
+
CreateNodeDiskInitgptError,
|
|
3391
|
+
ProxmoxBackupOpContext
|
|
3392
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3393
|
+
input: CreateNodeDiskInitgptRequest,
|
|
3394
|
+
output: CreateNodeDiskInitgptResponse,
|
|
3395
|
+
errors: [],
|
|
3396
|
+
protocol: ProxmoxBackupProtocol,
|
|
3397
|
+
retry: Retry.Retry,
|
|
3398
|
+
}));
|
|
3399
|
+
|
|
3400
|
+
export type CreateNodeDiskZfsError = ProxmoxBackupOpError;
|
|
3401
|
+
/** Create a new ZFS pool. Will be mounted under `/mnt/datastore/<name>`. */
|
|
3402
|
+
export const createNodeDiskZfs: API.OperationMethod<
|
|
3403
|
+
CreateNodeDiskZfsRequest,
|
|
3404
|
+
CreateNodeDiskZfsResponse,
|
|
3405
|
+
CreateNodeDiskZfsError,
|
|
3406
|
+
ProxmoxBackupOpContext
|
|
3407
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3408
|
+
input: CreateNodeDiskZfsRequest,
|
|
3409
|
+
output: CreateNodeDiskZfsResponse,
|
|
3410
|
+
errors: [],
|
|
3411
|
+
protocol: ProxmoxBackupProtocol,
|
|
3412
|
+
retry: Retry.Retry,
|
|
3413
|
+
}));
|
|
3414
|
+
|
|
3415
|
+
export type CreateNodeNetworkError = ProxmoxBackupOpError;
|
|
3416
|
+
/** Create network interface configuration. */
|
|
3417
|
+
export const createNodeNetwork: API.OperationMethod<
|
|
3418
|
+
CreateNodeNetworkRequest,
|
|
3419
|
+
CreateNodeNetworkResponse,
|
|
3420
|
+
CreateNodeNetworkError,
|
|
3421
|
+
ProxmoxBackupOpContext
|
|
3422
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3423
|
+
input: CreateNodeNetworkRequest,
|
|
3424
|
+
output: CreateNodeNetworkResponse,
|
|
3425
|
+
errors: [],
|
|
3426
|
+
protocol: ProxmoxBackupProtocol,
|
|
3427
|
+
retry: Retry.Retry,
|
|
3428
|
+
}));
|
|
3429
|
+
|
|
3430
|
+
export type CreateNodeServiceReloadError = ProxmoxBackupOpError;
|
|
3431
|
+
/** Reload service. */
|
|
3432
|
+
export const createNodeServiceReload: API.OperationMethod<
|
|
3433
|
+
CreateNodeServiceReloadRequest,
|
|
3434
|
+
CreateNodeServiceReloadResponse,
|
|
3435
|
+
CreateNodeServiceReloadError,
|
|
3436
|
+
ProxmoxBackupOpContext
|
|
3437
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3438
|
+
input: CreateNodeServiceReloadRequest,
|
|
3439
|
+
output: CreateNodeServiceReloadResponse,
|
|
3440
|
+
errors: [],
|
|
3441
|
+
protocol: ProxmoxBackupProtocol,
|
|
3442
|
+
retry: Retry.Retry,
|
|
3443
|
+
}));
|
|
3444
|
+
|
|
3445
|
+
export type CreateNodeStatusError = ProxmoxBackupOpError;
|
|
3446
|
+
/** Reboot or shutdown the node. */
|
|
3447
|
+
export const createNodeStatus: API.OperationMethod<
|
|
3448
|
+
CreateNodeStatusRequest,
|
|
3449
|
+
CreateNodeStatusResponse,
|
|
3450
|
+
CreateNodeStatusError,
|
|
3451
|
+
ProxmoxBackupOpContext
|
|
3452
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3453
|
+
input: CreateNodeStatusRequest,
|
|
3454
|
+
output: CreateNodeStatusResponse,
|
|
3455
|
+
errors: [],
|
|
3456
|
+
protocol: ProxmoxBackupProtocol,
|
|
3457
|
+
retry: Retry.Retry,
|
|
3458
|
+
}));
|
|
3459
|
+
|
|
3460
|
+
export type CreateNodeSubscriptionError = ProxmoxBackupOpError;
|
|
3461
|
+
/** Check and update subscription status. */
|
|
3462
|
+
export const createNodeSubscription: API.OperationMethod<
|
|
3463
|
+
CreateNodeSubscriptionRequest,
|
|
3464
|
+
CreateNodeSubscriptionResponse,
|
|
3465
|
+
CreateNodeSubscriptionError,
|
|
3466
|
+
ProxmoxBackupOpContext
|
|
3467
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3468
|
+
input: CreateNodeSubscriptionRequest,
|
|
3469
|
+
output: CreateNodeSubscriptionResponse,
|
|
3470
|
+
errors: [],
|
|
3471
|
+
protocol: ProxmoxBackupProtocol,
|
|
3472
|
+
retry: Retry.Retry,
|
|
3473
|
+
}));
|
|
3474
|
+
|
|
3475
|
+
export type CreateNodeTermproxyError = ProxmoxBackupOpError;
|
|
3476
|
+
/** Call termproxy and return shell ticket */
|
|
3477
|
+
export const createNodeTermproxy: API.OperationMethod<
|
|
3478
|
+
CreateNodeTermproxyRequest,
|
|
3479
|
+
CreateNodeTermproxyResponse,
|
|
3480
|
+
CreateNodeTermproxyError,
|
|
3481
|
+
ProxmoxBackupOpContext
|
|
3482
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3483
|
+
input: CreateNodeTermproxyRequest,
|
|
3484
|
+
output: CreateNodeTermproxyResponse,
|
|
3485
|
+
errors: [],
|
|
3486
|
+
protocol: ProxmoxBackupProtocol,
|
|
3487
|
+
retry: Retry.Retry,
|
|
3488
|
+
}));
|
|
3489
|
+
|
|
3490
|
+
export type DeleteNodeCertificateCustomError = ProxmoxBackupOpError;
|
|
3491
|
+
/** Delete the current certificate and regenerate a self signed one. */
|
|
3492
|
+
export const deleteNodeCertificateCustom: API.OperationMethod<
|
|
3493
|
+
DeleteNodeCertificateCustomRequest,
|
|
3494
|
+
DeleteNodeCertificateCustomResponse,
|
|
3495
|
+
DeleteNodeCertificateCustomError,
|
|
3496
|
+
ProxmoxBackupOpContext
|
|
3497
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3498
|
+
input: DeleteNodeCertificateCustomRequest,
|
|
3499
|
+
output: DeleteNodeCertificateCustomResponse,
|
|
3500
|
+
errors: [],
|
|
3501
|
+
protocol: ProxmoxBackupProtocol,
|
|
3502
|
+
retry: Retry.Retry,
|
|
3503
|
+
}));
|
|
3504
|
+
|
|
3505
|
+
export type DeleteNodeDiskDirectoryError = ProxmoxBackupOpError;
|
|
3506
|
+
/** Remove a Filesystem mounted under `/mnt/datastore/<name>`. */
|
|
3507
|
+
export const deleteNodeDiskDirectory: API.OperationMethod<
|
|
3508
|
+
DeleteNodeDiskDirectoryRequest,
|
|
3509
|
+
DeleteNodeDiskDirectoryResponse,
|
|
3510
|
+
DeleteNodeDiskDirectoryError,
|
|
3511
|
+
ProxmoxBackupOpContext
|
|
3512
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3513
|
+
input: DeleteNodeDiskDirectoryRequest,
|
|
3514
|
+
output: DeleteNodeDiskDirectoryResponse,
|
|
3515
|
+
errors: [],
|
|
3516
|
+
protocol: ProxmoxBackupProtocol,
|
|
3517
|
+
retry: Retry.Retry,
|
|
3518
|
+
}));
|
|
3519
|
+
|
|
3520
|
+
export type DeleteNodeNetworkError = ProxmoxBackupOpError;
|
|
3521
|
+
/** Revert network configuration (rm /etc/network/interfaces.new). */
|
|
3522
|
+
export const deleteNodeNetwork: API.OperationMethod<
|
|
3523
|
+
DeleteNodeNetworkRequest,
|
|
3524
|
+
DeleteNodeNetworkResponse,
|
|
3525
|
+
DeleteNodeNetworkError,
|
|
3526
|
+
ProxmoxBackupOpContext
|
|
3527
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3528
|
+
input: DeleteNodeNetworkRequest,
|
|
3529
|
+
output: DeleteNodeNetworkResponse,
|
|
3530
|
+
errors: [],
|
|
3531
|
+
protocol: ProxmoxBackupProtocol,
|
|
3532
|
+
retry: Retry.Retry,
|
|
3533
|
+
}));
|
|
3534
|
+
|
|
3535
|
+
export type DeleteNodeNetwork2Error = ProxmoxBackupOpError;
|
|
3536
|
+
/** Remove network interface configuration. */
|
|
3537
|
+
export const deleteNodeNetwork2: API.OperationMethod<
|
|
3538
|
+
DeleteNodeNetwork2Request,
|
|
3539
|
+
DeleteNodeNetwork2Response,
|
|
3540
|
+
DeleteNodeNetwork2Error,
|
|
3541
|
+
ProxmoxBackupOpContext
|
|
3542
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3543
|
+
input: DeleteNodeNetwork2Request,
|
|
3544
|
+
output: DeleteNodeNetwork2Response,
|
|
3545
|
+
errors: [],
|
|
3546
|
+
protocol: ProxmoxBackupProtocol,
|
|
3547
|
+
retry: Retry.Retry,
|
|
3548
|
+
}));
|
|
3549
|
+
|
|
3550
|
+
export type DeleteNodeSubscriptionError = ProxmoxBackupOpError;
|
|
3551
|
+
/** Delete subscription info. */
|
|
3552
|
+
export const deleteNodeSubscription: API.OperationMethod<
|
|
3553
|
+
DeleteNodeSubscriptionRequest,
|
|
3554
|
+
DeleteNodeSubscriptionResponse,
|
|
3555
|
+
DeleteNodeSubscriptionError,
|
|
3556
|
+
ProxmoxBackupOpContext
|
|
3557
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3558
|
+
input: DeleteNodeSubscriptionRequest,
|
|
3559
|
+
output: DeleteNodeSubscriptionResponse,
|
|
3560
|
+
errors: [],
|
|
3561
|
+
protocol: ProxmoxBackupProtocol,
|
|
3562
|
+
retry: Retry.Retry,
|
|
3563
|
+
}));
|
|
3564
|
+
|
|
3565
|
+
export type DeleteNodeTaskError = ProxmoxBackupOpError;
|
|
3566
|
+
/** Try to stop a task. */
|
|
3567
|
+
export const deleteNodeTask: API.OperationMethod<
|
|
3568
|
+
DeleteNodeTaskRequest,
|
|
3569
|
+
DeleteNodeTaskResponse,
|
|
3570
|
+
DeleteNodeTaskError,
|
|
3571
|
+
ProxmoxBackupOpContext
|
|
3572
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3573
|
+
input: DeleteNodeTaskRequest,
|
|
3574
|
+
output: DeleteNodeTaskResponse,
|
|
3575
|
+
errors: [],
|
|
3576
|
+
protocol: ProxmoxBackupProtocol,
|
|
3577
|
+
retry: Retry.Retry,
|
|
3578
|
+
}));
|
|
3579
|
+
|
|
3580
|
+
export type GetNodeError = ProxmoxBackupOpError;
|
|
3581
|
+
/** Directory index. */
|
|
3582
|
+
export const getNode: API.OperationMethod<
|
|
3583
|
+
GetNodeRequest,
|
|
3584
|
+
GetNodeResponse,
|
|
3585
|
+
GetNodeError,
|
|
3586
|
+
ProxmoxBackupOpContext
|
|
3587
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3588
|
+
input: GetNodeRequest,
|
|
3589
|
+
output: GetNodeResponse,
|
|
3590
|
+
errors: [],
|
|
3591
|
+
protocol: ProxmoxBackupProtocol,
|
|
3592
|
+
retry: Retry.Retry,
|
|
3593
|
+
}));
|
|
3594
|
+
|
|
3595
|
+
export type GetNodeAptError = ProxmoxBackupOpError;
|
|
3596
|
+
/** Directory index. */
|
|
3597
|
+
export const getNodeApt: API.OperationMethod<
|
|
3598
|
+
GetNodeAptRequest,
|
|
3599
|
+
GetNodeAptResponse,
|
|
3600
|
+
GetNodeAptError,
|
|
3601
|
+
ProxmoxBackupOpContext
|
|
3602
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3603
|
+
input: GetNodeAptRequest,
|
|
3604
|
+
output: GetNodeAptResponse,
|
|
3605
|
+
errors: [],
|
|
3606
|
+
protocol: ProxmoxBackupProtocol,
|
|
3607
|
+
retry: Retry.Retry,
|
|
3608
|
+
}));
|
|
3609
|
+
|
|
3610
|
+
export type GetNodeAptChangelogError = ProxmoxBackupOpError;
|
|
3611
|
+
/** Retrieve the changelog of the specified package. */
|
|
3612
|
+
export const getNodeAptChangelog: API.OperationMethod<
|
|
3613
|
+
GetNodeAptChangelogRequest,
|
|
3614
|
+
GetNodeAptChangelogResponse,
|
|
3615
|
+
GetNodeAptChangelogError,
|
|
3616
|
+
ProxmoxBackupOpContext
|
|
3617
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3618
|
+
input: GetNodeAptChangelogRequest,
|
|
3619
|
+
output: GetNodeAptChangelogResponse,
|
|
3620
|
+
errors: [],
|
|
3621
|
+
protocol: ProxmoxBackupProtocol,
|
|
3622
|
+
retry: Retry.Retry,
|
|
3623
|
+
}));
|
|
3624
|
+
|
|
3625
|
+
export type GetNodeAptRepositoriesError = ProxmoxBackupOpError;
|
|
3626
|
+
/** Get APT repository information. */
|
|
3627
|
+
export const getNodeAptRepositories: API.OperationMethod<
|
|
3628
|
+
GetNodeAptRepositoriesRequest,
|
|
3629
|
+
GetNodeAptRepositoriesResponse,
|
|
3630
|
+
GetNodeAptRepositoriesError,
|
|
3631
|
+
ProxmoxBackupOpContext
|
|
3632
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3633
|
+
input: GetNodeAptRepositoriesRequest,
|
|
3634
|
+
output: GetNodeAptRepositoriesResponse,
|
|
3635
|
+
errors: [],
|
|
3636
|
+
protocol: ProxmoxBackupProtocol,
|
|
3637
|
+
retry: Retry.Retry,
|
|
3638
|
+
}));
|
|
3639
|
+
|
|
3640
|
+
export type GetNodeCertificateAcmeError = ProxmoxBackupOpError;
|
|
3641
|
+
/** Directory index. */
|
|
3642
|
+
export const getNodeCertificateAcme: API.OperationMethod<
|
|
3643
|
+
GetNodeCertificateAcmeRequest,
|
|
3644
|
+
GetNodeCertificateAcmeResponse,
|
|
3645
|
+
GetNodeCertificateAcmeError,
|
|
3646
|
+
ProxmoxBackupOpContext
|
|
3647
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3648
|
+
input: GetNodeCertificateAcmeRequest,
|
|
3649
|
+
output: GetNodeCertificateAcmeResponse,
|
|
3650
|
+
errors: [],
|
|
3651
|
+
protocol: ProxmoxBackupProtocol,
|
|
3652
|
+
retry: Retry.Retry,
|
|
3653
|
+
}));
|
|
3654
|
+
|
|
3655
|
+
export type GetNodeCertificatesError = ProxmoxBackupOpError;
|
|
3656
|
+
/** Directory index. */
|
|
3657
|
+
export const getNodeCertificates: API.OperationMethod<
|
|
3658
|
+
GetNodeCertificatesRequest,
|
|
3659
|
+
GetNodeCertificatesResponse,
|
|
3660
|
+
GetNodeCertificatesError,
|
|
3661
|
+
ProxmoxBackupOpContext
|
|
3662
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3663
|
+
input: GetNodeCertificatesRequest,
|
|
3664
|
+
output: GetNodeCertificatesResponse,
|
|
3665
|
+
errors: [],
|
|
3666
|
+
protocol: ProxmoxBackupProtocol,
|
|
3667
|
+
retry: Retry.Retry,
|
|
3668
|
+
}));
|
|
3669
|
+
|
|
3670
|
+
export type GetNodeConfigError = ProxmoxBackupOpError;
|
|
3671
|
+
/** Get the node configuration */
|
|
3672
|
+
export const getNodeConfig: API.OperationMethod<
|
|
3673
|
+
GetNodeConfigRequest,
|
|
3674
|
+
GetNodeConfigResponse,
|
|
3675
|
+
GetNodeConfigError,
|
|
3676
|
+
ProxmoxBackupOpContext
|
|
3677
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3678
|
+
input: GetNodeConfigRequest,
|
|
3679
|
+
output: GetNodeConfigResponse,
|
|
3680
|
+
errors: [],
|
|
3681
|
+
protocol: ProxmoxBackupProtocol,
|
|
3682
|
+
retry: Retry.Retry,
|
|
3683
|
+
}));
|
|
3684
|
+
|
|
3685
|
+
export type GetNodeDisksError = ProxmoxBackupOpError;
|
|
3686
|
+
/** Directory index. */
|
|
3687
|
+
export const getNodeDisks: API.OperationMethod<
|
|
3688
|
+
GetNodeDisksRequest,
|
|
3689
|
+
GetNodeDisksResponse,
|
|
3690
|
+
GetNodeDisksError,
|
|
3691
|
+
ProxmoxBackupOpContext
|
|
3692
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3693
|
+
input: GetNodeDisksRequest,
|
|
3694
|
+
output: GetNodeDisksResponse,
|
|
3695
|
+
errors: [],
|
|
3696
|
+
protocol: ProxmoxBackupProtocol,
|
|
3697
|
+
retry: Retry.Retry,
|
|
3698
|
+
}));
|
|
3699
|
+
|
|
3700
|
+
export type GetNodeDiskSmartError = ProxmoxBackupOpError;
|
|
3701
|
+
/** Get SMART attributes and health of a disk. */
|
|
3702
|
+
export const getNodeDiskSmart: API.OperationMethod<
|
|
3703
|
+
GetNodeDiskSmartRequest,
|
|
3704
|
+
GetNodeDiskSmartResponse,
|
|
3705
|
+
GetNodeDiskSmartError,
|
|
3706
|
+
ProxmoxBackupOpContext
|
|
3707
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3708
|
+
input: GetNodeDiskSmartRequest,
|
|
3709
|
+
output: GetNodeDiskSmartResponse,
|
|
3710
|
+
errors: [],
|
|
3711
|
+
protocol: ProxmoxBackupProtocol,
|
|
3712
|
+
retry: Retry.Retry,
|
|
3713
|
+
}));
|
|
3714
|
+
|
|
3715
|
+
export type GetNodeDiskZfsError = ProxmoxBackupOpError;
|
|
3716
|
+
/** Get zpool status details. */
|
|
3717
|
+
export const getNodeDiskZfs: API.OperationMethod<
|
|
3718
|
+
GetNodeDiskZfsRequest,
|
|
3719
|
+
GetNodeDiskZfsResponse,
|
|
3720
|
+
GetNodeDiskZfsError,
|
|
3721
|
+
ProxmoxBackupOpContext
|
|
3722
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3723
|
+
input: GetNodeDiskZfsRequest,
|
|
3724
|
+
output: GetNodeDiskZfsResponse,
|
|
3725
|
+
errors: [],
|
|
3726
|
+
protocol: ProxmoxBackupProtocol,
|
|
3727
|
+
retry: Retry.Retry,
|
|
3728
|
+
}));
|
|
3729
|
+
|
|
3730
|
+
export type GetNodeDnsError = ProxmoxBackupOpError;
|
|
3731
|
+
/** Read DNS settings. */
|
|
3732
|
+
export const getNodeDns: API.OperationMethod<
|
|
3733
|
+
GetNodeDnsRequest,
|
|
3734
|
+
GetNodeDnsResponse,
|
|
3735
|
+
GetNodeDnsError,
|
|
3736
|
+
ProxmoxBackupOpContext
|
|
3737
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3738
|
+
input: GetNodeDnsRequest,
|
|
3739
|
+
output: GetNodeDnsResponse,
|
|
3740
|
+
errors: [],
|
|
3741
|
+
protocol: ProxmoxBackupProtocol,
|
|
3742
|
+
retry: Retry.Retry,
|
|
3743
|
+
}));
|
|
3744
|
+
|
|
3745
|
+
export type GetNodeIdentityError = ProxmoxBackupOpError;
|
|
3746
|
+
/** Returns a unique server identity. The ID is derived from `/etc/machine-id`. */
|
|
3747
|
+
export const getNodeIdentity: API.OperationMethod<
|
|
3748
|
+
GetNodeIdentityRequest,
|
|
3749
|
+
GetNodeIdentityResponse,
|
|
3750
|
+
GetNodeIdentityError,
|
|
3751
|
+
ProxmoxBackupOpContext
|
|
3752
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3753
|
+
input: GetNodeIdentityRequest,
|
|
3754
|
+
output: GetNodeIdentityResponse,
|
|
3755
|
+
errors: [],
|
|
3756
|
+
protocol: ProxmoxBackupProtocol,
|
|
3757
|
+
retry: Retry.Retry,
|
|
3758
|
+
}));
|
|
3759
|
+
|
|
3760
|
+
export type GetNodeJournalError = ProxmoxBackupOpError;
|
|
3761
|
+
/** Read syslog entries. */
|
|
3762
|
+
export const getNodeJournal: API.OperationMethod<
|
|
3763
|
+
GetNodeJournalRequest,
|
|
3764
|
+
GetNodeJournalResponse,
|
|
3765
|
+
GetNodeJournalError,
|
|
3766
|
+
ProxmoxBackupOpContext
|
|
3767
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3768
|
+
input: GetNodeJournalRequest,
|
|
3769
|
+
output: GetNodeJournalResponse,
|
|
3770
|
+
errors: [],
|
|
3771
|
+
protocol: ProxmoxBackupProtocol,
|
|
3772
|
+
retry: Retry.Retry,
|
|
3773
|
+
}));
|
|
3774
|
+
|
|
3775
|
+
export type GetNodeNetworkError = ProxmoxBackupOpError;
|
|
3776
|
+
/** Read a network interface configuration. */
|
|
3777
|
+
export const getNodeNetwork: API.OperationMethod<
|
|
3778
|
+
GetNodeNetworkRequest,
|
|
3779
|
+
GetNodeNetworkResponse,
|
|
3780
|
+
GetNodeNetworkError,
|
|
3781
|
+
ProxmoxBackupOpContext
|
|
3782
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3783
|
+
input: GetNodeNetworkRequest,
|
|
3784
|
+
output: GetNodeNetworkResponse,
|
|
3785
|
+
errors: [],
|
|
3786
|
+
protocol: ProxmoxBackupProtocol,
|
|
3787
|
+
retry: Retry.Retry,
|
|
3788
|
+
}));
|
|
3789
|
+
|
|
3790
|
+
export type GetNodeReportError = ProxmoxBackupOpError;
|
|
3791
|
+
/** Generate a report */
|
|
3792
|
+
export const getNodeReport: API.OperationMethod<
|
|
3793
|
+
GetNodeReportRequest,
|
|
3794
|
+
GetNodeReportResponse,
|
|
3795
|
+
GetNodeReportError,
|
|
3796
|
+
ProxmoxBackupOpContext
|
|
3797
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3798
|
+
input: GetNodeReportRequest,
|
|
3799
|
+
output: GetNodeReportResponse,
|
|
3800
|
+
errors: [],
|
|
3801
|
+
protocol: ProxmoxBackupProtocol,
|
|
3802
|
+
retry: Retry.Retry,
|
|
3803
|
+
}));
|
|
3804
|
+
|
|
3805
|
+
export type GetNodeRrdError = ProxmoxBackupOpError;
|
|
3806
|
+
/** Read node stats */
|
|
3807
|
+
export const getNodeRrd: API.OperationMethod<
|
|
3808
|
+
GetNodeRrdRequest,
|
|
3809
|
+
GetNodeRrdResponse,
|
|
3810
|
+
GetNodeRrdError,
|
|
3811
|
+
ProxmoxBackupOpContext
|
|
3812
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3813
|
+
input: GetNodeRrdRequest,
|
|
3814
|
+
output: GetNodeRrdResponse,
|
|
3815
|
+
errors: [],
|
|
3816
|
+
protocol: ProxmoxBackupProtocol,
|
|
3817
|
+
retry: Retry.Retry,
|
|
3818
|
+
}));
|
|
3819
|
+
|
|
3820
|
+
export type GetNodesError = ProxmoxBackupOpError;
|
|
3821
|
+
/** List Nodes (only for compatibility) */
|
|
3822
|
+
export const getNodes: API.OperationMethod<
|
|
3823
|
+
GetNodesRequest,
|
|
3824
|
+
GetNodesResponse,
|
|
3825
|
+
GetNodesError,
|
|
3826
|
+
ProxmoxBackupOpContext
|
|
3827
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3828
|
+
input: GetNodesRequest,
|
|
3829
|
+
output: GetNodesResponse,
|
|
3830
|
+
errors: [],
|
|
3831
|
+
protocol: ProxmoxBackupProtocol,
|
|
3832
|
+
retry: Retry.Retry,
|
|
3833
|
+
}));
|
|
3834
|
+
|
|
3835
|
+
export type GetNodeServiceError = ProxmoxBackupOpError;
|
|
3836
|
+
/** Directory index. */
|
|
3837
|
+
export const getNodeService: API.OperationMethod<
|
|
3838
|
+
GetNodeServiceRequest,
|
|
3839
|
+
GetNodeServiceResponse,
|
|
3840
|
+
GetNodeServiceError,
|
|
3841
|
+
ProxmoxBackupOpContext
|
|
3842
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3843
|
+
input: GetNodeServiceRequest,
|
|
3844
|
+
output: GetNodeServiceResponse,
|
|
3845
|
+
errors: [],
|
|
3846
|
+
protocol: ProxmoxBackupProtocol,
|
|
3847
|
+
retry: Retry.Retry,
|
|
3848
|
+
}));
|
|
3849
|
+
|
|
3850
|
+
export type GetNodeServiceStateError = ProxmoxBackupOpError;
|
|
3851
|
+
/** Read service properties. */
|
|
3852
|
+
export const getNodeServiceState: API.OperationMethod<
|
|
3853
|
+
GetNodeServiceStateRequest,
|
|
3854
|
+
GetNodeServiceStateResponse,
|
|
3855
|
+
GetNodeServiceStateError,
|
|
3856
|
+
ProxmoxBackupOpContext
|
|
3857
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3858
|
+
input: GetNodeServiceStateRequest,
|
|
3859
|
+
output: GetNodeServiceStateResponse,
|
|
3860
|
+
errors: [],
|
|
3861
|
+
protocol: ProxmoxBackupProtocol,
|
|
3862
|
+
retry: Retry.Retry,
|
|
3863
|
+
}));
|
|
3864
|
+
|
|
3865
|
+
export type GetNodeStatusError = ProxmoxBackupOpError;
|
|
3866
|
+
/** Read node memory, CPU and (root) disk usage */
|
|
3867
|
+
export const getNodeStatus: API.OperationMethod<
|
|
3868
|
+
GetNodeStatusRequest,
|
|
3869
|
+
GetNodeStatusResponse,
|
|
3870
|
+
GetNodeStatusError,
|
|
3871
|
+
ProxmoxBackupOpContext
|
|
3872
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3873
|
+
input: GetNodeStatusRequest,
|
|
3874
|
+
output: GetNodeStatusResponse,
|
|
3875
|
+
errors: [],
|
|
3876
|
+
protocol: ProxmoxBackupProtocol,
|
|
3877
|
+
retry: Retry.Retry,
|
|
3878
|
+
}));
|
|
3879
|
+
|
|
3880
|
+
export type GetNodeSubscriptionError = ProxmoxBackupOpError;
|
|
3881
|
+
/** Read subscription info. */
|
|
3882
|
+
export const getNodeSubscription: API.OperationMethod<
|
|
3883
|
+
GetNodeSubscriptionRequest,
|
|
3884
|
+
GetNodeSubscriptionResponse,
|
|
3885
|
+
GetNodeSubscriptionError,
|
|
3886
|
+
ProxmoxBackupOpContext
|
|
3887
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3888
|
+
input: GetNodeSubscriptionRequest,
|
|
3889
|
+
output: GetNodeSubscriptionResponse,
|
|
3890
|
+
errors: [],
|
|
3891
|
+
protocol: ProxmoxBackupProtocol,
|
|
3892
|
+
retry: Retry.Retry,
|
|
3893
|
+
}));
|
|
3894
|
+
|
|
3895
|
+
export type GetNodeTaskError = ProxmoxBackupOpError;
|
|
3896
|
+
/** Directory index. */
|
|
3897
|
+
export const getNodeTask: API.OperationMethod<
|
|
3898
|
+
GetNodeTaskRequest,
|
|
3899
|
+
GetNodeTaskResponse,
|
|
3900
|
+
GetNodeTaskError,
|
|
3901
|
+
ProxmoxBackupOpContext
|
|
3902
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3903
|
+
input: GetNodeTaskRequest,
|
|
3904
|
+
output: GetNodeTaskResponse,
|
|
3905
|
+
errors: [],
|
|
3906
|
+
protocol: ProxmoxBackupProtocol,
|
|
3907
|
+
retry: Retry.Retry,
|
|
3908
|
+
}));
|
|
3909
|
+
|
|
3910
|
+
export type GetNodeTaskLogError = ProxmoxBackupOpError;
|
|
3911
|
+
/** Read the task log */
|
|
3912
|
+
export const getNodeTaskLog: API.OperationMethod<
|
|
3913
|
+
GetNodeTaskLogRequest,
|
|
3914
|
+
GetNodeTaskLogResponse,
|
|
3915
|
+
GetNodeTaskLogError,
|
|
3916
|
+
ProxmoxBackupOpContext
|
|
3917
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3918
|
+
input: GetNodeTaskLogRequest,
|
|
3919
|
+
output: GetNodeTaskLogResponse,
|
|
3920
|
+
errors: [],
|
|
3921
|
+
protocol: ProxmoxBackupProtocol,
|
|
3922
|
+
retry: Retry.Retry,
|
|
3923
|
+
}));
|
|
3924
|
+
|
|
3925
|
+
export type GetNodeTaskStatusError = ProxmoxBackupOpError;
|
|
3926
|
+
/** Get task status. */
|
|
3927
|
+
export const getNodeTaskStatus: API.OperationMethod<
|
|
3928
|
+
GetNodeTaskStatusRequest,
|
|
3929
|
+
GetNodeTaskStatusResponse,
|
|
3930
|
+
GetNodeTaskStatusError,
|
|
3931
|
+
ProxmoxBackupOpContext
|
|
3932
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3933
|
+
input: GetNodeTaskStatusRequest,
|
|
3934
|
+
output: GetNodeTaskStatusResponse,
|
|
3935
|
+
errors: [],
|
|
3936
|
+
protocol: ProxmoxBackupProtocol,
|
|
3937
|
+
retry: Retry.Retry,
|
|
3938
|
+
}));
|
|
3939
|
+
|
|
3940
|
+
export type GetNodeTimeError = ProxmoxBackupOpError;
|
|
3941
|
+
/** Read server time and time zone settings. */
|
|
3942
|
+
export const getNodeTime: API.OperationMethod<
|
|
3943
|
+
GetNodeTimeRequest,
|
|
3944
|
+
GetNodeTimeResponse,
|
|
3945
|
+
GetNodeTimeError,
|
|
3946
|
+
ProxmoxBackupOpContext
|
|
3947
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3948
|
+
input: GetNodeTimeRequest,
|
|
3949
|
+
output: GetNodeTimeResponse,
|
|
3950
|
+
errors: [],
|
|
3951
|
+
protocol: ProxmoxBackupProtocol,
|
|
3952
|
+
retry: Retry.Retry,
|
|
3953
|
+
}));
|
|
3954
|
+
|
|
3955
|
+
export type GetNodeVncwebsocketError = ProxmoxBackupOpError;
|
|
3956
|
+
/** Upgraded to websocket */
|
|
3957
|
+
export const getNodeVncwebsocket: API.OperationMethod<
|
|
3958
|
+
GetNodeVncwebsocketRequest,
|
|
3959
|
+
GetNodeVncwebsocketResponse,
|
|
3960
|
+
GetNodeVncwebsocketError,
|
|
3961
|
+
ProxmoxBackupOpContext
|
|
3962
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3963
|
+
input: GetNodeVncwebsocketRequest,
|
|
3964
|
+
output: GetNodeVncwebsocketResponse,
|
|
3965
|
+
errors: [],
|
|
3966
|
+
protocol: ProxmoxBackupProtocol,
|
|
3967
|
+
retry: Retry.Retry,
|
|
3968
|
+
}));
|
|
3969
|
+
|
|
3970
|
+
export type ListNodeAptUpdateError = ProxmoxBackupOpError;
|
|
3971
|
+
/** List available APT updates */
|
|
3972
|
+
export const listNodeAptUpdate: API.OperationMethod<
|
|
3973
|
+
ListNodeAptUpdateRequest,
|
|
3974
|
+
ListNodeAptUpdateResponse,
|
|
3975
|
+
ListNodeAptUpdateError,
|
|
3976
|
+
ProxmoxBackupOpContext
|
|
3977
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3978
|
+
input: ListNodeAptUpdateRequest,
|
|
3979
|
+
output: ListNodeAptUpdateResponse,
|
|
3980
|
+
errors: [],
|
|
3981
|
+
protocol: ProxmoxBackupProtocol,
|
|
3982
|
+
retry: Retry.Retry,
|
|
3983
|
+
}));
|
|
3984
|
+
|
|
3985
|
+
export type ListNodeAptVersionsError = ProxmoxBackupOpError;
|
|
3986
|
+
/** Get package information for important Proxmox Backup Server packages. */
|
|
3987
|
+
export const listNodeAptVersions: API.OperationMethod<
|
|
3988
|
+
ListNodeAptVersionsRequest,
|
|
3989
|
+
ListNodeAptVersionsResponse,
|
|
3990
|
+
ListNodeAptVersionsError,
|
|
3991
|
+
ProxmoxBackupOpContext
|
|
3992
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3993
|
+
input: ListNodeAptVersionsRequest,
|
|
3994
|
+
output: ListNodeAptVersionsResponse,
|
|
3995
|
+
errors: [],
|
|
3996
|
+
protocol: ProxmoxBackupProtocol,
|
|
3997
|
+
retry: Retry.Retry,
|
|
3998
|
+
}));
|
|
3999
|
+
|
|
4000
|
+
export type ListNodeCertificateInfoError = ProxmoxBackupOpError;
|
|
4001
|
+
/** Get certificate info. */
|
|
4002
|
+
export const listNodeCertificateInfo: API.OperationMethod<
|
|
4003
|
+
ListNodeCertificateInfoRequest,
|
|
4004
|
+
ListNodeCertificateInfoResponse,
|
|
4005
|
+
ListNodeCertificateInfoError,
|
|
4006
|
+
ProxmoxBackupOpContext
|
|
4007
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4008
|
+
input: ListNodeCertificateInfoRequest,
|
|
4009
|
+
output: ListNodeCertificateInfoResponse,
|
|
4010
|
+
errors: [],
|
|
4011
|
+
protocol: ProxmoxBackupProtocol,
|
|
4012
|
+
retry: Retry.Retry,
|
|
4013
|
+
}));
|
|
4014
|
+
|
|
4015
|
+
export type ListNodeDiskDirectoryError = ProxmoxBackupOpError;
|
|
4016
|
+
/** List systemd datastore mount units. */
|
|
4017
|
+
export const listNodeDiskDirectory: API.OperationMethod<
|
|
4018
|
+
ListNodeDiskDirectoryRequest,
|
|
4019
|
+
ListNodeDiskDirectoryResponse,
|
|
4020
|
+
ListNodeDiskDirectoryError,
|
|
4021
|
+
ProxmoxBackupOpContext
|
|
4022
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4023
|
+
input: ListNodeDiskDirectoryRequest,
|
|
4024
|
+
output: ListNodeDiskDirectoryResponse,
|
|
4025
|
+
errors: [],
|
|
4026
|
+
protocol: ProxmoxBackupProtocol,
|
|
4027
|
+
retry: Retry.Retry,
|
|
4028
|
+
}));
|
|
4029
|
+
|
|
4030
|
+
export type ListNodeDiskListError = ProxmoxBackupOpError;
|
|
4031
|
+
/** List local disks */
|
|
4032
|
+
export const listNodeDiskList: API.OperationMethod<
|
|
4033
|
+
ListNodeDiskListRequest,
|
|
4034
|
+
ListNodeDiskListResponse,
|
|
4035
|
+
ListNodeDiskListError,
|
|
4036
|
+
ProxmoxBackupOpContext
|
|
4037
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4038
|
+
input: ListNodeDiskListRequest,
|
|
4039
|
+
output: ListNodeDiskListResponse,
|
|
4040
|
+
errors: [],
|
|
4041
|
+
protocol: ProxmoxBackupProtocol,
|
|
4042
|
+
retry: Retry.Retry,
|
|
4043
|
+
}));
|
|
4044
|
+
|
|
4045
|
+
export type ListNodeDiskZfsError = ProxmoxBackupOpError;
|
|
4046
|
+
/** List zfs pools. */
|
|
4047
|
+
export const listNodeDiskZfs: API.OperationMethod<
|
|
4048
|
+
ListNodeDiskZfsRequest,
|
|
4049
|
+
ListNodeDiskZfsResponse,
|
|
4050
|
+
ListNodeDiskZfsError,
|
|
4051
|
+
ProxmoxBackupOpContext
|
|
4052
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4053
|
+
input: ListNodeDiskZfsRequest,
|
|
4054
|
+
output: ListNodeDiskZfsResponse,
|
|
4055
|
+
errors: [],
|
|
4056
|
+
protocol: ProxmoxBackupProtocol,
|
|
4057
|
+
retry: Retry.Retry,
|
|
4058
|
+
}));
|
|
4059
|
+
|
|
4060
|
+
export type ListNodeNetworkError = ProxmoxBackupOpError;
|
|
4061
|
+
/** List all datastores */
|
|
4062
|
+
export const listNodeNetwork: API.OperationMethod<
|
|
4063
|
+
ListNodeNetworkRequest,
|
|
4064
|
+
ListNodeNetworkResponse,
|
|
4065
|
+
ListNodeNetworkError,
|
|
4066
|
+
ProxmoxBackupOpContext
|
|
4067
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4068
|
+
input: ListNodeNetworkRequest,
|
|
4069
|
+
output: ListNodeNetworkResponse,
|
|
4070
|
+
errors: [],
|
|
4071
|
+
protocol: ProxmoxBackupProtocol,
|
|
4072
|
+
retry: Retry.Retry,
|
|
4073
|
+
}));
|
|
4074
|
+
|
|
4075
|
+
export type ListNodeServicesError = ProxmoxBackupOpError;
|
|
4076
|
+
/** Service list. */
|
|
4077
|
+
export const listNodeServices: API.OperationMethod<
|
|
4078
|
+
ListNodeServicesRequest,
|
|
4079
|
+
ListNodeServicesResponse,
|
|
4080
|
+
ListNodeServicesError,
|
|
4081
|
+
ProxmoxBackupOpContext
|
|
4082
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4083
|
+
input: ListNodeServicesRequest,
|
|
4084
|
+
output: ListNodeServicesResponse,
|
|
4085
|
+
errors: [],
|
|
4086
|
+
protocol: ProxmoxBackupProtocol,
|
|
4087
|
+
retry: Retry.Retry,
|
|
4088
|
+
}));
|
|
4089
|
+
|
|
4090
|
+
export type ListNodeSyslogError = ProxmoxBackupOpError;
|
|
4091
|
+
/** Read syslog entries. */
|
|
4092
|
+
export const listNodeSyslog: API.OperationMethod<
|
|
4093
|
+
ListNodeSyslogRequest,
|
|
4094
|
+
ListNodeSyslogResponse,
|
|
4095
|
+
ListNodeSyslogError,
|
|
4096
|
+
ProxmoxBackupOpContext
|
|
4097
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4098
|
+
input: ListNodeSyslogRequest,
|
|
4099
|
+
output: ListNodeSyslogResponse,
|
|
4100
|
+
errors: [],
|
|
4101
|
+
protocol: ProxmoxBackupProtocol,
|
|
4102
|
+
retry: Retry.Retry,
|
|
4103
|
+
}));
|
|
4104
|
+
|
|
4105
|
+
export type ListNodeTasksError = ProxmoxBackupOpError;
|
|
4106
|
+
/** List tasks. */
|
|
4107
|
+
export const listNodeTasks: API.OperationMethod<
|
|
4108
|
+
ListNodeTasksRequest,
|
|
4109
|
+
ListNodeTasksResponse,
|
|
4110
|
+
ListNodeTasksError,
|
|
4111
|
+
ProxmoxBackupOpContext
|
|
4112
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4113
|
+
input: ListNodeTasksRequest,
|
|
4114
|
+
output: ListNodeTasksResponse,
|
|
4115
|
+
errors: [],
|
|
4116
|
+
protocol: ProxmoxBackupProtocol,
|
|
4117
|
+
retry: Retry.Retry,
|
|
4118
|
+
}));
|
|
4119
|
+
|
|
4120
|
+
export type PutNodeAptRepositoriesError = ProxmoxBackupOpError;
|
|
4121
|
+
/** Add the repository identified by the `handle`. If the repository is already configured, it will be set to enabled. The `digest` parameter asserts that the configuration has not been modified. */
|
|
4122
|
+
export const putNodeAptRepositories: API.OperationMethod<
|
|
4123
|
+
PutNodeAptRepositoriesRequest,
|
|
4124
|
+
PutNodeAptRepositoriesResponse,
|
|
4125
|
+
PutNodeAptRepositoriesError,
|
|
4126
|
+
ProxmoxBackupOpContext
|
|
4127
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4128
|
+
input: PutNodeAptRepositoriesRequest,
|
|
4129
|
+
output: PutNodeAptRepositoriesResponse,
|
|
4130
|
+
errors: [],
|
|
4131
|
+
protocol: ProxmoxBackupProtocol,
|
|
4132
|
+
retry: Retry.Retry,
|
|
4133
|
+
}));
|
|
4134
|
+
|
|
4135
|
+
export type PutNodeCertificateAcmeCertificateError = ProxmoxBackupOpError;
|
|
4136
|
+
/** Renew the current ACME certificate if it is within its renewal lead time (or always if the `force` parameter is set). */
|
|
4137
|
+
export const putNodeCertificateAcmeCertificate: API.OperationMethod<
|
|
4138
|
+
PutNodeCertificateAcmeCertificateRequest,
|
|
4139
|
+
PutNodeCertificateAcmeCertificateResponse,
|
|
4140
|
+
PutNodeCertificateAcmeCertificateError,
|
|
4141
|
+
ProxmoxBackupOpContext
|
|
4142
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4143
|
+
input: PutNodeCertificateAcmeCertificateRequest,
|
|
4144
|
+
output: PutNodeCertificateAcmeCertificateResponse,
|
|
4145
|
+
errors: [],
|
|
4146
|
+
protocol: ProxmoxBackupProtocol,
|
|
4147
|
+
retry: Retry.Retry,
|
|
4148
|
+
}));
|
|
4149
|
+
|
|
4150
|
+
export type PutNodeConfigError = ProxmoxBackupOpError;
|
|
4151
|
+
/** Update the node configuration */
|
|
4152
|
+
export const putNodeConfig: API.OperationMethod<
|
|
4153
|
+
PutNodeConfigRequest,
|
|
4154
|
+
PutNodeConfigResponse,
|
|
4155
|
+
PutNodeConfigError,
|
|
4156
|
+
ProxmoxBackupOpContext
|
|
4157
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4158
|
+
input: PutNodeConfigRequest,
|
|
4159
|
+
output: PutNodeConfigResponse,
|
|
4160
|
+
errors: [],
|
|
4161
|
+
protocol: ProxmoxBackupProtocol,
|
|
4162
|
+
retry: Retry.Retry,
|
|
4163
|
+
}));
|
|
4164
|
+
|
|
4165
|
+
export type PutNodeDiskWipediskError = ProxmoxBackupOpError;
|
|
4166
|
+
/** wipe disk */
|
|
4167
|
+
export const putNodeDiskWipedisk: API.OperationMethod<
|
|
4168
|
+
PutNodeDiskWipediskRequest,
|
|
4169
|
+
PutNodeDiskWipediskResponse,
|
|
4170
|
+
PutNodeDiskWipediskError,
|
|
4171
|
+
ProxmoxBackupOpContext
|
|
4172
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4173
|
+
input: PutNodeDiskWipediskRequest,
|
|
4174
|
+
output: PutNodeDiskWipediskResponse,
|
|
4175
|
+
errors: [],
|
|
4176
|
+
protocol: ProxmoxBackupProtocol,
|
|
4177
|
+
retry: Retry.Retry,
|
|
4178
|
+
}));
|
|
4179
|
+
|
|
4180
|
+
export type PutNodeDnsError = ProxmoxBackupOpError;
|
|
4181
|
+
/** Update DNS settings. */
|
|
4182
|
+
export const putNodeDns: API.OperationMethod<
|
|
4183
|
+
PutNodeDnsRequest,
|
|
4184
|
+
PutNodeDnsResponse,
|
|
4185
|
+
PutNodeDnsError,
|
|
4186
|
+
ProxmoxBackupOpContext
|
|
4187
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4188
|
+
input: PutNodeDnsRequest,
|
|
4189
|
+
output: PutNodeDnsResponse,
|
|
4190
|
+
errors: [],
|
|
4191
|
+
protocol: ProxmoxBackupProtocol,
|
|
4192
|
+
retry: Retry.Retry,
|
|
4193
|
+
}));
|
|
4194
|
+
|
|
4195
|
+
export type PutNodeNetworkError = ProxmoxBackupOpError;
|
|
4196
|
+
/** Reload network configuration (requires ifupdown2). */
|
|
4197
|
+
export const putNodeNetwork: API.OperationMethod<
|
|
4198
|
+
PutNodeNetworkRequest,
|
|
4199
|
+
PutNodeNetworkResponse,
|
|
4200
|
+
PutNodeNetworkError,
|
|
4201
|
+
ProxmoxBackupOpContext
|
|
4202
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4203
|
+
input: PutNodeNetworkRequest,
|
|
4204
|
+
output: PutNodeNetworkResponse,
|
|
4205
|
+
errors: [],
|
|
4206
|
+
protocol: ProxmoxBackupProtocol,
|
|
4207
|
+
retry: Retry.Retry,
|
|
4208
|
+
}));
|
|
4209
|
+
|
|
4210
|
+
export type PutNodeNetwork2Error = ProxmoxBackupOpError;
|
|
4211
|
+
/** Update network interface config. */
|
|
4212
|
+
export const putNodeNetwork2: API.OperationMethod<
|
|
4213
|
+
PutNodeNetwork2Request,
|
|
4214
|
+
PutNodeNetwork2Response,
|
|
4215
|
+
PutNodeNetwork2Error,
|
|
4216
|
+
ProxmoxBackupOpContext
|
|
4217
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4218
|
+
input: PutNodeNetwork2Request,
|
|
4219
|
+
output: PutNodeNetwork2Response,
|
|
4220
|
+
errors: [],
|
|
4221
|
+
protocol: ProxmoxBackupProtocol,
|
|
4222
|
+
retry: Retry.Retry,
|
|
4223
|
+
}));
|
|
4224
|
+
|
|
4225
|
+
export type PutNodeSubscriptionError = ProxmoxBackupOpError;
|
|
4226
|
+
/** Set a subscription key and check it. */
|
|
4227
|
+
export const putNodeSubscription: API.OperationMethod<
|
|
4228
|
+
PutNodeSubscriptionRequest,
|
|
4229
|
+
PutNodeSubscriptionResponse,
|
|
4230
|
+
PutNodeSubscriptionError,
|
|
4231
|
+
ProxmoxBackupOpContext
|
|
4232
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4233
|
+
input: PutNodeSubscriptionRequest,
|
|
4234
|
+
output: PutNodeSubscriptionResponse,
|
|
4235
|
+
errors: [],
|
|
4236
|
+
protocol: ProxmoxBackupProtocol,
|
|
4237
|
+
retry: Retry.Retry,
|
|
4238
|
+
}));
|
|
4239
|
+
|
|
4240
|
+
export type PutNodeTimeError = ProxmoxBackupOpError;
|
|
4241
|
+
/** Set time zone */
|
|
4242
|
+
export const putNodeTime: API.OperationMethod<
|
|
4243
|
+
PutNodeTimeRequest,
|
|
4244
|
+
PutNodeTimeResponse,
|
|
4245
|
+
PutNodeTimeError,
|
|
4246
|
+
ProxmoxBackupOpContext
|
|
4247
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4248
|
+
input: PutNodeTimeRequest,
|
|
4249
|
+
output: PutNodeTimeResponse,
|
|
4250
|
+
errors: [],
|
|
4251
|
+
protocol: ProxmoxBackupProtocol,
|
|
4252
|
+
retry: Retry.Retry,
|
|
4253
|
+
}));
|
|
4254
|
+
|
|
4255
|
+
export type RestartNodesServiceError = ProxmoxBackupOpError;
|
|
4256
|
+
/** Restart service. */
|
|
4257
|
+
export const restartNodesService: API.OperationMethod<
|
|
4258
|
+
RestartNodesServiceRequest,
|
|
4259
|
+
RestartNodesServiceResponse,
|
|
4260
|
+
RestartNodesServiceError,
|
|
4261
|
+
ProxmoxBackupOpContext
|
|
4262
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4263
|
+
input: RestartNodesServiceRequest,
|
|
4264
|
+
output: RestartNodesServiceResponse,
|
|
4265
|
+
errors: [],
|
|
4266
|
+
protocol: ProxmoxBackupProtocol,
|
|
4267
|
+
retry: Retry.Retry,
|
|
4268
|
+
}));
|
|
4269
|
+
|
|
4270
|
+
export type StartNodesServiceError = ProxmoxBackupOpError;
|
|
4271
|
+
/** Start service. */
|
|
4272
|
+
export const startNodesService: API.OperationMethod<
|
|
4273
|
+
StartNodesServiceRequest,
|
|
4274
|
+
StartNodesServiceResponse,
|
|
4275
|
+
StartNodesServiceError,
|
|
4276
|
+
ProxmoxBackupOpContext
|
|
4277
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4278
|
+
input: StartNodesServiceRequest,
|
|
4279
|
+
output: StartNodesServiceResponse,
|
|
4280
|
+
errors: [],
|
|
4281
|
+
protocol: ProxmoxBackupProtocol,
|
|
4282
|
+
retry: Retry.Retry,
|
|
4283
|
+
}));
|
|
4284
|
+
|
|
4285
|
+
export type StopNodesServiceError = ProxmoxBackupOpError;
|
|
4286
|
+
/** Stop service. */
|
|
4287
|
+
export const stopNodesService: API.OperationMethod<
|
|
4288
|
+
StopNodesServiceRequest,
|
|
4289
|
+
StopNodesServiceResponse,
|
|
4290
|
+
StopNodesServiceError,
|
|
4291
|
+
ProxmoxBackupOpContext
|
|
4292
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4293
|
+
input: StopNodesServiceRequest,
|
|
4294
|
+
output: StopNodesServiceResponse,
|
|
4295
|
+
errors: [],
|
|
4296
|
+
protocol: ProxmoxBackupProtocol,
|
|
4297
|
+
retry: Retry.Retry,
|
|
4298
|
+
}));
|
|
4299
|
+
|
|
4300
|
+
export type UpdateNodesAptError = ProxmoxBackupOpError;
|
|
4301
|
+
/** Update the APT database */
|
|
4302
|
+
export const updateNodesApt: API.OperationMethod<
|
|
4303
|
+
UpdateNodesAptRequest,
|
|
4304
|
+
UpdateNodesAptResponse,
|
|
4305
|
+
UpdateNodesAptError,
|
|
4306
|
+
ProxmoxBackupOpContext
|
|
4307
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4308
|
+
input: UpdateNodesAptRequest,
|
|
4309
|
+
output: UpdateNodesAptResponse,
|
|
4310
|
+
errors: [],
|
|
4311
|
+
protocol: ProxmoxBackupProtocol,
|
|
4312
|
+
retry: Retry.Retry,
|
|
4313
|
+
}));
|