Skip to content

Commit 6d650d1

Browse files
authored
fix(instance/v1): revert "remove field export_uri on the Instance API" (#2673)
1 parent 00af595 commit 6d650d1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages_generated/instance/src/v1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ const unmarshalVolume = (data: unknown): Volume => {
215215

216216
return {
217217
creationDate: unmarshalDate(data.creation_date),
218+
exportUri: data.export_uri,
218219
id: data.id,
219220
modificationDate: unmarshalDate(data.modification_date),
220221
name: data.name,
@@ -2068,6 +2069,7 @@ const marshalVolume = (
20682069
defaults: DefaultValues,
20692070
): Record<string, unknown> => ({
20702071
creation_date: request.creationDate,
2072+
export_uri: request.exportUri,
20712073
id: request.id,
20722074
modification_date: request.modificationDate,
20732075
name: request.name,

packages_generated/instance/src/v1/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ export interface Volume {
173173
* Volume name.
174174
*/
175175
name: string
176+
/**
177+
* @deprecated Show the volume NBD export URI (deprecated, will always be empty).
178+
*/
179+
exportUri?: string
176180
/**
177181
* Volume disk size.
178182
*/

0 commit comments

Comments
 (0)