Skip to content

Commit ef60b71

Browse files
committed
feat: update generated APIs
1 parent 7d0a7fb commit ef60b71

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
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
@@ -1909,6 +1909,7 @@ export const marshalServerActionRequest = (
19091909
defaults: DefaultValues,
19101910
): Record<string, unknown> => ({
19111911
action: request.action,
1912+
disable_ipv6: request.disableIpv6,
19121913
name: request.name,
19131914
volumes:
19141915
request.volumes !== undefined

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ export type CreateServerRequest = {
10101010
/** Define the Instance commercial type (i.e. GP1-S). */
10111011
commercialType: string
10121012
/** Instance image ID or label. */
1013-
image: string
1013+
image?: string
10141014
/** Volumes attached to the server. */
10151015
volumes?: Record<string, VolumeServerTemplate>
10161016
/**
@@ -1763,6 +1763,11 @@ export type ServerActionRequest = {
17631763
* should only be specified when performing a backup action.
17641764
*/
17651765
volumes?: Record<string, ServerActionRequestVolumeBackupTemplate>
1766+
/**
1767+
* Disable IPv6 on the Instance while performing migration to routed IPs. This
1768+
* field should only be specified when performing a enable_routed_ip action.
1769+
*/
1770+
disableIpv6?: boolean
17661771
}
17671772

17681773
export interface ServerActionResponse {

0 commit comments

Comments
 (0)