diff --git a/packages/clients/src/api/instance/v1/marshalling.gen.ts b/packages/clients/src/api/instance/v1/marshalling.gen.ts index b7e9b4d76..8276490fa 100644 --- a/packages/clients/src/api/instance/v1/marshalling.gen.ts +++ b/packages/clients/src/api/instance/v1/marshalling.gen.ts @@ -1834,6 +1834,7 @@ export const marshalCreateServerRequest = ( image: request.image, name: request.name || randomName('srv'), placement_group: request.placementGroup, + protected: request.protected, public_ip: request.publicIp, public_ips: request.publicIps, routed_ip_enabled: request.routedIpEnabled, diff --git a/packages/clients/src/api/instance/v1/types.gen.ts b/packages/clients/src/api/instance/v1/types.gen.ts index d4a31a905..f689c8b58 100644 --- a/packages/clients/src/api/instance/v1/types.gen.ts +++ b/packages/clients/src/api/instance/v1/types.gen.ts @@ -888,7 +888,7 @@ export interface Task { hrefFrom: string hrefResult: string /** - * Zone in which the task is excecuted. + * Zone in which the task is executed. */ zone: ScwZone } @@ -1437,6 +1437,10 @@ export type CreateServerRequest = { * The public_key value of this key is used to encrypt the admin password. */ adminPasswordEncryptionSshKeyId?: string + /** + * True to activate server protection option. + */ + protected: boolean } export interface CreateServerResponse { @@ -2783,6 +2787,9 @@ export type UpdateServerRequest = { * @deprecated */ enableIpv6?: boolean + /** + * True to activate server protection option. + */ protected?: boolean securityGroup?: SecurityGroupTemplate /**