Skip to content

Commit d02a1da

Browse files
feat(instance): add end_of_service flag in ServerList response (#1993)
Co-authored-by: Rémy Léone <[email protected]>
1 parent a646b01 commit d02a1da

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/clients/src/api/instance/v1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ const unmarshalServer = (data: unknown): Server => {
404404
creationDate: unmarshalDate(data.creation_date),
405405
dynamicIpRequired: data.dynamic_ip_required,
406406
enableIpv6: data.enable_ipv6,
407+
endOfService: data.end_of_service,
407408
hostname: data.hostname,
408409
id: data.id,
409410
image: data.image ? unmarshalImage(data.image) : undefined,

packages/clients/src/api/instance/v1/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,10 @@ export interface Server {
632632
* This value is reset when admin_password_encryption_ssh_key_id is set to an empty string.
633633
*/
634634
adminPasswordEncryptedValue?: string
635+
/**
636+
* True if the Instance type has reached end of service.
637+
*/
638+
endOfService: boolean
635639
}
636640

637641
export interface VolumeTemplate {

0 commit comments

Comments
 (0)