Skip to content

Commit 476593a

Browse files
authored
feat(vpc-gw): add support for bastion (#1053)
1 parent bef6071 commit 476593a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

api/vpcgw/v1/vpcgw_sdk.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,10 @@ type Gateway struct {
559559
Version *string `json:"version"`
560560
// CanUpgradeTo: newly available gateway software version that can be updated to
561561
CanUpgradeTo *string `json:"can_upgrade_to"`
562+
// BastionEnabled: whether SSH bastion is enabled on the gateway
563+
BastionEnabled bool `json:"bastion_enabled"`
564+
// BastionPort: port of the SSH bastion
565+
BastionPort uint32 `json:"bastion_port"`
562566
// Zone: zone the gateway is available in
563567
Zone scw.Zone `json:"zone"`
564568
}
@@ -930,6 +934,10 @@ type UpdateGatewayRequest struct {
930934
Tags *[]string `json:"tags"`
931935
// UpstreamDNSServers: override the gateway's default recursive DNS servers, if DNS features are enabled
932936
UpstreamDNSServers *[]string `json:"upstream_dns_servers"`
937+
// EnableBastion: enable SSH bastion on the gateway
938+
EnableBastion *bool `json:"enable_bastion"`
939+
// BastionPort: port of the SSH bastion
940+
BastionPort *uint32 `json:"bastion_port"`
933941
}
934942

935943
// UpdateGateway: update a VPC Public Gateway

0 commit comments

Comments
 (0)