Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(instance): remove nat from documentation #1764

Merged
merged 1 commit into from
Jan 31, 2025
Merged
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
11 changes: 4 additions & 7 deletions packages/clients/src/api/instance/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type IpState =
| 'pending'
| 'error'

export type IpType = 'unknown_iptype' | 'nat' | 'routed_ipv4' | 'routed_ipv6'
export type IpType = 'unknown_iptype' | 'routed_ipv4' | 'routed_ipv6'

export type ListServersRequestOrder =
| 'creation_date_desc'
Expand Down Expand Up @@ -866,10 +866,7 @@ export type CreateIpRequest = {
tags?: string[]
/** UUID of the Instance you want to attach the IP to. */
server?: string
/**
* IP type to reserve (either 'routed_ipv4' or 'routed_ipv6', use of 'nat' is
* deprecated).
*/
/** IP type to reserve (either 'routed_ipv4' or 'routed_ipv6'). */
type?: IpType
}

Expand Down Expand Up @@ -1437,7 +1434,7 @@ export type ListIpsRequest = {
page?: number
/**
* Filter on the IP Mobility IP type (whose value should be either
* 'routed_ipv4', 'routed_ipv6' or 'nat').
* 'routed_ipv4' or 'routed_ipv6').
*/
type?: string
}
Expand Down Expand Up @@ -1884,7 +1881,7 @@ export type UpdateIpRequest = {
ip: string
/** Reverse domain name. */
reverse?: string | null
/** Convert a 'nat' IP to a 'routed_ipv4'. */
/** Should have no effect. */
type?: IpType
/** An array of keywords you want to tag this IP with. */
tags?: string[]
Expand Down
Loading