From 2ae131961546e66123f6512a28574c9d74eaadf7 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Thu, 12 Dec 2024 17:49:47 +0000 Subject: [PATCH] Promote BackupDR Backup and Data Source to GA (#12435) [upstream:a5b703532272a4c25c473c12dc59764a5408a954] Signed-off-by: Modular Magician --- .changelog/12435.txt | 6 ++++ .../provider/provider_mmv1_resources.go | 2 +- website/docs/d/backup_dr_backup.html.markdown | 29 +++++++++++++++++++ .../d/backup_dr_data_source.html.markdown | 29 +++++++++++++++++++ 4 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 .changelog/12435.txt create mode 100644 website/docs/d/backup_dr_backup.html.markdown create mode 100644 website/docs/d/backup_dr_data_source.html.markdown diff --git a/.changelog/12435.txt b/.changelog/12435.txt new file mode 100644 index 0000000000..af4d7777a5 --- /dev/null +++ b/.changelog/12435.txt @@ -0,0 +1,6 @@ +```release-note: enhancement +backupdr: promoted datasource`google_backup_dr_data_source` to ga. +``` +```release-note: enhancement +backupdr: promoted datasource`google_backup_dr_backup` to ga. +``` \ No newline at end of file diff --git a/google-beta/provider/provider_mmv1_resources.go b/google-beta/provider/provider_mmv1_resources.go index 7a672784ff..ba74339214 100644 --- a/google-beta/provider/provider_mmv1_resources.go +++ b/google-beta/provider/provider_mmv1_resources.go @@ -173,9 +173,9 @@ var handwrittenDatasources = map[string]*schema.Resource{ "google_apphub_application": apphub.DataSourceGoogleApphubApplication(), "google_apphub_discovered_service": apphub.DataSourceApphubDiscoveredService(), "google_backup_dr_management_server": backupdr.DataSourceGoogleCloudBackupDRService(), - "google_backup_dr_backup": backupdr.DataSourceGoogleCloudBackupDRBackup(), "google_backup_dr_backup_plan_association": backupdr.DataSourceGoogleCloudBackupDRBackupPlanAssociation(), "google_backup_dr_backup_plan": backupdr.DataSourceGoogleCloudBackupDRBackupPlan(), + "google_backup_dr_backup": backupdr.DataSourceGoogleCloudBackupDRBackup(), "google_backup_dr_data_source": backupdr.DataSourceGoogleCloudBackupDRDataSource(), "google_backup_dr_backup_vault": backupdr.DataSourceGoogleCloudBackupDRBackupVault(), "google_beyondcorp_app_connection": beyondcorp.DataSourceGoogleBeyondcorpAppConnection(), diff --git a/website/docs/d/backup_dr_backup.html.markdown b/website/docs/d/backup_dr_backup.html.markdown new file mode 100644 index 0000000000..ca31d46d98 --- /dev/null +++ b/website/docs/d/backup_dr_backup.html.markdown @@ -0,0 +1,29 @@ +--- +subcategory: "Backup and DR Backup" +description: |- + Get information about a Backupdr Backup. +--- + +# google_backup_dr_backup + +A Backup and DR Backup. + +## Example Usage + +```hcl +data "google_backup_dr_backup" "foo" { + location = "us-central1" + project = "project-test" + data_source_id = "ds-test" + backup_vault_id = "bv-test" +} +``` + +## Argument Reference + +The following arguments are supported: + +* `location` - (Required) The location in which the Backup belongs. +* `project` - (Required) The Google Cloud Project in which the Backup belongs. +* `data_source_id` - (Required) The ID of the Data Source in which the Backup belongs. +* `backup_vault_id` - (Required) The ID of the Backup Vault of the Data Source in which the Backup belongs. \ No newline at end of file diff --git a/website/docs/d/backup_dr_data_source.html.markdown b/website/docs/d/backup_dr_data_source.html.markdown new file mode 100644 index 0000000000..13d794e277 --- /dev/null +++ b/website/docs/d/backup_dr_data_source.html.markdown @@ -0,0 +1,29 @@ +--- +subcategory: "Backup and DR Data Source" +description: |- + Get information about a Backupdr Data Source. +--- + +# google_backup_dr_data_source + +A Backup and DR Data Source. + +## Example Usage + +```hcl +data "google_backup_dr_data_source" "foo" { + location = "us-central1" + project = "project-test" + data_source_id = "ds-test" + backup_vault_id = "bv-test" +} +``` + +## Argument Reference + +The following arguments are supported: + +* `location` - (Required) The location in which the Data Source belongs. +* `project` - (Required) The Google Cloud Project in which the Data Source belongs. +* `data_source_id` - (Required) The ID of the Data Source. +* `backup_vault_id` - (Required) The ID of the Backup Vault in which the Data Source belongs. \ No newline at end of file