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
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const unmarshalInstanceGroup = (data: unknown): InstanceGroup => {
projectId: data.project_id,
tags: data.tags,
updatedAt: unmarshalDate(data.updated_at),
zone: data.zone,
} as InstanceGroup
}

Expand Down Expand Up @@ -118,6 +119,7 @@ export const unmarshalInstancePolicy = (data: unknown): InstancePolicy => {
priority: data.priority,
type: data.type,
value: data.value,
zone: data.zone,
} as InstancePolicy
}

Expand Down Expand Up @@ -201,6 +203,7 @@ export const unmarshalInstanceTemplate = (data: unknown): InstanceTemplate => {
data.volumes,
unmarshalVolumeInstanceTemplate,
),
zone: data.zone,
} as InstanceTemplate
}

Expand Down
12 changes: 12 additions & 0 deletions packages_generated/autoscaling/src/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ export interface InstanceGroup {
* Date on which the Instance group was last updated.
*/
updatedAt?: Date
/**
* Zone for this resource.
*/
zone: ScwZone
}

export interface InstancePolicy {
Expand Down Expand Up @@ -298,6 +302,10 @@ export interface InstancePolicy {
* Instance group ID related to this policy.
*/
instanceGroupId: string
/**
* Zone for this resource.
*/
zone: ScwZone
}

export interface InstanceTemplate {
Expand Down Expand Up @@ -365,6 +373,10 @@ export interface InstanceTemplate {
* Date on which the Instance template was last updated.
*/
updatedAt?: Date
/**
* Zone for this resource.
*/
zone: ScwZone
}

export interface UpdateInstanceGroupRequestCapacity {
Expand Down
Loading