From aae4dfb8ca51b7aae89edc840bdf7b6ffde42751 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Thu, 14 May 2026 22:15:35 +0000 Subject: [PATCH] Add ontapSource field to Netapp Backup (#17555) [upstream:8b7eeb7bc510bfd24ba01c0227ffe110e4f9a009] Signed-off-by: Modular Magician --- .changelog/17555.txt | 3 +++ website/docs/r/netapp_backup.html.markdown | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .changelog/17555.txt diff --git a/.changelog/17555.txt b/.changelog/17555.txt new file mode 100644 index 00000000000..6f56c83c26c --- /dev/null +++ b/.changelog/17555.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +netapp: added `ontap_source` field to `google_netapp_backup` resource (beta) +``` \ No newline at end of file diff --git a/website/docs/r/netapp_backup.html.markdown b/website/docs/r/netapp_backup.html.markdown index 9ab8e4bf09a..4da8128c880 100644 --- a/website/docs/r/netapp_backup.html.markdown +++ b/website/docs/r/netapp_backup.html.markdown @@ -130,6 +130,11 @@ The following arguments are supported: there will be a new snapshot taken to initiate the backup creation. Format: `projects/{{projectId}}/locations/{{location}}/volumes/{{volumename}}/snapshots/{{snapshotname}}`` +* `ontap_source` - + (Optional, [Beta](../guides/provider_versions.html.markdown)) + Details of the ONTAP source volume and snapshot. + Structure is [documented below](#nested_ontap_source). + * `project` - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used. @@ -141,6 +146,21 @@ The following arguments are supported: When set to "DELETE", deleting the resource is allowed. +The `ontap_source` block supports: + +* `storage_pool` - + (Required) + Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. + Format: `projects/{{project}}/locations/{{location}}/storagePools/{{storage_pool_id}}` + +* `volume_uuid` - + (Required) + The UUID of the ONTAP source volume. + +* `snapshot_uuid` - + (Optional) + The UUID of the ONTAP source snapshot. + ## Attributes Reference In addition to the arguments listed above, the following computed attributes are exported: