From b6e3b62b6eeb6382e93d7a84922ed98107e4701c Mon Sep 17 00:00:00 2001 From: powervs-ibm <137309855+powervs-ibm@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:36:51 -0500 Subject: [PATCH] Update description for DeleteOnTermination, SB commit 49ddcb07a1b23208e430f2120e43219e7d3f3493 (#483) Update description for DeleteOnTermination --- power/models/p_vm_instance_volume_update.go | 2 +- power/models/volume.go | 2 +- power/models/volume_reference.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/power/models/p_vm_instance_volume_update.go b/power/models/p_vm_instance_volume_update.go index d3ab5a7c..c5d841f6 100644 --- a/power/models/p_vm_instance_volume_update.go +++ b/power/models/p_vm_instance_volume_update.go @@ -19,7 +19,7 @@ import ( // swagger:model PVMInstanceVolumeUpdate type PVMInstanceVolumeUpdate struct { - // Indicates if the volume should be deleted when the PVMInstance is terminated + // Indicates if the volume should be deleted when the PVMInstance is terminated. // Required: true DeleteOnTermination *bool `json:"deleteOnTermination"` } diff --git a/power/models/volume.go b/power/models/volume.go index 5394c368..8a7fc54f 100644 --- a/power/models/volume.go +++ b/power/models/volume.go @@ -43,7 +43,7 @@ type Volume struct { // crn Crn CRN `json:"crn,omitempty"` - // Indicates if the volume should be deleted when the server terminates + // Indicates if the volume should be deleted when the server terminates. Only returned when querying a server's attached volumes DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"` // Type of Disk diff --git a/power/models/volume_reference.go b/power/models/volume_reference.go index 037c3b43..dedbebfb 100644 --- a/power/models/volume_reference.go +++ b/power/models/volume_reference.go @@ -44,7 +44,7 @@ type VolumeReference struct { // crn Crn CRN `json:"crn,omitempty"` - // Indicates if the volume should be deleted when the server terminates + // Indicates if the volume should be deleted when the server terminates. Only returned when querying a server's attached volumes DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"` // Type of Disk