File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments