github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/vsphere_deployment_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 manager
     7  
     8  type VsphereDeploymentConfig struct {
     9  	PlacementType string `json:"placement_type"`
    10  
    11  	// The edge node vm will be deployed on the specified cluster or resourcepool. Note - all the hosts must have nsx fabric prepared in the specified cluster.
    12  	ComputeId string `json:"compute_id"`
    13  
    14  	// List of distributed portgroup identifiers to which the datapath serving vnics of edge node vm will be connected.
    15  	DataNetworkIds []string `json:"data_network_ids"`
    16  
    17  	// The default gateway for edge node must be specified if all the nodes it communicates with are not in the same subnet. Note: only single IPv4 default gateway address is supported and it must belong to management network. Do not specify this field and management_port_subnets to use DHCP.
    18  	DefaultGatewayAddresses []string `json:"default_gateway_addresses,omitempty"`
    19  
    20  	// The edge node vm will be deployed on the specified Host within the cluster if host_id is specified. Note - User must ensure that storage and specified networks are accessible by this host.
    21  	HostId string `json:"host_id,omitempty"`
    22  
    23  	// Host name or FQDN for edge node.
    24  	Hostname string `json:"hostname"`
    25  
    26  	// Distributed portgroup identifier to which the management vnic of edge node vm will be connected. This portgroup must have connectivity with MP and CCP.
    27  	ManagementNetworkId string `json:"management_network_id"`
    28  
    29  	// IP Address and subnet configuration for the management port. Note: only one IPv4 address is supported for the management port. Do not specify this field and default_gateway_addresses to use DHCP.
    30  	ManagementPortSubnets []IpSubnet `json:"management_port_subnets,omitempty"`
    31  
    32  	// The edge node vm will be deployed on the specified datastore. User must ensure that storage is accessible by the specified cluster/host.
    33  	StorageId string `json:"storage_id"`
    34  
    35  	// The vc specific identifiers will be resolved on this VC. So all other identifiers specified here must belong to this vcenter server.
    36  	VcId string `json:"vc_id"`
    37  }