From e0cdf17e2f607596f53861c9ba3f13b04c699ae7 Mon Sep 17 00:00:00 2001 From: powervs-ibm <137309855+powervs-ibm@users.noreply.github.com> Date: Mon, 26 Feb 2024 08:59:37 -0600 Subject: [PATCH] Generated Swagger client from service-broker commit 45fa0692a89deb1e1c0f0e3ad997fad969037f00 (#332) StorageConnectionV2 : change from maxVolumeAttachement to maxVolumeSupport --- power/models/p_vm_instance_create.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/power/models/p_vm_instance_create.go b/power/models/p_vm_instance_create.go index 01358861..013a094c 100644 --- a/power/models/p_vm_instance_create.go +++ b/power/models/p_vm_instance_create.go @@ -94,7 +94,7 @@ type PVMInstanceCreate struct { StorageConnection string `json:"storageConnection,omitempty"` // The storage connection type - // Enum: [vSCSI maxVolumeAttachement] + // Enum: [vSCSI maxVolumeSupport] StorageConnectionV2 string `json:"storageConnectionV2,omitempty"` // Storage Pool for server deployment; if provided then storageAffinity will be ignored; Only valid when you deploy one of the IBM supplied stock images. Storage pool for a custom image (an imported image or an image that is created from a PVMInstance capture) defaults to the storage pool the image was created in @@ -475,7 +475,7 @@ var pVmInstanceCreateTypeStorageConnectionV2PropEnum []interface{} func init() { var res []string - if err := json.Unmarshal([]byte(`["vSCSI","maxVolumeAttachement"]`), &res); err != nil { + if err := json.Unmarshal([]byte(`["vSCSI","maxVolumeSupport"]`), &res); err != nil { panic(err) } for _, v := range res { @@ -488,8 +488,8 @@ const ( // PVMInstanceCreateStorageConnectionV2VSCSI captures enum value "vSCSI" PVMInstanceCreateStorageConnectionV2VSCSI string = "vSCSI" - // PVMInstanceCreateStorageConnectionV2MaxVolumeAttachement captures enum value "maxVolumeAttachement" - PVMInstanceCreateStorageConnectionV2MaxVolumeAttachement string = "maxVolumeAttachement" + // PVMInstanceCreateStorageConnectionV2MaxVolumeSupport captures enum value "maxVolumeSupport" + PVMInstanceCreateStorageConnectionV2MaxVolumeSupport string = "maxVolumeSupport" ) // prop value enum