@distilled.cloud/ovh 0.0.0 → 1.0.0-rc.11
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/lib/credentials.d.ts +38 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +54 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +22 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +8 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +8 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +60 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +32 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +32 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/baremetal.d.ts +3551 -0
- package/lib/services/baremetal.d.ts.map +1 -0
- package/lib/services/baremetal.js +4187 -0
- package/lib/services/baremetal.js.map +1 -0
- package/lib/services/cloud.d.ts +26011 -0
- package/lib/services/cloud.d.ts.map +1 -0
- package/lib/services/cloud.js +31061 -0
- package/lib/services/cloud.js.map +1 -0
- package/lib/services/cloud_v2.d.ts +5642 -0
- package/lib/services/cloud_v2.d.ts.map +1 -0
- package/lib/services/cloud_v2.js +5733 -0
- package/lib/services/cloud_v2.js.map +1 -0
- package/lib/services/dedicatedceph.d.ts +747 -0
- package/lib/services/dedicatedceph.d.ts.map +1 -0
- package/lib/services/dedicatedceph.js +960 -0
- package/lib/services/dedicatedceph.js.map +1 -0
- package/lib/services/dedicatednasha.d.ts +755 -0
- package/lib/services/dedicatednasha.d.ts.map +1 -0
- package/lib/services/dedicatednasha.js +965 -0
- package/lib/services/dedicatednasha.js.map +1 -0
- package/lib/services/domain.d.ts +2995 -0
- package/lib/services/domain.d.ts.map +1 -0
- package/lib/services/domain.js +3078 -0
- package/lib/services/domain.js.map +1 -0
- package/lib/services/emaildomain.d.ts +1913 -0
- package/lib/services/emaildomain.d.ts.map +1 -0
- package/lib/services/emaildomain.js +2550 -0
- package/lib/services/emaildomain.js.map +1 -0
- package/lib/services/emailmxplan.d.ts +1012 -0
- package/lib/services/emailmxplan.d.ts.map +1 -0
- package/lib/services/emailmxplan.js +1155 -0
- package/lib/services/emailmxplan.js.map +1 -0
- package/lib/services/emailpro.d.ts +1287 -0
- package/lib/services/emailpro.d.ts.map +1 -0
- package/lib/services/emailpro.js +1471 -0
- package/lib/services/emailpro.js.map +1 -0
- package/lib/services/hostingprivatedatabase.d.ts +1402 -0
- package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
- package/lib/services/hostingprivatedatabase.js +1829 -0
- package/lib/services/hostingprivatedatabase.js.map +1 -0
- package/lib/services/iam.d.ts +829 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +793 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/index.d.ts +31 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +32 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/ip.d.ts +1417 -0
- package/lib/services/ip.d.ts.map +1 -0
- package/lib/services/ip.js +1690 -0
- package/lib/services/ip.js.map +1 -0
- package/lib/services/iploadbalancing.d.ts +3059 -0
- package/lib/services/iploadbalancing.d.ts.map +1 -0
- package/lib/services/iploadbalancing.js +3553 -0
- package/lib/services/iploadbalancing.js.map +1 -0
- package/lib/services/ldp.d.ts +2492 -0
- package/lib/services/ldp.d.ts.map +1 -0
- package/lib/services/ldp.js +3067 -0
- package/lib/services/ldp.js.map +1 -0
- package/lib/services/me.d.ts +7511 -0
- package/lib/services/me.d.ts.map +1 -0
- package/lib/services/me.js +8874 -0
- package/lib/services/me.js.map +1 -0
- package/lib/services/overthebox.d.ts +981 -0
- package/lib/services/overthebox.d.ts.map +1 -0
- package/lib/services/overthebox.js +1122 -0
- package/lib/services/overthebox.js.map +1 -0
- package/lib/services/ovhcloudconnect.d.ts +1123 -0
- package/lib/services/ovhcloudconnect.d.ts.map +1 -0
- package/lib/services/ovhcloudconnect.js +1351 -0
- package/lib/services/ovhcloudconnect.js.map +1 -0
- package/lib/services/packxdsl.d.ts +1583 -0
- package/lib/services/packxdsl.d.ts.map +1 -0
- package/lib/services/packxdsl.js +1787 -0
- package/lib/services/packxdsl.js.map +1 -0
- package/lib/services/sms.d.ts +2602 -0
- package/lib/services/sms.d.ts.map +1 -0
- package/lib/services/sms.js +2995 -0
- package/lib/services/sms.js.map +1 -0
- package/lib/services/sslgateway.d.ts +493 -0
- package/lib/services/sslgateway.d.ts.map +1 -0
- package/lib/services/sslgateway.js +569 -0
- package/lib/services/sslgateway.js.map +1 -0
- package/lib/services/storagenetapp.d.ts +859 -0
- package/lib/services/storagenetapp.d.ts.map +1 -0
- package/lib/services/storagenetapp.js +1020 -0
- package/lib/services/storagenetapp.js.map +1 -0
- package/lib/services/support.d.ts +233 -0
- package/lib/services/support.d.ts.map +1 -0
- package/lib/services/support.js +237 -0
- package/lib/services/support.js.map +1 -0
- package/lib/services/telephony.d.ts +10825 -0
- package/lib/services/telephony.d.ts.map +1 -0
- package/lib/services/telephony.js +14877 -0
- package/lib/services/telephony.js.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.js +841 -0
- package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
- package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
- package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectororganization.js +841 -0
- package/lib/services/vmwareclouddirectororganization.js.map +1 -0
- package/lib/services/vps.d.ts +1579 -0
- package/lib/services/vps.d.ts.map +1 -0
- package/lib/services/vps.js +1914 -0
- package/lib/services/vps.js.map +1 -0
- package/lib/services/vrack.d.ts +1204 -0
- package/lib/services/vrack.d.ts.map +1 -0
- package/lib/services/vrack.js +1627 -0
- package/lib/services/vrack.js.map +1 -0
- package/lib/services/vrackservices.d.ts +394 -0
- package/lib/services/vrackservices.d.ts.map +1 -0
- package/lib/services/vrackservices.js +355 -0
- package/lib/services/vrackservices.js.map +1 -0
- package/lib/services/webhosting.d.ts +3986 -0
- package/lib/services/webhosting.d.ts.map +1 -0
- package/lib/services/webhosting.js +4522 -0
- package/lib/services/webhosting.js.map +1 -0
- package/lib/services/xdsl.d.ts +3433 -0
- package/lib/services/xdsl.d.ts.map +1 -0
- package/lib/services/xdsl.js +3681 -0
- package/lib/services/xdsl.js.map +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -6
- package/src/credentials.ts +77 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +21 -0
- package/src/pagination.ts +7 -0
- package/src/protocol.ts +86 -0
- package/src/retry.ts +54 -0
- package/src/services/baremetal.ts +10949 -0
- package/src/services/cloud.ts +75466 -0
- package/src/services/cloud_v2.ts +14725 -0
- package/src/services/dedicatedceph.ts +2231 -0
- package/src/services/dedicatednasha.ts +2268 -0
- package/src/services/domain.ts +7996 -0
- package/src/services/emaildomain.ts +5751 -0
- package/src/services/emailmxplan.ts +2764 -0
- package/src/services/emailpro.ts +3519 -0
- package/src/services/hostingprivatedatabase.ts +4214 -0
- package/src/services/iam.ts +2060 -0
- package/src/services/index.ts +31 -0
- package/src/services/ip.ts +4461 -0
- package/src/services/iploadbalancing.ts +8421 -0
- package/src/services/ldp.ts +7269 -0
- package/src/services/me.ts +21716 -0
- package/src/services/overthebox.ts +2693 -0
- package/src/services/ovhcloudconnect.ts +3224 -0
- package/src/services/packxdsl.ts +4619 -0
- package/src/services/sms.ts +7255 -0
- package/src/services/sslgateway.ts +1408 -0
- package/src/services/storagenetapp.ts +2431 -0
- package/src/services/support.ts +598 -0
- package/src/services/telephony.ts +32926 -0
- package/src/services/vmwareclouddirectorbackup.ts +2170 -0
- package/src/services/vmwareclouddirectororganization.ts +2170 -0
- package/src/services/vps.ts +5134 -0
- package/src/services/vrack.ts +3730 -0
- package/src/services/vrackservices.ts +939 -0
- package/src/services/webhosting.ts +11285 -0
- package/src/services/xdsl.ts +9277 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,1914 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-ovh). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as Redacted from "effect/Redacted";
|
|
4
|
+
import * as API from "@distilled.cloud/core/api";
|
|
5
|
+
import * as T from "../traits.js";
|
|
6
|
+
import { OvhProtocol, } from "../protocol.js";
|
|
7
|
+
import { UnknownOvhError } from "../errors.js";
|
|
8
|
+
import * as Retry from "../retry.js";
|
|
9
|
+
export const AbortVpsSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
10
|
+
serviceName: S.String.pipe(T.Label()),
|
|
11
|
+
}).pipe(T.Http({
|
|
12
|
+
method: "POST",
|
|
13
|
+
uri: "/vps/{serviceName}/abortSnapshot",
|
|
14
|
+
code: 200,
|
|
15
|
+
}))).annotate({
|
|
16
|
+
identifier: "AbortVpsSnapshotRequest",
|
|
17
|
+
});
|
|
18
|
+
export const AbortVpsSnapshotResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
19
|
+
identifier: "AbortVpsSnapshotResponse",
|
|
20
|
+
});
|
|
21
|
+
export const ServiceTerminationFutureUseEnum = S.String;
|
|
22
|
+
export const ServiceTerminationReasonEnum = S.String;
|
|
23
|
+
export const ConfirmVpsTerminationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
24
|
+
serviceName: S.String.pipe(T.Label()),
|
|
25
|
+
commentary: S.optional(S.String),
|
|
26
|
+
futureUse: S.optional(ServiceTerminationFutureUseEnum),
|
|
27
|
+
reason: S.optional(ServiceTerminationReasonEnum),
|
|
28
|
+
token: S.String,
|
|
29
|
+
}).pipe(T.Http({
|
|
30
|
+
method: "POST",
|
|
31
|
+
uri: "/vps/{serviceName}/confirmTermination",
|
|
32
|
+
code: 200,
|
|
33
|
+
}))).annotate({
|
|
34
|
+
identifier: "ConfirmVpsTerminationRequest",
|
|
35
|
+
});
|
|
36
|
+
export const ConfirmVpsTerminationResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
37
|
+
identifier: "ConfirmVpsTerminationResponse",
|
|
38
|
+
});
|
|
39
|
+
export const CreateVpsAutomatedBackupRescheduleRequest =
|
|
40
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
41
|
+
serviceName: S.String.pipe(T.Label()),
|
|
42
|
+
schedule: S.String,
|
|
43
|
+
}).pipe(T.Http({
|
|
44
|
+
method: "POST",
|
|
45
|
+
uri: "/vps/{serviceName}/automatedBackup/reschedule",
|
|
46
|
+
code: 200,
|
|
47
|
+
}))).annotate({
|
|
48
|
+
identifier: "CreateVpsAutomatedBackupRescheduleRequest",
|
|
49
|
+
});
|
|
50
|
+
export const VpsTaskStateEnum = S.String;
|
|
51
|
+
export const VpsTaskTypeEnum = S.String;
|
|
52
|
+
export const VpsTask = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
53
|
+
date: S.optional(S.String),
|
|
54
|
+
id: S.optional(S.Number),
|
|
55
|
+
progress: S.optional(S.Number),
|
|
56
|
+
state: S.optional(VpsTaskStateEnum),
|
|
57
|
+
type: S.optional(VpsTaskTypeEnum),
|
|
58
|
+
})).annotate({ identifier: "VpsTask" });
|
|
59
|
+
export const CreateVpsBackupftpAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
60
|
+
serviceName: S.String.pipe(T.Label()),
|
|
61
|
+
cifs: S.Boolean,
|
|
62
|
+
ftp: S.optional(S.Boolean),
|
|
63
|
+
ipBlock: S.String,
|
|
64
|
+
nfs: S.Boolean,
|
|
65
|
+
}).pipe(T.Http({
|
|
66
|
+
method: "POST",
|
|
67
|
+
uri: "/vps/{serviceName}/backupftp/access",
|
|
68
|
+
code: 200,
|
|
69
|
+
}))).annotate({
|
|
70
|
+
identifier: "CreateVpsBackupftpAccessRequest",
|
|
71
|
+
});
|
|
72
|
+
export const DedicatedTaskFunctionEnum = S.String;
|
|
73
|
+
export const DedicatedTaskStatusEnum = S.String;
|
|
74
|
+
export const ComplexTypeSafeKeyValueCanBeNullString = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
75
|
+
key: S.optional(S.NullOr(S.String)),
|
|
76
|
+
value: S.optional(S.String),
|
|
77
|
+
})).annotate({
|
|
78
|
+
identifier: "ComplexTypeSafeKeyValueCanBeNullString",
|
|
79
|
+
});
|
|
80
|
+
export const DedicatedServerTaskTagsList = /*@__PURE__*/ S.Array(ComplexTypeSafeKeyValueCanBeNullString);
|
|
81
|
+
export const DedicatedServerTask = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
82
|
+
comment: S.optional(S.NullOr(S.String)),
|
|
83
|
+
doneDate: S.optional(S.NullOr(S.String)),
|
|
84
|
+
function: S.optional(DedicatedTaskFunctionEnum),
|
|
85
|
+
lastUpdate: S.optional(S.NullOr(S.String)),
|
|
86
|
+
needSchedule: S.optional(S.Boolean),
|
|
87
|
+
note: S.optional(S.NullOr(S.String)),
|
|
88
|
+
plannedInterventionId: S.optional(S.NullOr(S.Number)),
|
|
89
|
+
startDate: S.optional(S.String),
|
|
90
|
+
status: S.optional(DedicatedTaskStatusEnum),
|
|
91
|
+
tags: S.optional(S.NullOr(DedicatedServerTaskTagsList)),
|
|
92
|
+
taskId: S.optional(S.Number),
|
|
93
|
+
ticketReference: S.optional(S.NullOr(S.String)),
|
|
94
|
+
})).annotate({
|
|
95
|
+
identifier: "DedicatedServerTask",
|
|
96
|
+
});
|
|
97
|
+
export const CreateVpsBackupftpPasswordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
98
|
+
serviceName: S.String.pipe(T.Label()),
|
|
99
|
+
}).pipe(T.Http({
|
|
100
|
+
method: "POST",
|
|
101
|
+
uri: "/vps/{serviceName}/backupftp/password",
|
|
102
|
+
code: 200,
|
|
103
|
+
}))).annotate({
|
|
104
|
+
identifier: "CreateVpsBackupftpPasswordRequest",
|
|
105
|
+
});
|
|
106
|
+
export const CreateVpsChangeContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
107
|
+
serviceName: S.String.pipe(T.Label()),
|
|
108
|
+
contactAdmin: S.optional(S.String),
|
|
109
|
+
contactBilling: S.optional(S.String),
|
|
110
|
+
contactTech: S.optional(S.String),
|
|
111
|
+
}).pipe(T.Http({
|
|
112
|
+
method: "POST",
|
|
113
|
+
uri: "/vps/{serviceName}/changeContact",
|
|
114
|
+
code: 200,
|
|
115
|
+
}))).annotate({
|
|
116
|
+
identifier: "CreateVpsChangeContactRequest",
|
|
117
|
+
});
|
|
118
|
+
export const CreateVpsChangeContactResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
119
|
+
export const CreateVpsChangeContactResponse = /*@__PURE__*/ S.suspend(() => CreateVpsChangeContactResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
120
|
+
identifier: "CreateVpsChangeContactResponse",
|
|
121
|
+
});
|
|
122
|
+
export const CreateVpsMigration2018Request = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
123
|
+
serviceName: S.String.pipe(T.Label()),
|
|
124
|
+
newPlan: S.String,
|
|
125
|
+
}).pipe(T.Http({
|
|
126
|
+
method: "POST",
|
|
127
|
+
uri: "/vps/{serviceName}/migration2018",
|
|
128
|
+
code: 200,
|
|
129
|
+
}))).annotate({
|
|
130
|
+
identifier: "CreateVpsMigration2018Request",
|
|
131
|
+
});
|
|
132
|
+
export const VpsVncProtocolEnum = S.String;
|
|
133
|
+
export const CreateVpsOpenConsoleAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
134
|
+
serviceName: S.String.pipe(T.Label()),
|
|
135
|
+
protocol: S.optional(VpsVncProtocolEnum),
|
|
136
|
+
}).pipe(T.Http({
|
|
137
|
+
method: "POST",
|
|
138
|
+
uri: "/vps/{serviceName}/openConsoleAccess",
|
|
139
|
+
code: 200,
|
|
140
|
+
}))).annotate({
|
|
141
|
+
identifier: "CreateVpsOpenConsoleAccessRequest",
|
|
142
|
+
});
|
|
143
|
+
export const VpsVnc = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
144
|
+
host: S.optional(S.String),
|
|
145
|
+
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
146
|
+
port: S.optional(S.Number),
|
|
147
|
+
})).annotate({ identifier: "VpsVnc" });
|
|
148
|
+
export const CreateVpsReinstallRequestSoftwareIdList = /*@__PURE__*/ S.Array(S.Number);
|
|
149
|
+
export const CreateVpsReinstallRequestSshKeyList = /*@__PURE__*/ S.Array(S.String);
|
|
150
|
+
export const CreateVpsReinstallRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
151
|
+
serviceName: S.String.pipe(T.Label()),
|
|
152
|
+
doNotSendPassword: S.optional(S.Boolean),
|
|
153
|
+
language: S.optional(S.String),
|
|
154
|
+
publicSshKey: S.optional(S.String),
|
|
155
|
+
softwareId: S.optional(CreateVpsReinstallRequestSoftwareIdList),
|
|
156
|
+
sshKey: S.optional(CreateVpsReinstallRequestSshKeyList),
|
|
157
|
+
templateId: S.Number,
|
|
158
|
+
}).pipe(T.Http({ method: "POST", uri: "/vps/{serviceName}/reinstall", code: 200 }))).annotate({
|
|
159
|
+
identifier: "CreateVpsReinstallRequest",
|
|
160
|
+
});
|
|
161
|
+
export const CreateVpsSecondaryDnsDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
162
|
+
serviceName: S.String.pipe(T.Label()),
|
|
163
|
+
domain: S.String,
|
|
164
|
+
ip: S.optional(S.String),
|
|
165
|
+
}).pipe(T.Http({
|
|
166
|
+
method: "POST",
|
|
167
|
+
uri: "/vps/{serviceName}/secondaryDnsDomains",
|
|
168
|
+
code: 200,
|
|
169
|
+
}))).annotate({
|
|
170
|
+
identifier: "CreateVpsSecondaryDnsDomainRequest",
|
|
171
|
+
});
|
|
172
|
+
export const CreateVpsSecondaryDnsDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
173
|
+
identifier: "CreateVpsSecondaryDnsDomainResponse",
|
|
174
|
+
});
|
|
175
|
+
export const CreateVpsSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
176
|
+
serviceName: S.String.pipe(T.Label()),
|
|
177
|
+
description: S.optional(S.String),
|
|
178
|
+
}).pipe(T.Http({
|
|
179
|
+
method: "POST",
|
|
180
|
+
uri: "/vps/{serviceName}/createSnapshot",
|
|
181
|
+
code: 200,
|
|
182
|
+
}))).annotate({
|
|
183
|
+
identifier: "CreateVpsSnapshotRequest",
|
|
184
|
+
});
|
|
185
|
+
export const CreateVpsSnapshotRevertRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
186
|
+
serviceName: S.String.pipe(T.Label()),
|
|
187
|
+
}).pipe(T.Http({
|
|
188
|
+
method: "POST",
|
|
189
|
+
uri: "/vps/{serviceName}/snapshot/revert",
|
|
190
|
+
code: 200,
|
|
191
|
+
}))).annotate({
|
|
192
|
+
identifier: "CreateVpsSnapshotRevertRequest",
|
|
193
|
+
});
|
|
194
|
+
export const DeleteVpsBackupftpAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
195
|
+
serviceName: S.String.pipe(T.Label()),
|
|
196
|
+
ipBlock: S.String.pipe(T.Label()),
|
|
197
|
+
}).pipe(T.Http({
|
|
198
|
+
method: "DELETE",
|
|
199
|
+
uri: "/vps/{serviceName}/backupftp/access/{ipBlock}",
|
|
200
|
+
code: 200,
|
|
201
|
+
}))).annotate({
|
|
202
|
+
identifier: "DeleteVpsBackupftpAccessRequest",
|
|
203
|
+
});
|
|
204
|
+
export const DeleteVpsIpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
205
|
+
serviceName: S.String.pipe(T.Label()),
|
|
206
|
+
ipAddress: S.String.pipe(T.Label()),
|
|
207
|
+
}).pipe(T.Http({
|
|
208
|
+
method: "DELETE",
|
|
209
|
+
uri: "/vps/{serviceName}/ips/{ipAddress}",
|
|
210
|
+
code: 200,
|
|
211
|
+
}))).annotate({
|
|
212
|
+
identifier: "DeleteVpsIpsRequest",
|
|
213
|
+
});
|
|
214
|
+
export const DeleteVpsIpsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
215
|
+
identifier: "DeleteVpsIpsResponse",
|
|
216
|
+
});
|
|
217
|
+
export const DeleteVpsSecondaryDnsDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
218
|
+
serviceName: S.String.pipe(T.Label()),
|
|
219
|
+
domain: S.String.pipe(T.Label()),
|
|
220
|
+
}).pipe(T.Http({
|
|
221
|
+
method: "DELETE",
|
|
222
|
+
uri: "/vps/{serviceName}/secondaryDnsDomains/{domain}",
|
|
223
|
+
code: 200,
|
|
224
|
+
}))).annotate({
|
|
225
|
+
identifier: "DeleteVpsSecondaryDnsDomainRequest",
|
|
226
|
+
});
|
|
227
|
+
export const DeleteVpsSecondaryDnsDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
228
|
+
identifier: "DeleteVpsSecondaryDnsDomainResponse",
|
|
229
|
+
});
|
|
230
|
+
export const DeleteVpsSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
231
|
+
serviceName: S.String.pipe(T.Label()),
|
|
232
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/vps/{serviceName}/snapshot", code: 200 }))).annotate({
|
|
233
|
+
identifier: "DeleteVpsSnapshotRequest",
|
|
234
|
+
});
|
|
235
|
+
export const DeleteVpsVeeamRestoredBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
236
|
+
serviceName: S.String.pipe(T.Label()),
|
|
237
|
+
}).pipe(T.Http({
|
|
238
|
+
method: "DELETE",
|
|
239
|
+
uri: "/vps/{serviceName}/veeam/restoredBackup",
|
|
240
|
+
code: 200,
|
|
241
|
+
}))).annotate({
|
|
242
|
+
identifier: "DeleteVpsVeeamRestoredBackupRequest",
|
|
243
|
+
});
|
|
244
|
+
export const DetachVpsAutomatedBackupBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
245
|
+
serviceName: S.String.pipe(T.Label()),
|
|
246
|
+
restorePoint: S.String,
|
|
247
|
+
}).pipe(T.Http({
|
|
248
|
+
method: "POST",
|
|
249
|
+
uri: "/vps/{serviceName}/automatedBackup/detachBackup",
|
|
250
|
+
code: 200,
|
|
251
|
+
}))).annotate({
|
|
252
|
+
identifier: "DetachVpsAutomatedBackupBackupRequest",
|
|
253
|
+
});
|
|
254
|
+
export const GetVpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
255
|
+
serviceName: S.String.pipe(T.Label()),
|
|
256
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}", code: 200 }))).annotate({ identifier: "GetVpsRequest" });
|
|
257
|
+
export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
258
|
+
export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
259
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
260
|
+
id: S.optional(S.String),
|
|
261
|
+
tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
|
|
262
|
+
urn: S.optional(S.String),
|
|
263
|
+
})).annotate({
|
|
264
|
+
identifier: "IamResourceMetadata",
|
|
265
|
+
});
|
|
266
|
+
export const VpsVpsKeymapEnum = S.String;
|
|
267
|
+
export const VpsVpsOptionEnum = S.String;
|
|
268
|
+
export const VpsModelAvailableOptionsList = /*@__PURE__*/ S.Array(VpsVpsOptionEnum);
|
|
269
|
+
export const VpsModelDatacenterList = /*@__PURE__*/ S.Array(S.String);
|
|
270
|
+
export const VpsVpsVersionEnum = S.String;
|
|
271
|
+
export const VpsModel = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
272
|
+
availableOptions: S.optional(VpsModelAvailableOptionsList),
|
|
273
|
+
datacenter: S.optional(VpsModelDatacenterList),
|
|
274
|
+
disk: S.optional(S.Number),
|
|
275
|
+
maximumAdditionnalIp: S.optional(S.Number),
|
|
276
|
+
memory: S.optional(S.Number),
|
|
277
|
+
name: S.optional(S.String),
|
|
278
|
+
offer: S.optional(S.String),
|
|
279
|
+
vcore: S.optional(S.Number),
|
|
280
|
+
version: S.optional(VpsVpsVersionEnum),
|
|
281
|
+
})).annotate({ identifier: "VpsModel" });
|
|
282
|
+
export const VpsVPSWithIAMMonitoringIpBlocksList = /*@__PURE__*/ S.Array(S.String);
|
|
283
|
+
export const VpsVpsNetbootEnum = S.String;
|
|
284
|
+
export const VpsVpsOfferEnum = S.String;
|
|
285
|
+
export const VpsVpsStateEnum = S.String;
|
|
286
|
+
export const VpsZoneTypeEnum = S.String;
|
|
287
|
+
export const VpsVPSWithIAM = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
288
|
+
cluster: S.optional(S.String),
|
|
289
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
290
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
291
|
+
keymap: S.optional(S.NullOr(VpsVpsKeymapEnum)),
|
|
292
|
+
memoryLimit: S.optional(S.Number),
|
|
293
|
+
model: S.optional(VpsModel),
|
|
294
|
+
monitoringIpBlocks: S.optional(VpsVPSWithIAMMonitoringIpBlocksList),
|
|
295
|
+
name: S.optional(S.String),
|
|
296
|
+
netbootMode: S.optional(VpsVpsNetbootEnum),
|
|
297
|
+
offerType: S.optional(VpsVpsOfferEnum),
|
|
298
|
+
slaMonitoring: S.optional(S.NullOr(S.Boolean)),
|
|
299
|
+
state: S.optional(VpsVpsStateEnum),
|
|
300
|
+
vcore: S.optional(S.Number),
|
|
301
|
+
zone: S.optional(S.String),
|
|
302
|
+
zoneType: S.optional(VpsZoneTypeEnum),
|
|
303
|
+
})).annotate({ identifier: "VpsVPSWithIAM" });
|
|
304
|
+
export const GetVpsAutomatedBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
305
|
+
serviceName: S.String.pipe(T.Label()),
|
|
306
|
+
}).pipe(T.Http({
|
|
307
|
+
method: "GET",
|
|
308
|
+
uri: "/vps/{serviceName}/automatedBackup",
|
|
309
|
+
code: 200,
|
|
310
|
+
}))).annotate({
|
|
311
|
+
identifier: "GetVpsAutomatedBackupRequest",
|
|
312
|
+
});
|
|
313
|
+
export const VpsBackupStateEnum = S.String;
|
|
314
|
+
export const VpsAutomatedBackup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
315
|
+
schedule: S.optional(S.NullOr(S.String)),
|
|
316
|
+
state: S.optional(VpsBackupStateEnum),
|
|
317
|
+
})).annotate({
|
|
318
|
+
identifier: "VpsAutomatedBackup",
|
|
319
|
+
});
|
|
320
|
+
export const GetVpsBackupftpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
321
|
+
serviceName: S.String.pipe(T.Label()),
|
|
322
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/backupftp", code: 200 }))).annotate({
|
|
323
|
+
identifier: "GetVpsBackupftpRequest",
|
|
324
|
+
});
|
|
325
|
+
export const ComplexTypeUnitAndValueLong = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
326
|
+
unit: S.optional(S.String),
|
|
327
|
+
value: S.optional(S.Number),
|
|
328
|
+
})).annotate({
|
|
329
|
+
identifier: "ComplexTypeUnitAndValueLong",
|
|
330
|
+
});
|
|
331
|
+
export const VpsBackupFtp = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
332
|
+
ftpBackupName: S.optional(S.String),
|
|
333
|
+
quota: S.optional(S.NullOr(ComplexTypeUnitAndValueLong)),
|
|
334
|
+
readOnlyDate: S.optional(S.NullOr(S.String)),
|
|
335
|
+
type: S.optional(S.String),
|
|
336
|
+
usage: S.optional(S.NullOr(ComplexTypeUnitAndValueLong)),
|
|
337
|
+
})).annotate({ identifier: "VpsBackupFtp" });
|
|
338
|
+
export const GetVpsBackupftpAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
339
|
+
serviceName: S.String.pipe(T.Label()),
|
|
340
|
+
ipBlock: S.String.pipe(T.Label()),
|
|
341
|
+
}).pipe(T.Http({
|
|
342
|
+
method: "GET",
|
|
343
|
+
uri: "/vps/{serviceName}/backupftp/access/{ipBlock}",
|
|
344
|
+
code: 200,
|
|
345
|
+
}))).annotate({
|
|
346
|
+
identifier: "GetVpsBackupftpAccessRequest",
|
|
347
|
+
});
|
|
348
|
+
export const DedicatedServerBackupFtpAcl = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
349
|
+
cifs: S.optional(S.Boolean),
|
|
350
|
+
ftp: S.optional(S.Boolean),
|
|
351
|
+
ipBlock: S.optional(S.String),
|
|
352
|
+
isApplied: S.optional(S.Boolean),
|
|
353
|
+
lastUpdate: S.optional(S.String),
|
|
354
|
+
nfs: S.optional(S.Boolean),
|
|
355
|
+
})).annotate({
|
|
356
|
+
identifier: "DedicatedServerBackupFtpAcl",
|
|
357
|
+
});
|
|
358
|
+
export const GetVpsConsoleUrlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
359
|
+
serviceName: S.String.pipe(T.Label()),
|
|
360
|
+
}).pipe(T.Http({
|
|
361
|
+
method: "POST",
|
|
362
|
+
uri: "/vps/{serviceName}/getConsoleUrl",
|
|
363
|
+
code: 200,
|
|
364
|
+
}))).annotate({
|
|
365
|
+
identifier: "GetVpsConsoleUrlRequest",
|
|
366
|
+
});
|
|
367
|
+
export const GetVpsConsoleUrlResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
368
|
+
identifier: "GetVpsConsoleUrlResponse",
|
|
369
|
+
});
|
|
370
|
+
export const GetVpsDatacenterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
371
|
+
serviceName: S.String.pipe(T.Label()),
|
|
372
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/datacenter", code: 200 }))).annotate({
|
|
373
|
+
identifier: "GetVpsDatacenterRequest",
|
|
374
|
+
});
|
|
375
|
+
export const CoreTypesCountryEnum = S.String;
|
|
376
|
+
export const VpsDatacenter = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
377
|
+
country: S.optional(CoreTypesCountryEnum),
|
|
378
|
+
longName: S.optional(S.String),
|
|
379
|
+
name: S.optional(S.String),
|
|
380
|
+
})).annotate({ identifier: "VpsDatacenter" });
|
|
381
|
+
export const GetVpsDiskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
382
|
+
serviceName: S.String.pipe(T.Label()),
|
|
383
|
+
id: S.Number.pipe(T.Label()),
|
|
384
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/disks/{id}", code: 200 }))).annotate({
|
|
385
|
+
identifier: "GetVpsDiskRequest",
|
|
386
|
+
});
|
|
387
|
+
export const VpsDiskStateEnum = S.String;
|
|
388
|
+
export const VpsDiskTypeEnum = S.String;
|
|
389
|
+
export const VpsDisk = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
390
|
+
bandwidthLimit: S.optional(S.Number),
|
|
391
|
+
id: S.optional(S.Number),
|
|
392
|
+
lowFreeSpaceThreshold: S.optional(S.NullOr(S.Number)),
|
|
393
|
+
monitoring: S.optional(S.NullOr(S.Boolean)),
|
|
394
|
+
serviceName: S.optional(S.NullOr(S.String)),
|
|
395
|
+
size: S.optional(S.Number),
|
|
396
|
+
state: S.optional(VpsDiskStateEnum),
|
|
397
|
+
type: S.optional(VpsDiskTypeEnum),
|
|
398
|
+
})).annotate({ identifier: "VpsDisk" });
|
|
399
|
+
export const VpsDiskStatisticTypeEnum = S.String;
|
|
400
|
+
export const GetVpsDiskUseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
401
|
+
serviceName: S.String.pipe(T.Label()),
|
|
402
|
+
id: S.Number.pipe(T.Label()),
|
|
403
|
+
type: VpsDiskStatisticTypeEnum.pipe(T.Query()),
|
|
404
|
+
}).pipe(T.Http({
|
|
405
|
+
method: "GET",
|
|
406
|
+
uri: "/vps/{serviceName}/disks/{id}/use",
|
|
407
|
+
code: 200,
|
|
408
|
+
}))).annotate({
|
|
409
|
+
identifier: "GetVpsDiskUseRequest",
|
|
410
|
+
});
|
|
411
|
+
export const ComplexTypeUnitAndValueDouble = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
412
|
+
unit: S.optional(S.String),
|
|
413
|
+
value: S.optional(S.Number),
|
|
414
|
+
})).annotate({
|
|
415
|
+
identifier: "ComplexTypeUnitAndValueDouble",
|
|
416
|
+
});
|
|
417
|
+
export const GetVpsDistributionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
418
|
+
serviceName: S.String.pipe(T.Label()),
|
|
419
|
+
}).pipe(T.Http({
|
|
420
|
+
method: "GET",
|
|
421
|
+
uri: "/vps/{serviceName}/distribution",
|
|
422
|
+
code: 200,
|
|
423
|
+
}))).annotate({
|
|
424
|
+
identifier: "GetVpsDistributionRequest",
|
|
425
|
+
});
|
|
426
|
+
export const VpsTemplateAvailableLanguageList = /*@__PURE__*/ S.Array(S.String);
|
|
427
|
+
export const VpsTemplateBitFormatEnum = S.Number;
|
|
428
|
+
export const VpsTemplate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
429
|
+
availableLanguage: S.optional(VpsTemplateAvailableLanguageList),
|
|
430
|
+
bitFormat: S.optional(VpsTemplateBitFormatEnum),
|
|
431
|
+
distribution: S.optional(S.String),
|
|
432
|
+
id: S.optional(S.Number),
|
|
433
|
+
locale: S.optional(S.String),
|
|
434
|
+
name: S.optional(S.String),
|
|
435
|
+
})).annotate({ identifier: "VpsTemplate" });
|
|
436
|
+
export const GetVpsDistributionSoftwareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
437
|
+
serviceName: S.String.pipe(T.Label()),
|
|
438
|
+
softwareId: S.Number.pipe(T.Label()),
|
|
439
|
+
}).pipe(T.Http({
|
|
440
|
+
method: "GET",
|
|
441
|
+
uri: "/vps/{serviceName}/distribution/software/{softwareId}",
|
|
442
|
+
code: 200,
|
|
443
|
+
}))).annotate({
|
|
444
|
+
identifier: "GetVpsDistributionSoftwareRequest",
|
|
445
|
+
});
|
|
446
|
+
export const VpsSoftwareStatusEnum = S.String;
|
|
447
|
+
export const VpsSoftwareTypeEnum = S.String;
|
|
448
|
+
export const VpsSoftware = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
449
|
+
id: S.optional(S.Number),
|
|
450
|
+
name: S.optional(S.String),
|
|
451
|
+
status: S.optional(VpsSoftwareStatusEnum),
|
|
452
|
+
type: S.optional(VpsSoftwareTypeEnum),
|
|
453
|
+
})).annotate({ identifier: "VpsSoftware" });
|
|
454
|
+
export const GetVpsImageAvailableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
455
|
+
serviceName: S.String.pipe(T.Label()),
|
|
456
|
+
id: S.String.pipe(T.Label()),
|
|
457
|
+
}).pipe(T.Http({
|
|
458
|
+
method: "GET",
|
|
459
|
+
uri: "/vps/{serviceName}/images/available/{id}",
|
|
460
|
+
code: 200,
|
|
461
|
+
}))).annotate({
|
|
462
|
+
identifier: "GetVpsImageAvailableRequest",
|
|
463
|
+
});
|
|
464
|
+
export const VpsImage = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
465
|
+
id: S.optional(S.String),
|
|
466
|
+
name: S.optional(S.String),
|
|
467
|
+
})).annotate({ identifier: "VpsImage" });
|
|
468
|
+
export const GetVpsImageCurrentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
469
|
+
serviceName: S.String.pipe(T.Label()),
|
|
470
|
+
}).pipe(T.Http({
|
|
471
|
+
method: "GET",
|
|
472
|
+
uri: "/vps/{serviceName}/images/current",
|
|
473
|
+
code: 200,
|
|
474
|
+
}))).annotate({
|
|
475
|
+
identifier: "GetVpsImageCurrentRequest",
|
|
476
|
+
});
|
|
477
|
+
export const GetVpsIpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
478
|
+
serviceName: S.String.pipe(T.Label()),
|
|
479
|
+
ipAddress: S.String.pipe(T.Label()),
|
|
480
|
+
}).pipe(T.Http({
|
|
481
|
+
method: "GET",
|
|
482
|
+
uri: "/vps/{serviceName}/ips/{ipAddress}",
|
|
483
|
+
code: 200,
|
|
484
|
+
}))).annotate({
|
|
485
|
+
identifier: "GetVpsIpsRequest",
|
|
486
|
+
});
|
|
487
|
+
export const VpsIpGeolocationEnum = S.String;
|
|
488
|
+
export const VpsIpTypeEnum = S.String;
|
|
489
|
+
export const CoreTypesIpVersionEnum = S.String;
|
|
490
|
+
export const VpsIp = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
491
|
+
gateway: S.optional(S.NullOr(S.String)),
|
|
492
|
+
geolocation: S.optional(VpsIpGeolocationEnum),
|
|
493
|
+
ipAddress: S.optional(S.String),
|
|
494
|
+
macAddress: S.optional(S.NullOr(S.String)),
|
|
495
|
+
reverse: S.optional(S.NullOr(S.String)),
|
|
496
|
+
type: S.optional(VpsIpTypeEnum),
|
|
497
|
+
version: S.optional(CoreTypesIpVersionEnum),
|
|
498
|
+
})).annotate({ identifier: "VpsIp" });
|
|
499
|
+
export const GetVpsOptionRequestOption = S.String;
|
|
500
|
+
export const GetVpsOptionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
501
|
+
serviceName: S.String.pipe(T.Label()),
|
|
502
|
+
option: GetVpsOptionRequestOption.pipe(T.Label()),
|
|
503
|
+
}).pipe(T.Http({
|
|
504
|
+
method: "GET",
|
|
505
|
+
uri: "/vps/{serviceName}/option/{option}",
|
|
506
|
+
code: 200,
|
|
507
|
+
}))).annotate({
|
|
508
|
+
identifier: "GetVpsOptionRequest",
|
|
509
|
+
});
|
|
510
|
+
export const VpsVpsOptionStateEnum = S.String;
|
|
511
|
+
export const VpsOption = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
512
|
+
option: S.optional(VpsVpsOptionEnum),
|
|
513
|
+
state: S.optional(VpsVpsOptionStateEnum),
|
|
514
|
+
})).annotate({ identifier: "VpsOption" });
|
|
515
|
+
export const GetVpsSecondaryDnsDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
516
|
+
serviceName: S.String.pipe(T.Label()),
|
|
517
|
+
domain: S.String.pipe(T.Label()),
|
|
518
|
+
}).pipe(T.Http({
|
|
519
|
+
method: "GET",
|
|
520
|
+
uri: "/vps/{serviceName}/secondaryDnsDomains/{domain}",
|
|
521
|
+
code: 200,
|
|
522
|
+
}))).annotate({
|
|
523
|
+
identifier: "GetVpsSecondaryDnsDomainRequest",
|
|
524
|
+
});
|
|
525
|
+
export const SecondaryDnsSecondaryDNS = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
526
|
+
creationDate: S.optional(S.String),
|
|
527
|
+
dns: S.optional(S.String),
|
|
528
|
+
domain: S.optional(S.String),
|
|
529
|
+
ipMaster: S.optional(S.String),
|
|
530
|
+
})).annotate({
|
|
531
|
+
identifier: "SecondaryDnsSecondaryDNS",
|
|
532
|
+
});
|
|
533
|
+
export const GetVpsSecondaryDnsDomainDnsServerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
534
|
+
serviceName: S.String.pipe(T.Label()),
|
|
535
|
+
domain: S.String.pipe(T.Label()),
|
|
536
|
+
}).pipe(T.Http({
|
|
537
|
+
method: "GET",
|
|
538
|
+
uri: "/vps/{serviceName}/secondaryDnsDomains/{domain}/dnsServer",
|
|
539
|
+
code: 200,
|
|
540
|
+
}))).annotate({
|
|
541
|
+
identifier: "GetVpsSecondaryDnsDomainDnsServerRequest",
|
|
542
|
+
});
|
|
543
|
+
export const SecondaryDnsSecondaryDNSNameServer = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
544
|
+
hostname: S.optional(S.String),
|
|
545
|
+
ip: S.optional(S.String),
|
|
546
|
+
ipv6: S.optional(S.NullOr(S.String)),
|
|
547
|
+
})).annotate({
|
|
548
|
+
identifier: "SecondaryDnsSecondaryDNSNameServer",
|
|
549
|
+
});
|
|
550
|
+
export const GetVpsSecondaryDnsNameServerAvailableRequest =
|
|
551
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
552
|
+
serviceName: S.String.pipe(T.Label()),
|
|
553
|
+
}).pipe(T.Http({
|
|
554
|
+
method: "GET",
|
|
555
|
+
uri: "/vps/{serviceName}/secondaryDnsNameServerAvailable",
|
|
556
|
+
code: 200,
|
|
557
|
+
}))).annotate({
|
|
558
|
+
identifier: "GetVpsSecondaryDnsNameServerAvailableRequest",
|
|
559
|
+
});
|
|
560
|
+
export const GetVpsServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
561
|
+
serviceName: S.String.pipe(T.Label()),
|
|
562
|
+
}).pipe(T.Http({
|
|
563
|
+
method: "GET",
|
|
564
|
+
uri: "/vps/{serviceName}/serviceInfos",
|
|
565
|
+
code: 200,
|
|
566
|
+
}))).annotate({
|
|
567
|
+
identifier: "GetVpsServiceInfosRequest",
|
|
568
|
+
});
|
|
569
|
+
export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(S.Number);
|
|
570
|
+
export const ServiceRenewType = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
571
|
+
automatic: S.optional(S.Boolean),
|
|
572
|
+
deleteAtExpiration: S.optional(S.Boolean),
|
|
573
|
+
forced: S.optional(S.Boolean),
|
|
574
|
+
manualPayment: S.optional(S.NullOr(S.Boolean)),
|
|
575
|
+
period: S.optional(S.NullOr(S.Number)),
|
|
576
|
+
})).annotate({
|
|
577
|
+
identifier: "ServiceRenewType",
|
|
578
|
+
});
|
|
579
|
+
export const ServiceRenewalTypeEnum = S.String;
|
|
580
|
+
export const ServiceStateEnum = S.String;
|
|
581
|
+
export const ServicesService = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
582
|
+
canDeleteAtExpiration: S.optional(S.Boolean),
|
|
583
|
+
contactAdmin: S.optional(S.String),
|
|
584
|
+
contactBilling: S.optional(S.String),
|
|
585
|
+
contactTech: S.optional(S.String),
|
|
586
|
+
creation: S.optional(S.String),
|
|
587
|
+
domain: S.optional(S.String),
|
|
588
|
+
engagedUpTo: S.optional(S.NullOr(S.String)),
|
|
589
|
+
expiration: S.optional(S.String),
|
|
590
|
+
possibleRenewPeriod: S.optional(S.NullOr(ServicesServicePossibleRenewPeriodList)),
|
|
591
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
592
|
+
renewalType: S.optional(ServiceRenewalTypeEnum),
|
|
593
|
+
serviceId: S.optional(S.Number),
|
|
594
|
+
status: S.optional(ServiceStateEnum),
|
|
595
|
+
})).annotate({
|
|
596
|
+
identifier: "ServicesService",
|
|
597
|
+
});
|
|
598
|
+
export const GetVpsSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
599
|
+
serviceName: S.String.pipe(T.Label()),
|
|
600
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/snapshot", code: 200 }))).annotate({
|
|
601
|
+
identifier: "GetVpsSnapshotRequest",
|
|
602
|
+
});
|
|
603
|
+
export const VpsSnapshot = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
604
|
+
creationDate: S.optional(S.String),
|
|
605
|
+
description: S.optional(S.String),
|
|
606
|
+
id: S.optional(S.String),
|
|
607
|
+
region: S.optional(S.NullOr(S.String)),
|
|
608
|
+
})).annotate({ identifier: "VpsSnapshot" });
|
|
609
|
+
export const GetVpsSnapshotDownloadRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
610
|
+
serviceName: S.String.pipe(T.Label()),
|
|
611
|
+
}).pipe(T.Http({
|
|
612
|
+
method: "GET",
|
|
613
|
+
uri: "/vps/{serviceName}/snapshot/download",
|
|
614
|
+
code: 200,
|
|
615
|
+
}))).annotate({
|
|
616
|
+
identifier: "GetVpsSnapshotDownloadRequest",
|
|
617
|
+
});
|
|
618
|
+
export const VpsDownloadSnapshotURL = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
619
|
+
size: S.optional(S.Number),
|
|
620
|
+
url: S.optional(S.String),
|
|
621
|
+
})).annotate({
|
|
622
|
+
identifier: "VpsDownloadSnapshotURL",
|
|
623
|
+
});
|
|
624
|
+
export const GetVpsStatusRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
625
|
+
serviceName: S.String.pipe(T.Label()),
|
|
626
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/status", code: 200 }))).annotate({
|
|
627
|
+
identifier: "GetVpsStatusRequest",
|
|
628
|
+
});
|
|
629
|
+
export const VpsIpServiceStatusStateEnum = S.String;
|
|
630
|
+
export const VpsIpServiceStatusService = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
631
|
+
port: S.optional(S.Number),
|
|
632
|
+
state: S.optional(VpsIpServiceStatusStateEnum),
|
|
633
|
+
})).annotate({
|
|
634
|
+
identifier: "VpsIpServiceStatusService",
|
|
635
|
+
});
|
|
636
|
+
export const VpsIpServiceStatus = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
637
|
+
dns: S.optional(VpsIpServiceStatusService),
|
|
638
|
+
http: S.optional(VpsIpServiceStatusService),
|
|
639
|
+
https: S.optional(VpsIpServiceStatusService),
|
|
640
|
+
ping: S.optional(VpsIpServiceStatusStateEnum),
|
|
641
|
+
smtp: S.optional(VpsIpServiceStatusService),
|
|
642
|
+
ssh: S.optional(VpsIpServiceStatusService),
|
|
643
|
+
tools: S.optional(S.NullOr(VpsIpServiceStatusStateEnum)),
|
|
644
|
+
})).annotate({
|
|
645
|
+
identifier: "VpsIpServiceStatus",
|
|
646
|
+
});
|
|
647
|
+
export const GetVpsTaskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
648
|
+
serviceName: S.String.pipe(T.Label()),
|
|
649
|
+
id: S.Number.pipe(T.Label()),
|
|
650
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/tasks/{id}", code: 200 }))).annotate({
|
|
651
|
+
identifier: "GetVpsTaskRequest",
|
|
652
|
+
});
|
|
653
|
+
export const GetVpsTemplateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
654
|
+
serviceName: S.String.pipe(T.Label()),
|
|
655
|
+
id: S.Number.pipe(T.Label()),
|
|
656
|
+
}).pipe(T.Http({
|
|
657
|
+
method: "GET",
|
|
658
|
+
uri: "/vps/{serviceName}/templates/{id}",
|
|
659
|
+
code: 200,
|
|
660
|
+
}))).annotate({
|
|
661
|
+
identifier: "GetVpsTemplateRequest",
|
|
662
|
+
});
|
|
663
|
+
export const GetVpsTemplateSoftwareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
664
|
+
serviceName: S.String.pipe(T.Label()),
|
|
665
|
+
id: S.Number.pipe(T.Label()),
|
|
666
|
+
softwareId: S.Number.pipe(T.Label()),
|
|
667
|
+
}).pipe(T.Http({
|
|
668
|
+
method: "GET",
|
|
669
|
+
uri: "/vps/{serviceName}/templates/{id}/software/{softwareId}",
|
|
670
|
+
code: 200,
|
|
671
|
+
}))).annotate({
|
|
672
|
+
identifier: "GetVpsTemplateSoftwareRequest",
|
|
673
|
+
});
|
|
674
|
+
export const GetVpsVeeamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
675
|
+
serviceName: S.String.pipe(T.Label()),
|
|
676
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/veeam", code: 200 }))).annotate({
|
|
677
|
+
identifier: "GetVpsVeeamRequest",
|
|
678
|
+
});
|
|
679
|
+
export const VpsVeeam = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
680
|
+
backup: S.optional(S.Boolean),
|
|
681
|
+
})).annotate({ identifier: "VpsVeeam" });
|
|
682
|
+
export const GetVpsVeeamRestoredBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
683
|
+
serviceName: S.String.pipe(T.Label()),
|
|
684
|
+
}).pipe(T.Http({
|
|
685
|
+
method: "GET",
|
|
686
|
+
uri: "/vps/{serviceName}/veeam/restoredBackup",
|
|
687
|
+
code: 200,
|
|
688
|
+
}))).annotate({
|
|
689
|
+
identifier: "GetVpsVeeamRestoredBackupRequest",
|
|
690
|
+
});
|
|
691
|
+
export const VpsVeeamInfos = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
692
|
+
nfs: S.optional(S.String),
|
|
693
|
+
smb: S.optional(S.String),
|
|
694
|
+
})).annotate({ identifier: "VpsVeeamInfos" });
|
|
695
|
+
export const VpsVeeamStateEnum = S.String;
|
|
696
|
+
export const VpsVeeamRestoredBackup = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
697
|
+
accessInfos: S.optional(VpsVeeamInfos),
|
|
698
|
+
restorePointId: S.optional(S.Number),
|
|
699
|
+
state: S.optional(VpsVeeamStateEnum),
|
|
700
|
+
})).annotate({
|
|
701
|
+
identifier: "VpsVeeamRestoredBackup",
|
|
702
|
+
});
|
|
703
|
+
export const GetVpsVeeamRestorePointRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
704
|
+
serviceName: S.String.pipe(T.Label()),
|
|
705
|
+
id: S.Number.pipe(T.Label()),
|
|
706
|
+
}).pipe(T.Http({
|
|
707
|
+
method: "GET",
|
|
708
|
+
uri: "/vps/{serviceName}/veeam/restorePoints/{id}",
|
|
709
|
+
code: 200,
|
|
710
|
+
}))).annotate({
|
|
711
|
+
identifier: "GetVpsVeeamRestorePointRequest",
|
|
712
|
+
});
|
|
713
|
+
export const VpsVeeamRestorePoint = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
714
|
+
creationTime: S.optional(S.String),
|
|
715
|
+
id: S.optional(S.Number),
|
|
716
|
+
})).annotate({
|
|
717
|
+
identifier: "VpsVeeamRestorePoint",
|
|
718
|
+
});
|
|
719
|
+
export const GetVpsVersionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
720
|
+
serviceName: S.String.pipe(T.Label()),
|
|
721
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/version", code: 200 }))).annotate({
|
|
722
|
+
identifier: "GetVpsVersionRequest",
|
|
723
|
+
});
|
|
724
|
+
export const VpsVpsBillingVersion = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
725
|
+
version: S.optional(S.Number),
|
|
726
|
+
})).annotate({
|
|
727
|
+
identifier: "VpsVpsBillingVersion",
|
|
728
|
+
});
|
|
729
|
+
export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
730
|
+
identifier: "IamResourceTagFilterInput",
|
|
731
|
+
});
|
|
732
|
+
export const ListVpsRequestIamTagsValueList = /*@__PURE__*/ S.Array(IamResourceTagFilterInput);
|
|
733
|
+
export const ListVpsRequestIamTagsMap = /*@__PURE__*/ S.Record(S.String, ListVpsRequestIamTagsValueList);
|
|
734
|
+
export const ListVpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
735
|
+
iamTags: S.optional(ListVpsRequestIamTagsMap.pipe(T.Query())),
|
|
736
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps", code: 200 }))).annotate({ identifier: "ListVpsRequest" });
|
|
737
|
+
export const ListVpsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
738
|
+
export const ListVpsResponse = /*@__PURE__*/ S.suspend(() => ListVpsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
739
|
+
identifier: "ListVpsResponse",
|
|
740
|
+
});
|
|
741
|
+
export const ListVpsAutomatedBackupAttachedBackupRequest =
|
|
742
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
743
|
+
serviceName: S.String.pipe(T.Label()),
|
|
744
|
+
}).pipe(T.Http({
|
|
745
|
+
method: "GET",
|
|
746
|
+
uri: "/vps/{serviceName}/automatedBackup/attachedBackup",
|
|
747
|
+
code: 200,
|
|
748
|
+
}))).annotate({
|
|
749
|
+
identifier: "ListVpsAutomatedBackupAttachedBackupRequest",
|
|
750
|
+
});
|
|
751
|
+
export const VpsAutomatedBackupAttachedInfos = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
752
|
+
additionalDisk: S.optional(S.NullOr(S.String)),
|
|
753
|
+
nfs: S.optional(S.NullOr(S.String)),
|
|
754
|
+
smb: S.optional(S.NullOr(S.String)),
|
|
755
|
+
})).annotate({
|
|
756
|
+
identifier: "VpsAutomatedBackupAttachedInfos",
|
|
757
|
+
});
|
|
758
|
+
export const VpsAutomatedBackupAttached = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
759
|
+
access: S.optional(VpsAutomatedBackupAttachedInfos),
|
|
760
|
+
restorePoint: S.optional(S.String),
|
|
761
|
+
})).annotate({
|
|
762
|
+
identifier: "VpsAutomatedBackupAttached",
|
|
763
|
+
});
|
|
764
|
+
export const ListVpsAutomatedBackupAttachedBackupResponseBodyList =
|
|
765
|
+
/*@__PURE__*/ S.Array(VpsAutomatedBackupAttached);
|
|
766
|
+
export const ListVpsAutomatedBackupAttachedBackupResponse =
|
|
767
|
+
/*@__PURE__*/ S.suspend(() => ListVpsAutomatedBackupAttachedBackupResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
768
|
+
identifier: "ListVpsAutomatedBackupAttachedBackupResponse",
|
|
769
|
+
});
|
|
770
|
+
export const VpsRestoreStateEnum = S.String;
|
|
771
|
+
export const ListVpsAutomatedBackupRestorePointsRequest =
|
|
772
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
773
|
+
serviceName: S.String.pipe(T.Label()),
|
|
774
|
+
state: VpsRestoreStateEnum.pipe(T.Query()),
|
|
775
|
+
}).pipe(T.Http({
|
|
776
|
+
method: "GET",
|
|
777
|
+
uri: "/vps/{serviceName}/automatedBackup/restorePoints",
|
|
778
|
+
code: 200,
|
|
779
|
+
}))).annotate({
|
|
780
|
+
identifier: "ListVpsAutomatedBackupRestorePointsRequest",
|
|
781
|
+
});
|
|
782
|
+
export const ListVpsAutomatedBackupRestorePointsResponseBodyList =
|
|
783
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
784
|
+
export const ListVpsAutomatedBackupRestorePointsResponse =
|
|
785
|
+
/*@__PURE__*/ S.suspend(() => ListVpsAutomatedBackupRestorePointsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
786
|
+
identifier: "ListVpsAutomatedBackupRestorePointsResponse",
|
|
787
|
+
});
|
|
788
|
+
export const ListVpsAvailableUpgradeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
789
|
+
serviceName: S.String.pipe(T.Label()),
|
|
790
|
+
}).pipe(T.Http({
|
|
791
|
+
method: "GET",
|
|
792
|
+
uri: "/vps/{serviceName}/availableUpgrade",
|
|
793
|
+
code: 200,
|
|
794
|
+
}))).annotate({
|
|
795
|
+
identifier: "ListVpsAvailableUpgradeRequest",
|
|
796
|
+
});
|
|
797
|
+
export const ListVpsAvailableUpgradeResponseBodyList = /*@__PURE__*/ S.Array(VpsModel);
|
|
798
|
+
export const ListVpsAvailableUpgradeResponse = /*@__PURE__*/ S.suspend(() => ListVpsAvailableUpgradeResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
799
|
+
identifier: "ListVpsAvailableUpgradeResponse",
|
|
800
|
+
});
|
|
801
|
+
export const ListVpsBackupftpAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
802
|
+
serviceName: S.String.pipe(T.Label()),
|
|
803
|
+
}).pipe(T.Http({
|
|
804
|
+
method: "GET",
|
|
805
|
+
uri: "/vps/{serviceName}/backupftp/access",
|
|
806
|
+
code: 200,
|
|
807
|
+
}))).annotate({
|
|
808
|
+
identifier: "ListVpsBackupftpAccessRequest",
|
|
809
|
+
});
|
|
810
|
+
export const ListVpsBackupftpAccessResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
811
|
+
export const ListVpsBackupftpAccessResponse = /*@__PURE__*/ S.suspend(() => ListVpsBackupftpAccessResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
812
|
+
identifier: "ListVpsBackupftpAccessResponse",
|
|
813
|
+
});
|
|
814
|
+
export const ListVpsBackupftpAuthorizableBlocksRequest =
|
|
815
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
816
|
+
serviceName: S.String.pipe(T.Label()),
|
|
817
|
+
}).pipe(T.Http({
|
|
818
|
+
method: "GET",
|
|
819
|
+
uri: "/vps/{serviceName}/backupftp/authorizableBlocks",
|
|
820
|
+
code: 200,
|
|
821
|
+
}))).annotate({
|
|
822
|
+
identifier: "ListVpsBackupftpAuthorizableBlocksRequest",
|
|
823
|
+
});
|
|
824
|
+
export const ListVpsBackupftpAuthorizableBlocksResponseBodyList =
|
|
825
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
826
|
+
export const ListVpsBackupftpAuthorizableBlocksResponse =
|
|
827
|
+
/*@__PURE__*/ S.suspend(() => ListVpsBackupftpAuthorizableBlocksResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
828
|
+
identifier: "ListVpsBackupftpAuthorizableBlocksResponse",
|
|
829
|
+
});
|
|
830
|
+
export const NichandleCountryEnum = S.String;
|
|
831
|
+
export const ListVpsDatacenterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
832
|
+
country: S.optional(NichandleCountryEnum.pipe(T.Query())),
|
|
833
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/datacenter", code: 200 }))).annotate({
|
|
834
|
+
identifier: "ListVpsDatacenterRequest",
|
|
835
|
+
});
|
|
836
|
+
export const ListVpsDatacenterResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
837
|
+
export const ListVpsDatacenterResponse = /*@__PURE__*/ S.suspend(() => ListVpsDatacenterResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
838
|
+
identifier: "ListVpsDatacenterResponse",
|
|
839
|
+
});
|
|
840
|
+
export const VpsVpsMonitoringPeriodEnum = S.String;
|
|
841
|
+
export const ListVpsDiskMonitoringRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
842
|
+
serviceName: S.String.pipe(T.Label()),
|
|
843
|
+
id: S.Number.pipe(T.Label()),
|
|
844
|
+
period: VpsVpsMonitoringPeriodEnum.pipe(T.Query()),
|
|
845
|
+
type: VpsDiskStatisticTypeEnum.pipe(T.Query()),
|
|
846
|
+
}).pipe(T.Http({
|
|
847
|
+
method: "GET",
|
|
848
|
+
uri: "/vps/{serviceName}/disks/{id}/monitoring",
|
|
849
|
+
code: 200,
|
|
850
|
+
}))).annotate({
|
|
851
|
+
identifier: "ListVpsDiskMonitoringRequest",
|
|
852
|
+
});
|
|
853
|
+
export const VpsVpsTimestampValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
854
|
+
timestamp: S.optional(S.Number),
|
|
855
|
+
value: S.optional(S.NullOr(S.Number)),
|
|
856
|
+
})).annotate({
|
|
857
|
+
identifier: "VpsVpsTimestampValue",
|
|
858
|
+
});
|
|
859
|
+
export const ComplexTypeUnitAndValuesVpsVpsTimestampValueValuesList =
|
|
860
|
+
/*@__PURE__*/ S.Array(VpsVpsTimestampValue);
|
|
861
|
+
export const ComplexTypeUnitAndValuesVpsVpsTimestampValue =
|
|
862
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
863
|
+
unit: S.optional(S.String),
|
|
864
|
+
values: S.optional(ComplexTypeUnitAndValuesVpsVpsTimestampValueValuesList),
|
|
865
|
+
})).annotate({
|
|
866
|
+
identifier: "ComplexTypeUnitAndValuesVpsVpsTimestampValue",
|
|
867
|
+
});
|
|
868
|
+
export const ListVpsDisksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
869
|
+
serviceName: S.String.pipe(T.Label()),
|
|
870
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/disks", code: 200 }))).annotate({
|
|
871
|
+
identifier: "ListVpsDisksRequest",
|
|
872
|
+
});
|
|
873
|
+
export const ListVpsDisksResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
874
|
+
export const ListVpsDisksResponse = /*@__PURE__*/ S.suspend(() => ListVpsDisksResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
875
|
+
identifier: "ListVpsDisksResponse",
|
|
876
|
+
});
|
|
877
|
+
export const ListVpsDistributionSoftwareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
878
|
+
serviceName: S.String.pipe(T.Label()),
|
|
879
|
+
}).pipe(T.Http({
|
|
880
|
+
method: "GET",
|
|
881
|
+
uri: "/vps/{serviceName}/distribution/software",
|
|
882
|
+
code: 200,
|
|
883
|
+
}))).annotate({
|
|
884
|
+
identifier: "ListVpsDistributionSoftwareRequest",
|
|
885
|
+
});
|
|
886
|
+
export const ListVpsDistributionSoftwareResponseBodyList =
|
|
887
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
888
|
+
export const ListVpsDistributionSoftwareResponse = /*@__PURE__*/ S.suspend(() => ListVpsDistributionSoftwareResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
889
|
+
identifier: "ListVpsDistributionSoftwareResponse",
|
|
890
|
+
});
|
|
891
|
+
export const ListVpsImageAvailableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
892
|
+
serviceName: S.String.pipe(T.Label()),
|
|
893
|
+
}).pipe(T.Http({
|
|
894
|
+
method: "GET",
|
|
895
|
+
uri: "/vps/{serviceName}/images/available",
|
|
896
|
+
code: 200,
|
|
897
|
+
}))).annotate({
|
|
898
|
+
identifier: "ListVpsImageAvailableRequest",
|
|
899
|
+
});
|
|
900
|
+
export const ListVpsImageAvailableResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
901
|
+
export const ListVpsImageAvailableResponse = /*@__PURE__*/ S.suspend(() => ListVpsImageAvailableResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
902
|
+
identifier: "ListVpsImageAvailableResponse",
|
|
903
|
+
});
|
|
904
|
+
export const ListVpsIpCountryAvailableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
905
|
+
serviceName: S.String.pipe(T.Label()),
|
|
906
|
+
}).pipe(T.Http({
|
|
907
|
+
method: "GET",
|
|
908
|
+
uri: "/vps/{serviceName}/ipCountryAvailable",
|
|
909
|
+
code: 200,
|
|
910
|
+
}))).annotate({
|
|
911
|
+
identifier: "ListVpsIpCountryAvailableRequest",
|
|
912
|
+
});
|
|
913
|
+
export const ListVpsIpCountryAvailableResponseBodyList = /*@__PURE__*/ S.Array(VpsIpGeolocationEnum);
|
|
914
|
+
export const ListVpsIpCountryAvailableResponse = /*@__PURE__*/ S.suspend(() => ListVpsIpCountryAvailableResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
915
|
+
identifier: "ListVpsIpCountryAvailableResponse",
|
|
916
|
+
});
|
|
917
|
+
export const ListVpsIpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
918
|
+
serviceName: S.String.pipe(T.Label()),
|
|
919
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/ips", code: 200 }))).annotate({
|
|
920
|
+
identifier: "ListVpsIpsRequest",
|
|
921
|
+
});
|
|
922
|
+
export const ListVpsIpsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
923
|
+
export const ListVpsIpsResponse = /*@__PURE__*/ S.suspend(() => ListVpsIpsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
924
|
+
identifier: "ListVpsIpsResponse",
|
|
925
|
+
});
|
|
926
|
+
export const ListVpsMigration2018Request = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
927
|
+
serviceName: S.String.pipe(T.Label()),
|
|
928
|
+
}).pipe(T.Http({
|
|
929
|
+
method: "GET",
|
|
930
|
+
uri: "/vps/{serviceName}/migration2018",
|
|
931
|
+
code: 200,
|
|
932
|
+
}))).annotate({
|
|
933
|
+
identifier: "ListVpsMigration2018Request",
|
|
934
|
+
});
|
|
935
|
+
export const VpsMigrationDatacenterEnum = S.String;
|
|
936
|
+
export const VpsMigrationOptionOptionMapping2016 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
937
|
+
currentPlan: S.optional(S.String),
|
|
938
|
+
newPlan: S.optional(S.String),
|
|
939
|
+
product: S.optional(S.String),
|
|
940
|
+
})).annotate({
|
|
941
|
+
identifier: "VpsMigrationOptionOptionMapping2016",
|
|
942
|
+
});
|
|
943
|
+
export const VpsMigrationOptionMapping2016OptionsList = /*@__PURE__*/ S.Array(VpsMigrationOptionOptionMapping2016);
|
|
944
|
+
export const VpsMigrationOptionMapping2016 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
945
|
+
currentPlan: S.optional(S.String),
|
|
946
|
+
newPlan: S.optional(S.String),
|
|
947
|
+
options: S.optional(VpsMigrationOptionMapping2016OptionsList),
|
|
948
|
+
product: S.optional(S.String),
|
|
949
|
+
})).annotate({
|
|
950
|
+
identifier: "VpsMigrationOptionMapping2016",
|
|
951
|
+
});
|
|
952
|
+
export const VpsMigrationVPS2018to2020PlanOptionsList = /*@__PURE__*/ S.Array(VpsMigrationOptionMapping2016);
|
|
953
|
+
export const VpsMigrationVPS2018to2020Plan = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
954
|
+
currentPlan: S.optional(S.String),
|
|
955
|
+
newPlan: S.optional(S.String),
|
|
956
|
+
options: S.optional(VpsMigrationVPS2018to2020PlanOptionsList),
|
|
957
|
+
product: S.optional(S.String),
|
|
958
|
+
})).annotate({
|
|
959
|
+
identifier: "VpsMigrationVPS2018to2020Plan",
|
|
960
|
+
});
|
|
961
|
+
export const VpsMigrationVPS2018to2020PlansList = /*@__PURE__*/ S.Array(VpsMigrationVPS2018to2020Plan);
|
|
962
|
+
export const VpsMigrationStatusEnum = S.String;
|
|
963
|
+
export const VpsMigrationVPS2018to2020 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
964
|
+
datacenter: S.optional(VpsMigrationDatacenterEnum),
|
|
965
|
+
date: S.optional(S.NullOr(S.String)),
|
|
966
|
+
plans: S.optional(VpsMigrationVPS2018to2020PlansList),
|
|
967
|
+
status: S.optional(VpsMigrationStatusEnum),
|
|
968
|
+
})).annotate({
|
|
969
|
+
identifier: "VpsMigrationVPS2018to2020",
|
|
970
|
+
});
|
|
971
|
+
export const ListVpsModelsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
972
|
+
serviceName: S.String.pipe(T.Label()),
|
|
973
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/models", code: 200 }))).annotate({
|
|
974
|
+
identifier: "ListVpsModelsRequest",
|
|
975
|
+
});
|
|
976
|
+
export const ListVpsModelsResponseBodyList = /*@__PURE__*/ S.Array(VpsModel);
|
|
977
|
+
export const ListVpsModelsResponse = /*@__PURE__*/ S.suspend(() => ListVpsModelsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
978
|
+
identifier: "ListVpsModelsResponse",
|
|
979
|
+
});
|
|
980
|
+
export const ListVpsOptionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
981
|
+
serviceName: S.String.pipe(T.Label()),
|
|
982
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/option", code: 200 }))).annotate({
|
|
983
|
+
identifier: "ListVpsOptionRequest",
|
|
984
|
+
});
|
|
985
|
+
export const ListVpsOptionResponseBodyList = /*@__PURE__*/ S.Array(VpsVpsOptionEnum);
|
|
986
|
+
export const ListVpsOptionResponse = /*@__PURE__*/ S.suspend(() => ListVpsOptionResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
987
|
+
identifier: "ListVpsOptionResponse",
|
|
988
|
+
});
|
|
989
|
+
export const NichandleOvhSubsidiaryEnum = S.String;
|
|
990
|
+
export const ListVpsOrderRuleDatacenterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
991
|
+
os: S.optional(S.String.pipe(T.Query())),
|
|
992
|
+
ovhSubsidiary: NichandleOvhSubsidiaryEnum.pipe(T.Query()),
|
|
993
|
+
planCode: S.String.pipe(T.Query()),
|
|
994
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/order/rule/datacenter", code: 200 }))).annotate({
|
|
995
|
+
identifier: "ListVpsOrderRuleDatacenterRequest",
|
|
996
|
+
});
|
|
997
|
+
export const VpsOrderRuleDatacenterStatusEnum = S.String;
|
|
998
|
+
export const VpsOrderRuleDatacenter = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
999
|
+
datacenter: S.optional(S.String),
|
|
1000
|
+
status: S.optional(VpsOrderRuleDatacenterStatusEnum),
|
|
1001
|
+
})).annotate({
|
|
1002
|
+
identifier: "VpsOrderRuleDatacenter",
|
|
1003
|
+
});
|
|
1004
|
+
export const VpsOrderRuleDatacentersDatacentersList = /*@__PURE__*/ S.Array(VpsOrderRuleDatacenter);
|
|
1005
|
+
export const VpsOrderRuleDatacenters = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1006
|
+
datacenters: S.optional(VpsOrderRuleDatacentersDatacentersList),
|
|
1007
|
+
})).annotate({
|
|
1008
|
+
identifier: "VpsOrderRuleDatacenters",
|
|
1009
|
+
});
|
|
1010
|
+
export const ListVpsOrderRuleOsChoicesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1011
|
+
datacenter: S.String.pipe(T.Query()),
|
|
1012
|
+
os: S.String.pipe(T.Query()),
|
|
1013
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/order/rule/osChoices", code: 200 }))).annotate({
|
|
1014
|
+
identifier: "ListVpsOrderRuleOsChoicesRequest",
|
|
1015
|
+
});
|
|
1016
|
+
export const VpsOrderRuleOSChoiceStatusEnum = S.String;
|
|
1017
|
+
export const VpsOrderRuleOSChoice = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1018
|
+
name: S.optional(S.String),
|
|
1019
|
+
status: S.optional(VpsOrderRuleOSChoiceStatusEnum),
|
|
1020
|
+
})).annotate({
|
|
1021
|
+
identifier: "VpsOrderRuleOSChoice",
|
|
1022
|
+
});
|
|
1023
|
+
export const VpsOrderRuleOSChoicesChoicesList = /*@__PURE__*/ S.Array(VpsOrderRuleOSChoice);
|
|
1024
|
+
export const VpsOrderRuleOSChoices = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1025
|
+
choices: S.optional(VpsOrderRuleOSChoicesChoicesList),
|
|
1026
|
+
})).annotate({
|
|
1027
|
+
identifier: "VpsOrderRuleOSChoices",
|
|
1028
|
+
});
|
|
1029
|
+
export const ListVpsSecondaryDnsDomainsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1030
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1031
|
+
}).pipe(T.Http({
|
|
1032
|
+
method: "GET",
|
|
1033
|
+
uri: "/vps/{serviceName}/secondaryDnsDomains",
|
|
1034
|
+
code: 200,
|
|
1035
|
+
}))).annotate({
|
|
1036
|
+
identifier: "ListVpsSecondaryDnsDomainsRequest",
|
|
1037
|
+
});
|
|
1038
|
+
export const ListVpsSecondaryDnsDomainsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
1039
|
+
export const ListVpsSecondaryDnsDomainsResponse = /*@__PURE__*/ S.suspend(() => ListVpsSecondaryDnsDomainsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1040
|
+
identifier: "ListVpsSecondaryDnsDomainsResponse",
|
|
1041
|
+
});
|
|
1042
|
+
export const ListVpsTasksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1043
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1044
|
+
state: S.optional(VpsTaskStateEnum.pipe(T.Query())),
|
|
1045
|
+
type: S.optional(VpsTaskTypeEnum.pipe(T.Query())),
|
|
1046
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/tasks", code: 200 }))).annotate({
|
|
1047
|
+
identifier: "ListVpsTasksRequest",
|
|
1048
|
+
});
|
|
1049
|
+
export const ListVpsTasksResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1050
|
+
export const ListVpsTasksResponse = /*@__PURE__*/ S.suspend(() => ListVpsTasksResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1051
|
+
identifier: "ListVpsTasksResponse",
|
|
1052
|
+
});
|
|
1053
|
+
export const ListVpsTemplatesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1054
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1055
|
+
}).pipe(T.Http({ method: "GET", uri: "/vps/{serviceName}/templates", code: 200 }))).annotate({
|
|
1056
|
+
identifier: "ListVpsTemplatesRequest",
|
|
1057
|
+
});
|
|
1058
|
+
export const ListVpsTemplatesResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1059
|
+
export const ListVpsTemplatesResponse = /*@__PURE__*/ S.suspend(() => ListVpsTemplatesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1060
|
+
identifier: "ListVpsTemplatesResponse",
|
|
1061
|
+
});
|
|
1062
|
+
export const ListVpsTemplateSoftwareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1063
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1064
|
+
id: S.Number.pipe(T.Label()),
|
|
1065
|
+
}).pipe(T.Http({
|
|
1066
|
+
method: "GET",
|
|
1067
|
+
uri: "/vps/{serviceName}/templates/{id}/software",
|
|
1068
|
+
code: 200,
|
|
1069
|
+
}))).annotate({
|
|
1070
|
+
identifier: "ListVpsTemplateSoftwareRequest",
|
|
1071
|
+
});
|
|
1072
|
+
export const ListVpsTemplateSoftwareResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1073
|
+
export const ListVpsTemplateSoftwareResponse = /*@__PURE__*/ S.suspend(() => ListVpsTemplateSoftwareResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1074
|
+
identifier: "ListVpsTemplateSoftwareResponse",
|
|
1075
|
+
});
|
|
1076
|
+
export const ListVpsVeeamRestorePointsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1077
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1078
|
+
creationTime: S.optional(S.String.pipe(T.Query())),
|
|
1079
|
+
}).pipe(T.Http({
|
|
1080
|
+
method: "GET",
|
|
1081
|
+
uri: "/vps/{serviceName}/veeam/restorePoints",
|
|
1082
|
+
code: 200,
|
|
1083
|
+
}))).annotate({
|
|
1084
|
+
identifier: "ListVpsVeeamRestorePointsRequest",
|
|
1085
|
+
});
|
|
1086
|
+
export const ListVpsVeeamRestorePointsResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1087
|
+
export const ListVpsVeeamRestorePointsResponse = /*@__PURE__*/ S.suspend(() => ListVpsVeeamRestorePointsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1088
|
+
identifier: "ListVpsVeeamRestorePointsResponse",
|
|
1089
|
+
});
|
|
1090
|
+
export const PutVpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1091
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1092
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
1093
|
+
keymap: S.optional(S.NullOr(VpsVpsKeymapEnum)),
|
|
1094
|
+
netbootMode: S.optional(VpsVpsNetbootEnum),
|
|
1095
|
+
slaMonitoring: S.optional(S.NullOr(S.Boolean)),
|
|
1096
|
+
}).pipe(T.Http({ method: "PUT", uri: "/vps/{serviceName}", code: 200 }))).annotate({ identifier: "PutVpsRequest" });
|
|
1097
|
+
export const PutVpsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "PutVpsResponse" });
|
|
1098
|
+
export const PutVpsBackupftpAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1099
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1100
|
+
ipBlock: S.String.pipe(T.Label()),
|
|
1101
|
+
cifs: S.optional(S.Boolean),
|
|
1102
|
+
ftp: S.optional(S.Boolean),
|
|
1103
|
+
nfs: S.optional(S.Boolean),
|
|
1104
|
+
}).pipe(T.Http({
|
|
1105
|
+
method: "PUT",
|
|
1106
|
+
uri: "/vps/{serviceName}/backupftp/access/{ipBlock}",
|
|
1107
|
+
code: 200,
|
|
1108
|
+
}))).annotate({
|
|
1109
|
+
identifier: "PutVpsBackupftpAccessRequest",
|
|
1110
|
+
});
|
|
1111
|
+
export const PutVpsBackupftpAccessResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1112
|
+
identifier: "PutVpsBackupftpAccessResponse",
|
|
1113
|
+
});
|
|
1114
|
+
export const PutVpsDiskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1115
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1116
|
+
id: S.Number.pipe(T.Label()),
|
|
1117
|
+
lowFreeSpaceThreshold: S.optional(S.NullOr(S.Number)),
|
|
1118
|
+
monitoring: S.optional(S.NullOr(S.Boolean)),
|
|
1119
|
+
}).pipe(T.Http({ method: "PUT", uri: "/vps/{serviceName}/disks/{id}", code: 200 }))).annotate({
|
|
1120
|
+
identifier: "PutVpsDiskRequest",
|
|
1121
|
+
});
|
|
1122
|
+
export const PutVpsDiskResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1123
|
+
identifier: "PutVpsDiskResponse",
|
|
1124
|
+
});
|
|
1125
|
+
export const PutVpsIpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1126
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1127
|
+
ipAddress: S.String.pipe(T.Label()),
|
|
1128
|
+
reverse: S.optional(S.NullOr(S.String)),
|
|
1129
|
+
}).pipe(T.Http({
|
|
1130
|
+
method: "PUT",
|
|
1131
|
+
uri: "/vps/{serviceName}/ips/{ipAddress}",
|
|
1132
|
+
code: 200,
|
|
1133
|
+
}))).annotate({
|
|
1134
|
+
identifier: "PutVpsIpsRequest",
|
|
1135
|
+
});
|
|
1136
|
+
export const PutVpsIpsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1137
|
+
identifier: "PutVpsIpsResponse",
|
|
1138
|
+
});
|
|
1139
|
+
export const PutVpsSecondaryDnsDomainRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1140
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1141
|
+
domain: S.String.pipe(T.Label()),
|
|
1142
|
+
ipMaster: S.optional(S.String),
|
|
1143
|
+
}).pipe(T.Http({
|
|
1144
|
+
method: "PUT",
|
|
1145
|
+
uri: "/vps/{serviceName}/secondaryDnsDomains/{domain}",
|
|
1146
|
+
code: 200,
|
|
1147
|
+
}))).annotate({
|
|
1148
|
+
identifier: "PutVpsSecondaryDnsDomainRequest",
|
|
1149
|
+
});
|
|
1150
|
+
export const PutVpsSecondaryDnsDomainResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1151
|
+
identifier: "PutVpsSecondaryDnsDomainResponse",
|
|
1152
|
+
});
|
|
1153
|
+
export const PutVpsServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1154
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1155
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
1156
|
+
}).pipe(T.Http({
|
|
1157
|
+
method: "PUT",
|
|
1158
|
+
uri: "/vps/{serviceName}/serviceInfos",
|
|
1159
|
+
code: 200,
|
|
1160
|
+
}))).annotate({
|
|
1161
|
+
identifier: "PutVpsServiceInfosRequest",
|
|
1162
|
+
});
|
|
1163
|
+
export const PutVpsServiceInfosResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1164
|
+
identifier: "PutVpsServiceInfosResponse",
|
|
1165
|
+
});
|
|
1166
|
+
export const PutVpsSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1167
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1168
|
+
description: S.optional(S.String),
|
|
1169
|
+
}).pipe(T.Http({ method: "PUT", uri: "/vps/{serviceName}/snapshot", code: 200 }))).annotate({
|
|
1170
|
+
identifier: "PutVpsSnapshotRequest",
|
|
1171
|
+
});
|
|
1172
|
+
export const PutVpsSnapshotResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1173
|
+
identifier: "PutVpsSnapshotResponse",
|
|
1174
|
+
});
|
|
1175
|
+
export const RebootVpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1176
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1177
|
+
}).pipe(T.Http({ method: "POST", uri: "/vps/{serviceName}/reboot", code: 200 }))).annotate({
|
|
1178
|
+
identifier: "RebootVpsRequest",
|
|
1179
|
+
});
|
|
1180
|
+
export const RebuildVpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1181
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1182
|
+
doNotSendPassword: S.optional(S.Boolean),
|
|
1183
|
+
imageId: S.String,
|
|
1184
|
+
installRTM: S.optional(S.Boolean),
|
|
1185
|
+
publicSshKey: S.optional(S.String),
|
|
1186
|
+
sshKey: S.optional(S.String),
|
|
1187
|
+
}).pipe(T.Http({ method: "POST", uri: "/vps/{serviceName}/rebuild", code: 200 }))).annotate({
|
|
1188
|
+
identifier: "RebuildVpsRequest",
|
|
1189
|
+
});
|
|
1190
|
+
export const VpsRestoreTypeEnum = S.String;
|
|
1191
|
+
export const RestoreVpsAutomatedBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1192
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1193
|
+
changePassword: S.optional(S.Boolean),
|
|
1194
|
+
restorePoint: S.String,
|
|
1195
|
+
type: VpsRestoreTypeEnum,
|
|
1196
|
+
}).pipe(T.Http({
|
|
1197
|
+
method: "POST",
|
|
1198
|
+
uri: "/vps/{serviceName}/automatedBackup/restore",
|
|
1199
|
+
code: 200,
|
|
1200
|
+
}))).annotate({
|
|
1201
|
+
identifier: "RestoreVpsAutomatedBackupRequest",
|
|
1202
|
+
});
|
|
1203
|
+
export const VpsVeeamExportTypeEnum = S.String;
|
|
1204
|
+
export const RestoreVpsVeeamRestorePointRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1205
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1206
|
+
id: S.Number.pipe(T.Label()),
|
|
1207
|
+
changePassword: S.optional(S.Boolean),
|
|
1208
|
+
export: S.optional(VpsVeeamExportTypeEnum),
|
|
1209
|
+
full: S.Boolean,
|
|
1210
|
+
}).pipe(T.Http({
|
|
1211
|
+
method: "POST",
|
|
1212
|
+
uri: "/vps/{serviceName}/veeam/restorePoints/{id}/restore",
|
|
1213
|
+
code: 200,
|
|
1214
|
+
}))).annotate({
|
|
1215
|
+
identifier: "RestoreVpsVeeamRestorePointRequest",
|
|
1216
|
+
});
|
|
1217
|
+
export const SetVpsPasswordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1218
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1219
|
+
}).pipe(T.Http({
|
|
1220
|
+
method: "POST",
|
|
1221
|
+
uri: "/vps/{serviceName}/setPassword",
|
|
1222
|
+
code: 200,
|
|
1223
|
+
}))).annotate({
|
|
1224
|
+
identifier: "SetVpsPasswordRequest",
|
|
1225
|
+
});
|
|
1226
|
+
export const StartVpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1227
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1228
|
+
}).pipe(T.Http({ method: "POST", uri: "/vps/{serviceName}/start", code: 200 }))).annotate({
|
|
1229
|
+
identifier: "StartVpsRequest",
|
|
1230
|
+
});
|
|
1231
|
+
export const StopVpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1232
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1233
|
+
}).pipe(T.Http({ method: "POST", uri: "/vps/{serviceName}/stop", code: 200 }))).annotate({ identifier: "StopVpsRequest" });
|
|
1234
|
+
export const TerminateVpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1235
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1236
|
+
}).pipe(T.Http({ method: "POST", uri: "/vps/{serviceName}/terminate", code: 200 }))).annotate({
|
|
1237
|
+
identifier: "TerminateVpsRequest",
|
|
1238
|
+
});
|
|
1239
|
+
export const TerminateVpsResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
1240
|
+
identifier: "TerminateVpsResponse",
|
|
1241
|
+
});
|
|
1242
|
+
/** Abort ongoing snapshot or autobackup */
|
|
1243
|
+
export const abortVpsSnapshot = /*@__PURE__*/ API.make(() => ({
|
|
1244
|
+
input: AbortVpsSnapshotRequest,
|
|
1245
|
+
output: AbortVpsSnapshotResponse,
|
|
1246
|
+
errors: [UnknownOvhError],
|
|
1247
|
+
protocol: OvhProtocol,
|
|
1248
|
+
retry: Retry.Retry,
|
|
1249
|
+
}));
|
|
1250
|
+
/** Confirm service termination */
|
|
1251
|
+
export const confirmVpsTermination = /*@__PURE__*/ API.make(() => ({
|
|
1252
|
+
input: ConfirmVpsTerminationRequest,
|
|
1253
|
+
output: ConfirmVpsTerminationResponse,
|
|
1254
|
+
errors: [UnknownOvhError],
|
|
1255
|
+
protocol: OvhProtocol,
|
|
1256
|
+
retry: Retry.Retry,
|
|
1257
|
+
}));
|
|
1258
|
+
/** Change the scheduled time of your daily backup */
|
|
1259
|
+
export const createVpsAutomatedBackupReschedule = /*@__PURE__*/ API.make(() => ({
|
|
1260
|
+
input: CreateVpsAutomatedBackupRescheduleRequest,
|
|
1261
|
+
output: VpsTask,
|
|
1262
|
+
errors: [UnknownOvhError],
|
|
1263
|
+
protocol: OvhProtocol,
|
|
1264
|
+
retry: Retry.Retry,
|
|
1265
|
+
}));
|
|
1266
|
+
/** Create a new Backup FTP ACL */
|
|
1267
|
+
export const createVpsBackupftpAccess = /*@__PURE__*/ API.make(() => ({
|
|
1268
|
+
input: CreateVpsBackupftpAccessRequest,
|
|
1269
|
+
output: DedicatedServerTask,
|
|
1270
|
+
errors: [UnknownOvhError],
|
|
1271
|
+
protocol: OvhProtocol,
|
|
1272
|
+
retry: Retry.Retry,
|
|
1273
|
+
}));
|
|
1274
|
+
/** Change your Backup FTP password */
|
|
1275
|
+
export const createVpsBackupftpPassword = /*@__PURE__*/ API.make(() => ({
|
|
1276
|
+
input: CreateVpsBackupftpPasswordRequest,
|
|
1277
|
+
output: DedicatedServerTask,
|
|
1278
|
+
errors: [UnknownOvhError],
|
|
1279
|
+
protocol: OvhProtocol,
|
|
1280
|
+
retry: Retry.Retry,
|
|
1281
|
+
}));
|
|
1282
|
+
/** Launch a contact change procedure */
|
|
1283
|
+
export const createVpsChangeContact = /*@__PURE__*/ API.make(() => ({
|
|
1284
|
+
input: CreateVpsChangeContactRequest,
|
|
1285
|
+
output: CreateVpsChangeContactResponse,
|
|
1286
|
+
errors: [UnknownOvhError],
|
|
1287
|
+
protocol: OvhProtocol,
|
|
1288
|
+
retry: Retry.Retry,
|
|
1289
|
+
}));
|
|
1290
|
+
/** Schedule the migration of a VPS 2016/2018 to VPS 2020 */
|
|
1291
|
+
export const createVpsMigration2018 = /*@__PURE__*/ API.make(() => ({
|
|
1292
|
+
input: CreateVpsMigration2018Request,
|
|
1293
|
+
output: VpsTask,
|
|
1294
|
+
errors: [UnknownOvhError],
|
|
1295
|
+
protocol: OvhProtocol,
|
|
1296
|
+
retry: Retry.Retry,
|
|
1297
|
+
}));
|
|
1298
|
+
/** Return the necessary informations to open a VNC connection to your VPS */
|
|
1299
|
+
export const createVpsOpenConsoleAccess = /*@__PURE__*/ API.make(() => ({
|
|
1300
|
+
input: CreateVpsOpenConsoleAccessRequest,
|
|
1301
|
+
output: VpsVnc,
|
|
1302
|
+
errors: [UnknownOvhError],
|
|
1303
|
+
protocol: OvhProtocol,
|
|
1304
|
+
retry: Retry.Retry,
|
|
1305
|
+
}));
|
|
1306
|
+
/** Reinstall the virtual server */
|
|
1307
|
+
export const createVpsReinstall = /*@__PURE__*/ API.make(() => ({
|
|
1308
|
+
input: CreateVpsReinstallRequest,
|
|
1309
|
+
output: VpsTask,
|
|
1310
|
+
errors: [UnknownOvhError],
|
|
1311
|
+
protocol: OvhProtocol,
|
|
1312
|
+
retry: Retry.Retry,
|
|
1313
|
+
}));
|
|
1314
|
+
/** add a domain on secondary dns */
|
|
1315
|
+
export const createVpsSecondaryDnsDomain = /*@__PURE__*/ API.make(() => ({
|
|
1316
|
+
input: CreateVpsSecondaryDnsDomainRequest,
|
|
1317
|
+
output: CreateVpsSecondaryDnsDomainResponse,
|
|
1318
|
+
errors: [UnknownOvhError],
|
|
1319
|
+
protocol: OvhProtocol,
|
|
1320
|
+
retry: Retry.Retry,
|
|
1321
|
+
}));
|
|
1322
|
+
/** Create a snapshot of the Virtual Server if the snapshot option is enabled and if there is no existing snapshot */
|
|
1323
|
+
export const createVpsSnapshot = /*@__PURE__*/ API.make(() => ({
|
|
1324
|
+
input: CreateVpsSnapshotRequest,
|
|
1325
|
+
output: VpsTask,
|
|
1326
|
+
errors: [UnknownOvhError],
|
|
1327
|
+
protocol: OvhProtocol,
|
|
1328
|
+
retry: Retry.Retry,
|
|
1329
|
+
}));
|
|
1330
|
+
/** Revert the Virtual Server to this snapshot */
|
|
1331
|
+
export const createVpsSnapshotRevert = /*@__PURE__*/ API.make(() => ({
|
|
1332
|
+
input: CreateVpsSnapshotRevertRequest,
|
|
1333
|
+
output: VpsTask,
|
|
1334
|
+
errors: [UnknownOvhError],
|
|
1335
|
+
protocol: OvhProtocol,
|
|
1336
|
+
retry: Retry.Retry,
|
|
1337
|
+
}));
|
|
1338
|
+
/** Revoke this ACL */
|
|
1339
|
+
export const deleteVpsBackupftpAccess = /*@__PURE__*/ API.make(() => ({
|
|
1340
|
+
input: DeleteVpsBackupftpAccessRequest,
|
|
1341
|
+
output: DedicatedServerTask,
|
|
1342
|
+
errors: [UnknownOvhError],
|
|
1343
|
+
protocol: OvhProtocol,
|
|
1344
|
+
retry: Retry.Retry,
|
|
1345
|
+
}));
|
|
1346
|
+
/** Release a given Ip (Additional Ip) */
|
|
1347
|
+
export const deleteVpsIps = /*@__PURE__*/ API.make(() => ({
|
|
1348
|
+
input: DeleteVpsIpsRequest,
|
|
1349
|
+
output: DeleteVpsIpsResponse,
|
|
1350
|
+
errors: [UnknownOvhError],
|
|
1351
|
+
protocol: OvhProtocol,
|
|
1352
|
+
retry: Retry.Retry,
|
|
1353
|
+
}));
|
|
1354
|
+
/** remove this domain */
|
|
1355
|
+
export const deleteVpsSecondaryDnsDomain = /*@__PURE__*/ API.make(() => ({
|
|
1356
|
+
input: DeleteVpsSecondaryDnsDomainRequest,
|
|
1357
|
+
output: DeleteVpsSecondaryDnsDomainResponse,
|
|
1358
|
+
errors: [UnknownOvhError],
|
|
1359
|
+
protocol: OvhProtocol,
|
|
1360
|
+
retry: Retry.Retry,
|
|
1361
|
+
}));
|
|
1362
|
+
/** Creates a vps.Task that will delete the Snapshot */
|
|
1363
|
+
export const deleteVpsSnapshot = /*@__PURE__*/ API.make(() => ({
|
|
1364
|
+
input: DeleteVpsSnapshotRequest,
|
|
1365
|
+
output: VpsTask,
|
|
1366
|
+
errors: [UnknownOvhError],
|
|
1367
|
+
protocol: OvhProtocol,
|
|
1368
|
+
retry: Retry.Retry,
|
|
1369
|
+
}));
|
|
1370
|
+
/** Creates a VPS.Task that will unmount the backup */
|
|
1371
|
+
export const deleteVpsVeeamRestoredBackup = /*@__PURE__*/ API.make(() => ({
|
|
1372
|
+
input: DeleteVpsVeeamRestoredBackupRequest,
|
|
1373
|
+
output: VpsTask,
|
|
1374
|
+
errors: [UnknownOvhError],
|
|
1375
|
+
protocol: OvhProtocol,
|
|
1376
|
+
retry: Retry.Retry,
|
|
1377
|
+
}));
|
|
1378
|
+
/** Create a VPS.Task that will umount a restored backup on your VPS */
|
|
1379
|
+
export const detachVpsAutomatedBackupBackup = /*@__PURE__*/ API.make(() => ({
|
|
1380
|
+
input: DetachVpsAutomatedBackupBackupRequest,
|
|
1381
|
+
output: VpsTask,
|
|
1382
|
+
errors: [UnknownOvhError],
|
|
1383
|
+
protocol: OvhProtocol,
|
|
1384
|
+
retry: Retry.Retry,
|
|
1385
|
+
}));
|
|
1386
|
+
/** Get this object properties */
|
|
1387
|
+
export const getVps = /*@__PURE__*/ API.make(() => ({
|
|
1388
|
+
input: GetVpsRequest,
|
|
1389
|
+
output: VpsVPSWithIAM,
|
|
1390
|
+
errors: [UnknownOvhError],
|
|
1391
|
+
protocol: OvhProtocol,
|
|
1392
|
+
retry: Retry.Retry,
|
|
1393
|
+
}));
|
|
1394
|
+
/** Get this object properties */
|
|
1395
|
+
export const getVpsAutomatedBackup = /*@__PURE__*/ API.make(() => ({
|
|
1396
|
+
input: GetVpsAutomatedBackupRequest,
|
|
1397
|
+
output: VpsAutomatedBackup,
|
|
1398
|
+
errors: [UnknownOvhError],
|
|
1399
|
+
protocol: OvhProtocol,
|
|
1400
|
+
retry: Retry.Retry,
|
|
1401
|
+
}));
|
|
1402
|
+
/** Get this object properties */
|
|
1403
|
+
export const getVpsBackupftp = /*@__PURE__*/ API.make(() => ({
|
|
1404
|
+
input: GetVpsBackupftpRequest,
|
|
1405
|
+
output: VpsBackupFtp,
|
|
1406
|
+
errors: [UnknownOvhError],
|
|
1407
|
+
protocol: OvhProtocol,
|
|
1408
|
+
retry: Retry.Retry,
|
|
1409
|
+
}));
|
|
1410
|
+
/** Get this object properties */
|
|
1411
|
+
export const getVpsBackupftpAccess = /*@__PURE__*/ API.make(() => ({
|
|
1412
|
+
input: GetVpsBackupftpAccessRequest,
|
|
1413
|
+
output: DedicatedServerBackupFtpAcl,
|
|
1414
|
+
errors: [UnknownOvhError],
|
|
1415
|
+
protocol: OvhProtocol,
|
|
1416
|
+
retry: Retry.Retry,
|
|
1417
|
+
}));
|
|
1418
|
+
/** Return the VPS console URL */
|
|
1419
|
+
export const getVpsConsoleUrl = /*@__PURE__*/ API.make(() => ({
|
|
1420
|
+
input: GetVpsConsoleUrlRequest,
|
|
1421
|
+
output: GetVpsConsoleUrlResponse,
|
|
1422
|
+
errors: [UnknownOvhError],
|
|
1423
|
+
protocol: OvhProtocol,
|
|
1424
|
+
retry: Retry.Retry,
|
|
1425
|
+
}));
|
|
1426
|
+
/** Get this object properties */
|
|
1427
|
+
export const getVpsDatacenter = /*@__PURE__*/ API.make(() => ({
|
|
1428
|
+
input: GetVpsDatacenterRequest,
|
|
1429
|
+
output: VpsDatacenter,
|
|
1430
|
+
errors: [UnknownOvhError],
|
|
1431
|
+
protocol: OvhProtocol,
|
|
1432
|
+
retry: Retry.Retry,
|
|
1433
|
+
}));
|
|
1434
|
+
/** Get this object properties */
|
|
1435
|
+
export const getVpsDisk = /*@__PURE__*/ API.make(() => ({
|
|
1436
|
+
input: GetVpsDiskRequest,
|
|
1437
|
+
output: VpsDisk,
|
|
1438
|
+
errors: [UnknownOvhError],
|
|
1439
|
+
protocol: OvhProtocol,
|
|
1440
|
+
retry: Retry.Retry,
|
|
1441
|
+
}));
|
|
1442
|
+
/** Return many statistics about the disk at that time */
|
|
1443
|
+
export const getVpsDiskUse = /*@__PURE__*/ API.make(() => ({
|
|
1444
|
+
input: GetVpsDiskUseRequest,
|
|
1445
|
+
output: ComplexTypeUnitAndValueDouble,
|
|
1446
|
+
errors: [UnknownOvhError],
|
|
1447
|
+
protocol: OvhProtocol,
|
|
1448
|
+
retry: Retry.Retry,
|
|
1449
|
+
}));
|
|
1450
|
+
/** Get this object properties */
|
|
1451
|
+
export const getVpsDistribution = /*@__PURE__*/ API.make(() => ({
|
|
1452
|
+
input: GetVpsDistributionRequest,
|
|
1453
|
+
output: VpsTemplate,
|
|
1454
|
+
errors: [UnknownOvhError],
|
|
1455
|
+
protocol: OvhProtocol,
|
|
1456
|
+
retry: Retry.Retry,
|
|
1457
|
+
}));
|
|
1458
|
+
/** Get this object properties */
|
|
1459
|
+
export const getVpsDistributionSoftware = /*@__PURE__*/ API.make(() => ({
|
|
1460
|
+
input: GetVpsDistributionSoftwareRequest,
|
|
1461
|
+
output: VpsSoftware,
|
|
1462
|
+
errors: [UnknownOvhError],
|
|
1463
|
+
protocol: OvhProtocol,
|
|
1464
|
+
retry: Retry.Retry,
|
|
1465
|
+
}));
|
|
1466
|
+
/** Get this object properties */
|
|
1467
|
+
export const getVpsImageAvailable = /*@__PURE__*/ API.make(() => ({
|
|
1468
|
+
input: GetVpsImageAvailableRequest,
|
|
1469
|
+
output: VpsImage,
|
|
1470
|
+
errors: [UnknownOvhError],
|
|
1471
|
+
protocol: OvhProtocol,
|
|
1472
|
+
retry: Retry.Retry,
|
|
1473
|
+
}));
|
|
1474
|
+
/** Get this object properties */
|
|
1475
|
+
export const getVpsImageCurrent = /*@__PURE__*/ API.make(() => ({
|
|
1476
|
+
input: GetVpsImageCurrentRequest,
|
|
1477
|
+
output: VpsImage,
|
|
1478
|
+
errors: [UnknownOvhError],
|
|
1479
|
+
protocol: OvhProtocol,
|
|
1480
|
+
retry: Retry.Retry,
|
|
1481
|
+
}));
|
|
1482
|
+
/** Get this object properties */
|
|
1483
|
+
export const getVpsIps = /*@__PURE__*/ API.make(() => ({
|
|
1484
|
+
input: GetVpsIpsRequest,
|
|
1485
|
+
output: VpsIp,
|
|
1486
|
+
errors: [UnknownOvhError],
|
|
1487
|
+
protocol: OvhProtocol,
|
|
1488
|
+
retry: Retry.Retry,
|
|
1489
|
+
}));
|
|
1490
|
+
/** Get this object properties */
|
|
1491
|
+
export const getVpsOption = /*@__PURE__*/ API.make(() => ({
|
|
1492
|
+
input: GetVpsOptionRequest,
|
|
1493
|
+
output: VpsOption,
|
|
1494
|
+
errors: [UnknownOvhError],
|
|
1495
|
+
protocol: OvhProtocol,
|
|
1496
|
+
retry: Retry.Retry,
|
|
1497
|
+
}));
|
|
1498
|
+
/** Get this object properties */
|
|
1499
|
+
export const getVpsSecondaryDnsDomain = /*@__PURE__*/ API.make(() => ({
|
|
1500
|
+
input: GetVpsSecondaryDnsDomainRequest,
|
|
1501
|
+
output: SecondaryDnsSecondaryDNS,
|
|
1502
|
+
errors: [UnknownOvhError],
|
|
1503
|
+
protocol: OvhProtocol,
|
|
1504
|
+
retry: Retry.Retry,
|
|
1505
|
+
}));
|
|
1506
|
+
/** domain name server informations */
|
|
1507
|
+
export const getVpsSecondaryDnsDomainDnsServer = /*@__PURE__*/ API.make(() => ({
|
|
1508
|
+
input: GetVpsSecondaryDnsDomainDnsServerRequest,
|
|
1509
|
+
output: SecondaryDnsSecondaryDNSNameServer,
|
|
1510
|
+
errors: [UnknownOvhError],
|
|
1511
|
+
protocol: OvhProtocol,
|
|
1512
|
+
retry: Retry.Retry,
|
|
1513
|
+
}));
|
|
1514
|
+
/** Secondary nameServer available for your Server */
|
|
1515
|
+
export const getVpsSecondaryDnsNameServerAvailable = /*@__PURE__*/ API.make(() => ({
|
|
1516
|
+
input: GetVpsSecondaryDnsNameServerAvailableRequest,
|
|
1517
|
+
output: SecondaryDnsSecondaryDNSNameServer,
|
|
1518
|
+
errors: [UnknownOvhError],
|
|
1519
|
+
protocol: OvhProtocol,
|
|
1520
|
+
retry: Retry.Retry,
|
|
1521
|
+
}));
|
|
1522
|
+
/** Get service information */
|
|
1523
|
+
export const getVpsServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
1524
|
+
input: GetVpsServiceInfosRequest,
|
|
1525
|
+
output: ServicesService,
|
|
1526
|
+
errors: [UnknownOvhError],
|
|
1527
|
+
protocol: OvhProtocol,
|
|
1528
|
+
retry: Retry.Retry,
|
|
1529
|
+
}));
|
|
1530
|
+
/** Get this object properties */
|
|
1531
|
+
export const getVpsSnapshot = /*@__PURE__*/ API.make(() => ({
|
|
1532
|
+
input: GetVpsSnapshotRequest,
|
|
1533
|
+
output: VpsSnapshot,
|
|
1534
|
+
errors: [UnknownOvhError],
|
|
1535
|
+
protocol: OvhProtocol,
|
|
1536
|
+
retry: Retry.Retry,
|
|
1537
|
+
}));
|
|
1538
|
+
/** Download the snapshot */
|
|
1539
|
+
export const getVpsSnapshotDownload = /*@__PURE__*/ API.make(() => ({
|
|
1540
|
+
input: GetVpsSnapshotDownloadRequest,
|
|
1541
|
+
output: VpsDownloadSnapshotURL,
|
|
1542
|
+
errors: [UnknownOvhError],
|
|
1543
|
+
protocol: OvhProtocol,
|
|
1544
|
+
retry: Retry.Retry,
|
|
1545
|
+
}));
|
|
1546
|
+
/** Give the status of the services of the main IP */
|
|
1547
|
+
export const getVpsStatus = /*@__PURE__*/ API.make(() => ({
|
|
1548
|
+
input: GetVpsStatusRequest,
|
|
1549
|
+
output: VpsIpServiceStatus,
|
|
1550
|
+
errors: [UnknownOvhError],
|
|
1551
|
+
protocol: OvhProtocol,
|
|
1552
|
+
retry: Retry.Retry,
|
|
1553
|
+
}));
|
|
1554
|
+
/** Get this object properties */
|
|
1555
|
+
export const getVpsTask = /*@__PURE__*/ API.make(() => ({
|
|
1556
|
+
input: GetVpsTaskRequest,
|
|
1557
|
+
output: VpsTask,
|
|
1558
|
+
errors: [UnknownOvhError],
|
|
1559
|
+
protocol: OvhProtocol,
|
|
1560
|
+
retry: Retry.Retry,
|
|
1561
|
+
}));
|
|
1562
|
+
/** Get this object properties */
|
|
1563
|
+
export const getVpsTemplate = /*@__PURE__*/ API.make(() => ({
|
|
1564
|
+
input: GetVpsTemplateRequest,
|
|
1565
|
+
output: VpsTemplate,
|
|
1566
|
+
errors: [UnknownOvhError],
|
|
1567
|
+
protocol: OvhProtocol,
|
|
1568
|
+
retry: Retry.Retry,
|
|
1569
|
+
}));
|
|
1570
|
+
/** Get this object properties */
|
|
1571
|
+
export const getVpsTemplateSoftware = /*@__PURE__*/ API.make(() => ({
|
|
1572
|
+
input: GetVpsTemplateSoftwareRequest,
|
|
1573
|
+
output: VpsSoftware,
|
|
1574
|
+
errors: [UnknownOvhError],
|
|
1575
|
+
protocol: OvhProtocol,
|
|
1576
|
+
retry: Retry.Retry,
|
|
1577
|
+
}));
|
|
1578
|
+
/** Get this object properties */
|
|
1579
|
+
export const getVpsVeeam = /*@__PURE__*/ API.make(() => ({
|
|
1580
|
+
input: GetVpsVeeamRequest,
|
|
1581
|
+
output: VpsVeeam,
|
|
1582
|
+
errors: [UnknownOvhError],
|
|
1583
|
+
protocol: OvhProtocol,
|
|
1584
|
+
retry: Retry.Retry,
|
|
1585
|
+
}));
|
|
1586
|
+
/** Get this object properties */
|
|
1587
|
+
export const getVpsVeeamRestoredBackup = /*@__PURE__*/ API.make(() => ({
|
|
1588
|
+
input: GetVpsVeeamRestoredBackupRequest,
|
|
1589
|
+
output: VpsVeeamRestoredBackup,
|
|
1590
|
+
errors: [UnknownOvhError],
|
|
1591
|
+
protocol: OvhProtocol,
|
|
1592
|
+
retry: Retry.Retry,
|
|
1593
|
+
}));
|
|
1594
|
+
/** Get this object properties */
|
|
1595
|
+
export const getVpsVeeamRestorePoint = /*@__PURE__*/ API.make(() => ({
|
|
1596
|
+
input: GetVpsVeeamRestorePointRequest,
|
|
1597
|
+
output: VpsVeeamRestorePoint,
|
|
1598
|
+
errors: [UnknownOvhError],
|
|
1599
|
+
protocol: OvhProtocol,
|
|
1600
|
+
retry: Retry.Retry,
|
|
1601
|
+
}));
|
|
1602
|
+
/** Get the VPS billing version */
|
|
1603
|
+
export const getVpsVersion = /*@__PURE__*/ API.make(() => ({
|
|
1604
|
+
input: GetVpsVersionRequest,
|
|
1605
|
+
output: VpsVpsBillingVersion,
|
|
1606
|
+
errors: [UnknownOvhError],
|
|
1607
|
+
protocol: OvhProtocol,
|
|
1608
|
+
retry: Retry.Retry,
|
|
1609
|
+
}));
|
|
1610
|
+
/** List available services */
|
|
1611
|
+
export const listVps = /*@__PURE__*/ API.make(() => ({
|
|
1612
|
+
input: ListVpsRequest,
|
|
1613
|
+
output: ListVpsResponse,
|
|
1614
|
+
errors: [UnknownOvhError],
|
|
1615
|
+
protocol: OvhProtocol,
|
|
1616
|
+
retry: Retry.Retry,
|
|
1617
|
+
}));
|
|
1618
|
+
/** Backup attached to your VPS */
|
|
1619
|
+
export const listVpsAutomatedBackupAttachedBackup = /*@__PURE__*/ API.make(() => ({
|
|
1620
|
+
input: ListVpsAutomatedBackupAttachedBackupRequest,
|
|
1621
|
+
output: ListVpsAutomatedBackupAttachedBackupResponse,
|
|
1622
|
+
errors: [UnknownOvhError],
|
|
1623
|
+
protocol: OvhProtocol,
|
|
1624
|
+
retry: Retry.Retry,
|
|
1625
|
+
}));
|
|
1626
|
+
/** Get available Restore Points */
|
|
1627
|
+
export const listVpsAutomatedBackupRestorePoints = /*@__PURE__*/ API.make(() => ({
|
|
1628
|
+
input: ListVpsAutomatedBackupRestorePointsRequest,
|
|
1629
|
+
output: ListVpsAutomatedBackupRestorePointsResponse,
|
|
1630
|
+
errors: [UnknownOvhError],
|
|
1631
|
+
protocol: OvhProtocol,
|
|
1632
|
+
retry: Retry.Retry,
|
|
1633
|
+
}));
|
|
1634
|
+
/** Return all models the virtual server can be upgraded to */
|
|
1635
|
+
export const listVpsAvailableUpgrade = /*@__PURE__*/ API.make(() => ({
|
|
1636
|
+
input: ListVpsAvailableUpgradeRequest,
|
|
1637
|
+
output: ListVpsAvailableUpgradeResponse,
|
|
1638
|
+
errors: [UnknownOvhError],
|
|
1639
|
+
protocol: OvhProtocol,
|
|
1640
|
+
retry: Retry.Retry,
|
|
1641
|
+
}));
|
|
1642
|
+
/** List of IP blocks (and protocols to allow on these blocks) authorized on your backup FTP */
|
|
1643
|
+
export const listVpsBackupftpAccess = /*@__PURE__*/ API.make(() => ({
|
|
1644
|
+
input: ListVpsBackupftpAccessRequest,
|
|
1645
|
+
output: ListVpsBackupftpAccessResponse,
|
|
1646
|
+
errors: [UnknownOvhError],
|
|
1647
|
+
protocol: OvhProtocol,
|
|
1648
|
+
retry: Retry.Retry,
|
|
1649
|
+
}));
|
|
1650
|
+
/** Get all IP blocks that can be used in the ACL */
|
|
1651
|
+
export const listVpsBackupftpAuthorizableBlocks = /*@__PURE__*/ API.make(() => ({
|
|
1652
|
+
input: ListVpsBackupftpAuthorizableBlocksRequest,
|
|
1653
|
+
output: ListVpsBackupftpAuthorizableBlocksResponse,
|
|
1654
|
+
errors: [UnknownOvhError],
|
|
1655
|
+
protocol: OvhProtocol,
|
|
1656
|
+
retry: Retry.Retry,
|
|
1657
|
+
}));
|
|
1658
|
+
/** List all the datacenters for a specific country */
|
|
1659
|
+
export const listVpsDatacenter = /*@__PURE__*/ API.make(() => ({
|
|
1660
|
+
input: ListVpsDatacenterRequest,
|
|
1661
|
+
output: ListVpsDatacenterResponse,
|
|
1662
|
+
errors: [UnknownOvhError],
|
|
1663
|
+
protocol: OvhProtocol,
|
|
1664
|
+
retry: Retry.Retry,
|
|
1665
|
+
}));
|
|
1666
|
+
/** Return many statistics about the disk for a given period */
|
|
1667
|
+
export const listVpsDiskMonitoring = /*@__PURE__*/ API.make(() => ({
|
|
1668
|
+
input: ListVpsDiskMonitoringRequest,
|
|
1669
|
+
output: ComplexTypeUnitAndValuesVpsVpsTimestampValue,
|
|
1670
|
+
errors: [UnknownOvhError],
|
|
1671
|
+
protocol: OvhProtocol,
|
|
1672
|
+
retry: Retry.Retry,
|
|
1673
|
+
}));
|
|
1674
|
+
/** Disks associated to this virtual server */
|
|
1675
|
+
export const listVpsDisks = /*@__PURE__*/ API.make(() => ({
|
|
1676
|
+
input: ListVpsDisksRequest,
|
|
1677
|
+
output: ListVpsDisksResponse,
|
|
1678
|
+
errors: [UnknownOvhError],
|
|
1679
|
+
protocol: OvhProtocol,
|
|
1680
|
+
retry: Retry.Retry,
|
|
1681
|
+
}));
|
|
1682
|
+
/** List available softwares for this template Id */
|
|
1683
|
+
export const listVpsDistributionSoftware = /*@__PURE__*/ API.make(() => ({
|
|
1684
|
+
input: ListVpsDistributionSoftwareRequest,
|
|
1685
|
+
output: ListVpsDistributionSoftwareResponse,
|
|
1686
|
+
errors: [UnknownOvhError],
|
|
1687
|
+
protocol: OvhProtocol,
|
|
1688
|
+
retry: Retry.Retry,
|
|
1689
|
+
}));
|
|
1690
|
+
/** Images available for this virtual server */
|
|
1691
|
+
export const listVpsImageAvailable = /*@__PURE__*/ API.make(() => ({
|
|
1692
|
+
input: ListVpsImageAvailableRequest,
|
|
1693
|
+
output: ListVpsImageAvailableResponse,
|
|
1694
|
+
errors: [UnknownOvhError],
|
|
1695
|
+
protocol: OvhProtocol,
|
|
1696
|
+
retry: Retry.Retry,
|
|
1697
|
+
}));
|
|
1698
|
+
/** Get the countries you can select for your IPs geolocation */
|
|
1699
|
+
export const listVpsIpCountryAvailable = /*@__PURE__*/ API.make(() => ({
|
|
1700
|
+
input: ListVpsIpCountryAvailableRequest,
|
|
1701
|
+
output: ListVpsIpCountryAvailableResponse,
|
|
1702
|
+
errors: [UnknownOvhError],
|
|
1703
|
+
protocol: OvhProtocol,
|
|
1704
|
+
retry: Retry.Retry,
|
|
1705
|
+
}));
|
|
1706
|
+
/** Ips associated to this virtual server */
|
|
1707
|
+
export const listVpsIps = /*@__PURE__*/ API.make(() => ({
|
|
1708
|
+
input: ListVpsIpsRequest,
|
|
1709
|
+
output: ListVpsIpsResponse,
|
|
1710
|
+
errors: [UnknownOvhError],
|
|
1711
|
+
protocol: OvhProtocol,
|
|
1712
|
+
retry: Retry.Retry,
|
|
1713
|
+
}));
|
|
1714
|
+
/** Get information on a possible migration of a VPS 2016/2018 to VPS 2020 */
|
|
1715
|
+
export const listVpsMigration2018 = /*@__PURE__*/ API.make(() => ({
|
|
1716
|
+
input: ListVpsMigration2018Request,
|
|
1717
|
+
output: VpsMigrationVPS2018to2020,
|
|
1718
|
+
errors: [UnknownOvhError],
|
|
1719
|
+
protocol: OvhProtocol,
|
|
1720
|
+
retry: Retry.Retry,
|
|
1721
|
+
}));
|
|
1722
|
+
/** Return all models for the range of the virtual server */
|
|
1723
|
+
export const listVpsModels = /*@__PURE__*/ API.make(() => ({
|
|
1724
|
+
input: ListVpsModelsRequest,
|
|
1725
|
+
output: ListVpsModelsResponse,
|
|
1726
|
+
errors: [UnknownOvhError],
|
|
1727
|
+
protocol: OvhProtocol,
|
|
1728
|
+
retry: Retry.Retry,
|
|
1729
|
+
}));
|
|
1730
|
+
/** List of VPS options */
|
|
1731
|
+
export const listVpsOption = /*@__PURE__*/ API.make(() => ({
|
|
1732
|
+
input: ListVpsOptionRequest,
|
|
1733
|
+
output: ListVpsOptionResponse,
|
|
1734
|
+
errors: [UnknownOvhError],
|
|
1735
|
+
protocol: OvhProtocol,
|
|
1736
|
+
retry: Retry.Retry,
|
|
1737
|
+
}));
|
|
1738
|
+
/** List datacenters with priority and stock status */
|
|
1739
|
+
export const listVpsOrderRuleDatacenter = /*@__PURE__*/ API.make(() => ({
|
|
1740
|
+
input: ListVpsOrderRuleDatacenterRequest,
|
|
1741
|
+
output: VpsOrderRuleDatacenters,
|
|
1742
|
+
errors: [UnknownOvhError],
|
|
1743
|
+
protocol: OvhProtocol,
|
|
1744
|
+
retry: Retry.Retry,
|
|
1745
|
+
}));
|
|
1746
|
+
/** List OS choices with status */
|
|
1747
|
+
export const listVpsOrderRuleOsChoices = /*@__PURE__*/ API.make(() => ({
|
|
1748
|
+
input: ListVpsOrderRuleOsChoicesRequest,
|
|
1749
|
+
output: VpsOrderRuleOSChoices,
|
|
1750
|
+
errors: [UnknownOvhError],
|
|
1751
|
+
protocol: OvhProtocol,
|
|
1752
|
+
retry: Retry.Retry,
|
|
1753
|
+
}));
|
|
1754
|
+
/** List of secondary dns domain name */
|
|
1755
|
+
export const listVpsSecondaryDnsDomains = /*@__PURE__*/ API.make(() => ({
|
|
1756
|
+
input: ListVpsSecondaryDnsDomainsRequest,
|
|
1757
|
+
output: ListVpsSecondaryDnsDomainsResponse,
|
|
1758
|
+
errors: [UnknownOvhError],
|
|
1759
|
+
protocol: OvhProtocol,
|
|
1760
|
+
retry: Retry.Retry,
|
|
1761
|
+
}));
|
|
1762
|
+
/** Tasks associated to this virtual server */
|
|
1763
|
+
export const listVpsTasks = /*@__PURE__*/ API.make(() => ({
|
|
1764
|
+
input: ListVpsTasksRequest,
|
|
1765
|
+
output: ListVpsTasksResponse,
|
|
1766
|
+
errors: [UnknownOvhError],
|
|
1767
|
+
protocol: OvhProtocol,
|
|
1768
|
+
retry: Retry.Retry,
|
|
1769
|
+
}));
|
|
1770
|
+
/** Templates available for this virtual server */
|
|
1771
|
+
export const listVpsTemplates = /*@__PURE__*/ API.make(() => ({
|
|
1772
|
+
input: ListVpsTemplatesRequest,
|
|
1773
|
+
output: ListVpsTemplatesResponse,
|
|
1774
|
+
errors: [UnknownOvhError],
|
|
1775
|
+
protocol: OvhProtocol,
|
|
1776
|
+
retry: Retry.Retry,
|
|
1777
|
+
}));
|
|
1778
|
+
/** List available softwares for this template Id */
|
|
1779
|
+
export const listVpsTemplateSoftware = /*@__PURE__*/ API.make(() => ({
|
|
1780
|
+
input: ListVpsTemplateSoftwareRequest,
|
|
1781
|
+
output: ListVpsTemplateSoftwareResponse,
|
|
1782
|
+
errors: [UnknownOvhError],
|
|
1783
|
+
protocol: OvhProtocol,
|
|
1784
|
+
retry: Retry.Retry,
|
|
1785
|
+
}));
|
|
1786
|
+
/** Veeam restore points for the VPS */
|
|
1787
|
+
export const listVpsVeeamRestorePoints = /*@__PURE__*/ API.make(() => ({
|
|
1788
|
+
input: ListVpsVeeamRestorePointsRequest,
|
|
1789
|
+
output: ListVpsVeeamRestorePointsResponse,
|
|
1790
|
+
errors: [UnknownOvhError],
|
|
1791
|
+
protocol: OvhProtocol,
|
|
1792
|
+
retry: Retry.Retry,
|
|
1793
|
+
}));
|
|
1794
|
+
/** Alter this object properties */
|
|
1795
|
+
export const putVps = /*@__PURE__*/ API.make(() => ({
|
|
1796
|
+
input: PutVpsRequest,
|
|
1797
|
+
output: PutVpsResponse,
|
|
1798
|
+
errors: [UnknownOvhError],
|
|
1799
|
+
protocol: OvhProtocol,
|
|
1800
|
+
retry: Retry.Retry,
|
|
1801
|
+
}));
|
|
1802
|
+
/** Alter this object properties */
|
|
1803
|
+
export const putVpsBackupftpAccess = /*@__PURE__*/ API.make(() => ({
|
|
1804
|
+
input: PutVpsBackupftpAccessRequest,
|
|
1805
|
+
output: PutVpsBackupftpAccessResponse,
|
|
1806
|
+
errors: [UnknownOvhError],
|
|
1807
|
+
protocol: OvhProtocol,
|
|
1808
|
+
retry: Retry.Retry,
|
|
1809
|
+
}));
|
|
1810
|
+
/** Alter this object properties */
|
|
1811
|
+
export const putVpsDisk = /*@__PURE__*/ API.make(() => ({
|
|
1812
|
+
input: PutVpsDiskRequest,
|
|
1813
|
+
output: PutVpsDiskResponse,
|
|
1814
|
+
errors: [UnknownOvhError],
|
|
1815
|
+
protocol: OvhProtocol,
|
|
1816
|
+
retry: Retry.Retry,
|
|
1817
|
+
}));
|
|
1818
|
+
/** Alter this object properties */
|
|
1819
|
+
export const putVpsIps = /*@__PURE__*/ API.make(() => ({
|
|
1820
|
+
input: PutVpsIpsRequest,
|
|
1821
|
+
output: PutVpsIpsResponse,
|
|
1822
|
+
errors: [UnknownOvhError],
|
|
1823
|
+
protocol: OvhProtocol,
|
|
1824
|
+
retry: Retry.Retry,
|
|
1825
|
+
}));
|
|
1826
|
+
/** Alter this object properties */
|
|
1827
|
+
export const putVpsSecondaryDnsDomain = /*@__PURE__*/ API.make(() => ({
|
|
1828
|
+
input: PutVpsSecondaryDnsDomainRequest,
|
|
1829
|
+
output: PutVpsSecondaryDnsDomainResponse,
|
|
1830
|
+
errors: [UnknownOvhError],
|
|
1831
|
+
protocol: OvhProtocol,
|
|
1832
|
+
retry: Retry.Retry,
|
|
1833
|
+
}));
|
|
1834
|
+
/** Update service information */
|
|
1835
|
+
export const putVpsServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
1836
|
+
input: PutVpsServiceInfosRequest,
|
|
1837
|
+
output: PutVpsServiceInfosResponse,
|
|
1838
|
+
errors: [UnknownOvhError],
|
|
1839
|
+
protocol: OvhProtocol,
|
|
1840
|
+
retry: Retry.Retry,
|
|
1841
|
+
}));
|
|
1842
|
+
/** Alter this object properties */
|
|
1843
|
+
export const putVpsSnapshot = /*@__PURE__*/ API.make(() => ({
|
|
1844
|
+
input: PutVpsSnapshotRequest,
|
|
1845
|
+
output: PutVpsSnapshotResponse,
|
|
1846
|
+
errors: [UnknownOvhError],
|
|
1847
|
+
protocol: OvhProtocol,
|
|
1848
|
+
retry: Retry.Retry,
|
|
1849
|
+
}));
|
|
1850
|
+
/** Request a reboot of the machine */
|
|
1851
|
+
export const rebootVps = /*@__PURE__*/ API.make(() => ({
|
|
1852
|
+
input: RebootVpsRequest,
|
|
1853
|
+
output: VpsTask,
|
|
1854
|
+
errors: [UnknownOvhError],
|
|
1855
|
+
protocol: OvhProtocol,
|
|
1856
|
+
retry: Retry.Retry,
|
|
1857
|
+
}));
|
|
1858
|
+
/** Reinstall the virtual server */
|
|
1859
|
+
export const rebuildVps = /*@__PURE__*/ API.make(() => ({
|
|
1860
|
+
input: RebuildVpsRequest,
|
|
1861
|
+
output: VpsTask,
|
|
1862
|
+
errors: [UnknownOvhError],
|
|
1863
|
+
protocol: OvhProtocol,
|
|
1864
|
+
retry: Retry.Retry,
|
|
1865
|
+
}));
|
|
1866
|
+
/** Creates a VPS.Task that will restore the given restorePoint */
|
|
1867
|
+
export const restoreVpsAutomatedBackup = /*@__PURE__*/ API.make(() => ({
|
|
1868
|
+
input: RestoreVpsAutomatedBackupRequest,
|
|
1869
|
+
output: VpsTask,
|
|
1870
|
+
errors: [UnknownOvhError],
|
|
1871
|
+
protocol: OvhProtocol,
|
|
1872
|
+
retry: Retry.Retry,
|
|
1873
|
+
}));
|
|
1874
|
+
/** Creates a VPS.Task that will restore the given restorePoint */
|
|
1875
|
+
export const restoreVpsVeeamRestorePoint = /*@__PURE__*/ API.make(() => ({
|
|
1876
|
+
input: RestoreVpsVeeamRestorePointRequest,
|
|
1877
|
+
output: VpsTask,
|
|
1878
|
+
errors: [UnknownOvhError],
|
|
1879
|
+
protocol: OvhProtocol,
|
|
1880
|
+
retry: Retry.Retry,
|
|
1881
|
+
}));
|
|
1882
|
+
/** Start the process in order to set the root password of the virtual machine */
|
|
1883
|
+
export const setVpsPassword = /*@__PURE__*/ API.make(() => ({
|
|
1884
|
+
input: SetVpsPasswordRequest,
|
|
1885
|
+
output: VpsTask,
|
|
1886
|
+
errors: [UnknownOvhError],
|
|
1887
|
+
protocol: OvhProtocol,
|
|
1888
|
+
retry: Retry.Retry,
|
|
1889
|
+
}));
|
|
1890
|
+
/** Request the machine to start */
|
|
1891
|
+
export const startVps = /*@__PURE__*/ API.make(() => ({
|
|
1892
|
+
input: StartVpsRequest,
|
|
1893
|
+
output: VpsTask,
|
|
1894
|
+
errors: [UnknownOvhError],
|
|
1895
|
+
protocol: OvhProtocol,
|
|
1896
|
+
retry: Retry.Retry,
|
|
1897
|
+
}));
|
|
1898
|
+
/** Request the machine to stop */
|
|
1899
|
+
export const stopVps = /*@__PURE__*/ API.make(() => ({
|
|
1900
|
+
input: StopVpsRequest,
|
|
1901
|
+
output: VpsTask,
|
|
1902
|
+
errors: [UnknownOvhError],
|
|
1903
|
+
protocol: OvhProtocol,
|
|
1904
|
+
retry: Retry.Retry,
|
|
1905
|
+
}));
|
|
1906
|
+
/** Ask for the termination of your service */
|
|
1907
|
+
export const terminateVps = /*@__PURE__*/ API.make(() => ({
|
|
1908
|
+
input: TerminateVpsRequest,
|
|
1909
|
+
output: TerminateVpsResponse,
|
|
1910
|
+
errors: [UnknownOvhError],
|
|
1911
|
+
protocol: OvhProtocol,
|
|
1912
|
+
retry: Retry.Retry,
|
|
1913
|
+
}));
|
|
1914
|
+
//# sourceMappingURL=vps.js.map
|