@distilled.cloud/ovh 0.0.0 → 1.0.0-rc.9

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.
Files changed (192) hide show
  1. package/LICENSE +201 -0
  2. package/lib/credentials.d.ts +38 -0
  3. package/lib/credentials.d.ts.map +1 -0
  4. package/lib/credentials.js +54 -0
  5. package/lib/credentials.js.map +1 -0
  6. package/lib/errors.d.ts +36 -0
  7. package/lib/errors.d.ts.map +1 -0
  8. package/lib/errors.js +26 -0
  9. package/lib/errors.js.map +1 -0
  10. package/lib/index.d.ts +22 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/index.js +22 -0
  13. package/lib/index.js.map +1 -0
  14. package/lib/pagination.d.ts +8 -0
  15. package/lib/pagination.d.ts.map +1 -0
  16. package/lib/pagination.js +8 -0
  17. package/lib/pagination.js.map +1 -0
  18. package/lib/protocol.d.ts +18 -0
  19. package/lib/protocol.d.ts.map +1 -0
  20. package/lib/protocol.js +60 -0
  21. package/lib/protocol.js.map +1 -0
  22. package/lib/retry.d.ts +32 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +32 -0
  25. package/lib/retry.js.map +1 -0
  26. package/lib/services/baremetal.d.ts +3551 -0
  27. package/lib/services/baremetal.d.ts.map +1 -0
  28. package/lib/services/baremetal.js +4200 -0
  29. package/lib/services/baremetal.js.map +1 -0
  30. package/lib/services/cloud.d.ts +26011 -0
  31. package/lib/services/cloud.d.ts.map +1 -0
  32. package/lib/services/cloud.js +31119 -0
  33. package/lib/services/cloud.js.map +1 -0
  34. package/lib/services/cloud_v2.d.ts +5642 -0
  35. package/lib/services/cloud_v2.d.ts.map +1 -0
  36. package/lib/services/cloud_v2.js +5760 -0
  37. package/lib/services/cloud_v2.js.map +1 -0
  38. package/lib/services/dedicatedceph.d.ts +747 -0
  39. package/lib/services/dedicatedceph.d.ts.map +1 -0
  40. package/lib/services/dedicatedceph.js +962 -0
  41. package/lib/services/dedicatedceph.js.map +1 -0
  42. package/lib/services/dedicatednasha.d.ts +755 -0
  43. package/lib/services/dedicatednasha.d.ts.map +1 -0
  44. package/lib/services/dedicatednasha.js +967 -0
  45. package/lib/services/dedicatednasha.js.map +1 -0
  46. package/lib/services/domain.d.ts +2995 -0
  47. package/lib/services/domain.d.ts.map +1 -0
  48. package/lib/services/domain.js +3080 -0
  49. package/lib/services/domain.js.map +1 -0
  50. package/lib/services/emaildomain.d.ts +1913 -0
  51. package/lib/services/emaildomain.d.ts.map +1 -0
  52. package/lib/services/emaildomain.js +2550 -0
  53. package/lib/services/emaildomain.js.map +1 -0
  54. package/lib/services/emailmxplan.d.ts +1012 -0
  55. package/lib/services/emailmxplan.d.ts.map +1 -0
  56. package/lib/services/emailmxplan.js +1155 -0
  57. package/lib/services/emailmxplan.js.map +1 -0
  58. package/lib/services/emailpro.d.ts +1287 -0
  59. package/lib/services/emailpro.d.ts.map +1 -0
  60. package/lib/services/emailpro.js +1471 -0
  61. package/lib/services/emailpro.js.map +1 -0
  62. package/lib/services/hostingprivatedatabase.d.ts +1402 -0
  63. package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
  64. package/lib/services/hostingprivatedatabase.js +1833 -0
  65. package/lib/services/hostingprivatedatabase.js.map +1 -0
  66. package/lib/services/iam.d.ts +829 -0
  67. package/lib/services/iam.d.ts.map +1 -0
  68. package/lib/services/iam.js +793 -0
  69. package/lib/services/iam.js.map +1 -0
  70. package/lib/services/index.d.ts +31 -0
  71. package/lib/services/index.d.ts.map +1 -0
  72. package/lib/services/index.js +32 -0
  73. package/lib/services/index.js.map +1 -0
  74. package/lib/services/ip.d.ts +1417 -0
  75. package/lib/services/ip.d.ts.map +1 -0
  76. package/lib/services/ip.js +1691 -0
  77. package/lib/services/ip.js.map +1 -0
  78. package/lib/services/iploadbalancing.d.ts +3059 -0
  79. package/lib/services/iploadbalancing.d.ts.map +1 -0
  80. package/lib/services/iploadbalancing.js +3554 -0
  81. package/lib/services/iploadbalancing.js.map +1 -0
  82. package/lib/services/ldp.d.ts +2492 -0
  83. package/lib/services/ldp.d.ts.map +1 -0
  84. package/lib/services/ldp.js +3072 -0
  85. package/lib/services/ldp.js.map +1 -0
  86. package/lib/services/me.d.ts +7511 -0
  87. package/lib/services/me.d.ts.map +1 -0
  88. package/lib/services/me.js +8878 -0
  89. package/lib/services/me.js.map +1 -0
  90. package/lib/services/overthebox.d.ts +981 -0
  91. package/lib/services/overthebox.d.ts.map +1 -0
  92. package/lib/services/overthebox.js +1122 -0
  93. package/lib/services/overthebox.js.map +1 -0
  94. package/lib/services/ovhcloudconnect.d.ts +1123 -0
  95. package/lib/services/ovhcloudconnect.d.ts.map +1 -0
  96. package/lib/services/ovhcloudconnect.js +1353 -0
  97. package/lib/services/ovhcloudconnect.js.map +1 -0
  98. package/lib/services/packxdsl.d.ts +1583 -0
  99. package/lib/services/packxdsl.d.ts.map +1 -0
  100. package/lib/services/packxdsl.js +1791 -0
  101. package/lib/services/packxdsl.js.map +1 -0
  102. package/lib/services/sms.d.ts +2602 -0
  103. package/lib/services/sms.d.ts.map +1 -0
  104. package/lib/services/sms.js +2995 -0
  105. package/lib/services/sms.js.map +1 -0
  106. package/lib/services/sslgateway.d.ts +493 -0
  107. package/lib/services/sslgateway.d.ts.map +1 -0
  108. package/lib/services/sslgateway.js +569 -0
  109. package/lib/services/sslgateway.js.map +1 -0
  110. package/lib/services/storagenetapp.d.ts +859 -0
  111. package/lib/services/storagenetapp.d.ts.map +1 -0
  112. package/lib/services/storagenetapp.js +1022 -0
  113. package/lib/services/storagenetapp.js.map +1 -0
  114. package/lib/services/support.d.ts +233 -0
  115. package/lib/services/support.d.ts.map +1 -0
  116. package/lib/services/support.js +237 -0
  117. package/lib/services/support.js.map +1 -0
  118. package/lib/services/telephony.d.ts +10825 -0
  119. package/lib/services/telephony.d.ts.map +1 -0
  120. package/lib/services/telephony.js +14894 -0
  121. package/lib/services/telephony.js.map +1 -0
  122. package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
  123. package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
  124. package/lib/services/vmwareclouddirectorbackup.js +842 -0
  125. package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
  126. package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
  127. package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
  128. package/lib/services/vmwareclouddirectororganization.js +842 -0
  129. package/lib/services/vmwareclouddirectororganization.js.map +1 -0
  130. package/lib/services/vps.d.ts +1579 -0
  131. package/lib/services/vps.d.ts.map +1 -0
  132. package/lib/services/vps.js +1914 -0
  133. package/lib/services/vps.js.map +1 -0
  134. package/lib/services/vrack.d.ts +1204 -0
  135. package/lib/services/vrack.d.ts.map +1 -0
  136. package/lib/services/vrack.js +1627 -0
  137. package/lib/services/vrack.js.map +1 -0
  138. package/lib/services/vrackservices.d.ts +394 -0
  139. package/lib/services/vrackservices.d.ts.map +1 -0
  140. package/lib/services/vrackservices.js +355 -0
  141. package/lib/services/vrackservices.js.map +1 -0
  142. package/lib/services/webhosting.d.ts +3986 -0
  143. package/lib/services/webhosting.d.ts.map +1 -0
  144. package/lib/services/webhosting.js +4527 -0
  145. package/lib/services/webhosting.js.map +1 -0
  146. package/lib/services/xdsl.d.ts +3433 -0
  147. package/lib/services/xdsl.d.ts.map +1 -0
  148. package/lib/services/xdsl.js +3682 -0
  149. package/lib/services/xdsl.js.map +1 -0
  150. package/lib/traits.d.ts +11 -0
  151. package/lib/traits.d.ts.map +1 -0
  152. package/lib/traits.js +11 -0
  153. package/lib/traits.js.map +1 -0
  154. package/package.json +77 -6
  155. package/src/credentials.ts +77 -0
  156. package/src/errors.ts +50 -0
  157. package/src/index.ts +21 -0
  158. package/src/pagination.ts +7 -0
  159. package/src/protocol.ts +86 -0
  160. package/src/retry.ts +54 -0
  161. package/src/services/baremetal.ts +10954 -0
  162. package/src/services/cloud.ts +75508 -0
  163. package/src/services/cloud_v2.ts +14751 -0
  164. package/src/services/dedicatedceph.ts +2233 -0
  165. package/src/services/dedicatednasha.ts +2269 -0
  166. package/src/services/domain.ts +7998 -0
  167. package/src/services/emaildomain.ts +5751 -0
  168. package/src/services/emailmxplan.ts +2764 -0
  169. package/src/services/emailpro.ts +3519 -0
  170. package/src/services/hostingprivatedatabase.ts +4218 -0
  171. package/src/services/iam.ts +2060 -0
  172. package/src/services/index.ts +31 -0
  173. package/src/services/ip.ts +4462 -0
  174. package/src/services/iploadbalancing.ts +8422 -0
  175. package/src/services/ldp.ts +7274 -0
  176. package/src/services/me.ts +21720 -0
  177. package/src/services/overthebox.ts +2693 -0
  178. package/src/services/ovhcloudconnect.ts +3226 -0
  179. package/src/services/packxdsl.ts +4623 -0
  180. package/src/services/sms.ts +7255 -0
  181. package/src/services/sslgateway.ts +1408 -0
  182. package/src/services/storagenetapp.ts +2433 -0
  183. package/src/services/support.ts +598 -0
  184. package/src/services/telephony.ts +32941 -0
  185. package/src/services/vmwareclouddirectorbackup.ts +2171 -0
  186. package/src/services/vmwareclouddirectororganization.ts +2171 -0
  187. package/src/services/vps.ts +5134 -0
  188. package/src/services/vrack.ts +3730 -0
  189. package/src/services/vrackservices.ts +939 -0
  190. package/src/services/webhosting.ts +11290 -0
  191. package/src/services/xdsl.ts +9278 -0
  192. package/src/traits.ts +44 -0
@@ -0,0 +1,3730 @@
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 API from "@distilled.cloud/core/api";
4
+ import * as T from "../traits.ts";
5
+ import {
6
+ OvhProtocol,
7
+ type OvhOpError,
8
+ type OvhOpContext,
9
+ } from "../protocol.ts";
10
+ import { UnknownOvhError } from "../errors.ts";
11
+ import * as Retry from "../retry.ts";
12
+
13
+ export type { OvhOpError, OvhOpContext };
14
+
15
+ /** All future uses you can provide for a service termination */
16
+ export type ServiceTerminationFutureUseEnum =
17
+ | "NOT_REPLACING_SERVICE"
18
+ | "OTHER"
19
+ | "SUBSCRIBE_AN_OTHER_SERVICE"
20
+ | "SUBSCRIBE_OTHER_KIND_OF_SERVICE_WITH_COMPETITOR"
21
+ | "SUBSCRIBE_SIMILAR_SERVICE_WITH_COMPETITOR";
22
+ export const ServiceTerminationFutureUseEnum = /*@__PURE__*/ S.String;
23
+
24
+ /** All reasons you can provide for a service termination */
25
+ export type ServiceTerminationReasonEnum =
26
+ | "FEATURES_DONT_SUIT_ME"
27
+ | "LACK_OF_PERFORMANCES"
28
+ | "MIGRATED_TO_ANOTHER_OVH_PRODUCT"
29
+ | "MIGRATED_TO_COMPETITOR"
30
+ | "NOT_ENOUGH_RECOGNITION"
31
+ | "NOT_NEEDED_ANYMORE"
32
+ | "NOT_RELIABLE"
33
+ | "NO_ANSWER"
34
+ | "OTHER"
35
+ | "PRODUCT_DIMENSION_DONT_SUIT_ME"
36
+ | "PRODUCT_TOOLS_DONT_SUIT_ME"
37
+ | "TOO_EXPENSIVE"
38
+ | "TOO_HARD_TO_USE"
39
+ | "UNSATIFIED_BY_CUSTOMER_SUPPORT";
40
+ export const ServiceTerminationReasonEnum = /*@__PURE__*/ S.String;
41
+
42
+ export interface ConfirmVrackTerminationRequest {
43
+ /** The internal name of your vrack */
44
+ serviceName: string;
45
+ /** Commentary about your termination request */
46
+ commentary?: string;
47
+ /** What next after your termination request */
48
+ futureUse?: ServiceTerminationFutureUseEnum | (string & {});
49
+ /** Reason of your termination request */
50
+ reason?: ServiceTerminationReasonEnum | (string & {});
51
+ /** The termination token sent by email to the admin contact */
52
+ token: string;
53
+ }
54
+ export const ConfirmVrackTerminationRequest = /*@__PURE__*/ S.suspend(() =>
55
+ S.Struct({
56
+ serviceName: S.String.pipe(T.Label()),
57
+ commentary: S.optional(S.String),
58
+ futureUse: S.optional(ServiceTerminationFutureUseEnum),
59
+ reason: S.optional(ServiceTerminationReasonEnum),
60
+ token: S.String,
61
+ }).pipe(
62
+ T.Http({
63
+ method: "POST",
64
+ uri: "/vrack/{serviceName}/confirmTermination",
65
+ code: 200,
66
+ }),
67
+ ),
68
+ ).annotate({
69
+ identifier: "ConfirmVrackTerminationRequest",
70
+ }) as any as S.Schema<ConfirmVrackTerminationRequest>;
71
+
72
+ export type ConfirmVrackTerminationResponse = string;
73
+ export const ConfirmVrackTerminationResponse = /*@__PURE__*/ S.suspend(() =>
74
+ S.String.pipe(T.RawResponseRoot()),
75
+ ).annotate({
76
+ identifier: "ConfirmVrackTerminationResponse",
77
+ }) as any as S.Schema<ConfirmVrackTerminationResponse>;
78
+
79
+ export interface CreateVrackChangeContactRequest {
80
+ /** The internal name of your vrack */
81
+ serviceName: string;
82
+ /** The contact to set as admin contact */
83
+ contactAdmin?: string;
84
+ /** The contact to set as billing contact */
85
+ contactBilling?: string;
86
+ /** The contact to set as tech contact */
87
+ contactTech?: string;
88
+ }
89
+ export const CreateVrackChangeContactRequest = /*@__PURE__*/ S.suspend(() =>
90
+ S.Struct({
91
+ serviceName: S.String.pipe(T.Label()),
92
+ contactAdmin: S.optional(S.String),
93
+ contactBilling: S.optional(S.String),
94
+ contactTech: S.optional(S.String),
95
+ }).pipe(
96
+ T.Http({
97
+ method: "POST",
98
+ uri: "/vrack/{serviceName}/changeContact",
99
+ code: 200,
100
+ }),
101
+ ),
102
+ ).annotate({
103
+ identifier: "CreateVrackChangeContactRequest",
104
+ }) as any as S.Schema<CreateVrackChangeContactRequest>;
105
+
106
+ export type CreateVrackChangeContactResponseBodyList = Array<number>;
107
+ export const CreateVrackChangeContactResponseBodyList = /*@__PURE__*/ S.Array(
108
+ S.Number,
109
+ ) as any as S.Schema<CreateVrackChangeContactResponseBodyList>;
110
+
111
+ export type CreateVrackChangeContactResponse =
112
+ CreateVrackChangeContactResponseBodyList;
113
+ export const CreateVrackChangeContactResponse = /*@__PURE__*/ S.suspend(() =>
114
+ CreateVrackChangeContactResponseBodyList.pipe(T.RawResponseRoot()),
115
+ ).annotate({
116
+ identifier: "CreateVrackChangeContactResponse",
117
+ }) as any as S.Schema<CreateVrackChangeContactResponse>;
118
+
119
+ export interface CreateVrackCloudProjectRequest {
120
+ /** The internal name of your vrack */
121
+ serviceName: string;
122
+ /** publicCloud project to add */
123
+ project: string;
124
+ }
125
+ export const CreateVrackCloudProjectRequest = /*@__PURE__*/ S.suspend(() =>
126
+ S.Struct({
127
+ serviceName: S.String.pipe(T.Label()),
128
+ project: S.String,
129
+ }).pipe(
130
+ T.Http({
131
+ method: "POST",
132
+ uri: "/vrack/{serviceName}/cloudProject",
133
+ code: 200,
134
+ }),
135
+ ),
136
+ ).annotate({
137
+ identifier: "CreateVrackCloudProjectRequest",
138
+ }) as any as S.Schema<CreateVrackCloudProjectRequest>;
139
+
140
+ /** All states a vRack Task can be in */
141
+ export type VrackTaskStatusEnum =
142
+ | "cancelled"
143
+ | "doing"
144
+ | "done"
145
+ | "init"
146
+ | "todo";
147
+ export const VrackTaskStatusEnum = /*@__PURE__*/ S.String;
148
+
149
+ /** vrack tasks */
150
+ export interface VrackTask {
151
+ function?: string;
152
+ id?: number;
153
+ lastUpdate?: string | null;
154
+ orderId?: number | null;
155
+ serviceName?: string | null;
156
+ /** Task status */
157
+ status?: VrackTaskStatusEnum;
158
+ targetDomain?: string | null;
159
+ todoDate?: string | null;
160
+ }
161
+ export const VrackTask = /*@__PURE__*/ S.suspend(() =>
162
+ S.Struct({
163
+ function: S.optional(S.String),
164
+ id: S.optional(S.Number),
165
+ lastUpdate: S.optional(S.NullOr(S.String)),
166
+ orderId: S.optional(S.NullOr(S.Number)),
167
+ serviceName: S.optional(S.NullOr(S.String)),
168
+ status: S.optional(VrackTaskStatusEnum),
169
+ targetDomain: S.optional(S.NullOr(S.String)),
170
+ todoDate: S.optional(S.NullOr(S.String)),
171
+ }),
172
+ ).annotate({ identifier: "VrackTask" }) as any as S.Schema<VrackTask>;
173
+
174
+ export interface CreateVrackDedicatedCloudRequest {
175
+ /** The internal name of your vrack */
176
+ serviceName: string;
177
+ dedicatedCloud: string;
178
+ }
179
+ export const CreateVrackDedicatedCloudRequest = /*@__PURE__*/ S.suspend(() =>
180
+ S.Struct({
181
+ serviceName: S.String.pipe(T.Label()),
182
+ dedicatedCloud: S.String,
183
+ }).pipe(
184
+ T.Http({
185
+ method: "POST",
186
+ uri: "/vrack/{serviceName}/dedicatedCloud",
187
+ code: 200,
188
+ }),
189
+ ),
190
+ ).annotate({
191
+ identifier: "CreateVrackDedicatedCloudRequest",
192
+ }) as any as S.Schema<CreateVrackDedicatedCloudRequest>;
193
+
194
+ export interface CreateVrackDedicatedConnectRequest {
195
+ /** The internal name of your vrack */
196
+ serviceName: string;
197
+ /** Hostname of the network device where the dedicatedConnect link is connected to */
198
+ entryPointSwitch: string;
199
+ /** A name for the dedicatedConnect link */
200
+ name: string;
201
+ /** Vlan id of the dedicated link on OVH's G5 router */
202
+ vlanId: number;
203
+ }
204
+ export const CreateVrackDedicatedConnectRequest = /*@__PURE__*/ S.suspend(() =>
205
+ S.Struct({
206
+ serviceName: S.String.pipe(T.Label()),
207
+ entryPointSwitch: S.String,
208
+ name: S.String,
209
+ vlanId: S.Number,
210
+ }).pipe(
211
+ T.Http({
212
+ method: "POST",
213
+ uri: "/vrack/{serviceName}/dedicatedConnect",
214
+ code: 200,
215
+ }),
216
+ ),
217
+ ).annotate({
218
+ identifier: "CreateVrackDedicatedConnectRequest",
219
+ }) as any as S.Schema<CreateVrackDedicatedConnectRequest>;
220
+
221
+ export interface CreateVrackDedicatedServerRequest {
222
+ /** The internal name of your vrack */
223
+ serviceName: string;
224
+ /** Dedicated server to add */
225
+ dedicatedServer: string;
226
+ }
227
+ export const CreateVrackDedicatedServerRequest = /*@__PURE__*/ S.suspend(() =>
228
+ S.Struct({
229
+ serviceName: S.String.pipe(T.Label()),
230
+ dedicatedServer: S.String,
231
+ }).pipe(
232
+ T.Http({
233
+ method: "POST",
234
+ uri: "/vrack/{serviceName}/dedicatedServer",
235
+ code: 200,
236
+ }),
237
+ ),
238
+ ).annotate({
239
+ identifier: "CreateVrackDedicatedServerRequest",
240
+ }) as any as S.Schema<CreateVrackDedicatedServerRequest>;
241
+
242
+ export interface CreateVrackDedicatedServerInterfaceRequest {
243
+ /** The internal name of your vrack */
244
+ serviceName: string;
245
+ /** Dedicated server interface to add */
246
+ dedicatedServerInterface: string;
247
+ }
248
+ export const CreateVrackDedicatedServerInterfaceRequest =
249
+ /*@__PURE__*/ S.suspend(() =>
250
+ S.Struct({
251
+ serviceName: S.String.pipe(T.Label()),
252
+ dedicatedServerInterface: S.String,
253
+ }).pipe(
254
+ T.Http({
255
+ method: "POST",
256
+ uri: "/vrack/{serviceName}/dedicatedServerInterface",
257
+ code: 200,
258
+ }),
259
+ ),
260
+ ).annotate({
261
+ identifier: "CreateVrackDedicatedServerInterfaceRequest",
262
+ }) as any as S.Schema<CreateVrackDedicatedServerInterfaceRequest>;
263
+
264
+ export interface CreateVrackIpRequest {
265
+ /** The internal name of your vrack */
266
+ serviceName: string;
267
+ /** Your IP block */
268
+ block: string;
269
+ /** Choose the region in which to route the block */
270
+ region?: string;
271
+ }
272
+ export const CreateVrackIpRequest = /*@__PURE__*/ S.suspend(() =>
273
+ S.Struct({
274
+ serviceName: S.String.pipe(T.Label()),
275
+ block: S.String,
276
+ region: S.optional(S.String),
277
+ }).pipe(
278
+ T.Http({ method: "POST", uri: "/vrack/{serviceName}/ip", code: 200 }),
279
+ ),
280
+ ).annotate({
281
+ identifier: "CreateVrackIpRequest",
282
+ }) as any as S.Schema<CreateVrackIpRequest>;
283
+
284
+ export interface CreateVrackIpLoadbalancingRequest {
285
+ /** The internal name of your vrack */
286
+ serviceName: string;
287
+ /** Your ipLoadbalancing */
288
+ ipLoadbalancing: string;
289
+ }
290
+ export const CreateVrackIpLoadbalancingRequest = /*@__PURE__*/ S.suspend(() =>
291
+ S.Struct({
292
+ serviceName: S.String.pipe(T.Label()),
293
+ ipLoadbalancing: S.String,
294
+ }).pipe(
295
+ T.Http({
296
+ method: "POST",
297
+ uri: "/vrack/{serviceName}/ipLoadbalancing",
298
+ code: 200,
299
+ }),
300
+ ),
301
+ ).annotate({
302
+ identifier: "CreateVrackIpLoadbalancingRequest",
303
+ }) as any as S.Schema<CreateVrackIpLoadbalancingRequest>;
304
+
305
+ export interface CreateVrackIpv6Request {
306
+ /** The internal name of your vrack */
307
+ serviceName: string;
308
+ /** Your IP v6 block */
309
+ block: string;
310
+ }
311
+ export const CreateVrackIpv6Request = /*@__PURE__*/ S.suspend(() =>
312
+ S.Struct({
313
+ serviceName: S.String.pipe(T.Label()),
314
+ block: S.String,
315
+ }).pipe(
316
+ T.Http({ method: "POST", uri: "/vrack/{serviceName}/ipv6", code: 200 }),
317
+ ),
318
+ ).annotate({
319
+ identifier: "CreateVrackIpv6Request",
320
+ }) as any as S.Schema<CreateVrackIpv6Request>;
321
+
322
+ export interface CreateVrackIpv6RoutedSubrangeRequest {
323
+ /** The internal name of your vrack */
324
+ serviceName: string;
325
+ /** Your IP v6 block */
326
+ ipv6: string;
327
+ /** nexthop to configure for your routed subrange (must be part of bridged subrange) */
328
+ nexthop: string;
329
+ /** subrange to route into your vrack */
330
+ routedSubrange: string;
331
+ }
332
+ export const CreateVrackIpv6RoutedSubrangeRequest = /*@__PURE__*/ S.suspend(
333
+ () =>
334
+ S.Struct({
335
+ serviceName: S.String.pipe(T.Label()),
336
+ ipv6: S.String.pipe(T.Label()),
337
+ nexthop: S.String,
338
+ routedSubrange: S.String,
339
+ }).pipe(
340
+ T.Http({
341
+ method: "POST",
342
+ uri: "/vrack/{serviceName}/ipv6/{ipv6}/routedSubrange",
343
+ code: 200,
344
+ }),
345
+ ),
346
+ ).annotate({
347
+ identifier: "CreateVrackIpv6RoutedSubrangeRequest",
348
+ }) as any as S.Schema<CreateVrackIpv6RoutedSubrangeRequest>;
349
+
350
+ export interface CreateVrackLegacyVrackRequest {
351
+ /** The internal name of your vrack */
352
+ serviceName: string;
353
+ legacyVrack: string;
354
+ }
355
+ export const CreateVrackLegacyVrackRequest = /*@__PURE__*/ S.suspend(() =>
356
+ S.Struct({
357
+ serviceName: S.String.pipe(T.Label()),
358
+ legacyVrack: S.String,
359
+ }).pipe(
360
+ T.Http({
361
+ method: "POST",
362
+ uri: "/vrack/{serviceName}/legacyVrack",
363
+ code: 200,
364
+ }),
365
+ ),
366
+ ).annotate({
367
+ identifier: "CreateVrackLegacyVrackRequest",
368
+ }) as any as S.Schema<CreateVrackLegacyVrackRequest>;
369
+
370
+ export interface CreateVrackOvhCloudConnectRequest {
371
+ /** The internal name of your vrack */
372
+ serviceName: string;
373
+ /** ovhCloudConnect service name */
374
+ ovhCloudConnect: string;
375
+ }
376
+ export const CreateVrackOvhCloudConnectRequest = /*@__PURE__*/ S.suspend(() =>
377
+ S.Struct({
378
+ serviceName: S.String.pipe(T.Label()),
379
+ ovhCloudConnect: S.String,
380
+ }).pipe(
381
+ T.Http({
382
+ method: "POST",
383
+ uri: "/vrack/{serviceName}/ovhCloudConnect",
384
+ code: 200,
385
+ }),
386
+ ),
387
+ ).annotate({
388
+ identifier: "CreateVrackOvhCloudConnectRequest",
389
+ }) as any as S.Schema<CreateVrackOvhCloudConnectRequest>;
390
+
391
+ export interface CreateVrackVmwareCloudDirectorVirtualDataCenterRequest {
392
+ /** The internal name of your vrack */
393
+ serviceName: string;
394
+ /** vmwareCloudDirectorVirtualDataCenter service name */
395
+ vmwareCloudDirectorVirtualDataCenter: string;
396
+ }
397
+ export const CreateVrackVmwareCloudDirectorVirtualDataCenterRequest =
398
+ /*@__PURE__*/ S.suspend(() =>
399
+ S.Struct({
400
+ serviceName: S.String.pipe(T.Label()),
401
+ vmwareCloudDirectorVirtualDataCenter: S.String,
402
+ }).pipe(
403
+ T.Http({
404
+ method: "POST",
405
+ uri: "/vrack/{serviceName}/vmwareCloudDirectorVirtualDataCenter",
406
+ code: 200,
407
+ }),
408
+ ),
409
+ ).annotate({
410
+ identifier: "CreateVrackVmwareCloudDirectorVirtualDataCenterRequest",
411
+ }) as any as S.Schema<CreateVrackVmwareCloudDirectorVirtualDataCenterRequest>;
412
+
413
+ export interface CreateVrackVrackServiceRequest {
414
+ /** The internal name of your vrack */
415
+ serviceName: string;
416
+ /** vrackServices service name */
417
+ vrackServices: string;
418
+ }
419
+ export const CreateVrackVrackServiceRequest = /*@__PURE__*/ S.suspend(() =>
420
+ S.Struct({
421
+ serviceName: S.String.pipe(T.Label()),
422
+ vrackServices: S.String,
423
+ }).pipe(
424
+ T.Http({
425
+ method: "POST",
426
+ uri: "/vrack/{serviceName}/vrackServices",
427
+ code: 200,
428
+ }),
429
+ ),
430
+ ).annotate({
431
+ identifier: "CreateVrackVrackServiceRequest",
432
+ }) as any as S.Schema<CreateVrackVrackServiceRequest>;
433
+
434
+ export interface DeleteVrackCloudProjectRequest {
435
+ /** The internal name of your vrack */
436
+ serviceName: string;
437
+ /** publicCloud project */
438
+ project: string;
439
+ }
440
+ export const DeleteVrackCloudProjectRequest = /*@__PURE__*/ S.suspend(() =>
441
+ S.Struct({
442
+ serviceName: S.String.pipe(T.Label()),
443
+ project: S.String.pipe(T.Label()),
444
+ }).pipe(
445
+ T.Http({
446
+ method: "DELETE",
447
+ uri: "/vrack/{serviceName}/cloudProject/{project}",
448
+ code: 200,
449
+ }),
450
+ ),
451
+ ).annotate({
452
+ identifier: "DeleteVrackCloudProjectRequest",
453
+ }) as any as S.Schema<DeleteVrackCloudProjectRequest>;
454
+
455
+ export interface DeleteVrackDedicatedCloudRequest {
456
+ /** The internal name of your vrack */
457
+ serviceName: string;
458
+ /** your dedicated cloud service */
459
+ dedicatedCloud: string;
460
+ }
461
+ export const DeleteVrackDedicatedCloudRequest = /*@__PURE__*/ S.suspend(() =>
462
+ S.Struct({
463
+ serviceName: S.String.pipe(T.Label()),
464
+ dedicatedCloud: S.String.pipe(T.Label()),
465
+ }).pipe(
466
+ T.Http({
467
+ method: "DELETE",
468
+ uri: "/vrack/{serviceName}/dedicatedCloud/{dedicatedCloud}",
469
+ code: 200,
470
+ }),
471
+ ),
472
+ ).annotate({
473
+ identifier: "DeleteVrackDedicatedCloudRequest",
474
+ }) as any as S.Schema<DeleteVrackDedicatedCloudRequest>;
475
+
476
+ export interface DeleteVrackDedicatedConnectRequest {
477
+ /** The internal name of your vrack */
478
+ serviceName: string;
479
+ /** A name for your dedicatedConnect link */
480
+ name: string;
481
+ }
482
+ export const DeleteVrackDedicatedConnectRequest = /*@__PURE__*/ S.suspend(() =>
483
+ S.Struct({
484
+ serviceName: S.String.pipe(T.Label()),
485
+ name: S.String.pipe(T.Label()),
486
+ }).pipe(
487
+ T.Http({
488
+ method: "DELETE",
489
+ uri: "/vrack/{serviceName}/dedicatedConnect/{name}",
490
+ code: 200,
491
+ }),
492
+ ),
493
+ ).annotate({
494
+ identifier: "DeleteVrackDedicatedConnectRequest",
495
+ }) as any as S.Schema<DeleteVrackDedicatedConnectRequest>;
496
+
497
+ export interface DeleteVrackDedicatedServerRequest {
498
+ /** The internal name of your vrack */
499
+ serviceName: string;
500
+ /** Dedicated Server */
501
+ dedicatedServer: string;
502
+ }
503
+ export const DeleteVrackDedicatedServerRequest = /*@__PURE__*/ S.suspend(() =>
504
+ S.Struct({
505
+ serviceName: S.String.pipe(T.Label()),
506
+ dedicatedServer: S.String.pipe(T.Label()),
507
+ }).pipe(
508
+ T.Http({
509
+ method: "DELETE",
510
+ uri: "/vrack/{serviceName}/dedicatedServer/{dedicatedServer}",
511
+ code: 200,
512
+ }),
513
+ ),
514
+ ).annotate({
515
+ identifier: "DeleteVrackDedicatedServerRequest",
516
+ }) as any as S.Schema<DeleteVrackDedicatedServerRequest>;
517
+
518
+ export interface DeleteVrackDedicatedServerInterfaceRequest {
519
+ /** The internal name of your vrack */
520
+ serviceName: string;
521
+ /** Dedicated Server Interface */
522
+ dedicatedServerInterface: string;
523
+ }
524
+ export const DeleteVrackDedicatedServerInterfaceRequest =
525
+ /*@__PURE__*/ S.suspend(() =>
526
+ S.Struct({
527
+ serviceName: S.String.pipe(T.Label()),
528
+ dedicatedServerInterface: S.String.pipe(T.Label()),
529
+ }).pipe(
530
+ T.Http({
531
+ method: "DELETE",
532
+ uri: "/vrack/{serviceName}/dedicatedServerInterface/{dedicatedServerInterface}",
533
+ code: 200,
534
+ }),
535
+ ),
536
+ ).annotate({
537
+ identifier: "DeleteVrackDedicatedServerInterfaceRequest",
538
+ }) as any as S.Schema<DeleteVrackDedicatedServerInterfaceRequest>;
539
+
540
+ export interface DeleteVrackIpRequest {
541
+ /** The internal name of your vrack */
542
+ serviceName: string;
543
+ /** Your IP block */
544
+ ip: string;
545
+ }
546
+ export const DeleteVrackIpRequest = /*@__PURE__*/ S.suspend(() =>
547
+ S.Struct({
548
+ serviceName: S.String.pipe(T.Label()),
549
+ ip: S.String.pipe(T.Label()),
550
+ }).pipe(
551
+ T.Http({
552
+ method: "DELETE",
553
+ uri: "/vrack/{serviceName}/ip/{ip}",
554
+ code: 200,
555
+ }),
556
+ ),
557
+ ).annotate({
558
+ identifier: "DeleteVrackIpRequest",
559
+ }) as any as S.Schema<DeleteVrackIpRequest>;
560
+
561
+ export interface DeleteVrackIpLoadbalancingRequest {
562
+ /** The internal name of your vrack */
563
+ serviceName: string;
564
+ /** Your ipLoadbalancing */
565
+ ipLoadbalancing: string;
566
+ }
567
+ export const DeleteVrackIpLoadbalancingRequest = /*@__PURE__*/ S.suspend(() =>
568
+ S.Struct({
569
+ serviceName: S.String.pipe(T.Label()),
570
+ ipLoadbalancing: S.String.pipe(T.Label()),
571
+ }).pipe(
572
+ T.Http({
573
+ method: "DELETE",
574
+ uri: "/vrack/{serviceName}/ipLoadbalancing/{ipLoadbalancing}",
575
+ code: 200,
576
+ }),
577
+ ),
578
+ ).annotate({
579
+ identifier: "DeleteVrackIpLoadbalancingRequest",
580
+ }) as any as S.Schema<DeleteVrackIpLoadbalancingRequest>;
581
+
582
+ export interface DeleteVrackIpv6Request {
583
+ /** The internal name of your vrack */
584
+ serviceName: string;
585
+ /** Your IP v6 block */
586
+ ipv6: string;
587
+ }
588
+ export const DeleteVrackIpv6Request = /*@__PURE__*/ S.suspend(() =>
589
+ S.Struct({
590
+ serviceName: S.String.pipe(T.Label()),
591
+ ipv6: S.String.pipe(T.Label()),
592
+ }).pipe(
593
+ T.Http({
594
+ method: "DELETE",
595
+ uri: "/vrack/{serviceName}/ipv6/{ipv6}",
596
+ code: 200,
597
+ }),
598
+ ),
599
+ ).annotate({
600
+ identifier: "DeleteVrackIpv6Request",
601
+ }) as any as S.Schema<DeleteVrackIpv6Request>;
602
+
603
+ export interface DeleteVrackIpv6RoutedSubrangeRequest {
604
+ /** The internal name of your vrack */
605
+ serviceName: string;
606
+ /** Your IP v6 block */
607
+ ipv6: string;
608
+ /** subrange routed into your vrack */
609
+ routedSubrange: string;
610
+ }
611
+ export const DeleteVrackIpv6RoutedSubrangeRequest = /*@__PURE__*/ S.suspend(
612
+ () =>
613
+ S.Struct({
614
+ serviceName: S.String.pipe(T.Label()),
615
+ ipv6: S.String.pipe(T.Label()),
616
+ routedSubrange: S.String.pipe(T.Label()),
617
+ }).pipe(
618
+ T.Http({
619
+ method: "DELETE",
620
+ uri: "/vrack/{serviceName}/ipv6/{ipv6}/routedSubrange/{routedSubrange}",
621
+ code: 200,
622
+ }),
623
+ ),
624
+ ).annotate({
625
+ identifier: "DeleteVrackIpv6RoutedSubrangeRequest",
626
+ }) as any as S.Schema<DeleteVrackIpv6RoutedSubrangeRequest>;
627
+
628
+ export interface DeleteVrackLegacyVrackRequest {
629
+ /** The internal name of your vrack */
630
+ serviceName: string;
631
+ /** your legacy vrack service */
632
+ legacyVrack: string;
633
+ }
634
+ export const DeleteVrackLegacyVrackRequest = /*@__PURE__*/ S.suspend(() =>
635
+ S.Struct({
636
+ serviceName: S.String.pipe(T.Label()),
637
+ legacyVrack: S.String.pipe(T.Label()),
638
+ }).pipe(
639
+ T.Http({
640
+ method: "DELETE",
641
+ uri: "/vrack/{serviceName}/legacyVrack/{legacyVrack}",
642
+ code: 200,
643
+ }),
644
+ ),
645
+ ).annotate({
646
+ identifier: "DeleteVrackLegacyVrackRequest",
647
+ }) as any as S.Schema<DeleteVrackLegacyVrackRequest>;
648
+
649
+ export interface DeleteVrackOvhCloudConnectRequest {
650
+ /** The internal name of your vrack */
651
+ serviceName: string;
652
+ /** ovhCloudConnect service name */
653
+ ovhCloudConnect: string;
654
+ }
655
+ export const DeleteVrackOvhCloudConnectRequest = /*@__PURE__*/ S.suspend(() =>
656
+ S.Struct({
657
+ serviceName: S.String.pipe(T.Label()),
658
+ ovhCloudConnect: S.String.pipe(T.Label()),
659
+ }).pipe(
660
+ T.Http({
661
+ method: "DELETE",
662
+ uri: "/vrack/{serviceName}/ovhCloudConnect/{ovhCloudConnect}",
663
+ code: 200,
664
+ }),
665
+ ),
666
+ ).annotate({
667
+ identifier: "DeleteVrackOvhCloudConnectRequest",
668
+ }) as any as S.Schema<DeleteVrackOvhCloudConnectRequest>;
669
+
670
+ export interface DeleteVrackVmwareCloudDirectorVirtualDataCenterRequest {
671
+ /** The internal name of your vrack */
672
+ serviceName: string;
673
+ /** vmwareCloudDirectorVirtualDataCenter service name */
674
+ vmwareCloudDirectorVirtualDataCenter: string;
675
+ }
676
+ export const DeleteVrackVmwareCloudDirectorVirtualDataCenterRequest =
677
+ /*@__PURE__*/ S.suspend(() =>
678
+ S.Struct({
679
+ serviceName: S.String.pipe(T.Label()),
680
+ vmwareCloudDirectorVirtualDataCenter: S.String.pipe(T.Label()),
681
+ }).pipe(
682
+ T.Http({
683
+ method: "DELETE",
684
+ uri: "/vrack/{serviceName}/vmwareCloudDirectorVirtualDataCenter/{vmwareCloudDirectorVirtualDataCenter}",
685
+ code: 200,
686
+ }),
687
+ ),
688
+ ).annotate({
689
+ identifier: "DeleteVrackVmwareCloudDirectorVirtualDataCenterRequest",
690
+ }) as any as S.Schema<DeleteVrackVmwareCloudDirectorVirtualDataCenterRequest>;
691
+
692
+ export interface DeleteVrackVrackServiceRequest {
693
+ /** The internal name of your vrack */
694
+ serviceName: string;
695
+ /** vrackServices service name */
696
+ vrackServices: string;
697
+ }
698
+ export const DeleteVrackVrackServiceRequest = /*@__PURE__*/ S.suspend(() =>
699
+ S.Struct({
700
+ serviceName: S.String.pipe(T.Label()),
701
+ vrackServices: S.String.pipe(T.Label()),
702
+ }).pipe(
703
+ T.Http({
704
+ method: "DELETE",
705
+ uri: "/vrack/{serviceName}/vrackServices/{vrackServices}",
706
+ code: 200,
707
+ }),
708
+ ),
709
+ ).annotate({
710
+ identifier: "DeleteVrackVrackServiceRequest",
711
+ }) as any as S.Schema<DeleteVrackVrackServiceRequest>;
712
+
713
+ export interface GetVrackRequest {
714
+ /** The internal name of your vrack */
715
+ serviceName: string;
716
+ }
717
+ export const GetVrackRequest = /*@__PURE__*/ S.suspend(() =>
718
+ S.Struct({
719
+ serviceName: S.String.pipe(T.Label()),
720
+ }).pipe(T.Http({ method: "GET", uri: "/vrack/{serviceName}", code: 200 })),
721
+ ).annotate({
722
+ identifier: "GetVrackRequest",
723
+ }) as any as S.Schema<GetVrackRequest>;
724
+
725
+ /** Resource tags. Tags that were internally computed are prefixed with ovh: */
726
+ export type IamResourceMetadataTagsMap = { [key: string]: string | undefined };
727
+ export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(
728
+ S.String,
729
+ S.String,
730
+ ) as any as S.Schema<IamResourceMetadataTagsMap>;
731
+
732
+ /** IAM resource metadata embedded in services models */
733
+ export interface IamResourceMetadata {
734
+ /** Resource display name */
735
+ displayName?: string | null;
736
+ /** Unique identifier of the resource */
737
+ id?: string;
738
+ /** Resource tags. Tags that were internally computed are prefixed with ovh: */
739
+ tags?: IamResourceMetadataTagsMap | null;
740
+ /** Unique resource name used in policies */
741
+ urn?: string;
742
+ }
743
+ export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() =>
744
+ S.Struct({
745
+ displayName: S.optional(S.NullOr(S.String)),
746
+ id: S.optional(S.String),
747
+ tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
748
+ urn: S.optional(S.String),
749
+ }),
750
+ ).annotate({
751
+ identifier: "IamResourceMetadata",
752
+ }) as any as S.Schema<IamResourceMetadata>;
753
+
754
+ /** vrack */
755
+ export interface VrackVrackWithIAM {
756
+ /** Description of the vRack */
757
+ description?: string;
758
+ /** IAM resource metadata */
759
+ iam?: IamResourceMetadata | null;
760
+ /** Name of the vRack */
761
+ name?: string;
762
+ /** Service name of your vRack on OVHcloud */
763
+ serviceName?: string;
764
+ }
765
+ export const VrackVrackWithIAM = /*@__PURE__*/ S.suspend(() =>
766
+ S.Struct({
767
+ description: S.optional(S.String),
768
+ iam: S.optional(S.NullOr(IamResourceMetadata)),
769
+ name: S.optional(S.String),
770
+ serviceName: S.optional(S.String),
771
+ }),
772
+ ).annotate({
773
+ identifier: "VrackVrackWithIAM",
774
+ }) as any as S.Schema<VrackVrackWithIAM>;
775
+
776
+ export interface GetVrackCloudProjectRequest {
777
+ /** The internal name of your vrack */
778
+ serviceName: string;
779
+ /** publicCloud project */
780
+ project: string;
781
+ }
782
+ export const GetVrackCloudProjectRequest = /*@__PURE__*/ S.suspend(() =>
783
+ S.Struct({
784
+ serviceName: S.String.pipe(T.Label()),
785
+ project: S.String.pipe(T.Label()),
786
+ }).pipe(
787
+ T.Http({
788
+ method: "GET",
789
+ uri: "/vrack/{serviceName}/cloudProject/{project}",
790
+ code: 200,
791
+ }),
792
+ ),
793
+ ).annotate({
794
+ identifier: "GetVrackCloudProjectRequest",
795
+ }) as any as S.Schema<GetVrackCloudProjectRequest>;
796
+
797
+ /** PublicCloud project in vrack */
798
+ export interface VrackCloudProject {
799
+ /** publicCloud project */
800
+ project?: string;
801
+ /** vrack name */
802
+ vrack?: string;
803
+ }
804
+ export const VrackCloudProject = /*@__PURE__*/ S.suspend(() =>
805
+ S.Struct({
806
+ project: S.optional(S.String),
807
+ vrack: S.optional(S.String),
808
+ }),
809
+ ).annotate({
810
+ identifier: "VrackCloudProject",
811
+ }) as any as S.Schema<VrackCloudProject>;
812
+
813
+ export interface GetVrackDedicatedCloudRequest {
814
+ /** The internal name of your vrack */
815
+ serviceName: string;
816
+ /** your dedicated cloud service */
817
+ dedicatedCloud: string;
818
+ }
819
+ export const GetVrackDedicatedCloudRequest = /*@__PURE__*/ S.suspend(() =>
820
+ S.Struct({
821
+ serviceName: S.String.pipe(T.Label()),
822
+ dedicatedCloud: S.String.pipe(T.Label()),
823
+ }).pipe(
824
+ T.Http({
825
+ method: "GET",
826
+ uri: "/vrack/{serviceName}/dedicatedCloud/{dedicatedCloud}",
827
+ code: 200,
828
+ }),
829
+ ),
830
+ ).annotate({
831
+ identifier: "GetVrackDedicatedCloudRequest",
832
+ }) as any as S.Schema<GetVrackDedicatedCloudRequest>;
833
+
834
+ /** VMware on OVHcloud vRack link */
835
+ export interface VrackDedicatedCloud {
836
+ /** your dedicated cloud service */
837
+ dedicatedCloud?: string;
838
+ /** Dedicated cloud vlanId used */
839
+ vlanId?: number | null;
840
+ /** vrack name */
841
+ vrack?: string;
842
+ }
843
+ export const VrackDedicatedCloud = /*@__PURE__*/ S.suspend(() =>
844
+ S.Struct({
845
+ dedicatedCloud: S.optional(S.String),
846
+ vlanId: S.optional(S.NullOr(S.Number)),
847
+ vrack: S.optional(S.String),
848
+ }),
849
+ ).annotate({
850
+ identifier: "VrackDedicatedCloud",
851
+ }) as any as S.Schema<VrackDedicatedCloud>;
852
+
853
+ export interface GetVrackDedicatedCloudDatacenterRequest {
854
+ /** The internal name of your vrack */
855
+ serviceName: string;
856
+ /** Your dedicatedCloud datacenter name */
857
+ datacenter: string;
858
+ }
859
+ export const GetVrackDedicatedCloudDatacenterRequest = /*@__PURE__*/ S.suspend(
860
+ () =>
861
+ S.Struct({
862
+ serviceName: S.String.pipe(T.Label()),
863
+ datacenter: S.String.pipe(T.Label()),
864
+ }).pipe(
865
+ T.Http({
866
+ method: "GET",
867
+ uri: "/vrack/{serviceName}/dedicatedCloudDatacenter/{datacenter}",
868
+ code: 200,
869
+ }),
870
+ ),
871
+ ).annotate({
872
+ identifier: "GetVrackDedicatedCloudDatacenterRequest",
873
+ }) as any as S.Schema<GetVrackDedicatedCloudDatacenterRequest>;
874
+
875
+ /** vrack datacenter interface */
876
+ export interface VrackPccDatacenter {
877
+ /** Your dedicatedCloud datacenter name */
878
+ datacenter?: string;
879
+ /** Your dedicatedCloud name */
880
+ dedicatedCloud?: string;
881
+ /** vrack name */
882
+ vrack?: string;
883
+ }
884
+ export const VrackPccDatacenter = /*@__PURE__*/ S.suspend(() =>
885
+ S.Struct({
886
+ datacenter: S.optional(S.String),
887
+ dedicatedCloud: S.optional(S.String),
888
+ vrack: S.optional(S.String),
889
+ }),
890
+ ).annotate({
891
+ identifier: "VrackPccDatacenter",
892
+ }) as any as S.Schema<VrackPccDatacenter>;
893
+
894
+ export interface GetVrackDedicatedConnectRequest {
895
+ /** The internal name of your vrack */
896
+ serviceName: string;
897
+ /** A name for your dedicatedConnect link */
898
+ name: string;
899
+ }
900
+ export const GetVrackDedicatedConnectRequest = /*@__PURE__*/ S.suspend(() =>
901
+ S.Struct({
902
+ serviceName: S.String.pipe(T.Label()),
903
+ name: S.String.pipe(T.Label()),
904
+ }).pipe(
905
+ T.Http({
906
+ method: "GET",
907
+ uri: "/vrack/{serviceName}/dedicatedConnect/{name}",
908
+ code: 200,
909
+ }),
910
+ ),
911
+ ).annotate({
912
+ identifier: "GetVrackDedicatedConnectRequest",
913
+ }) as any as S.Schema<GetVrackDedicatedConnectRequest>;
914
+
915
+ /** vrack dedicated connect interface */
916
+ export interface VrackDedicatedConnect {
917
+ /** A name for your dedicatedConnect link */
918
+ name?: string;
919
+ }
920
+ export const VrackDedicatedConnect = /*@__PURE__*/ S.suspend(() =>
921
+ S.Struct({
922
+ name: S.optional(S.String),
923
+ }),
924
+ ).annotate({
925
+ identifier: "VrackDedicatedConnect",
926
+ }) as any as S.Schema<VrackDedicatedConnect>;
927
+
928
+ export interface GetVrackDedicatedServerRequest {
929
+ /** The internal name of your vrack */
930
+ serviceName: string;
931
+ /** Dedicated Server */
932
+ dedicatedServer: string;
933
+ }
934
+ export const GetVrackDedicatedServerRequest = /*@__PURE__*/ S.suspend(() =>
935
+ S.Struct({
936
+ serviceName: S.String.pipe(T.Label()),
937
+ dedicatedServer: S.String.pipe(T.Label()),
938
+ }).pipe(
939
+ T.Http({
940
+ method: "GET",
941
+ uri: "/vrack/{serviceName}/dedicatedServer/{dedicatedServer}",
942
+ code: 200,
943
+ }),
944
+ ),
945
+ ).annotate({
946
+ identifier: "GetVrackDedicatedServerRequest",
947
+ }) as any as S.Schema<GetVrackDedicatedServerRequest>;
948
+
949
+ /** vrack dedicated server interfaces (LEGACY) */
950
+ export interface VrackDedicatedServer {
951
+ /** Dedicated Server */
952
+ dedicatedServer?: string;
953
+ /** vrack name */
954
+ vrack?: string;
955
+ }
956
+ export const VrackDedicatedServer = /*@__PURE__*/ S.suspend(() =>
957
+ S.Struct({
958
+ dedicatedServer: S.optional(S.String),
959
+ vrack: S.optional(S.String),
960
+ }),
961
+ ).annotate({
962
+ identifier: "VrackDedicatedServer",
963
+ }) as any as S.Schema<VrackDedicatedServer>;
964
+
965
+ export interface GetVrackDedicatedServerInterfaceRequest {
966
+ /** The internal name of your vrack */
967
+ serviceName: string;
968
+ /** Dedicated Server Interface */
969
+ dedicatedServerInterface: string;
970
+ }
971
+ export const GetVrackDedicatedServerInterfaceRequest = /*@__PURE__*/ S.suspend(
972
+ () =>
973
+ S.Struct({
974
+ serviceName: S.String.pipe(T.Label()),
975
+ dedicatedServerInterface: S.String.pipe(T.Label()),
976
+ }).pipe(
977
+ T.Http({
978
+ method: "GET",
979
+ uri: "/vrack/{serviceName}/dedicatedServerInterface/{dedicatedServerInterface}",
980
+ code: 200,
981
+ }),
982
+ ),
983
+ ).annotate({
984
+ identifier: "GetVrackDedicatedServerInterfaceRequest",
985
+ }) as any as S.Schema<GetVrackDedicatedServerInterfaceRequest>;
986
+
987
+ /** vrack dedicated server interfaces */
988
+ export interface VrackDedicatedServerInterface {
989
+ /** Dedicated Server Interface */
990
+ dedicatedServerInterface?: string;
991
+ /** vrack name */
992
+ vrack?: string;
993
+ }
994
+ export const VrackDedicatedServerInterface = /*@__PURE__*/ S.suspend(() =>
995
+ S.Struct({
996
+ dedicatedServerInterface: S.optional(S.String),
997
+ vrack: S.optional(S.String),
998
+ }),
999
+ ).annotate({
1000
+ identifier: "VrackDedicatedServerInterface",
1001
+ }) as any as S.Schema<VrackDedicatedServerInterface>;
1002
+
1003
+ export interface GetVrackIpRequest {
1004
+ /** The internal name of your vrack */
1005
+ serviceName: string;
1006
+ /** Your IP block */
1007
+ ip: string;
1008
+ }
1009
+ export const GetVrackIpRequest = /*@__PURE__*/ S.suspend(() =>
1010
+ S.Struct({
1011
+ serviceName: S.String.pipe(T.Label()),
1012
+ ip: S.String.pipe(T.Label()),
1013
+ }).pipe(
1014
+ T.Http({ method: "GET", uri: "/vrack/{serviceName}/ip/{ip}", code: 200 }),
1015
+ ),
1016
+ ).annotate({
1017
+ identifier: "GetVrackIpRequest",
1018
+ }) as any as S.Schema<GetVrackIpRequest>;
1019
+
1020
+ /** Possible values for vrack zone */
1021
+ export type VrackVrackZoneEnum =
1022
+ | "bhs"
1023
+ | "cch"
1024
+ | "fra1"
1025
+ | "gra"
1026
+ | "lon1"
1027
+ | "pdx1"
1028
+ | "rbx"
1029
+ | "sbg"
1030
+ | "sgp1"
1031
+ | "syd1"
1032
+ | "syd2"
1033
+ | "was1"
1034
+ | "waw"
1035
+ | "yyz";
1036
+ export const VrackVrackZoneEnum = /*@__PURE__*/ S.String;
1037
+
1038
+ /** IP block in vrack */
1039
+ export interface VrackIp {
1040
+ /** Your gateway */
1041
+ gateway?: string | null;
1042
+ /** Your IP block */
1043
+ ip?: string;
1044
+ /** Where you want your block announced on the network */
1045
+ region?: string | null;
1046
+ /** Where you want your block announced on the network */
1047
+ zone?: VrackVrackZoneEnum | null;
1048
+ }
1049
+ export const VrackIp = /*@__PURE__*/ S.suspend(() =>
1050
+ S.Struct({
1051
+ gateway: S.optional(S.NullOr(S.String)),
1052
+ ip: S.optional(S.String),
1053
+ region: S.optional(S.NullOr(S.String)),
1054
+ zone: S.optional(S.NullOr(VrackVrackZoneEnum)),
1055
+ }),
1056
+ ).annotate({ identifier: "VrackIp" }) as any as S.Schema<VrackIp>;
1057
+
1058
+ export interface GetVrackIpLoadbalancingRequest {
1059
+ /** The internal name of your vrack */
1060
+ serviceName: string;
1061
+ /** Your ipLoadbalancing */
1062
+ ipLoadbalancing: string;
1063
+ }
1064
+ export const GetVrackIpLoadbalancingRequest = /*@__PURE__*/ S.suspend(() =>
1065
+ S.Struct({
1066
+ serviceName: S.String.pipe(T.Label()),
1067
+ ipLoadbalancing: S.String.pipe(T.Label()),
1068
+ }).pipe(
1069
+ T.Http({
1070
+ method: "GET",
1071
+ uri: "/vrack/{serviceName}/ipLoadbalancing/{ipLoadbalancing}",
1072
+ code: 200,
1073
+ }),
1074
+ ),
1075
+ ).annotate({
1076
+ identifier: "GetVrackIpLoadbalancingRequest",
1077
+ }) as any as S.Schema<GetVrackIpLoadbalancingRequest>;
1078
+
1079
+ /** ipLoadbalancing in vrack */
1080
+ export interface VrackIplb {
1081
+ /** Your ipLoadbalancing */
1082
+ ipLoadbalancing?: string;
1083
+ /** vrack name */
1084
+ vrack?: string;
1085
+ }
1086
+ export const VrackIplb = /*@__PURE__*/ S.suspend(() =>
1087
+ S.Struct({
1088
+ ipLoadbalancing: S.optional(S.String),
1089
+ vrack: S.optional(S.String),
1090
+ }),
1091
+ ).annotate({ identifier: "VrackIplb" }) as any as S.Schema<VrackIplb>;
1092
+
1093
+ export interface GetVrackIpv6Request {
1094
+ /** The internal name of your vrack */
1095
+ serviceName: string;
1096
+ /** Your IP v6 block */
1097
+ ipv6: string;
1098
+ }
1099
+ export const GetVrackIpv6Request = /*@__PURE__*/ S.suspend(() =>
1100
+ S.Struct({
1101
+ serviceName: S.String.pipe(T.Label()),
1102
+ ipv6: S.String.pipe(T.Label()),
1103
+ }).pipe(
1104
+ T.Http({
1105
+ method: "GET",
1106
+ uri: "/vrack/{serviceName}/ipv6/{ipv6}",
1107
+ code: 200,
1108
+ }),
1109
+ ),
1110
+ ).annotate({
1111
+ identifier: "GetVrackIpv6Request",
1112
+ }) as any as S.Schema<GetVrackIpv6Request>;
1113
+
1114
+ /** IP v6 block in vrack */
1115
+ export interface VrackIpv6 {
1116
+ /** Your IP v6 block */
1117
+ ipv6?: string;
1118
+ /** Where you want your block announced on the network */
1119
+ region?: string | null;
1120
+ }
1121
+ export const VrackIpv6 = /*@__PURE__*/ S.suspend(() =>
1122
+ S.Struct({
1123
+ ipv6: S.optional(S.String),
1124
+ region: S.optional(S.NullOr(S.String)),
1125
+ }),
1126
+ ).annotate({ identifier: "VrackIpv6" }) as any as S.Schema<VrackIpv6>;
1127
+
1128
+ export interface GetVrackIpv6BridgedSubrangeRequest {
1129
+ /** The internal name of your vrack */
1130
+ serviceName: string;
1131
+ /** Your IP v6 block */
1132
+ ipv6: string;
1133
+ /** subrange bridged into your vrack */
1134
+ bridgedSubrange: string;
1135
+ }
1136
+ export const GetVrackIpv6BridgedSubrangeRequest = /*@__PURE__*/ S.suspend(() =>
1137
+ S.Struct({
1138
+ serviceName: S.String.pipe(T.Label()),
1139
+ ipv6: S.String.pipe(T.Label()),
1140
+ bridgedSubrange: S.String.pipe(T.Label()),
1141
+ }).pipe(
1142
+ T.Http({
1143
+ method: "GET",
1144
+ uri: "/vrack/{serviceName}/ipv6/{ipv6}/bridgedSubrange/{bridgedSubrange}",
1145
+ code: 200,
1146
+ }),
1147
+ ),
1148
+ ).annotate({
1149
+ identifier: "GetVrackIpv6BridgedSubrangeRequest",
1150
+ }) as any as S.Schema<GetVrackIpv6BridgedSubrangeRequest>;
1151
+
1152
+ /** Possible values for slaac */
1153
+ export type VrackSlaacEnum = "disabled" | "enabled";
1154
+ export const VrackSlaacEnum = /*@__PURE__*/ S.String;
1155
+
1156
+ /** Bridged subrange within your IP v6 block */
1157
+ export interface VrackBridgedSubrange {
1158
+ /** subrange bridged into your vrack */
1159
+ bridgedSubrange?: string;
1160
+ /** Your gateway */
1161
+ gateway?: string;
1162
+ /** Slaac status */
1163
+ slaac?: VrackSlaacEnum;
1164
+ }
1165
+ export const VrackBridgedSubrange = /*@__PURE__*/ S.suspend(() =>
1166
+ S.Struct({
1167
+ bridgedSubrange: S.optional(S.String),
1168
+ gateway: S.optional(S.String),
1169
+ slaac: S.optional(VrackSlaacEnum),
1170
+ }),
1171
+ ).annotate({
1172
+ identifier: "VrackBridgedSubrange",
1173
+ }) as any as S.Schema<VrackBridgedSubrange>;
1174
+
1175
+ export interface GetVrackIpv6RoutedSubrangeRequest {
1176
+ /** The internal name of your vrack */
1177
+ serviceName: string;
1178
+ /** Your IP v6 block */
1179
+ ipv6: string;
1180
+ /** subrange routed into your vrack */
1181
+ routedSubrange: string;
1182
+ }
1183
+ export const GetVrackIpv6RoutedSubrangeRequest = /*@__PURE__*/ S.suspend(() =>
1184
+ S.Struct({
1185
+ serviceName: S.String.pipe(T.Label()),
1186
+ ipv6: S.String.pipe(T.Label()),
1187
+ routedSubrange: S.String.pipe(T.Label()),
1188
+ }).pipe(
1189
+ T.Http({
1190
+ method: "GET",
1191
+ uri: "/vrack/{serviceName}/ipv6/{ipv6}/routedSubrange/{routedSubrange}",
1192
+ code: 200,
1193
+ }),
1194
+ ),
1195
+ ).annotate({
1196
+ identifier: "GetVrackIpv6RoutedSubrangeRequest",
1197
+ }) as any as S.Schema<GetVrackIpv6RoutedSubrangeRequest>;
1198
+
1199
+ /** Routed subranges within your IP v6 block */
1200
+ export interface VrackRoutedSubrange {
1201
+ /** nexthop used as a gateway for your routed subrange */
1202
+ nexthop?: string;
1203
+ /** subrange routed into your vrack */
1204
+ routedSubrange?: string;
1205
+ }
1206
+ export const VrackRoutedSubrange = /*@__PURE__*/ S.suspend(() =>
1207
+ S.Struct({
1208
+ nexthop: S.optional(S.String),
1209
+ routedSubrange: S.optional(S.String),
1210
+ }),
1211
+ ).annotate({
1212
+ identifier: "VrackRoutedSubrange",
1213
+ }) as any as S.Schema<VrackRoutedSubrange>;
1214
+
1215
+ export interface GetVrackLegacyVrackRequest {
1216
+ /** The internal name of your vrack */
1217
+ serviceName: string;
1218
+ /** your legacy vrack service */
1219
+ legacyVrack: string;
1220
+ }
1221
+ export const GetVrackLegacyVrackRequest = /*@__PURE__*/ S.suspend(() =>
1222
+ S.Struct({
1223
+ serviceName: S.String.pipe(T.Label()),
1224
+ legacyVrack: S.String.pipe(T.Label()),
1225
+ }).pipe(
1226
+ T.Http({
1227
+ method: "GET",
1228
+ uri: "/vrack/{serviceName}/legacyVrack/{legacyVrack}",
1229
+ code: 200,
1230
+ }),
1231
+ ),
1232
+ ).annotate({
1233
+ identifier: "GetVrackLegacyVrackRequest",
1234
+ }) as any as S.Schema<GetVrackLegacyVrackRequest>;
1235
+
1236
+ /** interface between legacy vrack (vrackXXXX) and vrack (pn-XXXX) */
1237
+ export interface VrackLegacyVrack {
1238
+ /** your legacy vrack service */
1239
+ legacyVrack?: string;
1240
+ /** vlan to set on legacy vrack equipments */
1241
+ vlanId?: number;
1242
+ }
1243
+ export const VrackLegacyVrack = /*@__PURE__*/ S.suspend(() =>
1244
+ S.Struct({
1245
+ legacyVrack: S.optional(S.String),
1246
+ vlanId: S.optional(S.Number),
1247
+ }),
1248
+ ).annotate({
1249
+ identifier: "VrackLegacyVrack",
1250
+ }) as any as S.Schema<VrackLegacyVrack>;
1251
+
1252
+ export interface GetVrackOvhCloudConnectRequest {
1253
+ /** The internal name of your vrack */
1254
+ serviceName: string;
1255
+ /** ovhCloudConnect service name */
1256
+ ovhCloudConnect: string;
1257
+ }
1258
+ export const GetVrackOvhCloudConnectRequest = /*@__PURE__*/ S.suspend(() =>
1259
+ S.Struct({
1260
+ serviceName: S.String.pipe(T.Label()),
1261
+ ovhCloudConnect: S.String.pipe(T.Label()),
1262
+ }).pipe(
1263
+ T.Http({
1264
+ method: "GET",
1265
+ uri: "/vrack/{serviceName}/ovhCloudConnect/{ovhCloudConnect}",
1266
+ code: 200,
1267
+ }),
1268
+ ),
1269
+ ).annotate({
1270
+ identifier: "GetVrackOvhCloudConnectRequest",
1271
+ }) as any as S.Schema<GetVrackOvhCloudConnectRequest>;
1272
+
1273
+ /** ovhCloudConnect in vrack */
1274
+ export interface VrackOvhCloudConnect {
1275
+ /** ovhCloudConnect service name */
1276
+ ovhCloudConnect?: string;
1277
+ /** vrack name */
1278
+ vrack?: string;
1279
+ }
1280
+ export const VrackOvhCloudConnect = /*@__PURE__*/ S.suspend(() =>
1281
+ S.Struct({
1282
+ ovhCloudConnect: S.optional(S.String),
1283
+ vrack: S.optional(S.String),
1284
+ }),
1285
+ ).annotate({
1286
+ identifier: "VrackOvhCloudConnect",
1287
+ }) as any as S.Schema<VrackOvhCloudConnect>;
1288
+
1289
+ export interface GetVrackPublicRoutingOptionRequest {
1290
+ /** The internal name of your vrack */
1291
+ serviceName: string;
1292
+ }
1293
+ export const GetVrackPublicRoutingOptionRequest = /*@__PURE__*/ S.suspend(() =>
1294
+ S.Struct({
1295
+ serviceName: S.String.pipe(T.Label()),
1296
+ }).pipe(
1297
+ T.Http({
1298
+ method: "GET",
1299
+ uri: "/vrack/{serviceName}/publicRoutingOption",
1300
+ code: 200,
1301
+ }),
1302
+ ),
1303
+ ).annotate({
1304
+ identifier: "GetVrackPublicRoutingOptionRequest",
1305
+ }) as any as S.Schema<GetVrackPublicRoutingOptionRequest>;
1306
+
1307
+ /** A structure describing the public routing option */
1308
+ export interface VrackPublicRoutingOption {
1309
+ /** Global bandwidth for blocks in your vrack (in Mbps) */
1310
+ bandwidth?: number | null;
1311
+ }
1312
+ export const VrackPublicRoutingOption = /*@__PURE__*/ S.suspend(() =>
1313
+ S.Struct({
1314
+ bandwidth: S.optional(S.NullOr(S.Number)),
1315
+ }),
1316
+ ).annotate({
1317
+ identifier: "VrackPublicRoutingOption",
1318
+ }) as any as S.Schema<VrackPublicRoutingOption>;
1319
+
1320
+ export interface GetVrackServiceInfosRequest {
1321
+ /** The internal name of your vrack */
1322
+ serviceName: string;
1323
+ }
1324
+ export const GetVrackServiceInfosRequest = /*@__PURE__*/ S.suspend(() =>
1325
+ S.Struct({
1326
+ serviceName: S.String.pipe(T.Label()),
1327
+ }).pipe(
1328
+ T.Http({
1329
+ method: "GET",
1330
+ uri: "/vrack/{serviceName}/serviceInfos",
1331
+ code: 200,
1332
+ }),
1333
+ ),
1334
+ ).annotate({
1335
+ identifier: "GetVrackServiceInfosRequest",
1336
+ }) as any as S.Schema<GetVrackServiceInfosRequest>;
1337
+
1338
+ export type ServiceStateEnum =
1339
+ | "autorenewInProgress"
1340
+ | "expired"
1341
+ | "inCreation"
1342
+ | "ok"
1343
+ | "pendingDebt"
1344
+ | "unPaid";
1345
+ export const ServiceStateEnum = /*@__PURE__*/ S.String;
1346
+
1347
+ /** Details about a non-expiring Service */
1348
+ export interface ServicesNonExpiringService {
1349
+ contactAdmin?: string;
1350
+ contactBilling?: string;
1351
+ contactTech?: string;
1352
+ creation?: string;
1353
+ domain?: string;
1354
+ serviceId?: number;
1355
+ status?: ServiceStateEnum;
1356
+ }
1357
+ export const ServicesNonExpiringService = /*@__PURE__*/ S.suspend(() =>
1358
+ S.Struct({
1359
+ contactAdmin: S.optional(S.String),
1360
+ contactBilling: S.optional(S.String),
1361
+ contactTech: S.optional(S.String),
1362
+ creation: S.optional(S.String),
1363
+ domain: S.optional(S.String),
1364
+ serviceId: S.optional(S.Number),
1365
+ status: S.optional(ServiceStateEnum),
1366
+ }),
1367
+ ).annotate({
1368
+ identifier: "ServicesNonExpiringService",
1369
+ }) as any as S.Schema<ServicesNonExpiringService>;
1370
+
1371
+ export interface GetVrackTaskRequest {
1372
+ /** The internal name of your vrack */
1373
+ serviceName: string;
1374
+ taskId: number;
1375
+ }
1376
+ export const GetVrackTaskRequest = /*@__PURE__*/ S.suspend(() =>
1377
+ S.Struct({
1378
+ serviceName: S.String.pipe(T.Label()),
1379
+ taskId: S.Number.pipe(T.Label()),
1380
+ }).pipe(
1381
+ T.Http({
1382
+ method: "GET",
1383
+ uri: "/vrack/{serviceName}/task/{taskId}",
1384
+ code: 200,
1385
+ }),
1386
+ ),
1387
+ ).annotate({
1388
+ identifier: "GetVrackTaskRequest",
1389
+ }) as any as S.Schema<GetVrackTaskRequest>;
1390
+
1391
+ export interface GetVrackVmwareCloudDirectorVirtualDataCenterRequest {
1392
+ /** The internal name of your vrack */
1393
+ serviceName: string;
1394
+ /** vmwareCloudDirectorVirtualDataCenter service name */
1395
+ vmwareCloudDirectorVirtualDataCenter: string;
1396
+ }
1397
+ export const GetVrackVmwareCloudDirectorVirtualDataCenterRequest =
1398
+ /*@__PURE__*/ S.suspend(() =>
1399
+ S.Struct({
1400
+ serviceName: S.String.pipe(T.Label()),
1401
+ vmwareCloudDirectorVirtualDataCenter: S.String.pipe(T.Label()),
1402
+ }).pipe(
1403
+ T.Http({
1404
+ method: "GET",
1405
+ uri: "/vrack/{serviceName}/vmwareCloudDirectorVirtualDataCenter/{vmwareCloudDirectorVirtualDataCenter}",
1406
+ code: 200,
1407
+ }),
1408
+ ),
1409
+ ).annotate({
1410
+ identifier: "GetVrackVmwareCloudDirectorVirtualDataCenterRequest",
1411
+ }) as any as S.Schema<GetVrackVmwareCloudDirectorVirtualDataCenterRequest>;
1412
+
1413
+ /** vmwareCloudDirector virtualDataCenter in vrack */
1414
+ export interface VrackVmwareCloudDirectorVirtualDataCenter {
1415
+ /** vmwareCloudDirectorVirtualDataCenter service name */
1416
+ vmwareCloudDirectorVirtualDataCenter?: string;
1417
+ /** vrack name */
1418
+ vrack?: string;
1419
+ }
1420
+ export const VrackVmwareCloudDirectorVirtualDataCenter =
1421
+ /*@__PURE__*/ S.suspend(() =>
1422
+ S.Struct({
1423
+ vmwareCloudDirectorVirtualDataCenter: S.optional(S.String),
1424
+ vrack: S.optional(S.String),
1425
+ }),
1426
+ ).annotate({
1427
+ identifier: "VrackVmwareCloudDirectorVirtualDataCenter",
1428
+ }) as any as S.Schema<VrackVmwareCloudDirectorVirtualDataCenter>;
1429
+
1430
+ export interface GetVrackVrackServiceRequest {
1431
+ /** The internal name of your vrack */
1432
+ serviceName: string;
1433
+ /** vrackServices service name */
1434
+ vrackServices: string;
1435
+ }
1436
+ export const GetVrackVrackServiceRequest = /*@__PURE__*/ S.suspend(() =>
1437
+ S.Struct({
1438
+ serviceName: S.String.pipe(T.Label()),
1439
+ vrackServices: S.String.pipe(T.Label()),
1440
+ }).pipe(
1441
+ T.Http({
1442
+ method: "GET",
1443
+ uri: "/vrack/{serviceName}/vrackServices/{vrackServices}",
1444
+ code: 200,
1445
+ }),
1446
+ ),
1447
+ ).annotate({
1448
+ identifier: "GetVrackVrackServiceRequest",
1449
+ }) as any as S.Schema<GetVrackVrackServiceRequest>;
1450
+
1451
+ /** vrackServices in vrack */
1452
+ export interface VrackVrackServices {
1453
+ /** vrack name */
1454
+ vrack?: string;
1455
+ /** vrackServices service name */
1456
+ vrackServices?: string;
1457
+ }
1458
+ export const VrackVrackServices = /*@__PURE__*/ S.suspend(() =>
1459
+ S.Struct({
1460
+ vrack: S.optional(S.String),
1461
+ vrackServices: S.optional(S.String),
1462
+ }),
1463
+ ).annotate({
1464
+ identifier: "VrackVrackServices",
1465
+ }) as any as S.Schema<VrackVrackServices>;
1466
+
1467
+ /** Resource tag filter */
1468
+ export interface IamResourceTagFilterInput {}
1469
+ export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() =>
1470
+ S.Struct({}),
1471
+ ).annotate({
1472
+ identifier: "IamResourceTagFilterInput",
1473
+ }) as any as S.Schema<IamResourceTagFilterInput>;
1474
+
1475
+ export type ListVrackRequestIamTagsValueList = Array<IamResourceTagFilterInput>;
1476
+ export const ListVrackRequestIamTagsValueList = /*@__PURE__*/ S.Array(
1477
+ IamResourceTagFilterInput,
1478
+ ) as any as S.Schema<ListVrackRequestIamTagsValueList>;
1479
+
1480
+ export type ListVrackRequestIamTagsMap = {
1481
+ [key: string]: ListVrackRequestIamTagsValueList | undefined;
1482
+ };
1483
+ export const ListVrackRequestIamTagsMap = /*@__PURE__*/ S.Record(
1484
+ S.String,
1485
+ ListVrackRequestIamTagsValueList,
1486
+ ) as any as S.Schema<ListVrackRequestIamTagsMap>;
1487
+
1488
+ export interface ListVrackRequest {
1489
+ /** Filter resources on IAM tags */
1490
+ iamTags?: ListVrackRequestIamTagsMap;
1491
+ }
1492
+ export const ListVrackRequest = /*@__PURE__*/ S.suspend(() =>
1493
+ S.Struct({
1494
+ iamTags: S.optional(ListVrackRequestIamTagsMap.pipe(T.Query())),
1495
+ }).pipe(T.Http({ method: "GET", uri: "/vrack", code: 200 })),
1496
+ ).annotate({
1497
+ identifier: "ListVrackRequest",
1498
+ }) as any as S.Schema<ListVrackRequest>;
1499
+
1500
+ export type ListVrackResponseBodyList = Array<string>;
1501
+ export const ListVrackResponseBodyList = /*@__PURE__*/ S.Array(
1502
+ S.String,
1503
+ ) as any as S.Schema<ListVrackResponseBodyList>;
1504
+
1505
+ export type ListVrackResponse = ListVrackResponseBodyList;
1506
+ export const ListVrackResponse = /*@__PURE__*/ S.suspend(() =>
1507
+ ListVrackResponseBodyList.pipe(T.RawResponseRoot()),
1508
+ ).annotate({
1509
+ identifier: "ListVrackResponse",
1510
+ }) as any as S.Schema<ListVrackResponse>;
1511
+
1512
+ /** Possible values for vrack allowed service */
1513
+ export type VrackAllowedServiceEnum =
1514
+ | "cloudProject"
1515
+ | "dedicatedCloud"
1516
+ | "dedicatedCloudDatacenter"
1517
+ | "dedicatedConnect"
1518
+ | "dedicatedServer"
1519
+ | "dedicatedServerInterface"
1520
+ | "ip"
1521
+ | "ipLoadbalancing"
1522
+ | "ipv6"
1523
+ | "legacyVrack"
1524
+ | "ovhCloudConnect"
1525
+ | "vmwareCloudDirectorVirtualDataCenter"
1526
+ | "vrackServices";
1527
+ export const VrackAllowedServiceEnum = /*@__PURE__*/ S.String;
1528
+
1529
+ export interface ListVrackAllowedServicesRequest {
1530
+ /** The internal name of your vrack */
1531
+ serviceName: string;
1532
+ /** Filter on a specific service family */
1533
+ serviceFamily?: VrackAllowedServiceEnum | (string & {});
1534
+ }
1535
+ export const ListVrackAllowedServicesRequest = /*@__PURE__*/ S.suspend(() =>
1536
+ S.Struct({
1537
+ serviceName: S.String.pipe(T.Label()),
1538
+ serviceFamily: S.optional(VrackAllowedServiceEnum.pipe(T.Query())),
1539
+ }).pipe(
1540
+ T.Http({
1541
+ method: "GET",
1542
+ uri: "/vrack/{serviceName}/allowedServices",
1543
+ code: 200,
1544
+ }),
1545
+ ),
1546
+ ).annotate({
1547
+ identifier: "ListVrackAllowedServicesRequest",
1548
+ }) as any as S.Schema<ListVrackAllowedServicesRequest>;
1549
+
1550
+ /** list of publicCloud projects allowed to be connected to vrack */
1551
+ export type VrackAllowedServicesCloudProjectList = Array<string>;
1552
+ export const VrackAllowedServicesCloudProjectList = /*@__PURE__*/ S.Array(
1553
+ S.String,
1554
+ ) as any as S.Schema<VrackAllowedServicesCloudProjectList>;
1555
+
1556
+ /** list of dedicated cloud allowed to be connected to vrack */
1557
+ export type VrackAllowedServicesDedicatedCloudList = Array<string>;
1558
+ export const VrackAllowedServicesDedicatedCloudList = /*@__PURE__*/ S.Array(
1559
+ S.String,
1560
+ ) as any as S.Schema<VrackAllowedServicesDedicatedCloudList>;
1561
+
1562
+ /** list of dedicated cloud datacenters allowed to be connected to vrack */
1563
+ export type VrackAllowedServicesDedicatedCloudDatacenterList = Array<string>;
1564
+ export const VrackAllowedServicesDedicatedCloudDatacenterList =
1565
+ /*@__PURE__*/ S.Array(
1566
+ S.String,
1567
+ ) as any as S.Schema<VrackAllowedServicesDedicatedCloudDatacenterList>;
1568
+
1569
+ /** list of dedicated connect links allowed to be connected to vrack */
1570
+ export type VrackAllowedServicesDedicatedConnectList = Array<string>;
1571
+ export const VrackAllowedServicesDedicatedConnectList = /*@__PURE__*/ S.Array(
1572
+ S.String,
1573
+ ) as any as S.Schema<VrackAllowedServicesDedicatedConnectList>;
1574
+
1575
+ /** list of dedicated servers allowed to be connected to vrack */
1576
+ export type VrackAllowedServicesDedicatedServerList = Array<string>;
1577
+ export const VrackAllowedServicesDedicatedServerList = /*@__PURE__*/ S.Array(
1578
+ S.String,
1579
+ ) as any as S.Schema<VrackAllowedServicesDedicatedServerList>;
1580
+
1581
+ /** A structure giving all dedicated server interfaces allowed for this vrack */
1582
+ export interface VrackAllowedDedicatedServerInterfaces {
1583
+ /** the name of dedicatedServer */
1584
+ dedicatedServer?: string;
1585
+ /** the unique identifier of dedicatedServerInterface */
1586
+ dedicatedServerInterface?: string;
1587
+ /** the name of dedicatedServerInterface */
1588
+ name?: string;
1589
+ }
1590
+ export const VrackAllowedDedicatedServerInterfaces = /*@__PURE__*/ S.suspend(
1591
+ () =>
1592
+ S.Struct({
1593
+ dedicatedServer: S.optional(S.String),
1594
+ dedicatedServerInterface: S.optional(S.String),
1595
+ name: S.optional(S.String),
1596
+ }),
1597
+ ).annotate({
1598
+ identifier: "VrackAllowedDedicatedServerInterfaces",
1599
+ }) as any as S.Schema<VrackAllowedDedicatedServerInterfaces>;
1600
+
1601
+ /** list of dedicated server interfaces allowed to be connected to vrack */
1602
+ export type VrackAllowedServicesDedicatedServerInterfaceList =
1603
+ Array<VrackAllowedDedicatedServerInterfaces>;
1604
+ export const VrackAllowedServicesDedicatedServerInterfaceList =
1605
+ /*@__PURE__*/ S.Array(
1606
+ VrackAllowedDedicatedServerInterfaces,
1607
+ ) as any as S.Schema<VrackAllowedServicesDedicatedServerInterfaceList>;
1608
+
1609
+ /** list of blocks allowed to be connected to vrack */
1610
+ export type VrackAllowedServicesIpList = Array<string>;
1611
+ export const VrackAllowedServicesIpList = /*@__PURE__*/ S.Array(
1612
+ S.String,
1613
+ ) as any as S.Schema<VrackAllowedServicesIpList>;
1614
+
1615
+ /** list of ipLoadbalancing allowed to be connected to vrack */
1616
+ export type VrackAllowedServicesIpLoadbalancingList = Array<string>;
1617
+ export const VrackAllowedServicesIpLoadbalancingList = /*@__PURE__*/ S.Array(
1618
+ S.String,
1619
+ ) as any as S.Schema<VrackAllowedServicesIpLoadbalancingList>;
1620
+
1621
+ /** list of ipv6 blocks allowed to be connected to vrack */
1622
+ export type VrackAllowedServicesIpv6List = Array<string>;
1623
+ export const VrackAllowedServicesIpv6List = /*@__PURE__*/ S.Array(
1624
+ S.String,
1625
+ ) as any as S.Schema<VrackAllowedServicesIpv6List>;
1626
+
1627
+ /** list of legacy vrack (1.0) allowed to be connected to vrack */
1628
+ export type VrackAllowedServicesLegacyVrackList = Array<string>;
1629
+ export const VrackAllowedServicesLegacyVrackList = /*@__PURE__*/ S.Array(
1630
+ S.String,
1631
+ ) as any as S.Schema<VrackAllowedServicesLegacyVrackList>;
1632
+
1633
+ /** List of the ovhCloudConnect services allowed to be connected to vrack */
1634
+ export type VrackAllowedServicesOvhCloudConnectList = Array<string>;
1635
+ export const VrackAllowedServicesOvhCloudConnectList = /*@__PURE__*/ S.Array(
1636
+ S.String,
1637
+ ) as any as S.Schema<VrackAllowedServicesOvhCloudConnectList>;
1638
+
1639
+ /** List of the vmwareCloudDirectorVirtualDataCenter allowed to be connected to vrack */
1640
+ export type VrackAllowedServicesVmwareCloudDirectorVirtualDataCenterList =
1641
+ Array<string>;
1642
+ export const VrackAllowedServicesVmwareCloudDirectorVirtualDataCenterList =
1643
+ /*@__PURE__*/ S.Array(
1644
+ S.String,
1645
+ ) as any as S.Schema<VrackAllowedServicesVmwareCloudDirectorVirtualDataCenterList>;
1646
+
1647
+ /** List of the vrackServices allowed to be connected to vrack */
1648
+ export type VrackAllowedServicesVrackServicesList = Array<string>;
1649
+ export const VrackAllowedServicesVrackServicesList = /*@__PURE__*/ S.Array(
1650
+ S.String,
1651
+ ) as any as S.Schema<VrackAllowedServicesVrackServicesList>;
1652
+
1653
+ /** A structure given all service allowed for this vrack */
1654
+ export interface VrackAllowedServices {
1655
+ /** list of publicCloud projects allowed to be connected to vrack */
1656
+ cloudProject?: VrackAllowedServicesCloudProjectList | null;
1657
+ /** list of dedicated cloud allowed to be connected to vrack */
1658
+ dedicatedCloud?: VrackAllowedServicesDedicatedCloudList | null;
1659
+ /** list of dedicated cloud datacenters allowed to be connected to vrack */
1660
+ dedicatedCloudDatacenter?: VrackAllowedServicesDedicatedCloudDatacenterList | null;
1661
+ /** list of dedicated connect links allowed to be connected to vrack */
1662
+ dedicatedConnect?: VrackAllowedServicesDedicatedConnectList | null;
1663
+ /** list of dedicated servers allowed to be connected to vrack */
1664
+ dedicatedServer?: VrackAllowedServicesDedicatedServerList | null;
1665
+ /** list of dedicated server interfaces allowed to be connected to vrack */
1666
+ dedicatedServerInterface?: VrackAllowedServicesDedicatedServerInterfaceList | null;
1667
+ /** list of blocks allowed to be connected to vrack */
1668
+ ip?: VrackAllowedServicesIpList | null;
1669
+ /** list of ipLoadbalancing allowed to be connected to vrack */
1670
+ ipLoadbalancing?: VrackAllowedServicesIpLoadbalancingList | null;
1671
+ /** list of ipv6 blocks allowed to be connected to vrack */
1672
+ ipv6?: VrackAllowedServicesIpv6List | null;
1673
+ /** list of legacy vrack (1.0) allowed to be connected to vrack */
1674
+ legacyVrack?: VrackAllowedServicesLegacyVrackList | null;
1675
+ /** List of the ovhCloudConnect services allowed to be connected to vrack */
1676
+ ovhCloudConnect?: VrackAllowedServicesOvhCloudConnectList | null;
1677
+ /** List of the vmwareCloudDirectorVirtualDataCenter allowed to be connected to vrack */
1678
+ vmwareCloudDirectorVirtualDataCenter?: VrackAllowedServicesVmwareCloudDirectorVirtualDataCenterList | null;
1679
+ /** List of the vrackServices allowed to be connected to vrack */
1680
+ vrackServices?: VrackAllowedServicesVrackServicesList | null;
1681
+ }
1682
+ export const VrackAllowedServices = /*@__PURE__*/ S.suspend(() =>
1683
+ S.Struct({
1684
+ cloudProject: S.optional(S.NullOr(VrackAllowedServicesCloudProjectList)),
1685
+ dedicatedCloud: S.optional(
1686
+ S.NullOr(VrackAllowedServicesDedicatedCloudList),
1687
+ ),
1688
+ dedicatedCloudDatacenter: S.optional(
1689
+ S.NullOr(VrackAllowedServicesDedicatedCloudDatacenterList),
1690
+ ),
1691
+ dedicatedConnect: S.optional(
1692
+ S.NullOr(VrackAllowedServicesDedicatedConnectList),
1693
+ ),
1694
+ dedicatedServer: S.optional(
1695
+ S.NullOr(VrackAllowedServicesDedicatedServerList),
1696
+ ),
1697
+ dedicatedServerInterface: S.optional(
1698
+ S.NullOr(VrackAllowedServicesDedicatedServerInterfaceList),
1699
+ ),
1700
+ ip: S.optional(S.NullOr(VrackAllowedServicesIpList)),
1701
+ ipLoadbalancing: S.optional(
1702
+ S.NullOr(VrackAllowedServicesIpLoadbalancingList),
1703
+ ),
1704
+ ipv6: S.optional(S.NullOr(VrackAllowedServicesIpv6List)),
1705
+ legacyVrack: S.optional(S.NullOr(VrackAllowedServicesLegacyVrackList)),
1706
+ ovhCloudConnect: S.optional(
1707
+ S.NullOr(VrackAllowedServicesOvhCloudConnectList),
1708
+ ),
1709
+ vmwareCloudDirectorVirtualDataCenter: S.optional(
1710
+ S.NullOr(VrackAllowedServicesVmwareCloudDirectorVirtualDataCenterList),
1711
+ ),
1712
+ vrackServices: S.optional(S.NullOr(VrackAllowedServicesVrackServicesList)),
1713
+ }),
1714
+ ).annotate({
1715
+ identifier: "VrackAllowedServices",
1716
+ }) as any as S.Schema<VrackAllowedServices>;
1717
+
1718
+ export interface ListVrackCloudProjectRequest {
1719
+ /** The internal name of your vrack */
1720
+ serviceName: string;
1721
+ }
1722
+ export const ListVrackCloudProjectRequest = /*@__PURE__*/ S.suspend(() =>
1723
+ S.Struct({
1724
+ serviceName: S.String.pipe(T.Label()),
1725
+ }).pipe(
1726
+ T.Http({
1727
+ method: "GET",
1728
+ uri: "/vrack/{serviceName}/cloudProject",
1729
+ code: 200,
1730
+ }),
1731
+ ),
1732
+ ).annotate({
1733
+ identifier: "ListVrackCloudProjectRequest",
1734
+ }) as any as S.Schema<ListVrackCloudProjectRequest>;
1735
+
1736
+ export type ListVrackCloudProjectResponseBodyList = Array<string>;
1737
+ export const ListVrackCloudProjectResponseBodyList = /*@__PURE__*/ S.Array(
1738
+ S.String,
1739
+ ) as any as S.Schema<ListVrackCloudProjectResponseBodyList>;
1740
+
1741
+ export type ListVrackCloudProjectResponse =
1742
+ ListVrackCloudProjectResponseBodyList;
1743
+ export const ListVrackCloudProjectResponse = /*@__PURE__*/ S.suspend(() =>
1744
+ ListVrackCloudProjectResponseBodyList.pipe(T.RawResponseRoot()),
1745
+ ).annotate({
1746
+ identifier: "ListVrackCloudProjectResponse",
1747
+ }) as any as S.Schema<ListVrackCloudProjectResponse>;
1748
+
1749
+ export interface ListVrackDedicatedCloudRequest {
1750
+ /** The internal name of your vrack */
1751
+ serviceName: string;
1752
+ }
1753
+ export const ListVrackDedicatedCloudRequest = /*@__PURE__*/ S.suspend(() =>
1754
+ S.Struct({
1755
+ serviceName: S.String.pipe(T.Label()),
1756
+ }).pipe(
1757
+ T.Http({
1758
+ method: "GET",
1759
+ uri: "/vrack/{serviceName}/dedicatedCloud",
1760
+ code: 200,
1761
+ }),
1762
+ ),
1763
+ ).annotate({
1764
+ identifier: "ListVrackDedicatedCloudRequest",
1765
+ }) as any as S.Schema<ListVrackDedicatedCloudRequest>;
1766
+
1767
+ export type ListVrackDedicatedCloudResponseBodyList = Array<string>;
1768
+ export const ListVrackDedicatedCloudResponseBodyList = /*@__PURE__*/ S.Array(
1769
+ S.String,
1770
+ ) as any as S.Schema<ListVrackDedicatedCloudResponseBodyList>;
1771
+
1772
+ export type ListVrackDedicatedCloudResponse =
1773
+ ListVrackDedicatedCloudResponseBodyList;
1774
+ export const ListVrackDedicatedCloudResponse = /*@__PURE__*/ S.suspend(() =>
1775
+ ListVrackDedicatedCloudResponseBodyList.pipe(T.RawResponseRoot()),
1776
+ ).annotate({
1777
+ identifier: "ListVrackDedicatedCloudResponse",
1778
+ }) as any as S.Schema<ListVrackDedicatedCloudResponse>;
1779
+
1780
+ export interface ListVrackDedicatedCloudDatacenterRequest {
1781
+ /** The internal name of your vrack */
1782
+ serviceName: string;
1783
+ }
1784
+ export const ListVrackDedicatedCloudDatacenterRequest = /*@__PURE__*/ S.suspend(
1785
+ () =>
1786
+ S.Struct({
1787
+ serviceName: S.String.pipe(T.Label()),
1788
+ }).pipe(
1789
+ T.Http({
1790
+ method: "GET",
1791
+ uri: "/vrack/{serviceName}/dedicatedCloudDatacenter",
1792
+ code: 200,
1793
+ }),
1794
+ ),
1795
+ ).annotate({
1796
+ identifier: "ListVrackDedicatedCloudDatacenterRequest",
1797
+ }) as any as S.Schema<ListVrackDedicatedCloudDatacenterRequest>;
1798
+
1799
+ export type ListVrackDedicatedCloudDatacenterResponseBodyList = Array<string>;
1800
+ export const ListVrackDedicatedCloudDatacenterResponseBodyList =
1801
+ /*@__PURE__*/ S.Array(
1802
+ S.String,
1803
+ ) as any as S.Schema<ListVrackDedicatedCloudDatacenterResponseBodyList>;
1804
+
1805
+ export type ListVrackDedicatedCloudDatacenterResponse =
1806
+ ListVrackDedicatedCloudDatacenterResponseBodyList;
1807
+ export const ListVrackDedicatedCloudDatacenterResponse =
1808
+ /*@__PURE__*/ S.suspend(() =>
1809
+ ListVrackDedicatedCloudDatacenterResponseBodyList.pipe(T.RawResponseRoot()),
1810
+ ).annotate({
1811
+ identifier: "ListVrackDedicatedCloudDatacenterResponse",
1812
+ }) as any as S.Schema<ListVrackDedicatedCloudDatacenterResponse>;
1813
+
1814
+ export interface ListVrackDedicatedCloudDatacenterAllowedVrackRequest {
1815
+ /** The internal name of your vrack */
1816
+ serviceName: string;
1817
+ /** Your dedicatedCloud datacenter name */
1818
+ datacenter: string;
1819
+ }
1820
+ export const ListVrackDedicatedCloudDatacenterAllowedVrackRequest =
1821
+ /*@__PURE__*/ S.suspend(() =>
1822
+ S.Struct({
1823
+ serviceName: S.String.pipe(T.Label()),
1824
+ datacenter: S.String.pipe(T.Label()),
1825
+ }).pipe(
1826
+ T.Http({
1827
+ method: "GET",
1828
+ uri: "/vrack/{serviceName}/dedicatedCloudDatacenter/{datacenter}/allowedVrack",
1829
+ code: 200,
1830
+ }),
1831
+ ),
1832
+ ).annotate({
1833
+ identifier: "ListVrackDedicatedCloudDatacenterAllowedVrackRequest",
1834
+ }) as any as S.Schema<ListVrackDedicatedCloudDatacenterAllowedVrackRequest>;
1835
+
1836
+ export type ListVrackDedicatedCloudDatacenterAllowedVrackResponseBodyList =
1837
+ Array<string>;
1838
+ export const ListVrackDedicatedCloudDatacenterAllowedVrackResponseBodyList =
1839
+ /*@__PURE__*/ S.Array(
1840
+ S.String,
1841
+ ) as any as S.Schema<ListVrackDedicatedCloudDatacenterAllowedVrackResponseBodyList>;
1842
+
1843
+ export type ListVrackDedicatedCloudDatacenterAllowedVrackResponse =
1844
+ ListVrackDedicatedCloudDatacenterAllowedVrackResponseBodyList;
1845
+ export const ListVrackDedicatedCloudDatacenterAllowedVrackResponse =
1846
+ /*@__PURE__*/ S.suspend(() =>
1847
+ ListVrackDedicatedCloudDatacenterAllowedVrackResponseBodyList.pipe(
1848
+ T.RawResponseRoot(),
1849
+ ),
1850
+ ).annotate({
1851
+ identifier: "ListVrackDedicatedCloudDatacenterAllowedVrackResponse",
1852
+ }) as any as S.Schema<ListVrackDedicatedCloudDatacenterAllowedVrackResponse>;
1853
+
1854
+ export interface ListVrackDedicatedConnectRequest {
1855
+ /** The internal name of your vrack */
1856
+ serviceName: string;
1857
+ }
1858
+ export const ListVrackDedicatedConnectRequest = /*@__PURE__*/ S.suspend(() =>
1859
+ S.Struct({
1860
+ serviceName: S.String.pipe(T.Label()),
1861
+ }).pipe(
1862
+ T.Http({
1863
+ method: "GET",
1864
+ uri: "/vrack/{serviceName}/dedicatedConnect",
1865
+ code: 200,
1866
+ }),
1867
+ ),
1868
+ ).annotate({
1869
+ identifier: "ListVrackDedicatedConnectRequest",
1870
+ }) as any as S.Schema<ListVrackDedicatedConnectRequest>;
1871
+
1872
+ export type ListVrackDedicatedConnectResponseBodyList = Array<string>;
1873
+ export const ListVrackDedicatedConnectResponseBodyList = /*@__PURE__*/ S.Array(
1874
+ S.String,
1875
+ ) as any as S.Schema<ListVrackDedicatedConnectResponseBodyList>;
1876
+
1877
+ export type ListVrackDedicatedConnectResponse =
1878
+ ListVrackDedicatedConnectResponseBodyList;
1879
+ export const ListVrackDedicatedConnectResponse = /*@__PURE__*/ S.suspend(() =>
1880
+ ListVrackDedicatedConnectResponseBodyList.pipe(T.RawResponseRoot()),
1881
+ ).annotate({
1882
+ identifier: "ListVrackDedicatedConnectResponse",
1883
+ }) as any as S.Schema<ListVrackDedicatedConnectResponse>;
1884
+
1885
+ export interface ListVrackDedicatedServerRequest {
1886
+ /** The internal name of your vrack */
1887
+ serviceName: string;
1888
+ }
1889
+ export const ListVrackDedicatedServerRequest = /*@__PURE__*/ S.suspend(() =>
1890
+ S.Struct({
1891
+ serviceName: S.String.pipe(T.Label()),
1892
+ }).pipe(
1893
+ T.Http({
1894
+ method: "GET",
1895
+ uri: "/vrack/{serviceName}/dedicatedServer",
1896
+ code: 200,
1897
+ }),
1898
+ ),
1899
+ ).annotate({
1900
+ identifier: "ListVrackDedicatedServerRequest",
1901
+ }) as any as S.Schema<ListVrackDedicatedServerRequest>;
1902
+
1903
+ export type ListVrackDedicatedServerResponseBodyList = Array<string>;
1904
+ export const ListVrackDedicatedServerResponseBodyList = /*@__PURE__*/ S.Array(
1905
+ S.String,
1906
+ ) as any as S.Schema<ListVrackDedicatedServerResponseBodyList>;
1907
+
1908
+ export type ListVrackDedicatedServerResponse =
1909
+ ListVrackDedicatedServerResponseBodyList;
1910
+ export const ListVrackDedicatedServerResponse = /*@__PURE__*/ S.suspend(() =>
1911
+ ListVrackDedicatedServerResponseBodyList.pipe(T.RawResponseRoot()),
1912
+ ).annotate({
1913
+ identifier: "ListVrackDedicatedServerResponse",
1914
+ }) as any as S.Schema<ListVrackDedicatedServerResponse>;
1915
+
1916
+ export interface ListVrackDedicatedServerInterfaceRequest {
1917
+ /** The internal name of your vrack */
1918
+ serviceName: string;
1919
+ }
1920
+ export const ListVrackDedicatedServerInterfaceRequest = /*@__PURE__*/ S.suspend(
1921
+ () =>
1922
+ S.Struct({
1923
+ serviceName: S.String.pipe(T.Label()),
1924
+ }).pipe(
1925
+ T.Http({
1926
+ method: "GET",
1927
+ uri: "/vrack/{serviceName}/dedicatedServerInterface",
1928
+ code: 200,
1929
+ }),
1930
+ ),
1931
+ ).annotate({
1932
+ identifier: "ListVrackDedicatedServerInterfaceRequest",
1933
+ }) as any as S.Schema<ListVrackDedicatedServerInterfaceRequest>;
1934
+
1935
+ export type ListVrackDedicatedServerInterfaceResponseBodyList = Array<string>;
1936
+ export const ListVrackDedicatedServerInterfaceResponseBodyList =
1937
+ /*@__PURE__*/ S.Array(
1938
+ S.String,
1939
+ ) as any as S.Schema<ListVrackDedicatedServerInterfaceResponseBodyList>;
1940
+
1941
+ export type ListVrackDedicatedServerInterfaceResponse =
1942
+ ListVrackDedicatedServerInterfaceResponseBodyList;
1943
+ export const ListVrackDedicatedServerInterfaceResponse =
1944
+ /*@__PURE__*/ S.suspend(() =>
1945
+ ListVrackDedicatedServerInterfaceResponseBodyList.pipe(T.RawResponseRoot()),
1946
+ ).annotate({
1947
+ identifier: "ListVrackDedicatedServerInterfaceResponse",
1948
+ }) as any as S.Schema<ListVrackDedicatedServerInterfaceResponse>;
1949
+
1950
+ export interface ListVrackDedicatedServerInterfaceDetailsRequest {
1951
+ /** The internal name of your vrack */
1952
+ serviceName: string;
1953
+ }
1954
+ export const ListVrackDedicatedServerInterfaceDetailsRequest =
1955
+ /*@__PURE__*/ S.suspend(() =>
1956
+ S.Struct({
1957
+ serviceName: S.String.pipe(T.Label()),
1958
+ }).pipe(
1959
+ T.Http({
1960
+ method: "GET",
1961
+ uri: "/vrack/{serviceName}/dedicatedServerInterfaceDetails",
1962
+ code: 200,
1963
+ }),
1964
+ ),
1965
+ ).annotate({
1966
+ identifier: "ListVrackDedicatedServerInterfaceDetailsRequest",
1967
+ }) as any as S.Schema<ListVrackDedicatedServerInterfaceDetailsRequest>;
1968
+
1969
+ export type ListVrackDedicatedServerInterfaceDetailsResponseBodyList =
1970
+ Array<VrackAllowedDedicatedServerInterfaces>;
1971
+ export const ListVrackDedicatedServerInterfaceDetailsResponseBodyList =
1972
+ /*@__PURE__*/ S.Array(
1973
+ VrackAllowedDedicatedServerInterfaces,
1974
+ ) as any as S.Schema<ListVrackDedicatedServerInterfaceDetailsResponseBodyList>;
1975
+
1976
+ export type ListVrackDedicatedServerInterfaceDetailsResponse =
1977
+ ListVrackDedicatedServerInterfaceDetailsResponseBodyList;
1978
+ export const ListVrackDedicatedServerInterfaceDetailsResponse =
1979
+ /*@__PURE__*/ S.suspend(() =>
1980
+ ListVrackDedicatedServerInterfaceDetailsResponseBodyList.pipe(
1981
+ T.RawResponseRoot(),
1982
+ ),
1983
+ ).annotate({
1984
+ identifier: "ListVrackDedicatedServerInterfaceDetailsResponse",
1985
+ }) as any as S.Schema<ListVrackDedicatedServerInterfaceDetailsResponse>;
1986
+
1987
+ export interface ListVrackEligibleServicesRequest {
1988
+ /** The internal name of your vrack */
1989
+ serviceName: string;
1990
+ }
1991
+ export const ListVrackEligibleServicesRequest = /*@__PURE__*/ S.suspend(() =>
1992
+ S.Struct({
1993
+ serviceName: S.String.pipe(T.Label()),
1994
+ }).pipe(
1995
+ T.Http({
1996
+ method: "GET",
1997
+ uri: "/vrack/{serviceName}/eligibleServices",
1998
+ code: 200,
1999
+ }),
2000
+ ),
2001
+ ).annotate({
2002
+ identifier: "ListVrackEligibleServicesRequest",
2003
+ }) as any as S.Schema<ListVrackEligibleServicesRequest>;
2004
+
2005
+ /** List of services where an error has been encountered */
2006
+ export type VrackEligibleServicesResponseErrorsList = Array<string>;
2007
+ export const VrackEligibleServicesResponseErrorsList = /*@__PURE__*/ S.Array(
2008
+ S.String,
2009
+ ) as any as S.Schema<VrackEligibleServicesResponseErrorsList>;
2010
+
2011
+ /** List of publicCloud projects allowed to be connected to this vRack */
2012
+ export type VrackEligibleServicesCloudProjectList = Array<string>;
2013
+ export const VrackEligibleServicesCloudProjectList = /*@__PURE__*/ S.Array(
2014
+ S.String,
2015
+ ) as any as S.Schema<VrackEligibleServicesCloudProjectList>;
2016
+
2017
+ /** List of dedicated cloud allowed to be connected to this vRack */
2018
+ export type VrackEligibleServicesDedicatedCloudList = Array<string>;
2019
+ export const VrackEligibleServicesDedicatedCloudList = /*@__PURE__*/ S.Array(
2020
+ S.String,
2021
+ ) as any as S.Schema<VrackEligibleServicesDedicatedCloudList>;
2022
+
2023
+ /** List of dedicated cloud datacenters allowed to be connected to this vRack */
2024
+ export type VrackEligibleServicesDedicatedCloudDatacenterList = Array<string>;
2025
+ export const VrackEligibleServicesDedicatedCloudDatacenterList =
2026
+ /*@__PURE__*/ S.Array(
2027
+ S.String,
2028
+ ) as any as S.Schema<VrackEligibleServicesDedicatedCloudDatacenterList>;
2029
+
2030
+ /** List of dedicated connect links allowed to be connected to this vRack */
2031
+ export type VrackEligibleServicesDedicatedConnectList = Array<string>;
2032
+ export const VrackEligibleServicesDedicatedConnectList = /*@__PURE__*/ S.Array(
2033
+ S.String,
2034
+ ) as any as S.Schema<VrackEligibleServicesDedicatedConnectList>;
2035
+
2036
+ /** List of dedicated servers allowed to be connected to this vRack */
2037
+ export type VrackEligibleServicesDedicatedServerList = Array<string>;
2038
+ export const VrackEligibleServicesDedicatedServerList = /*@__PURE__*/ S.Array(
2039
+ S.String,
2040
+ ) as any as S.Schema<VrackEligibleServicesDedicatedServerList>;
2041
+
2042
+ /** Dedicated server interfaces allowed for this vRack */
2043
+ export interface VrackEligibleDedicatedServerInterfaces {
2044
+ /** The name of the dedicatedServer */
2045
+ dedicatedServer?: string;
2046
+ /** The unique identifier of the dedicatedServerInterface */
2047
+ dedicatedServerInterface?: string;
2048
+ /** The name of the dedicatedServerInterface */
2049
+ name?: string;
2050
+ }
2051
+ export const VrackEligibleDedicatedServerInterfaces = /*@__PURE__*/ S.suspend(
2052
+ () =>
2053
+ S.Struct({
2054
+ dedicatedServer: S.optional(S.String),
2055
+ dedicatedServerInterface: S.optional(S.String),
2056
+ name: S.optional(S.String),
2057
+ }),
2058
+ ).annotate({
2059
+ identifier: "VrackEligibleDedicatedServerInterfaces",
2060
+ }) as any as S.Schema<VrackEligibleDedicatedServerInterfaces>;
2061
+
2062
+ /** List of dedicated server interfaces allowed to be connected to this vRack */
2063
+ export type VrackEligibleServicesDedicatedServerInterfaceList =
2064
+ Array<VrackEligibleDedicatedServerInterfaces>;
2065
+ export const VrackEligibleServicesDedicatedServerInterfaceList =
2066
+ /*@__PURE__*/ S.Array(
2067
+ VrackEligibleDedicatedServerInterfaces,
2068
+ ) as any as S.Schema<VrackEligibleServicesDedicatedServerInterfaceList>;
2069
+
2070
+ /** List of blocks allowed to be connected to this vRack */
2071
+ export type VrackEligibleServicesIpList = Array<string>;
2072
+ export const VrackEligibleServicesIpList = /*@__PURE__*/ S.Array(
2073
+ S.String,
2074
+ ) as any as S.Schema<VrackEligibleServicesIpList>;
2075
+
2076
+ /** List of ipLoadbalancing allowed to be connected to this vRack */
2077
+ export type VrackEligibleServicesIpLoadbalancingList = Array<string>;
2078
+ export const VrackEligibleServicesIpLoadbalancingList = /*@__PURE__*/ S.Array(
2079
+ S.String,
2080
+ ) as any as S.Schema<VrackEligibleServicesIpLoadbalancingList>;
2081
+
2082
+ /** List of ipv6 blocks allowed to be connected to this vRack */
2083
+ export type VrackEligibleServicesIpv6List = Array<string>;
2084
+ export const VrackEligibleServicesIpv6List = /*@__PURE__*/ S.Array(
2085
+ S.String,
2086
+ ) as any as S.Schema<VrackEligibleServicesIpv6List>;
2087
+
2088
+ /** List of legacy vRack (1.0) allowed to be connected to this vRack */
2089
+ export type VrackEligibleServicesLegacyVrackList = Array<string>;
2090
+ export const VrackEligibleServicesLegacyVrackList = /*@__PURE__*/ S.Array(
2091
+ S.String,
2092
+ ) as any as S.Schema<VrackEligibleServicesLegacyVrackList>;
2093
+
2094
+ /** List of the ovhCloudConnect services allowed to be connected to this vRack */
2095
+ export type VrackEligibleServicesOvhCloudConnectList = Array<string>;
2096
+ export const VrackEligibleServicesOvhCloudConnectList = /*@__PURE__*/ S.Array(
2097
+ S.String,
2098
+ ) as any as S.Schema<VrackEligibleServicesOvhCloudConnectList>;
2099
+
2100
+ /** List of the VMwareCloudDirectorVirtualDatacenter allowed to be connected to this vRack */
2101
+ export type VrackEligibleServicesVmwareCloudDirectorVirtualDataCenterList =
2102
+ Array<string>;
2103
+ export const VrackEligibleServicesVmwareCloudDirectorVirtualDataCenterList =
2104
+ /*@__PURE__*/ S.Array(
2105
+ S.String,
2106
+ ) as any as S.Schema<VrackEligibleServicesVmwareCloudDirectorVirtualDataCenterList>;
2107
+
2108
+ /** List of the vrackServices allowed to be connected to this vRack */
2109
+ export type VrackEligibleServicesVrackServicesList = Array<string>;
2110
+ export const VrackEligibleServicesVrackServicesList = /*@__PURE__*/ S.Array(
2111
+ S.String,
2112
+ ) as any as S.Schema<VrackEligibleServicesVrackServicesList>;
2113
+
2114
+ /** Eligible services for this vRack */
2115
+ export interface VrackEligibleServices {
2116
+ /** List of publicCloud projects allowed to be connected to this vRack */
2117
+ cloudProject?: VrackEligibleServicesCloudProjectList | null;
2118
+ /** List of dedicated cloud allowed to be connected to this vRack */
2119
+ dedicatedCloud?: VrackEligibleServicesDedicatedCloudList | null;
2120
+ /** List of dedicated cloud datacenters allowed to be connected to this vRack */
2121
+ dedicatedCloudDatacenter?: VrackEligibleServicesDedicatedCloudDatacenterList | null;
2122
+ /** List of dedicated connect links allowed to be connected to this vRack */
2123
+ dedicatedConnect?: VrackEligibleServicesDedicatedConnectList | null;
2124
+ /** List of dedicated servers allowed to be connected to this vRack */
2125
+ dedicatedServer?: VrackEligibleServicesDedicatedServerList | null;
2126
+ /** List of dedicated server interfaces allowed to be connected to this vRack */
2127
+ dedicatedServerInterface?: VrackEligibleServicesDedicatedServerInterfaceList | null;
2128
+ /** List of blocks allowed to be connected to this vRack */
2129
+ ip?: VrackEligibleServicesIpList | null;
2130
+ /** List of ipLoadbalancing allowed to be connected to this vRack */
2131
+ ipLoadbalancing?: VrackEligibleServicesIpLoadbalancingList | null;
2132
+ /** List of ipv6 blocks allowed to be connected to this vRack */
2133
+ ipv6?: VrackEligibleServicesIpv6List | null;
2134
+ /** List of legacy vRack (1.0) allowed to be connected to this vRack */
2135
+ legacyVrack?: VrackEligibleServicesLegacyVrackList | null;
2136
+ /** List of the ovhCloudConnect services allowed to be connected to this vRack */
2137
+ ovhCloudConnect?: VrackEligibleServicesOvhCloudConnectList | null;
2138
+ /** List of the VMwareCloudDirectorVirtualDatacenter allowed to be connected to this vRack */
2139
+ vmwareCloudDirectorVirtualDataCenter?: VrackEligibleServicesVmwareCloudDirectorVirtualDataCenterList | null;
2140
+ /** List of the vrackServices allowed to be connected to this vRack */
2141
+ vrackServices?: VrackEligibleServicesVrackServicesList | null;
2142
+ }
2143
+ export const VrackEligibleServices = /*@__PURE__*/ S.suspend(() =>
2144
+ S.Struct({
2145
+ cloudProject: S.optional(S.NullOr(VrackEligibleServicesCloudProjectList)),
2146
+ dedicatedCloud: S.optional(
2147
+ S.NullOr(VrackEligibleServicesDedicatedCloudList),
2148
+ ),
2149
+ dedicatedCloudDatacenter: S.optional(
2150
+ S.NullOr(VrackEligibleServicesDedicatedCloudDatacenterList),
2151
+ ),
2152
+ dedicatedConnect: S.optional(
2153
+ S.NullOr(VrackEligibleServicesDedicatedConnectList),
2154
+ ),
2155
+ dedicatedServer: S.optional(
2156
+ S.NullOr(VrackEligibleServicesDedicatedServerList),
2157
+ ),
2158
+ dedicatedServerInterface: S.optional(
2159
+ S.NullOr(VrackEligibleServicesDedicatedServerInterfaceList),
2160
+ ),
2161
+ ip: S.optional(S.NullOr(VrackEligibleServicesIpList)),
2162
+ ipLoadbalancing: S.optional(
2163
+ S.NullOr(VrackEligibleServicesIpLoadbalancingList),
2164
+ ),
2165
+ ipv6: S.optional(S.NullOr(VrackEligibleServicesIpv6List)),
2166
+ legacyVrack: S.optional(S.NullOr(VrackEligibleServicesLegacyVrackList)),
2167
+ ovhCloudConnect: S.optional(
2168
+ S.NullOr(VrackEligibleServicesOvhCloudConnectList),
2169
+ ),
2170
+ vmwareCloudDirectorVirtualDataCenter: S.optional(
2171
+ S.NullOr(VrackEligibleServicesVmwareCloudDirectorVirtualDataCenterList),
2172
+ ),
2173
+ vrackServices: S.optional(S.NullOr(VrackEligibleServicesVrackServicesList)),
2174
+ }),
2175
+ ).annotate({
2176
+ identifier: "VrackEligibleServices",
2177
+ }) as any as S.Schema<VrackEligibleServices>;
2178
+
2179
+ /** Eligible services call response */
2180
+ export interface VrackEligibleServicesResponse {
2181
+ /** Creation date of the call */
2182
+ createdAt?: string;
2183
+ /** List of services where an error has been encountered */
2184
+ errors?: VrackEligibleServicesResponseErrorsList;
2185
+ /** Eligible services for this vRack */
2186
+ result?: VrackEligibleServices;
2187
+ /** Status of the call */
2188
+ status?: string;
2189
+ }
2190
+ export const VrackEligibleServicesResponse = /*@__PURE__*/ S.suspend(() =>
2191
+ S.Struct({
2192
+ createdAt: S.optional(S.String),
2193
+ errors: S.optional(VrackEligibleServicesResponseErrorsList),
2194
+ result: S.optional(VrackEligibleServices),
2195
+ status: S.optional(S.String),
2196
+ }),
2197
+ ).annotate({
2198
+ identifier: "VrackEligibleServicesResponse",
2199
+ }) as any as S.Schema<VrackEligibleServicesResponse>;
2200
+
2201
+ export interface ListVrackIpRequest {
2202
+ /** The internal name of your vrack */
2203
+ serviceName: string;
2204
+ }
2205
+ export const ListVrackIpRequest = /*@__PURE__*/ S.suspend(() =>
2206
+ S.Struct({
2207
+ serviceName: S.String.pipe(T.Label()),
2208
+ }).pipe(T.Http({ method: "GET", uri: "/vrack/{serviceName}/ip", code: 200 })),
2209
+ ).annotate({
2210
+ identifier: "ListVrackIpRequest",
2211
+ }) as any as S.Schema<ListVrackIpRequest>;
2212
+
2213
+ export type ListVrackIpResponseBodyList = Array<string>;
2214
+ export const ListVrackIpResponseBodyList = /*@__PURE__*/ S.Array(
2215
+ S.String,
2216
+ ) as any as S.Schema<ListVrackIpResponseBodyList>;
2217
+
2218
+ export type ListVrackIpResponse = ListVrackIpResponseBodyList;
2219
+ export const ListVrackIpResponse = /*@__PURE__*/ S.suspend(() =>
2220
+ ListVrackIpResponseBodyList.pipe(T.RawResponseRoot()),
2221
+ ).annotate({
2222
+ identifier: "ListVrackIpResponse",
2223
+ }) as any as S.Schema<ListVrackIpResponse>;
2224
+
2225
+ export interface ListVrackIpLoadbalancingRequest {
2226
+ /** The internal name of your vrack */
2227
+ serviceName: string;
2228
+ }
2229
+ export const ListVrackIpLoadbalancingRequest = /*@__PURE__*/ S.suspend(() =>
2230
+ S.Struct({
2231
+ serviceName: S.String.pipe(T.Label()),
2232
+ }).pipe(
2233
+ T.Http({
2234
+ method: "GET",
2235
+ uri: "/vrack/{serviceName}/ipLoadbalancing",
2236
+ code: 200,
2237
+ }),
2238
+ ),
2239
+ ).annotate({
2240
+ identifier: "ListVrackIpLoadbalancingRequest",
2241
+ }) as any as S.Schema<ListVrackIpLoadbalancingRequest>;
2242
+
2243
+ export type ListVrackIpLoadbalancingResponseBodyList = Array<string>;
2244
+ export const ListVrackIpLoadbalancingResponseBodyList = /*@__PURE__*/ S.Array(
2245
+ S.String,
2246
+ ) as any as S.Schema<ListVrackIpLoadbalancingResponseBodyList>;
2247
+
2248
+ export type ListVrackIpLoadbalancingResponse =
2249
+ ListVrackIpLoadbalancingResponseBodyList;
2250
+ export const ListVrackIpLoadbalancingResponse = /*@__PURE__*/ S.suspend(() =>
2251
+ ListVrackIpLoadbalancingResponseBodyList.pipe(T.RawResponseRoot()),
2252
+ ).annotate({
2253
+ identifier: "ListVrackIpLoadbalancingResponse",
2254
+ }) as any as S.Schema<ListVrackIpLoadbalancingResponse>;
2255
+
2256
+ export interface ListVrackIpv6Request {
2257
+ /** The internal name of your vrack */
2258
+ serviceName: string;
2259
+ }
2260
+ export const ListVrackIpv6Request = /*@__PURE__*/ S.suspend(() =>
2261
+ S.Struct({
2262
+ serviceName: S.String.pipe(T.Label()),
2263
+ }).pipe(
2264
+ T.Http({ method: "GET", uri: "/vrack/{serviceName}/ipv6", code: 200 }),
2265
+ ),
2266
+ ).annotate({
2267
+ identifier: "ListVrackIpv6Request",
2268
+ }) as any as S.Schema<ListVrackIpv6Request>;
2269
+
2270
+ export type ListVrackIpv6ResponseBodyList = Array<string>;
2271
+ export const ListVrackIpv6ResponseBodyList = /*@__PURE__*/ S.Array(
2272
+ S.String,
2273
+ ) as any as S.Schema<ListVrackIpv6ResponseBodyList>;
2274
+
2275
+ export type ListVrackIpv6Response = ListVrackIpv6ResponseBodyList;
2276
+ export const ListVrackIpv6Response = /*@__PURE__*/ S.suspend(() =>
2277
+ ListVrackIpv6ResponseBodyList.pipe(T.RawResponseRoot()),
2278
+ ).annotate({
2279
+ identifier: "ListVrackIpv6Response",
2280
+ }) as any as S.Schema<ListVrackIpv6Response>;
2281
+
2282
+ export interface ListVrackIpv6BridgedSubrangeRequest {
2283
+ /** The internal name of your vrack */
2284
+ serviceName: string;
2285
+ /** Your IP v6 block */
2286
+ ipv6: string;
2287
+ }
2288
+ export const ListVrackIpv6BridgedSubrangeRequest = /*@__PURE__*/ S.suspend(() =>
2289
+ S.Struct({
2290
+ serviceName: S.String.pipe(T.Label()),
2291
+ ipv6: S.String.pipe(T.Label()),
2292
+ }).pipe(
2293
+ T.Http({
2294
+ method: "GET",
2295
+ uri: "/vrack/{serviceName}/ipv6/{ipv6}/bridgedSubrange",
2296
+ code: 200,
2297
+ }),
2298
+ ),
2299
+ ).annotate({
2300
+ identifier: "ListVrackIpv6BridgedSubrangeRequest",
2301
+ }) as any as S.Schema<ListVrackIpv6BridgedSubrangeRequest>;
2302
+
2303
+ export type ListVrackIpv6BridgedSubrangeResponseBodyList = Array<string>;
2304
+ export const ListVrackIpv6BridgedSubrangeResponseBodyList =
2305
+ /*@__PURE__*/ S.Array(
2306
+ S.String,
2307
+ ) as any as S.Schema<ListVrackIpv6BridgedSubrangeResponseBodyList>;
2308
+
2309
+ export type ListVrackIpv6BridgedSubrangeResponse =
2310
+ ListVrackIpv6BridgedSubrangeResponseBodyList;
2311
+ export const ListVrackIpv6BridgedSubrangeResponse = /*@__PURE__*/ S.suspend(
2312
+ () => ListVrackIpv6BridgedSubrangeResponseBodyList.pipe(T.RawResponseRoot()),
2313
+ ).annotate({
2314
+ identifier: "ListVrackIpv6BridgedSubrangeResponse",
2315
+ }) as any as S.Schema<ListVrackIpv6BridgedSubrangeResponse>;
2316
+
2317
+ export interface ListVrackIpv6RoutedSubrangeRequest {
2318
+ /** The internal name of your vrack */
2319
+ serviceName: string;
2320
+ /** Your IP v6 block */
2321
+ ipv6: string;
2322
+ }
2323
+ export const ListVrackIpv6RoutedSubrangeRequest = /*@__PURE__*/ S.suspend(() =>
2324
+ S.Struct({
2325
+ serviceName: S.String.pipe(T.Label()),
2326
+ ipv6: S.String.pipe(T.Label()),
2327
+ }).pipe(
2328
+ T.Http({
2329
+ method: "GET",
2330
+ uri: "/vrack/{serviceName}/ipv6/{ipv6}/routedSubrange",
2331
+ code: 200,
2332
+ }),
2333
+ ),
2334
+ ).annotate({
2335
+ identifier: "ListVrackIpv6RoutedSubrangeRequest",
2336
+ }) as any as S.Schema<ListVrackIpv6RoutedSubrangeRequest>;
2337
+
2338
+ export type ListVrackIpv6RoutedSubrangeResponseBodyList = Array<string>;
2339
+ export const ListVrackIpv6RoutedSubrangeResponseBodyList =
2340
+ /*@__PURE__*/ S.Array(
2341
+ S.String,
2342
+ ) as any as S.Schema<ListVrackIpv6RoutedSubrangeResponseBodyList>;
2343
+
2344
+ export type ListVrackIpv6RoutedSubrangeResponse =
2345
+ ListVrackIpv6RoutedSubrangeResponseBodyList;
2346
+ export const ListVrackIpv6RoutedSubrangeResponse = /*@__PURE__*/ S.suspend(() =>
2347
+ ListVrackIpv6RoutedSubrangeResponseBodyList.pipe(T.RawResponseRoot()),
2348
+ ).annotate({
2349
+ identifier: "ListVrackIpv6RoutedSubrangeResponse",
2350
+ }) as any as S.Schema<ListVrackIpv6RoutedSubrangeResponse>;
2351
+
2352
+ export interface ListVrackLegacyVrackRequest {
2353
+ /** The internal name of your vrack */
2354
+ serviceName: string;
2355
+ }
2356
+ export const ListVrackLegacyVrackRequest = /*@__PURE__*/ S.suspend(() =>
2357
+ S.Struct({
2358
+ serviceName: S.String.pipe(T.Label()),
2359
+ }).pipe(
2360
+ T.Http({
2361
+ method: "GET",
2362
+ uri: "/vrack/{serviceName}/legacyVrack",
2363
+ code: 200,
2364
+ }),
2365
+ ),
2366
+ ).annotate({
2367
+ identifier: "ListVrackLegacyVrackRequest",
2368
+ }) as any as S.Schema<ListVrackLegacyVrackRequest>;
2369
+
2370
+ export type ListVrackLegacyVrackResponseBodyList = Array<string>;
2371
+ export const ListVrackLegacyVrackResponseBodyList = /*@__PURE__*/ S.Array(
2372
+ S.String,
2373
+ ) as any as S.Schema<ListVrackLegacyVrackResponseBodyList>;
2374
+
2375
+ export type ListVrackLegacyVrackResponse = ListVrackLegacyVrackResponseBodyList;
2376
+ export const ListVrackLegacyVrackResponse = /*@__PURE__*/ S.suspend(() =>
2377
+ ListVrackLegacyVrackResponseBodyList.pipe(T.RawResponseRoot()),
2378
+ ).annotate({
2379
+ identifier: "ListVrackLegacyVrackResponse",
2380
+ }) as any as S.Schema<ListVrackLegacyVrackResponse>;
2381
+
2382
+ export interface ListVrackOvhCloudConnectRequest {
2383
+ /** The internal name of your vrack */
2384
+ serviceName: string;
2385
+ }
2386
+ export const ListVrackOvhCloudConnectRequest = /*@__PURE__*/ S.suspend(() =>
2387
+ S.Struct({
2388
+ serviceName: S.String.pipe(T.Label()),
2389
+ }).pipe(
2390
+ T.Http({
2391
+ method: "GET",
2392
+ uri: "/vrack/{serviceName}/ovhCloudConnect",
2393
+ code: 200,
2394
+ }),
2395
+ ),
2396
+ ).annotate({
2397
+ identifier: "ListVrackOvhCloudConnectRequest",
2398
+ }) as any as S.Schema<ListVrackOvhCloudConnectRequest>;
2399
+
2400
+ export type ListVrackOvhCloudConnectResponseBodyList = Array<string>;
2401
+ export const ListVrackOvhCloudConnectResponseBodyList = /*@__PURE__*/ S.Array(
2402
+ S.String,
2403
+ ) as any as S.Schema<ListVrackOvhCloudConnectResponseBodyList>;
2404
+
2405
+ export type ListVrackOvhCloudConnectResponse =
2406
+ ListVrackOvhCloudConnectResponseBodyList;
2407
+ export const ListVrackOvhCloudConnectResponse = /*@__PURE__*/ S.suspend(() =>
2408
+ ListVrackOvhCloudConnectResponseBodyList.pipe(T.RawResponseRoot()),
2409
+ ).annotate({
2410
+ identifier: "ListVrackOvhCloudConnectResponse",
2411
+ }) as any as S.Schema<ListVrackOvhCloudConnectResponse>;
2412
+
2413
+ export interface ListVrackTaskRequest {
2414
+ /** The internal name of your vrack */
2415
+ serviceName: string;
2416
+ }
2417
+ export const ListVrackTaskRequest = /*@__PURE__*/ S.suspend(() =>
2418
+ S.Struct({
2419
+ serviceName: S.String.pipe(T.Label()),
2420
+ }).pipe(
2421
+ T.Http({ method: "GET", uri: "/vrack/{serviceName}/task", code: 200 }),
2422
+ ),
2423
+ ).annotate({
2424
+ identifier: "ListVrackTaskRequest",
2425
+ }) as any as S.Schema<ListVrackTaskRequest>;
2426
+
2427
+ export type ListVrackTaskResponseBodyList = Array<number>;
2428
+ export const ListVrackTaskResponseBodyList = /*@__PURE__*/ S.Array(
2429
+ S.Number,
2430
+ ) as any as S.Schema<ListVrackTaskResponseBodyList>;
2431
+
2432
+ export type ListVrackTaskResponse = ListVrackTaskResponseBodyList;
2433
+ export const ListVrackTaskResponse = /*@__PURE__*/ S.suspend(() =>
2434
+ ListVrackTaskResponseBodyList.pipe(T.RawResponseRoot()),
2435
+ ).annotate({
2436
+ identifier: "ListVrackTaskResponse",
2437
+ }) as any as S.Schema<ListVrackTaskResponse>;
2438
+
2439
+ export interface ListVrackVmwareCloudDirectorVirtualDataCenterRequest {
2440
+ /** The internal name of your vrack */
2441
+ serviceName: string;
2442
+ }
2443
+ export const ListVrackVmwareCloudDirectorVirtualDataCenterRequest =
2444
+ /*@__PURE__*/ S.suspend(() =>
2445
+ S.Struct({
2446
+ serviceName: S.String.pipe(T.Label()),
2447
+ }).pipe(
2448
+ T.Http({
2449
+ method: "GET",
2450
+ uri: "/vrack/{serviceName}/vmwareCloudDirectorVirtualDataCenter",
2451
+ code: 200,
2452
+ }),
2453
+ ),
2454
+ ).annotate({
2455
+ identifier: "ListVrackVmwareCloudDirectorVirtualDataCenterRequest",
2456
+ }) as any as S.Schema<ListVrackVmwareCloudDirectorVirtualDataCenterRequest>;
2457
+
2458
+ export type ListVrackVmwareCloudDirectorVirtualDataCenterResponseBodyList =
2459
+ Array<string>;
2460
+ export const ListVrackVmwareCloudDirectorVirtualDataCenterResponseBodyList =
2461
+ /*@__PURE__*/ S.Array(
2462
+ S.String,
2463
+ ) as any as S.Schema<ListVrackVmwareCloudDirectorVirtualDataCenterResponseBodyList>;
2464
+
2465
+ export type ListVrackVmwareCloudDirectorVirtualDataCenterResponse =
2466
+ ListVrackVmwareCloudDirectorVirtualDataCenterResponseBodyList;
2467
+ export const ListVrackVmwareCloudDirectorVirtualDataCenterResponse =
2468
+ /*@__PURE__*/ S.suspend(() =>
2469
+ ListVrackVmwareCloudDirectorVirtualDataCenterResponseBodyList.pipe(
2470
+ T.RawResponseRoot(),
2471
+ ),
2472
+ ).annotate({
2473
+ identifier: "ListVrackVmwareCloudDirectorVirtualDataCenterResponse",
2474
+ }) as any as S.Schema<ListVrackVmwareCloudDirectorVirtualDataCenterResponse>;
2475
+
2476
+ export interface ListVrackVrackServicesRequest {
2477
+ /** The internal name of your vrack */
2478
+ serviceName: string;
2479
+ }
2480
+ export const ListVrackVrackServicesRequest = /*@__PURE__*/ S.suspend(() =>
2481
+ S.Struct({
2482
+ serviceName: S.String.pipe(T.Label()),
2483
+ }).pipe(
2484
+ T.Http({
2485
+ method: "GET",
2486
+ uri: "/vrack/{serviceName}/vrackServices",
2487
+ code: 200,
2488
+ }),
2489
+ ),
2490
+ ).annotate({
2491
+ identifier: "ListVrackVrackServicesRequest",
2492
+ }) as any as S.Schema<ListVrackVrackServicesRequest>;
2493
+
2494
+ export type ListVrackVrackServicesResponseBodyList = Array<string>;
2495
+ export const ListVrackVrackServicesResponseBodyList = /*@__PURE__*/ S.Array(
2496
+ S.String,
2497
+ ) as any as S.Schema<ListVrackVrackServicesResponseBodyList>;
2498
+
2499
+ export type ListVrackVrackServicesResponse =
2500
+ ListVrackVrackServicesResponseBodyList;
2501
+ export const ListVrackVrackServicesResponse = /*@__PURE__*/ S.suspend(() =>
2502
+ ListVrackVrackServicesResponseBodyList.pipe(T.RawResponseRoot()),
2503
+ ).annotate({
2504
+ identifier: "ListVrackVrackServicesResponse",
2505
+ }) as any as S.Schema<ListVrackVrackServicesResponse>;
2506
+
2507
+ export interface MoveVrackDedicatedCloudDatacenterRequest {
2508
+ /** The internal name of your vrack */
2509
+ serviceName: string;
2510
+ /** Your dedicatedCloud datacenter name */
2511
+ datacenter: string;
2512
+ /** The internal name of your target vrack */
2513
+ targetServiceName: string;
2514
+ }
2515
+ export const MoveVrackDedicatedCloudDatacenterRequest = /*@__PURE__*/ S.suspend(
2516
+ () =>
2517
+ S.Struct({
2518
+ serviceName: S.String.pipe(T.Label()),
2519
+ datacenter: S.String.pipe(T.Label()),
2520
+ targetServiceName: S.String,
2521
+ }).pipe(
2522
+ T.Http({
2523
+ method: "POST",
2524
+ uri: "/vrack/{serviceName}/dedicatedCloudDatacenter/{datacenter}/move",
2525
+ code: 200,
2526
+ }),
2527
+ ),
2528
+ ).annotate({
2529
+ identifier: "MoveVrackDedicatedCloudDatacenterRequest",
2530
+ }) as any as S.Schema<MoveVrackDedicatedCloudDatacenterRequest>;
2531
+
2532
+ export interface PutVrackRequest {
2533
+ /** The internal name of your vrack */
2534
+ serviceName: string;
2535
+ /** Description of the vRack */
2536
+ description?: string;
2537
+ /** Name of the vRack */
2538
+ name?: string;
2539
+ }
2540
+ export const PutVrackRequest = /*@__PURE__*/ S.suspend(() =>
2541
+ S.Struct({
2542
+ serviceName: S.String.pipe(T.Label()),
2543
+ description: S.optional(S.String),
2544
+ name: S.optional(S.String),
2545
+ }).pipe(T.Http({ method: "PUT", uri: "/vrack/{serviceName}", code: 200 })),
2546
+ ).annotate({
2547
+ identifier: "PutVrackRequest",
2548
+ }) as any as S.Schema<PutVrackRequest>;
2549
+
2550
+ export interface PutVrackResponse {}
2551
+ export const PutVrackResponse = /*@__PURE__*/ S.suspend(() =>
2552
+ S.Struct({}),
2553
+ ).annotate({
2554
+ identifier: "PutVrackResponse",
2555
+ }) as any as S.Schema<PutVrackResponse>;
2556
+
2557
+ export interface PutVrackDedicatedConnectRequest {
2558
+ /** The internal name of your vrack */
2559
+ serviceName: string;
2560
+ /** A name for your dedicatedConnect link */
2561
+ name: string;
2562
+ }
2563
+ export const PutVrackDedicatedConnectRequest = /*@__PURE__*/ S.suspend(() =>
2564
+ S.Struct({
2565
+ serviceName: S.String.pipe(T.Label()),
2566
+ name: S.String.pipe(T.Label()),
2567
+ }).pipe(
2568
+ T.Http({
2569
+ method: "PUT",
2570
+ uri: "/vrack/{serviceName}/dedicatedConnect/{name}",
2571
+ code: 200,
2572
+ }),
2573
+ ),
2574
+ ).annotate({
2575
+ identifier: "PutVrackDedicatedConnectRequest",
2576
+ }) as any as S.Schema<PutVrackDedicatedConnectRequest>;
2577
+
2578
+ export interface PutVrackDedicatedConnectResponse {}
2579
+ export const PutVrackDedicatedConnectResponse = /*@__PURE__*/ S.suspend(() =>
2580
+ S.Struct({}),
2581
+ ).annotate({
2582
+ identifier: "PutVrackDedicatedConnectResponse",
2583
+ }) as any as S.Schema<PutVrackDedicatedConnectResponse>;
2584
+
2585
+ export interface PutVrackIpv6BridgedSubrangeRequest {
2586
+ /** The internal name of your vrack */
2587
+ serviceName: string;
2588
+ /** Your IP v6 block */
2589
+ ipv6: string;
2590
+ /** subrange bridged into your vrack */
2591
+ bridgedSubrange: string;
2592
+ /** Slaac status */
2593
+ slaac?: VrackSlaacEnum | (string & {});
2594
+ }
2595
+ export const PutVrackIpv6BridgedSubrangeRequest = /*@__PURE__*/ S.suspend(() =>
2596
+ S.Struct({
2597
+ serviceName: S.String.pipe(T.Label()),
2598
+ ipv6: S.String.pipe(T.Label()),
2599
+ bridgedSubrange: S.String.pipe(T.Label()),
2600
+ slaac: S.optional(VrackSlaacEnum),
2601
+ }).pipe(
2602
+ T.Http({
2603
+ method: "PUT",
2604
+ uri: "/vrack/{serviceName}/ipv6/{ipv6}/bridgedSubrange/{bridgedSubrange}",
2605
+ code: 200,
2606
+ }),
2607
+ ),
2608
+ ).annotate({
2609
+ identifier: "PutVrackIpv6BridgedSubrangeRequest",
2610
+ }) as any as S.Schema<PutVrackIpv6BridgedSubrangeRequest>;
2611
+
2612
+ export interface TerminateVrackRequest {
2613
+ /** The internal name of your vrack */
2614
+ serviceName: string;
2615
+ }
2616
+ export const TerminateVrackRequest = /*@__PURE__*/ S.suspend(() =>
2617
+ S.Struct({
2618
+ serviceName: S.String.pipe(T.Label()),
2619
+ }).pipe(
2620
+ T.Http({
2621
+ method: "POST",
2622
+ uri: "/vrack/{serviceName}/terminate",
2623
+ code: 200,
2624
+ }),
2625
+ ),
2626
+ ).annotate({
2627
+ identifier: "TerminateVrackRequest",
2628
+ }) as any as S.Schema<TerminateVrackRequest>;
2629
+
2630
+ export type TerminateVrackResponse = string;
2631
+ export const TerminateVrackResponse = /*@__PURE__*/ S.suspend(() =>
2632
+ S.String.pipe(T.RawResponseRoot()),
2633
+ ).annotate({
2634
+ identifier: "TerminateVrackResponse",
2635
+ }) as any as S.Schema<TerminateVrackResponse>;
2636
+
2637
+ export type ConfirmVrackTerminationError = OvhOpError;
2638
+ /** Confirm service termination */
2639
+ export const confirmVrackTermination: API.OperationMethod<
2640
+ ConfirmVrackTerminationRequest,
2641
+ ConfirmVrackTerminationResponse,
2642
+ ConfirmVrackTerminationError,
2643
+ OvhOpContext
2644
+ > = /*@__PURE__*/ API.make(() => ({
2645
+ input: ConfirmVrackTerminationRequest,
2646
+ output: ConfirmVrackTerminationResponse,
2647
+ errors: [UnknownOvhError],
2648
+ protocol: OvhProtocol,
2649
+ retry: Retry.Retry,
2650
+ }));
2651
+
2652
+ export type CreateVrackChangeContactError = OvhOpError;
2653
+ /** Launch a contact change procedure */
2654
+ export const createVrackChangeContact: API.OperationMethod<
2655
+ CreateVrackChangeContactRequest,
2656
+ CreateVrackChangeContactResponse,
2657
+ CreateVrackChangeContactError,
2658
+ OvhOpContext
2659
+ > = /*@__PURE__*/ API.make(() => ({
2660
+ input: CreateVrackChangeContactRequest,
2661
+ output: CreateVrackChangeContactResponse,
2662
+ errors: [UnknownOvhError],
2663
+ protocol: OvhProtocol,
2664
+ retry: Retry.Retry,
2665
+ }));
2666
+
2667
+ export type CreateVrackCloudProjectError = OvhOpError;
2668
+ /** add a publicCloud project to this vrack */
2669
+ export const createVrackCloudProject: API.OperationMethod<
2670
+ CreateVrackCloudProjectRequest,
2671
+ VrackTask,
2672
+ CreateVrackCloudProjectError,
2673
+ OvhOpContext
2674
+ > = /*@__PURE__*/ API.make(() => ({
2675
+ input: CreateVrackCloudProjectRequest,
2676
+ output: VrackTask,
2677
+ errors: [UnknownOvhError],
2678
+ protocol: OvhProtocol,
2679
+ retry: Retry.Retry,
2680
+ }));
2681
+
2682
+ export type CreateVrackDedicatedCloudError = OvhOpError;
2683
+ /** Add VMware on OVHcloud to vRack */
2684
+ export const createVrackDedicatedCloud: API.OperationMethod<
2685
+ CreateVrackDedicatedCloudRequest,
2686
+ VrackTask,
2687
+ CreateVrackDedicatedCloudError,
2688
+ OvhOpContext
2689
+ > = /*@__PURE__*/ API.make(() => ({
2690
+ input: CreateVrackDedicatedCloudRequest,
2691
+ output: VrackTask,
2692
+ errors: [UnknownOvhError],
2693
+ protocol: OvhProtocol,
2694
+ retry: Retry.Retry,
2695
+ }));
2696
+
2697
+ export type CreateVrackDedicatedConnectError = OvhOpError;
2698
+ /** add a dedicatedConnect link to this vrack */
2699
+ export const createVrackDedicatedConnect: API.OperationMethod<
2700
+ CreateVrackDedicatedConnectRequest,
2701
+ VrackTask,
2702
+ CreateVrackDedicatedConnectError,
2703
+ OvhOpContext
2704
+ > = /*@__PURE__*/ API.make(() => ({
2705
+ input: CreateVrackDedicatedConnectRequest,
2706
+ output: VrackTask,
2707
+ errors: [UnknownOvhError],
2708
+ protocol: OvhProtocol,
2709
+ retry: Retry.Retry,
2710
+ }));
2711
+
2712
+ export type CreateVrackDedicatedServerError = OvhOpError;
2713
+ /** add a dedicated server to this vrack (LEGACY) */
2714
+ export const createVrackDedicatedServer: API.OperationMethod<
2715
+ CreateVrackDedicatedServerRequest,
2716
+ VrackTask,
2717
+ CreateVrackDedicatedServerError,
2718
+ OvhOpContext
2719
+ > = /*@__PURE__*/ API.make(() => ({
2720
+ input: CreateVrackDedicatedServerRequest,
2721
+ output: VrackTask,
2722
+ errors: [UnknownOvhError],
2723
+ protocol: OvhProtocol,
2724
+ retry: Retry.Retry,
2725
+ }));
2726
+
2727
+ export type CreateVrackDedicatedServerInterfaceError = OvhOpError;
2728
+ /** add a dedicated server interface to this vrack */
2729
+ export const createVrackDedicatedServerInterface: API.OperationMethod<
2730
+ CreateVrackDedicatedServerInterfaceRequest,
2731
+ VrackTask,
2732
+ CreateVrackDedicatedServerInterfaceError,
2733
+ OvhOpContext
2734
+ > = /*@__PURE__*/ API.make(() => ({
2735
+ input: CreateVrackDedicatedServerInterfaceRequest,
2736
+ output: VrackTask,
2737
+ errors: [UnknownOvhError],
2738
+ protocol: OvhProtocol,
2739
+ retry: Retry.Retry,
2740
+ }));
2741
+
2742
+ export type CreateVrackIpError = OvhOpError;
2743
+ /** add an IP block to this vrack */
2744
+ export const createVrackIp: API.OperationMethod<
2745
+ CreateVrackIpRequest,
2746
+ VrackTask,
2747
+ CreateVrackIpError,
2748
+ OvhOpContext
2749
+ > = /*@__PURE__*/ API.make(() => ({
2750
+ input: CreateVrackIpRequest,
2751
+ output: VrackTask,
2752
+ errors: [UnknownOvhError],
2753
+ protocol: OvhProtocol,
2754
+ retry: Retry.Retry,
2755
+ }));
2756
+
2757
+ export type CreateVrackIpLoadbalancingError = OvhOpError;
2758
+ /** add an ipLoadbalancing to this vrack */
2759
+ export const createVrackIpLoadbalancing: API.OperationMethod<
2760
+ CreateVrackIpLoadbalancingRequest,
2761
+ VrackTask,
2762
+ CreateVrackIpLoadbalancingError,
2763
+ OvhOpContext
2764
+ > = /*@__PURE__*/ API.make(() => ({
2765
+ input: CreateVrackIpLoadbalancingRequest,
2766
+ output: VrackTask,
2767
+ errors: [UnknownOvhError],
2768
+ protocol: OvhProtocol,
2769
+ retry: Retry.Retry,
2770
+ }));
2771
+
2772
+ export type CreateVrackIpv6Error = OvhOpError;
2773
+ /** add an IP v6 block to this vrack */
2774
+ export const createVrackIpv6: API.OperationMethod<
2775
+ CreateVrackIpv6Request,
2776
+ VrackTask,
2777
+ CreateVrackIpv6Error,
2778
+ OvhOpContext
2779
+ > = /*@__PURE__*/ API.make(() => ({
2780
+ input: CreateVrackIpv6Request,
2781
+ output: VrackTask,
2782
+ errors: [UnknownOvhError],
2783
+ protocol: OvhProtocol,
2784
+ retry: Retry.Retry,
2785
+ }));
2786
+
2787
+ export type CreateVrackIpv6RoutedSubrangeError = OvhOpError;
2788
+ /** route a subrange of your IP v6 block into your vrack */
2789
+ export const createVrackIpv6RoutedSubrange: API.OperationMethod<
2790
+ CreateVrackIpv6RoutedSubrangeRequest,
2791
+ VrackTask,
2792
+ CreateVrackIpv6RoutedSubrangeError,
2793
+ OvhOpContext
2794
+ > = /*@__PURE__*/ API.make(() => ({
2795
+ input: CreateVrackIpv6RoutedSubrangeRequest,
2796
+ output: VrackTask,
2797
+ errors: [UnknownOvhError],
2798
+ protocol: OvhProtocol,
2799
+ retry: Retry.Retry,
2800
+ }));
2801
+
2802
+ export type CreateVrackLegacyVrackError = OvhOpError;
2803
+ /** add a legacy vrack (vrackXXXX) to this vrack (pn-XXXX) */
2804
+ export const createVrackLegacyVrack: API.OperationMethod<
2805
+ CreateVrackLegacyVrackRequest,
2806
+ VrackTask,
2807
+ CreateVrackLegacyVrackError,
2808
+ OvhOpContext
2809
+ > = /*@__PURE__*/ API.make(() => ({
2810
+ input: CreateVrackLegacyVrackRequest,
2811
+ output: VrackTask,
2812
+ errors: [UnknownOvhError],
2813
+ protocol: OvhProtocol,
2814
+ retry: Retry.Retry,
2815
+ }));
2816
+
2817
+ export type CreateVrackOvhCloudConnectError = OvhOpError;
2818
+ /** Add an ovhCloudConnect to the vrack */
2819
+ export const createVrackOvhCloudConnect: API.OperationMethod<
2820
+ CreateVrackOvhCloudConnectRequest,
2821
+ VrackTask,
2822
+ CreateVrackOvhCloudConnectError,
2823
+ OvhOpContext
2824
+ > = /*@__PURE__*/ API.make(() => ({
2825
+ input: CreateVrackOvhCloudConnectRequest,
2826
+ output: VrackTask,
2827
+ errors: [UnknownOvhError],
2828
+ protocol: OvhProtocol,
2829
+ retry: Retry.Retry,
2830
+ }));
2831
+
2832
+ export type CreateVrackVmwareCloudDirectorVirtualDataCenterError = OvhOpError;
2833
+ /** Add a vmwareCloudDirectorVirtualDataCenter to the vrack */
2834
+ export const createVrackVmwareCloudDirectorVirtualDataCenter: API.OperationMethod<
2835
+ CreateVrackVmwareCloudDirectorVirtualDataCenterRequest,
2836
+ VrackTask,
2837
+ CreateVrackVmwareCloudDirectorVirtualDataCenterError,
2838
+ OvhOpContext
2839
+ > = /*@__PURE__*/ API.make(() => ({
2840
+ input: CreateVrackVmwareCloudDirectorVirtualDataCenterRequest,
2841
+ output: VrackTask,
2842
+ errors: [UnknownOvhError],
2843
+ protocol: OvhProtocol,
2844
+ retry: Retry.Retry,
2845
+ }));
2846
+
2847
+ export type CreateVrackVrackServiceError = OvhOpError;
2848
+ /** Add a vrackServices to the vrack */
2849
+ export const createVrackVrackService: API.OperationMethod<
2850
+ CreateVrackVrackServiceRequest,
2851
+ VrackTask,
2852
+ CreateVrackVrackServiceError,
2853
+ OvhOpContext
2854
+ > = /*@__PURE__*/ API.make(() => ({
2855
+ input: CreateVrackVrackServiceRequest,
2856
+ output: VrackTask,
2857
+ errors: [UnknownOvhError],
2858
+ protocol: OvhProtocol,
2859
+ retry: Retry.Retry,
2860
+ }));
2861
+
2862
+ export type DeleteVrackCloudProjectError = OvhOpError;
2863
+ /** remove this publicCloud project from this vrack */
2864
+ export const deleteVrackCloudProject: API.OperationMethod<
2865
+ DeleteVrackCloudProjectRequest,
2866
+ VrackTask,
2867
+ DeleteVrackCloudProjectError,
2868
+ OvhOpContext
2869
+ > = /*@__PURE__*/ API.make(() => ({
2870
+ input: DeleteVrackCloudProjectRequest,
2871
+ output: VrackTask,
2872
+ errors: [UnknownOvhError],
2873
+ protocol: OvhProtocol,
2874
+ retry: Retry.Retry,
2875
+ }));
2876
+
2877
+ export type DeleteVrackDedicatedCloudError = OvhOpError;
2878
+ /** Remove VMware on OVHcloud from vRack */
2879
+ export const deleteVrackDedicatedCloud: API.OperationMethod<
2880
+ DeleteVrackDedicatedCloudRequest,
2881
+ VrackTask,
2882
+ DeleteVrackDedicatedCloudError,
2883
+ OvhOpContext
2884
+ > = /*@__PURE__*/ API.make(() => ({
2885
+ input: DeleteVrackDedicatedCloudRequest,
2886
+ output: VrackTask,
2887
+ errors: [UnknownOvhError],
2888
+ protocol: OvhProtocol,
2889
+ retry: Retry.Retry,
2890
+ }));
2891
+
2892
+ export type DeleteVrackDedicatedConnectError = OvhOpError;
2893
+ /** remove this a dedicatedConnect link from this vrack */
2894
+ export const deleteVrackDedicatedConnect: API.OperationMethod<
2895
+ DeleteVrackDedicatedConnectRequest,
2896
+ VrackTask,
2897
+ DeleteVrackDedicatedConnectError,
2898
+ OvhOpContext
2899
+ > = /*@__PURE__*/ API.make(() => ({
2900
+ input: DeleteVrackDedicatedConnectRequest,
2901
+ output: VrackTask,
2902
+ errors: [UnknownOvhError],
2903
+ protocol: OvhProtocol,
2904
+ retry: Retry.Retry,
2905
+ }));
2906
+
2907
+ export type DeleteVrackDedicatedServerError = OvhOpError;
2908
+ /** remove this server from this vrack (LEGACY) */
2909
+ export const deleteVrackDedicatedServer: API.OperationMethod<
2910
+ DeleteVrackDedicatedServerRequest,
2911
+ VrackTask,
2912
+ DeleteVrackDedicatedServerError,
2913
+ OvhOpContext
2914
+ > = /*@__PURE__*/ API.make(() => ({
2915
+ input: DeleteVrackDedicatedServerRequest,
2916
+ output: VrackTask,
2917
+ errors: [UnknownOvhError],
2918
+ protocol: OvhProtocol,
2919
+ retry: Retry.Retry,
2920
+ }));
2921
+
2922
+ export type DeleteVrackDedicatedServerInterfaceError = OvhOpError;
2923
+ /** remove this server interface from this vrack */
2924
+ export const deleteVrackDedicatedServerInterface: API.OperationMethod<
2925
+ DeleteVrackDedicatedServerInterfaceRequest,
2926
+ VrackTask,
2927
+ DeleteVrackDedicatedServerInterfaceError,
2928
+ OvhOpContext
2929
+ > = /*@__PURE__*/ API.make(() => ({
2930
+ input: DeleteVrackDedicatedServerInterfaceRequest,
2931
+ output: VrackTask,
2932
+ errors: [UnknownOvhError],
2933
+ protocol: OvhProtocol,
2934
+ retry: Retry.Retry,
2935
+ }));
2936
+
2937
+ export type DeleteVrackIpError = OvhOpError;
2938
+ /** remove this IP block from this vrack */
2939
+ export const deleteVrackIp: API.OperationMethod<
2940
+ DeleteVrackIpRequest,
2941
+ VrackTask,
2942
+ DeleteVrackIpError,
2943
+ OvhOpContext
2944
+ > = /*@__PURE__*/ API.make(() => ({
2945
+ input: DeleteVrackIpRequest,
2946
+ output: VrackTask,
2947
+ errors: [UnknownOvhError],
2948
+ protocol: OvhProtocol,
2949
+ retry: Retry.Retry,
2950
+ }));
2951
+
2952
+ export type DeleteVrackIpLoadbalancingError = OvhOpError;
2953
+ /** remove this ipLoadbalancing from this vrack */
2954
+ export const deleteVrackIpLoadbalancing: API.OperationMethod<
2955
+ DeleteVrackIpLoadbalancingRequest,
2956
+ VrackTask,
2957
+ DeleteVrackIpLoadbalancingError,
2958
+ OvhOpContext
2959
+ > = /*@__PURE__*/ API.make(() => ({
2960
+ input: DeleteVrackIpLoadbalancingRequest,
2961
+ output: VrackTask,
2962
+ errors: [UnknownOvhError],
2963
+ protocol: OvhProtocol,
2964
+ retry: Retry.Retry,
2965
+ }));
2966
+
2967
+ export type DeleteVrackIpv6Error = OvhOpError;
2968
+ /** remove this IP v6 block from this vrack */
2969
+ export const deleteVrackIpv6: API.OperationMethod<
2970
+ DeleteVrackIpv6Request,
2971
+ VrackTask,
2972
+ DeleteVrackIpv6Error,
2973
+ OvhOpContext
2974
+ > = /*@__PURE__*/ API.make(() => ({
2975
+ input: DeleteVrackIpv6Request,
2976
+ output: VrackTask,
2977
+ errors: [UnknownOvhError],
2978
+ protocol: OvhProtocol,
2979
+ retry: Retry.Retry,
2980
+ }));
2981
+
2982
+ export type DeleteVrackIpv6RoutedSubrangeError = OvhOpError;
2983
+ /** unroute subrange from your vrack */
2984
+ export const deleteVrackIpv6RoutedSubrange: API.OperationMethod<
2985
+ DeleteVrackIpv6RoutedSubrangeRequest,
2986
+ VrackTask,
2987
+ DeleteVrackIpv6RoutedSubrangeError,
2988
+ OvhOpContext
2989
+ > = /*@__PURE__*/ API.make(() => ({
2990
+ input: DeleteVrackIpv6RoutedSubrangeRequest,
2991
+ output: VrackTask,
2992
+ errors: [UnknownOvhError],
2993
+ protocol: OvhProtocol,
2994
+ retry: Retry.Retry,
2995
+ }));
2996
+
2997
+ export type DeleteVrackLegacyVrackError = OvhOpError;
2998
+ /** remove this legacy vrack (vrackXXXX) from this vrack (pn-XXXX) */
2999
+ export const deleteVrackLegacyVrack: API.OperationMethod<
3000
+ DeleteVrackLegacyVrackRequest,
3001
+ VrackTask,
3002
+ DeleteVrackLegacyVrackError,
3003
+ OvhOpContext
3004
+ > = /*@__PURE__*/ API.make(() => ({
3005
+ input: DeleteVrackLegacyVrackRequest,
3006
+ output: VrackTask,
3007
+ errors: [UnknownOvhError],
3008
+ protocol: OvhProtocol,
3009
+ retry: Retry.Retry,
3010
+ }));
3011
+
3012
+ export type DeleteVrackOvhCloudConnectError = OvhOpError;
3013
+ /** Remove the ovhCloudConnect from the vrack */
3014
+ export const deleteVrackOvhCloudConnect: API.OperationMethod<
3015
+ DeleteVrackOvhCloudConnectRequest,
3016
+ VrackTask,
3017
+ DeleteVrackOvhCloudConnectError,
3018
+ OvhOpContext
3019
+ > = /*@__PURE__*/ API.make(() => ({
3020
+ input: DeleteVrackOvhCloudConnectRequest,
3021
+ output: VrackTask,
3022
+ errors: [UnknownOvhError],
3023
+ protocol: OvhProtocol,
3024
+ retry: Retry.Retry,
3025
+ }));
3026
+
3027
+ export type DeleteVrackVmwareCloudDirectorVirtualDataCenterError = OvhOpError;
3028
+ /** Remove the vmwareCloudDirectorVirtualDataCenter from the vrack */
3029
+ export const deleteVrackVmwareCloudDirectorVirtualDataCenter: API.OperationMethod<
3030
+ DeleteVrackVmwareCloudDirectorVirtualDataCenterRequest,
3031
+ VrackTask,
3032
+ DeleteVrackVmwareCloudDirectorVirtualDataCenterError,
3033
+ OvhOpContext
3034
+ > = /*@__PURE__*/ API.make(() => ({
3035
+ input: DeleteVrackVmwareCloudDirectorVirtualDataCenterRequest,
3036
+ output: VrackTask,
3037
+ errors: [UnknownOvhError],
3038
+ protocol: OvhProtocol,
3039
+ retry: Retry.Retry,
3040
+ }));
3041
+
3042
+ export type DeleteVrackVrackServiceError = OvhOpError;
3043
+ /** Remove the vrackServices from the vrack */
3044
+ export const deleteVrackVrackService: API.OperationMethod<
3045
+ DeleteVrackVrackServiceRequest,
3046
+ VrackTask,
3047
+ DeleteVrackVrackServiceError,
3048
+ OvhOpContext
3049
+ > = /*@__PURE__*/ API.make(() => ({
3050
+ input: DeleteVrackVrackServiceRequest,
3051
+ output: VrackTask,
3052
+ errors: [UnknownOvhError],
3053
+ protocol: OvhProtocol,
3054
+ retry: Retry.Retry,
3055
+ }));
3056
+
3057
+ export type GetVrackError = OvhOpError;
3058
+ /** Get this object properties */
3059
+ export const getVrack: API.OperationMethod<
3060
+ GetVrackRequest,
3061
+ VrackVrackWithIAM,
3062
+ GetVrackError,
3063
+ OvhOpContext
3064
+ > = /*@__PURE__*/ API.make(() => ({
3065
+ input: GetVrackRequest,
3066
+ output: VrackVrackWithIAM,
3067
+ errors: [UnknownOvhError],
3068
+ protocol: OvhProtocol,
3069
+ retry: Retry.Retry,
3070
+ }));
3071
+
3072
+ export type GetVrackCloudProjectError = OvhOpError;
3073
+ /** Get this object properties */
3074
+ export const getVrackCloudProject: API.OperationMethod<
3075
+ GetVrackCloudProjectRequest,
3076
+ VrackCloudProject,
3077
+ GetVrackCloudProjectError,
3078
+ OvhOpContext
3079
+ > = /*@__PURE__*/ API.make(() => ({
3080
+ input: GetVrackCloudProjectRequest,
3081
+ output: VrackCloudProject,
3082
+ errors: [UnknownOvhError],
3083
+ protocol: OvhProtocol,
3084
+ retry: Retry.Retry,
3085
+ }));
3086
+
3087
+ export type GetVrackDedicatedCloudError = OvhOpError;
3088
+ /** Get vRack */
3089
+ export const getVrackDedicatedCloud: API.OperationMethod<
3090
+ GetVrackDedicatedCloudRequest,
3091
+ VrackDedicatedCloud,
3092
+ GetVrackDedicatedCloudError,
3093
+ OvhOpContext
3094
+ > = /*@__PURE__*/ API.make(() => ({
3095
+ input: GetVrackDedicatedCloudRequest,
3096
+ output: VrackDedicatedCloud,
3097
+ errors: [UnknownOvhError],
3098
+ protocol: OvhProtocol,
3099
+ retry: Retry.Retry,
3100
+ }));
3101
+
3102
+ export type GetVrackDedicatedCloudDatacenterError = OvhOpError;
3103
+ /** Get this object properties */
3104
+ export const getVrackDedicatedCloudDatacenter: API.OperationMethod<
3105
+ GetVrackDedicatedCloudDatacenterRequest,
3106
+ VrackPccDatacenter,
3107
+ GetVrackDedicatedCloudDatacenterError,
3108
+ OvhOpContext
3109
+ > = /*@__PURE__*/ API.make(() => ({
3110
+ input: GetVrackDedicatedCloudDatacenterRequest,
3111
+ output: VrackPccDatacenter,
3112
+ errors: [UnknownOvhError],
3113
+ protocol: OvhProtocol,
3114
+ retry: Retry.Retry,
3115
+ }));
3116
+
3117
+ export type GetVrackDedicatedConnectError = OvhOpError;
3118
+ /** Get this object properties */
3119
+ export const getVrackDedicatedConnect: API.OperationMethod<
3120
+ GetVrackDedicatedConnectRequest,
3121
+ VrackDedicatedConnect,
3122
+ GetVrackDedicatedConnectError,
3123
+ OvhOpContext
3124
+ > = /*@__PURE__*/ API.make(() => ({
3125
+ input: GetVrackDedicatedConnectRequest,
3126
+ output: VrackDedicatedConnect,
3127
+ errors: [UnknownOvhError],
3128
+ protocol: OvhProtocol,
3129
+ retry: Retry.Retry,
3130
+ }));
3131
+
3132
+ export type GetVrackDedicatedServerError = OvhOpError;
3133
+ /** Get this object properties */
3134
+ export const getVrackDedicatedServer: API.OperationMethod<
3135
+ GetVrackDedicatedServerRequest,
3136
+ VrackDedicatedServer,
3137
+ GetVrackDedicatedServerError,
3138
+ OvhOpContext
3139
+ > = /*@__PURE__*/ API.make(() => ({
3140
+ input: GetVrackDedicatedServerRequest,
3141
+ output: VrackDedicatedServer,
3142
+ errors: [UnknownOvhError],
3143
+ protocol: OvhProtocol,
3144
+ retry: Retry.Retry,
3145
+ }));
3146
+
3147
+ export type GetVrackDedicatedServerInterfaceError = OvhOpError;
3148
+ /** Get this object properties */
3149
+ export const getVrackDedicatedServerInterface: API.OperationMethod<
3150
+ GetVrackDedicatedServerInterfaceRequest,
3151
+ VrackDedicatedServerInterface,
3152
+ GetVrackDedicatedServerInterfaceError,
3153
+ OvhOpContext
3154
+ > = /*@__PURE__*/ API.make(() => ({
3155
+ input: GetVrackDedicatedServerInterfaceRequest,
3156
+ output: VrackDedicatedServerInterface,
3157
+ errors: [UnknownOvhError],
3158
+ protocol: OvhProtocol,
3159
+ retry: Retry.Retry,
3160
+ }));
3161
+
3162
+ export type GetVrackIpError = OvhOpError;
3163
+ /** Get this object properties */
3164
+ export const getVrackIp: API.OperationMethod<
3165
+ GetVrackIpRequest,
3166
+ VrackIp,
3167
+ GetVrackIpError,
3168
+ OvhOpContext
3169
+ > = /*@__PURE__*/ API.make(() => ({
3170
+ input: GetVrackIpRequest,
3171
+ output: VrackIp,
3172
+ errors: [UnknownOvhError],
3173
+ protocol: OvhProtocol,
3174
+ retry: Retry.Retry,
3175
+ }));
3176
+
3177
+ export type GetVrackIpLoadbalancingError = OvhOpError;
3178
+ /** Get this object properties */
3179
+ export const getVrackIpLoadbalancing: API.OperationMethod<
3180
+ GetVrackIpLoadbalancingRequest,
3181
+ VrackIplb,
3182
+ GetVrackIpLoadbalancingError,
3183
+ OvhOpContext
3184
+ > = /*@__PURE__*/ API.make(() => ({
3185
+ input: GetVrackIpLoadbalancingRequest,
3186
+ output: VrackIplb,
3187
+ errors: [UnknownOvhError],
3188
+ protocol: OvhProtocol,
3189
+ retry: Retry.Retry,
3190
+ }));
3191
+
3192
+ export type GetVrackIpv6Error = OvhOpError;
3193
+ /** Get this object properties */
3194
+ export const getVrackIpv6: API.OperationMethod<
3195
+ GetVrackIpv6Request,
3196
+ VrackIpv6,
3197
+ GetVrackIpv6Error,
3198
+ OvhOpContext
3199
+ > = /*@__PURE__*/ API.make(() => ({
3200
+ input: GetVrackIpv6Request,
3201
+ output: VrackIpv6,
3202
+ errors: [UnknownOvhError],
3203
+ protocol: OvhProtocol,
3204
+ retry: Retry.Retry,
3205
+ }));
3206
+
3207
+ export type GetVrackIpv6BridgedSubrangeError = OvhOpError;
3208
+ /** Get this object properties */
3209
+ export const getVrackIpv6BridgedSubrange: API.OperationMethod<
3210
+ GetVrackIpv6BridgedSubrangeRequest,
3211
+ VrackBridgedSubrange,
3212
+ GetVrackIpv6BridgedSubrangeError,
3213
+ OvhOpContext
3214
+ > = /*@__PURE__*/ API.make(() => ({
3215
+ input: GetVrackIpv6BridgedSubrangeRequest,
3216
+ output: VrackBridgedSubrange,
3217
+ errors: [UnknownOvhError],
3218
+ protocol: OvhProtocol,
3219
+ retry: Retry.Retry,
3220
+ }));
3221
+
3222
+ export type GetVrackIpv6RoutedSubrangeError = OvhOpError;
3223
+ /** Get this object properties */
3224
+ export const getVrackIpv6RoutedSubrange: API.OperationMethod<
3225
+ GetVrackIpv6RoutedSubrangeRequest,
3226
+ VrackRoutedSubrange,
3227
+ GetVrackIpv6RoutedSubrangeError,
3228
+ OvhOpContext
3229
+ > = /*@__PURE__*/ API.make(() => ({
3230
+ input: GetVrackIpv6RoutedSubrangeRequest,
3231
+ output: VrackRoutedSubrange,
3232
+ errors: [UnknownOvhError],
3233
+ protocol: OvhProtocol,
3234
+ retry: Retry.Retry,
3235
+ }));
3236
+
3237
+ export type GetVrackLegacyVrackError = OvhOpError;
3238
+ /** Get this object properties */
3239
+ export const getVrackLegacyVrack: API.OperationMethod<
3240
+ GetVrackLegacyVrackRequest,
3241
+ VrackLegacyVrack,
3242
+ GetVrackLegacyVrackError,
3243
+ OvhOpContext
3244
+ > = /*@__PURE__*/ API.make(() => ({
3245
+ input: GetVrackLegacyVrackRequest,
3246
+ output: VrackLegacyVrack,
3247
+ errors: [UnknownOvhError],
3248
+ protocol: OvhProtocol,
3249
+ retry: Retry.Retry,
3250
+ }));
3251
+
3252
+ export type GetVrackOvhCloudConnectError = OvhOpError;
3253
+ /** Get this object properties */
3254
+ export const getVrackOvhCloudConnect: API.OperationMethod<
3255
+ GetVrackOvhCloudConnectRequest,
3256
+ VrackOvhCloudConnect,
3257
+ GetVrackOvhCloudConnectError,
3258
+ OvhOpContext
3259
+ > = /*@__PURE__*/ API.make(() => ({
3260
+ input: GetVrackOvhCloudConnectRequest,
3261
+ output: VrackOvhCloudConnect,
3262
+ errors: [UnknownOvhError],
3263
+ protocol: OvhProtocol,
3264
+ retry: Retry.Retry,
3265
+ }));
3266
+
3267
+ export type GetVrackPublicRoutingOptionError = OvhOpError;
3268
+ /** Information on public routing option */
3269
+ export const getVrackPublicRoutingOption: API.OperationMethod<
3270
+ GetVrackPublicRoutingOptionRequest,
3271
+ VrackPublicRoutingOption,
3272
+ GetVrackPublicRoutingOptionError,
3273
+ OvhOpContext
3274
+ > = /*@__PURE__*/ API.make(() => ({
3275
+ input: GetVrackPublicRoutingOptionRequest,
3276
+ output: VrackPublicRoutingOption,
3277
+ errors: [UnknownOvhError],
3278
+ protocol: OvhProtocol,
3279
+ retry: Retry.Retry,
3280
+ }));
3281
+
3282
+ export type GetVrackServiceInfosError = OvhOpError;
3283
+ /** Get this object properties */
3284
+ export const getVrackServiceInfos: API.OperationMethod<
3285
+ GetVrackServiceInfosRequest,
3286
+ ServicesNonExpiringService,
3287
+ GetVrackServiceInfosError,
3288
+ OvhOpContext
3289
+ > = /*@__PURE__*/ API.make(() => ({
3290
+ input: GetVrackServiceInfosRequest,
3291
+ output: ServicesNonExpiringService,
3292
+ errors: [UnknownOvhError],
3293
+ protocol: OvhProtocol,
3294
+ retry: Retry.Retry,
3295
+ }));
3296
+
3297
+ export type GetVrackTaskError = OvhOpError;
3298
+ /** Get this object properties */
3299
+ export const getVrackTask: API.OperationMethod<
3300
+ GetVrackTaskRequest,
3301
+ VrackTask,
3302
+ GetVrackTaskError,
3303
+ OvhOpContext
3304
+ > = /*@__PURE__*/ API.make(() => ({
3305
+ input: GetVrackTaskRequest,
3306
+ output: VrackTask,
3307
+ errors: [UnknownOvhError],
3308
+ protocol: OvhProtocol,
3309
+ retry: Retry.Retry,
3310
+ }));
3311
+
3312
+ export type GetVrackVmwareCloudDirectorVirtualDataCenterError = OvhOpError;
3313
+ /** Get this object properties */
3314
+ export const getVrackVmwareCloudDirectorVirtualDataCenter: API.OperationMethod<
3315
+ GetVrackVmwareCloudDirectorVirtualDataCenterRequest,
3316
+ VrackVmwareCloudDirectorVirtualDataCenter,
3317
+ GetVrackVmwareCloudDirectorVirtualDataCenterError,
3318
+ OvhOpContext
3319
+ > = /*@__PURE__*/ API.make(() => ({
3320
+ input: GetVrackVmwareCloudDirectorVirtualDataCenterRequest,
3321
+ output: VrackVmwareCloudDirectorVirtualDataCenter,
3322
+ errors: [UnknownOvhError],
3323
+ protocol: OvhProtocol,
3324
+ retry: Retry.Retry,
3325
+ }));
3326
+
3327
+ export type GetVrackVrackServiceError = OvhOpError;
3328
+ /** Get this object properties */
3329
+ export const getVrackVrackService: API.OperationMethod<
3330
+ GetVrackVrackServiceRequest,
3331
+ VrackVrackServices,
3332
+ GetVrackVrackServiceError,
3333
+ OvhOpContext
3334
+ > = /*@__PURE__*/ API.make(() => ({
3335
+ input: GetVrackVrackServiceRequest,
3336
+ output: VrackVrackServices,
3337
+ errors: [UnknownOvhError],
3338
+ protocol: OvhProtocol,
3339
+ retry: Retry.Retry,
3340
+ }));
3341
+
3342
+ export type ListVrackError = OvhOpError;
3343
+ /** List available services */
3344
+ export const listVrack: API.OperationMethod<
3345
+ ListVrackRequest,
3346
+ ListVrackResponse,
3347
+ ListVrackError,
3348
+ OvhOpContext
3349
+ > = /*@__PURE__*/ API.make(() => ({
3350
+ input: ListVrackRequest,
3351
+ output: ListVrackResponse,
3352
+ errors: [UnknownOvhError],
3353
+ protocol: OvhProtocol,
3354
+ retry: Retry.Retry,
3355
+ }));
3356
+
3357
+ export type ListVrackAllowedServicesError = OvhOpError;
3358
+ /** List all services allowed in this vrack */
3359
+ export const listVrackAllowedServices: API.OperationMethod<
3360
+ ListVrackAllowedServicesRequest,
3361
+ VrackAllowedServices,
3362
+ ListVrackAllowedServicesError,
3363
+ OvhOpContext
3364
+ > = /*@__PURE__*/ API.make(() => ({
3365
+ input: ListVrackAllowedServicesRequest,
3366
+ output: VrackAllowedServices,
3367
+ errors: [UnknownOvhError],
3368
+ protocol: OvhProtocol,
3369
+ retry: Retry.Retry,
3370
+ }));
3371
+
3372
+ export type ListVrackCloudProjectError = OvhOpError;
3373
+ /** vrack for publicCloud project */
3374
+ export const listVrackCloudProject: API.OperationMethod<
3375
+ ListVrackCloudProjectRequest,
3376
+ ListVrackCloudProjectResponse,
3377
+ ListVrackCloudProjectError,
3378
+ OvhOpContext
3379
+ > = /*@__PURE__*/ API.make(() => ({
3380
+ input: ListVrackCloudProjectRequest,
3381
+ output: ListVrackCloudProjectResponse,
3382
+ errors: [UnknownOvhError],
3383
+ protocol: OvhProtocol,
3384
+ retry: Retry.Retry,
3385
+ }));
3386
+
3387
+ export type ListVrackDedicatedCloudError = OvhOpError;
3388
+ /** vrack dedicated cloud (VmNetwork) */
3389
+ export const listVrackDedicatedCloud: API.OperationMethod<
3390
+ ListVrackDedicatedCloudRequest,
3391
+ ListVrackDedicatedCloudResponse,
3392
+ ListVrackDedicatedCloudError,
3393
+ OvhOpContext
3394
+ > = /*@__PURE__*/ API.make(() => ({
3395
+ input: ListVrackDedicatedCloudRequest,
3396
+ output: ListVrackDedicatedCloudResponse,
3397
+ errors: [UnknownOvhError],
3398
+ protocol: OvhProtocol,
3399
+ retry: Retry.Retry,
3400
+ }));
3401
+
3402
+ export type ListVrackDedicatedCloudDatacenterError = OvhOpError;
3403
+ /** vrack dedicated cloud datacenter */
3404
+ export const listVrackDedicatedCloudDatacenter: API.OperationMethod<
3405
+ ListVrackDedicatedCloudDatacenterRequest,
3406
+ ListVrackDedicatedCloudDatacenterResponse,
3407
+ ListVrackDedicatedCloudDatacenterError,
3408
+ OvhOpContext
3409
+ > = /*@__PURE__*/ API.make(() => ({
3410
+ input: ListVrackDedicatedCloudDatacenterRequest,
3411
+ output: ListVrackDedicatedCloudDatacenterResponse,
3412
+ errors: [UnknownOvhError],
3413
+ protocol: OvhProtocol,
3414
+ retry: Retry.Retry,
3415
+ }));
3416
+
3417
+ export type ListVrackDedicatedCloudDatacenterAllowedVrackError = OvhOpError;
3418
+ /** Vracks allowed for your dedicatedCloud datacenter */
3419
+ export const listVrackDedicatedCloudDatacenterAllowedVrack: API.OperationMethod<
3420
+ ListVrackDedicatedCloudDatacenterAllowedVrackRequest,
3421
+ ListVrackDedicatedCloudDatacenterAllowedVrackResponse,
3422
+ ListVrackDedicatedCloudDatacenterAllowedVrackError,
3423
+ OvhOpContext
3424
+ > = /*@__PURE__*/ API.make(() => ({
3425
+ input: ListVrackDedicatedCloudDatacenterAllowedVrackRequest,
3426
+ output: ListVrackDedicatedCloudDatacenterAllowedVrackResponse,
3427
+ errors: [UnknownOvhError],
3428
+ protocol: OvhProtocol,
3429
+ retry: Retry.Retry,
3430
+ }));
3431
+
3432
+ export type ListVrackDedicatedConnectError = OvhOpError;
3433
+ /** vrack dedicated connect */
3434
+ export const listVrackDedicatedConnect: API.OperationMethod<
3435
+ ListVrackDedicatedConnectRequest,
3436
+ ListVrackDedicatedConnectResponse,
3437
+ ListVrackDedicatedConnectError,
3438
+ OvhOpContext
3439
+ > = /*@__PURE__*/ API.make(() => ({
3440
+ input: ListVrackDedicatedConnectRequest,
3441
+ output: ListVrackDedicatedConnectResponse,
3442
+ errors: [UnknownOvhError],
3443
+ protocol: OvhProtocol,
3444
+ retry: Retry.Retry,
3445
+ }));
3446
+
3447
+ export type ListVrackDedicatedServerError = OvhOpError;
3448
+ /** vrack for dedicated server */
3449
+ export const listVrackDedicatedServer: API.OperationMethod<
3450
+ ListVrackDedicatedServerRequest,
3451
+ ListVrackDedicatedServerResponse,
3452
+ ListVrackDedicatedServerError,
3453
+ OvhOpContext
3454
+ > = /*@__PURE__*/ API.make(() => ({
3455
+ input: ListVrackDedicatedServerRequest,
3456
+ output: ListVrackDedicatedServerResponse,
3457
+ errors: [UnknownOvhError],
3458
+ protocol: OvhProtocol,
3459
+ retry: Retry.Retry,
3460
+ }));
3461
+
3462
+ export type ListVrackDedicatedServerInterfaceError = OvhOpError;
3463
+ /** vrack for dedicated server interface */
3464
+ export const listVrackDedicatedServerInterface: API.OperationMethod<
3465
+ ListVrackDedicatedServerInterfaceRequest,
3466
+ ListVrackDedicatedServerInterfaceResponse,
3467
+ ListVrackDedicatedServerInterfaceError,
3468
+ OvhOpContext
3469
+ > = /*@__PURE__*/ API.make(() => ({
3470
+ input: ListVrackDedicatedServerInterfaceRequest,
3471
+ output: ListVrackDedicatedServerInterfaceResponse,
3472
+ errors: [UnknownOvhError],
3473
+ protocol: OvhProtocol,
3474
+ retry: Retry.Retry,
3475
+ }));
3476
+
3477
+ export type ListVrackDedicatedServerInterfaceDetailsError = OvhOpError;
3478
+ /** Details for all dedicated server interfaces in this vrack */
3479
+ export const listVrackDedicatedServerInterfaceDetails: API.OperationMethod<
3480
+ ListVrackDedicatedServerInterfaceDetailsRequest,
3481
+ ListVrackDedicatedServerInterfaceDetailsResponse,
3482
+ ListVrackDedicatedServerInterfaceDetailsError,
3483
+ OvhOpContext
3484
+ > = /*@__PURE__*/ API.make(() => ({
3485
+ input: ListVrackDedicatedServerInterfaceDetailsRequest,
3486
+ output: ListVrackDedicatedServerInterfaceDetailsResponse,
3487
+ errors: [UnknownOvhError],
3488
+ protocol: OvhProtocol,
3489
+ retry: Retry.Retry,
3490
+ }));
3491
+
3492
+ export type ListVrackEligibleServicesError = OvhOpError;
3493
+ /** List all eligible services for this vRack asynchronously This route allows asynchronous service eligibility requests. It means the route can be called several times until all the eligible services are returned. While the `status` is set to `pending` the results are partial. Once the `status` is set to `done`, all the eligible services have been found. In the eventuality of errors getting specific service types, the errors will be listed in the `errors` field. */
3494
+ export const listVrackEligibleServices: API.OperationMethod<
3495
+ ListVrackEligibleServicesRequest,
3496
+ VrackEligibleServicesResponse,
3497
+ ListVrackEligibleServicesError,
3498
+ OvhOpContext
3499
+ > = /*@__PURE__*/ API.make(() => ({
3500
+ input: ListVrackEligibleServicesRequest,
3501
+ output: VrackEligibleServicesResponse,
3502
+ errors: [UnknownOvhError],
3503
+ protocol: OvhProtocol,
3504
+ retry: Retry.Retry,
3505
+ }));
3506
+
3507
+ export type ListVrackIpError = OvhOpError;
3508
+ /** vrack for IP blocks */
3509
+ export const listVrackIp: API.OperationMethod<
3510
+ ListVrackIpRequest,
3511
+ ListVrackIpResponse,
3512
+ ListVrackIpError,
3513
+ OvhOpContext
3514
+ > = /*@__PURE__*/ API.make(() => ({
3515
+ input: ListVrackIpRequest,
3516
+ output: ListVrackIpResponse,
3517
+ errors: [UnknownOvhError],
3518
+ protocol: OvhProtocol,
3519
+ retry: Retry.Retry,
3520
+ }));
3521
+
3522
+ export type ListVrackIpLoadbalancingError = OvhOpError;
3523
+ /** vrack for ipLoadbalancing */
3524
+ export const listVrackIpLoadbalancing: API.OperationMethod<
3525
+ ListVrackIpLoadbalancingRequest,
3526
+ ListVrackIpLoadbalancingResponse,
3527
+ ListVrackIpLoadbalancingError,
3528
+ OvhOpContext
3529
+ > = /*@__PURE__*/ API.make(() => ({
3530
+ input: ListVrackIpLoadbalancingRequest,
3531
+ output: ListVrackIpLoadbalancingResponse,
3532
+ errors: [UnknownOvhError],
3533
+ protocol: OvhProtocol,
3534
+ retry: Retry.Retry,
3535
+ }));
3536
+
3537
+ export type ListVrackIpv6Error = OvhOpError;
3538
+ /** vrack for IP v6 blocks */
3539
+ export const listVrackIpv6: API.OperationMethod<
3540
+ ListVrackIpv6Request,
3541
+ ListVrackIpv6Response,
3542
+ ListVrackIpv6Error,
3543
+ OvhOpContext
3544
+ > = /*@__PURE__*/ API.make(() => ({
3545
+ input: ListVrackIpv6Request,
3546
+ output: ListVrackIpv6Response,
3547
+ errors: [UnknownOvhError],
3548
+ protocol: OvhProtocol,
3549
+ retry: Retry.Retry,
3550
+ }));
3551
+
3552
+ export type ListVrackIpv6BridgedSubrangeError = OvhOpError;
3553
+ /** subrange bridged into your vrack */
3554
+ export const listVrackIpv6BridgedSubrange: API.OperationMethod<
3555
+ ListVrackIpv6BridgedSubrangeRequest,
3556
+ ListVrackIpv6BridgedSubrangeResponse,
3557
+ ListVrackIpv6BridgedSubrangeError,
3558
+ OvhOpContext
3559
+ > = /*@__PURE__*/ API.make(() => ({
3560
+ input: ListVrackIpv6BridgedSubrangeRequest,
3561
+ output: ListVrackIpv6BridgedSubrangeResponse,
3562
+ errors: [UnknownOvhError],
3563
+ protocol: OvhProtocol,
3564
+ retry: Retry.Retry,
3565
+ }));
3566
+
3567
+ export type ListVrackIpv6RoutedSubrangeError = OvhOpError;
3568
+ /** subrange routed into your vrack */
3569
+ export const listVrackIpv6RoutedSubrange: API.OperationMethod<
3570
+ ListVrackIpv6RoutedSubrangeRequest,
3571
+ ListVrackIpv6RoutedSubrangeResponse,
3572
+ ListVrackIpv6RoutedSubrangeError,
3573
+ OvhOpContext
3574
+ > = /*@__PURE__*/ API.make(() => ({
3575
+ input: ListVrackIpv6RoutedSubrangeRequest,
3576
+ output: ListVrackIpv6RoutedSubrangeResponse,
3577
+ errors: [UnknownOvhError],
3578
+ protocol: OvhProtocol,
3579
+ retry: Retry.Retry,
3580
+ }));
3581
+
3582
+ export type ListVrackLegacyVrackError = OvhOpError;
3583
+ /** vrack for legacy vrack */
3584
+ export const listVrackLegacyVrack: API.OperationMethod<
3585
+ ListVrackLegacyVrackRequest,
3586
+ ListVrackLegacyVrackResponse,
3587
+ ListVrackLegacyVrackError,
3588
+ OvhOpContext
3589
+ > = /*@__PURE__*/ API.make(() => ({
3590
+ input: ListVrackLegacyVrackRequest,
3591
+ output: ListVrackLegacyVrackResponse,
3592
+ errors: [UnknownOvhError],
3593
+ protocol: OvhProtocol,
3594
+ retry: Retry.Retry,
3595
+ }));
3596
+
3597
+ export type ListVrackOvhCloudConnectError = OvhOpError;
3598
+ /** vrack for ovhCloudConnect */
3599
+ export const listVrackOvhCloudConnect: API.OperationMethod<
3600
+ ListVrackOvhCloudConnectRequest,
3601
+ ListVrackOvhCloudConnectResponse,
3602
+ ListVrackOvhCloudConnectError,
3603
+ OvhOpContext
3604
+ > = /*@__PURE__*/ API.make(() => ({
3605
+ input: ListVrackOvhCloudConnectRequest,
3606
+ output: ListVrackOvhCloudConnectResponse,
3607
+ errors: [UnknownOvhError],
3608
+ protocol: OvhProtocol,
3609
+ retry: Retry.Retry,
3610
+ }));
3611
+
3612
+ export type ListVrackTaskError = OvhOpError;
3613
+ /** vrack tasks */
3614
+ export const listVrackTask: API.OperationMethod<
3615
+ ListVrackTaskRequest,
3616
+ ListVrackTaskResponse,
3617
+ ListVrackTaskError,
3618
+ OvhOpContext
3619
+ > = /*@__PURE__*/ API.make(() => ({
3620
+ input: ListVrackTaskRequest,
3621
+ output: ListVrackTaskResponse,
3622
+ errors: [UnknownOvhError],
3623
+ protocol: OvhProtocol,
3624
+ retry: Retry.Retry,
3625
+ }));
3626
+
3627
+ export type ListVrackVmwareCloudDirectorVirtualDataCenterError = OvhOpError;
3628
+ /** vrack for vmwareCloudDirectorVirtualDataCenter */
3629
+ export const listVrackVmwareCloudDirectorVirtualDataCenter: API.OperationMethod<
3630
+ ListVrackVmwareCloudDirectorVirtualDataCenterRequest,
3631
+ ListVrackVmwareCloudDirectorVirtualDataCenterResponse,
3632
+ ListVrackVmwareCloudDirectorVirtualDataCenterError,
3633
+ OvhOpContext
3634
+ > = /*@__PURE__*/ API.make(() => ({
3635
+ input: ListVrackVmwareCloudDirectorVirtualDataCenterRequest,
3636
+ output: ListVrackVmwareCloudDirectorVirtualDataCenterResponse,
3637
+ errors: [UnknownOvhError],
3638
+ protocol: OvhProtocol,
3639
+ retry: Retry.Retry,
3640
+ }));
3641
+
3642
+ export type ListVrackVrackServicesError = OvhOpError;
3643
+ /** vrack for vrackServices */
3644
+ export const listVrackVrackServices: API.OperationMethod<
3645
+ ListVrackVrackServicesRequest,
3646
+ ListVrackVrackServicesResponse,
3647
+ ListVrackVrackServicesError,
3648
+ OvhOpContext
3649
+ > = /*@__PURE__*/ API.make(() => ({
3650
+ input: ListVrackVrackServicesRequest,
3651
+ output: ListVrackVrackServicesResponse,
3652
+ errors: [UnknownOvhError],
3653
+ protocol: OvhProtocol,
3654
+ retry: Retry.Retry,
3655
+ }));
3656
+
3657
+ export type MoveVrackDedicatedCloudDatacenterError = OvhOpError;
3658
+ /** Move your dedicatedCloud datacenter from a Vrack to another */
3659
+ export const moveVrackDedicatedCloudDatacenter: API.OperationMethod<
3660
+ MoveVrackDedicatedCloudDatacenterRequest,
3661
+ VrackTask,
3662
+ MoveVrackDedicatedCloudDatacenterError,
3663
+ OvhOpContext
3664
+ > = /*@__PURE__*/ API.make(() => ({
3665
+ input: MoveVrackDedicatedCloudDatacenterRequest,
3666
+ output: VrackTask,
3667
+ errors: [UnknownOvhError],
3668
+ protocol: OvhProtocol,
3669
+ retry: Retry.Retry,
3670
+ }));
3671
+
3672
+ export type PutVrackError = OvhOpError;
3673
+ /** Alter this object properties */
3674
+ export const putVrack: API.OperationMethod<
3675
+ PutVrackRequest,
3676
+ PutVrackResponse,
3677
+ PutVrackError,
3678
+ OvhOpContext
3679
+ > = /*@__PURE__*/ API.make(() => ({
3680
+ input: PutVrackRequest,
3681
+ output: PutVrackResponse,
3682
+ errors: [UnknownOvhError],
3683
+ protocol: OvhProtocol,
3684
+ retry: Retry.Retry,
3685
+ }));
3686
+
3687
+ export type PutVrackDedicatedConnectError = OvhOpError;
3688
+ /** Alter this object properties */
3689
+ export const putVrackDedicatedConnect: API.OperationMethod<
3690
+ PutVrackDedicatedConnectRequest,
3691
+ PutVrackDedicatedConnectResponse,
3692
+ PutVrackDedicatedConnectError,
3693
+ OvhOpContext
3694
+ > = /*@__PURE__*/ API.make(() => ({
3695
+ input: PutVrackDedicatedConnectRequest,
3696
+ output: PutVrackDedicatedConnectResponse,
3697
+ errors: [UnknownOvhError],
3698
+ protocol: OvhProtocol,
3699
+ retry: Retry.Retry,
3700
+ }));
3701
+
3702
+ export type PutVrackIpv6BridgedSubrangeError = OvhOpError;
3703
+ /** Update Slaac status */
3704
+ export const putVrackIpv6BridgedSubrange: API.OperationMethod<
3705
+ PutVrackIpv6BridgedSubrangeRequest,
3706
+ VrackTask,
3707
+ PutVrackIpv6BridgedSubrangeError,
3708
+ OvhOpContext
3709
+ > = /*@__PURE__*/ API.make(() => ({
3710
+ input: PutVrackIpv6BridgedSubrangeRequest,
3711
+ output: VrackTask,
3712
+ errors: [UnknownOvhError],
3713
+ protocol: OvhProtocol,
3714
+ retry: Retry.Retry,
3715
+ }));
3716
+
3717
+ export type TerminateVrackError = OvhOpError;
3718
+ /** Ask for the termination of your service Ask for the termination of your service. Admin contact of this service will receive a termination token by email in order to confirm its termination with /confirmTermination endpoint. */
3719
+ export const terminateVrack: API.OperationMethod<
3720
+ TerminateVrackRequest,
3721
+ TerminateVrackResponse,
3722
+ TerminateVrackError,
3723
+ OvhOpContext
3724
+ > = /*@__PURE__*/ API.make(() => ({
3725
+ input: TerminateVrackRequest,
3726
+ output: TerminateVrackResponse,
3727
+ errors: [UnknownOvhError],
3728
+ protocol: OvhProtocol,
3729
+ retry: Retry.Retry,
3730
+ }));