github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/upgrade/aws_gateway_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 AwsGatewayConfig 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 // The ID of the Amazon Machine Image on which this gateway resides 22 AmiId string `json:"ami_id,omitempty"` 23 24 // Flag to identify if default quarantine policy is enabled 25 DefaultQuarantinePolicyEnabled bool `json:"default_quarantine_policy_enabled,omitempty"` 26 27 // Aws Gateway HA configuration 28 GatewayHaConfiguration []AwsGatewayHaConfig `json:"gateway_ha_configuration,omitempty"` 29 30 // Flag to identify if HA is enabled 31 IsHaEnabled bool `json:"is_ha_enabled,omitempty"` 32 33 // The key pair name required to authenticate into any instance 34 KeyPairName string `json:"key_pair_name,omitempty"` 35 36 // Determines if connection to NSX Manager is via public IP or private IP 37 NsxManagerConnection string `json:"nsx_manager_connection,omitempty"` 38 }