Skip to content

Commit

Permalink
Merge pull request #165 from ans-group/secure-backup-readonly-prop
Browse files Browse the repository at this point in the history
Instance secure_backup property is readonly
  • Loading branch information
Xiol authored Nov 13, 2024
2 parents 1821bbc + 15927ec commit 70245cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/service/ecloud/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand All @@ -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
Expand Down

0 comments on commit 70245cb

Please sign in to comment.