diff --git a/packages/clients/src/api/instance/v1/marshalling.gen.ts b/packages/clients/src/api/instance/v1/marshalling.gen.ts index 9274c911e..e02096834 100644 --- a/packages/clients/src/api/instance/v1/marshalling.gen.ts +++ b/packages/clients/src/api/instance/v1/marshalling.gen.ts @@ -1703,6 +1703,7 @@ export const marshalCreatePrivateNICRequest = ( request: CreatePrivateNICRequest, defaults: DefaultValues, ): Record => ({ + ip_ids: request.ipIds, private_network_id: request.privateNetworkId, tags: request.tags, }) diff --git a/packages/clients/src/api/instance/v1/types.gen.ts b/packages/clients/src/api/instance/v1/types.gen.ts index 56a43e082..64a5feee0 100644 --- a/packages/clients/src/api/instance/v1/types.gen.ts +++ b/packages/clients/src/api/instance/v1/types.gen.ts @@ -888,21 +888,21 @@ export interface VolumeServer { /** Volume server template. */ export interface VolumeServerTemplate { /** UUID of the volume. */ - id: string + id?: string /** Force the Instance to boot on this volume. */ - boot: boolean + boot?: boolean /** Name of the volume. */ - name: string + name?: string /** Disk size of the volume, must be a multiple of 512. */ - size: number + size?: number /** Type of the volume. */ volumeType: VolumeVolumeType /** ID of the snapshot on which this volume will be based. */ - baseSnapshot: string + baseSnapshot?: string /** Organization ID of the volume. */ - organization: string + organization?: string /** Project ID of the volume. */ - project: string + project?: string } export interface VolumeSummary { @@ -1678,6 +1678,8 @@ export type CreatePrivateNICRequest = { privateNetworkId: string /** Private NIC tags. */ tags?: string[] + /** Ip_ids defined from IPAM. */ + ipIds?: string[] } export type GetPrivateNICRequest = {