11// This file was automatically generated. DO NOT EDIT.
22// If you have any remark or suggestion do not hesitate to open an issue.
3- import type { Zone } from '../../../bridge'
3+ import type { Zone as ScwZone } from '../../../bridge'
44
55export type ConnectivityDiagnosticActionType =
66 | 'reboot_server'
@@ -190,7 +190,7 @@ export interface Server {
190190 */
191191 deletionScheduled : boolean
192192 /** Zone of the server. */
193- zone : Zone
193+ zone : ScwZone
194194 /**
195195 * Set to true once the server has completed its provisioning steps and is
196196 * ready to use. Some OS configurations might require a reinstallation of the
@@ -217,7 +217,7 @@ export interface ConnectivityDiagnostic {
217217
218218export type CreateServerRequest = {
219219 /** Zone to target. If none is passed will use default zone from the config. */
220- zone ?: Zone
220+ zone ?: ScwZone
221221 /** Create a server with this given name. */
222222 name ?: string
223223 /** Create a server in the given project ID. */
@@ -239,41 +239,41 @@ export type CreateServerRequest = {
239239
240240export type DeleteServerRequest = {
241241 /** Zone to target. If none is passed will use default zone from the config. */
242- zone ?: Zone
242+ zone ?: ScwZone
243243 /** UUID of the server you want to delete. */
244244 serverId : string
245245}
246246
247247export type GetConnectivityDiagnosticRequest = {
248248 /** Zone to target. If none is passed will use default zone from the config. */
249- zone ?: Zone
249+ zone ?: ScwZone
250250 diagnosticId : string
251251}
252252
253253export type GetOSRequest = {
254254 /** Zone to target. If none is passed will use default zone from the config. */
255- zone ?: Zone
255+ zone ?: ScwZone
256256 /** UUID of the OS you want to get. */
257257 osId : string
258258}
259259
260260export type GetServerRequest = {
261261 /** Zone to target. If none is passed will use default zone from the config. */
262- zone ?: Zone
262+ zone ?: ScwZone
263263 /** UUID of the server you want to get. */
264264 serverId : string
265265}
266266
267267export type GetServerTypeRequest = {
268268 /** Zone to target. If none is passed will use default zone from the config. */
269- zone ?: Zone
269+ zone ?: ScwZone
270270 /** Server type identifier. */
271271 serverType : string
272272}
273273
274274export type ListOSRequest = {
275275 /** Zone to target. If none is passed will use default zone from the config. */
276- zone ?: Zone
276+ zone ?: ScwZone
277277 /** Positive integer to choose the page to return. */
278278 page ?: number
279279 /**
@@ -304,7 +304,7 @@ export interface ListServerPrivateNetworksResponse {
304304
305305export type ListServerTypesRequest = {
306306 /** Zone to target. If none is passed will use default zone from the config. */
307- zone ?: Zone
307+ zone ?: ScwZone
308308}
309309
310310export interface ListServerTypesResponse {
@@ -314,7 +314,7 @@ export interface ListServerTypesResponse {
314314
315315export type ListServersRequest = {
316316 /** Zone to target. If none is passed will use default zone from the config. */
317- zone ?: Zone
317+ zone ?: ScwZone
318318 /** Sort order of the returned servers. */
319319 orderBy ?: ListServersRequestOrderBy
320320 /** Only list servers of this project ID. */
@@ -339,7 +339,7 @@ export interface ListServersResponse {
339339
340340export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
341341 /** Zone to target. If none is passed will use default zone from the config. */
342- zone ?: Zone
342+ zone ?: ScwZone
343343 /** ID of the server. */
344344 serverId : string
345345 /** ID of the Private Network. */
@@ -350,7 +350,7 @@ export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
350350
351351export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
352352 /** Zone to target. If none is passed will use default zone from the config. */
353- zone ?: Zone
353+ zone ?: ScwZone
354354 /** ID of the server. */
355355 serverId : string
356356 /** ID of the Private Network. */
@@ -359,14 +359,14 @@ export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
359359
360360export type PrivateNetworkApiGetServerPrivateNetworkRequest = {
361361 /** Zone to target. If none is passed will use default zone from the config. */
362- zone ?: Zone
362+ zone ?: ScwZone
363363 serverId : string
364364 privateNetworkId : string
365365}
366366
367367export type PrivateNetworkApiListServerPrivateNetworksRequest = {
368368 /** Zone to target. If none is passed will use default zone from the config. */
369- zone ?: Zone
369+ zone ?: ScwZone
370370 /** Sort order for the returned Private Networks. */
371371 orderBy ?: ListServerPrivateNetworksRequestOrderBy
372372 /** Page number for the returned Private Networks. */
@@ -387,7 +387,7 @@ export type PrivateNetworkApiListServerPrivateNetworksRequest = {
387387
388388export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
389389 /** Zone to target. If none is passed will use default zone from the config. */
390- zone ?: Zone
390+ zone ?: ScwZone
391391 /** ID of the server. */
392392 serverId : string
393393 /**
@@ -402,14 +402,14 @@ export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
402402
403403export type RebootServerRequest = {
404404 /** Zone to target. If none is passed will use default zone from the config. */
405- zone ?: Zone
405+ zone ?: ScwZone
406406 /** UUID of the server you want to reboot. */
407407 serverId : string
408408}
409409
410410export type ReinstallServerRequest = {
411411 /** Zone to target. If none is passed will use default zone from the config. */
412- zone ?: Zone
412+ zone ?: ScwZone
413413 /** UUID of the server you want to reinstall. */
414414 serverId : string
415415 /**
@@ -425,7 +425,7 @@ export interface SetServerPrivateNetworksResponse {
425425
426426export type StartConnectivityDiagnosticRequest = {
427427 /** Zone to target. If none is passed will use default zone from the config. */
428- zone ?: Zone
428+ zone ?: ScwZone
429429 serverId : string
430430}
431431
@@ -435,7 +435,7 @@ export interface StartConnectivityDiagnosticResponse {
435435
436436export type UpdateServerRequest = {
437437 /** Zone to target. If none is passed will use default zone from the config. */
438- zone ?: Zone
438+ zone ?: ScwZone
439439 /** UUID of the server you want to update. */
440440 serverId : string
441441 /** Updated name for your server. */
0 commit comments