Skip to content

Commit

Permalink
docs(instance): remove nat from documentation (#1764)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Jan 31, 2025
1 parent 89c9c84 commit 0395172
Showing 1 changed file with 4 additions and 7 deletions.
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

0 comments on commit 0395172

Please sign in to comment.