11// This file was automatically generated. DO NOT EDIT.
22// If you have any remark or suggestion do not hesitate to open an issue.
3- import type { Region , Zone } from '../../../bridge'
3+ import type { Region as ScwRegion , Zone as ScwZone } from '../../../bridge'
44
55export type ListIPsRequestOrderBy =
66 | 'created_at_desc'
@@ -30,6 +30,8 @@ export type ResourceType =
3030 | 'mgdb_instance'
3131 | 'apple_silicon_server'
3232 | 'apple_silicon_private_nic'
33+ | 'serverless_container'
34+ | 'serverless_function'
3335
3436export interface Resource {
3537 /** Type of resource the IP is attached to. */
@@ -108,17 +110,17 @@ export interface IP {
108110 /** Array of reverses associated with the IP. */
109111 reverses : Reverse [ ]
110112 /** Region of the IP. */
111- region : Region
113+ region : ScwRegion
112114 /** Zone of the IP, if zonal. */
113- zone ?: Zone
115+ zone ?: ScwZone
114116}
115117
116118export type AttachIPRequest = {
117119 /**
118120 * Region to target. If none is passed will use default region from the
119121 * config.
120122 */
121- region ?: Region
123+ region ?: ScwRegion
122124 /** IP ID. */
123125 ipId : string
124126 /** Custom resource to be attached to the IP. */
@@ -130,7 +132,7 @@ export type BookIPRequest = {
130132 * Region to target. If none is passed will use default region from the
131133 * config.
132134 */
133- region ?: Region
135+ region ?: ScwRegion
134136 /**
135137 * When creating an IP in a Private Network, the Project must match the
136138 * Private Network's Project.
@@ -165,7 +167,7 @@ export type DetachIPRequest = {
165167 * Region to target. If none is passed will use default region from the
166168 * config.
167169 */
168- region ?: Region
170+ region ?: ScwRegion
169171 /** IP ID. */
170172 ipId : string
171173 /** Custom resource currently attached to the IP. */
@@ -177,7 +179,7 @@ export type GetIPRequest = {
177179 * Region to target. If none is passed will use default region from the
178180 * config.
179181 */
180- region ?: Region
182+ region ?: ScwRegion
181183 /** IP ID. */
182184 ipId : string
183185}
@@ -187,7 +189,7 @@ export type ListIPsRequest = {
187189 * Region to target. If none is passed will use default region from the
188190 * config.
189191 */
190- region ?: Region
192+ region ?: ScwRegion
191193 /** Sort order of the returned IPs. */
192194 orderBy ?: ListIPsRequestOrderBy
193195 /** Page number to return, from the paginated results. */
@@ -281,7 +283,7 @@ export type MoveIPRequest = {
281283 * Region to target. If none is passed will use default region from the
282284 * config.
283285 */
284- region ?: Region
286+ region ?: ScwRegion
285287 /** IP ID. */
286288 ipId : string
287289 /** Custom resource currently attached to the IP. */
@@ -295,7 +297,7 @@ export type ReleaseIPRequest = {
295297 * Region to target. If none is passed will use default region from the
296298 * config.
297299 */
298- region ?: Region
300+ region ?: ScwRegion
299301 /** IP ID. */
300302 ipId : string
301303}
@@ -305,7 +307,7 @@ export type ReleaseIPSetRequest = {
305307 * Region to target. If none is passed will use default region from the
306308 * config.
307309 */
308- region ?: Region
310+ region ?: ScwRegion
309311 ipIds ?: string [ ]
310312}
311313
@@ -314,7 +316,7 @@ export type UpdateIPRequest = {
314316 * Region to target. If none is passed will use default region from the
315317 * config.
316318 */
317- region ?: Region
319+ region ?: ScwRegion
318320 /** IP ID. */
319321 ipId : string
320322 /** Tags for the IP. */
0 commit comments