From 15927ec63aa012e0a0797f4341ca368b5313c1c5 Mon Sep 17 00:00:00 2001 From: Dane Elwell Date: Wed, 13 Nov 2024 12:33:56 +0000 Subject: [PATCH] Instance secure_backup prop is readonly --- pkg/service/ecloud/request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/service/ecloud/request.go b/pkg/service/ecloud/request.go index 7f36bfa..402df38 100644 --- a/pkg/service/ecloud/request.go +++ b/pkg/service/ecloud/request.go @@ -248,7 +248,6 @@ type CreateInstanceRequest struct { VolumeIOPS int `json:"volume_iops,omitempty"` BackupEnabled bool `json:"backup_enabled"` BackupGatewayID string `json:"backup_gateway_id,omitempty"` - BackupAgentEnabled bool `json:"secure_backup,omitempty"` // XXX: This will change in the future to `backup_agent_enabled`, see ADO#34659 IsEncrypted bool `json:"is_encrypted"` NetworkID string `json:"network_id,omitempty"` FloatingIPID string `json:"floating_ip_id,omitempty"` @@ -268,6 +267,7 @@ type PatchInstanceRequest struct { VCPUCoresPerSocket int `json:"vcpu_cores_per_socket,omitempty"` RAMCapacity int `json:"ram_capacity,omitempty"` VolumeGroupID *string `json:"volume_group_id,omitempty"` + BackupGatewayID string `json:"backup_gateway_id,omitempty"` } // CreateFirewallPolicyRequest represents a request to create a firewall policy