github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/upgrade/aws_gateway_ha_config.go (about) 1 /* Copyright © 2017 VMware, Inc. All Rights Reserved. 2 SPDX-License-Identifier: BSD-2-Clause 3 4 Generated by: https://github.com/swagger-api/swagger-codegen.git */ 5 6 package upgrade 7 8 import ( 9 "github.com/vmware/go-vmware-nsxt/common" 10 ) 11 12 type AwsGatewayHaConfig struct { 13 14 // The server will populate this field when returing the resource. Ignored on PUT and POST. 15 Links []common.ResourceLink `json:"_links,omitempty"` 16 17 Schema string `json:"_schema,omitempty"` 18 19 Self *common.SelfResourceLink `json:"_self,omitempty"` 20 21 // Availability Zone 22 AvailabilityZone string `json:"availability_zone"` 23 24 // Downlink subnet 25 DownlinkSubnet string `json:"downlink_subnet"` 26 27 // Index of HA that indicates whether gateway is primary or secondary. If index is 0, then it is primary gateway. Else secondary gateway. 28 GatewayHaIndex int64 `json:"gateway_ha_index"` 29 30 // Management subnet 31 ManagementSubnet string `json:"management_subnet"` 32 33 // Uplink subnet 34 UplinkSubnet string `json:"uplink_subnet"` 35 }