File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
packages/clients/src/api/instance/v1 Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1834,6 +1834,7 @@ export const marshalCreateServerRequest = (
18341834 image : request . image ,
18351835 name : request . name || randomName ( 'srv' ) ,
18361836 placement_group : request . placementGroup ,
1837+ protected : request . protected ,
18371838 public_ip : request . publicIp ,
18381839 public_ips : request . publicIps ,
18391840 routed_ip_enabled : request . routedIpEnabled ,
Original file line number Diff line number Diff line change @@ -888,7 +888,7 @@ export interface Task {
888888 hrefFrom : string
889889 hrefResult : string
890890 /**
891- * Zone in which the task is excecuted .
891+ * Zone in which the task is executed .
892892 */
893893 zone : ScwZone
894894}
@@ -1437,6 +1437,10 @@ export type CreateServerRequest = {
14371437 * The public_key value of this key is used to encrypt the admin password.
14381438 */
14391439 adminPasswordEncryptionSshKeyId ?: string
1440+ /**
1441+ * True to activate server protection option.
1442+ */
1443+ protected : boolean
14401444}
14411445
14421446export interface CreateServerResponse {
@@ -2783,6 +2787,9 @@ export type UpdateServerRequest = {
27832787 * @deprecated
27842788 */
27852789 enableIpv6 ?: boolean
2790+ /**
2791+ * True to activate server protection option.
2792+ */
27862793 protected ?: boolean
27872794 securityGroup ?: SecurityGroupTemplate
27882795 /**
You can’t perform that action at this time.
0 commit comments