/
vsphere_deployment_config.go
37 lines (25 loc) · 2.11 KB
/
vsphere_deployment_config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* Copyright © 2017 VMware, Inc. All Rights Reserved.
SPDX-License-Identifier: BSD-2-Clause
Generated by: https://github.com/swagger-api/swagger-codegen.git */
package manager
type VsphereDeploymentConfig struct {
PlacementType string `json:"placement_type"`
// 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.
ComputeId string `json:"compute_id"`
// List of distributed portgroup identifiers to which the datapath serving vnics of edge node vm will be connected.
DataNetworkIds []string `json:"data_network_ids"`
// 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.
DefaultGatewayAddresses []string `json:"default_gateway_addresses,omitempty"`
// 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.
HostId string `json:"host_id,omitempty"`
// Host name or FQDN for edge node.
Hostname string `json:"hostname"`
// Distributed portgroup identifier to which the management vnic of edge node vm will be connected. This portgroup must have connectivity with MP and CCP.
ManagementNetworkId string `json:"management_network_id"`
// 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.
ManagementPortSubnets []IpSubnet `json:"management_port_subnets,omitempty"`
// The edge node vm will be deployed on the specified datastore. User must ensure that storage is accessible by the specified cluster/host.
StorageId string `json:"storage_id"`
// The vc specific identifiers will be resolved on this VC. So all other identifiers specified here must belong to this vcenter server.
VcId string `json:"vc_id"`
}