Skip to content

Commit

Permalink
feat(instance): add option to disable IPv6 during the migration to ro…
Browse files Browse the repository at this point in the history
…uted IPs (#1507)
  • Loading branch information
scaleway-bot authored Oct 18, 2024
1 parent 93d949e commit cfbfb21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
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
5 changes: 5 additions & 0 deletions packages/clients/src/api/instance/v1/types.gen.ts
Original file line number Diff line number Diff line change
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

0 comments on commit cfbfb21

Please sign in to comment.