From 2257c1963612202f1a6c42c1adca118c3272f312 Mon Sep 17 00:00:00 2001 From: Naitian Liu <83430653+naitianliu-google@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:20:47 -0700 Subject: [PATCH] Disable delete for bare metal admin cluster resource (#8823) --- mmv1/products/gkeonprem/BareMetalAdminCluster.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mmv1/products/gkeonprem/BareMetalAdminCluster.yaml b/mmv1/products/gkeonprem/BareMetalAdminCluster.yaml index 7dc763a8b3a9..38df22b5972e 100644 --- a/mmv1/products/gkeonprem/BareMetalAdminCluster.yaml +++ b/mmv1/products/gkeonprem/BareMetalAdminCluster.yaml @@ -16,17 +16,16 @@ min_version: beta base_url: "projects/{{project}}/locations/{{location}}/bareMetalAdminClusters" create_url: "projects/{{project}}/locations/{{location}}/bareMetalAdminClusters?bare_metal_admin_cluster_id={{name}}" update_url: "projects/{{project}}/locations/{{location}}/bareMetalAdminClusters/{{name}}" -delete_url: "projects/{{project}}/locations/{{location}}/bareMetalAdminClusters/{{name}}:unenroll?ignore_errors=true" self_link: "projects/{{project}}/locations/{{location}}/bareMetalAdminClusters/{{name}}" update_verb: :PATCH update_mask: true autogen_async: false id_format: "projects/{{project}}/locations/{{location}}/bareMetalAdminClusters/{{name}}" import_format: ["projects/{{project}}/locations/{{location}}/bareMetalAdminClusters/{{name}}"] +skip_delete: true taint_resource_on_failed_create: true timeouts: !ruby/object:Api::Timeouts insert_minutes: 60 - delete_minutes: 60 update_minutes: 60 description: "A Google Bare Metal Admin Cluster." examples: