Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/clients/src/api/instance/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
9 changes: 8 additions & 1 deletion packages/clients/src/api/instance/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -2783,6 +2787,9 @@ export type UpdateServerRequest = {
* @deprecated
*/
enableIpv6?: boolean
/**
* True to activate server protection option.
*/
protected?: boolean
securityGroup?: SecurityGroupTemplate
/**
Expand Down
Loading