Skip to content
Merged
Show file tree
Hide file tree
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
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 @@ -1703,6 +1703,7 @@ export const marshalCreatePrivateNICRequest = (
request: CreatePrivateNICRequest,
defaults: DefaultValues,
): Record<string, unknown> => ({
ip_ids: request.ipIds,
private_network_id: request.privateNetworkId,
tags: request.tags,
})
Expand Down
16 changes: 9 additions & 7 deletions packages/clients/src/api/instance/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -1678,6 +1678,8 @@ export type CreatePrivateNICRequest = {
privateNetworkId: string
/** Private NIC tags. */
tags?: string[]
/** Ip_ids defined from IPAM. */
ipIds?: string[]
}

export type GetPrivateNICRequest = {
Expand Down