From b67e0bcde11be97ee1e57a57ceef44d2d5aaba45 Mon Sep 17 00:00:00 2001 From: Luan Utimura Date: Thu, 28 Aug 2025 15:18:29 -0300 Subject: [PATCH] volume: Add missing backup_id field to Volume Change-Id: I4a05f571b1c0eb1bfd2d4e92ba3983c1c86eb072 Signed-off-by: Luan Utimura (cherry picked from commit bf8bdb04133f8112d46dfe42cf1863e7b3b4b8f3) --- openstack/block_storage/v3/volume.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openstack/block_storage/v3/volume.py b/openstack/block_storage/v3/volume.py index 7f5a0ef2d..04a0b0cec 100644 --- a/openstack/block_storage/v3/volume.py +++ b/openstack/block_storage/v3/volume.py @@ -49,6 +49,9 @@ class Volume(resource.Resource, metadata.MetadataMixin): attachments = resource.Body("attachments", type=list) #: The availability zone. availability_zone = resource.Body("availability_zone") + #: To create a volume from an existing backup, specify the ID of + #: the existing volume backup. (since 3.47) + backup_id = resource.Body("backup_id") #: ID of the consistency group. consistency_group_id = resource.Body("consistencygroup_id") #: Whether this resource consumes quota or not. Resources that not counted