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 @@ -1909,6 +1909,7 @@ export const marshalServerActionRequest = (
defaults: DefaultValues,
): Record<string, unknown> => ({
action: request.action,
disable_ipv6: request.disableIpv6,
name: request.name,
volumes:
request.volumes !== undefined
Expand Down
7 changes: 6 additions & 1 deletion packages/clients/src/api/instance/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ export type CreateServerRequest = {
/** Define the Instance commercial type (i.e. GP1-S). */
commercialType: string
/** Instance image ID or label. */
image: string
image?: string
/** Volumes attached to the server. */
volumes?: Record<string, VolumeServerTemplate>
/**
Expand Down Expand Up @@ -1763,6 +1763,11 @@ export type ServerActionRequest = {
* should only be specified when performing a backup action.
*/
volumes?: Record<string, ServerActionRequestVolumeBackupTemplate>
/**
* Disable IPv6 on the Instance while performing migration to routed IPs. This
* field should only be specified when performing a enable_routed_ip action.
*/
disableIpv6?: boolean
}

export interface ServerActionResponse {
Expand Down