Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawConfig ¶
type RawConfig struct { TemplateVMName providerconfigtypes.ConfigVarString `json:"templateVMName"` // Deprecated: use networks instead. VMNetName providerconfigtypes.ConfigVarString `json:"vmNetName"` Networks []providerconfigtypes.ConfigVarString `json:"networks"` Username providerconfigtypes.ConfigVarString `json:"username"` Password providerconfigtypes.ConfigVarString `json:"password"` VSphereURL providerconfigtypes.ConfigVarString `json:"vsphereURL"` Datacenter providerconfigtypes.ConfigVarString `json:"datacenter"` // Cluster defines the cluster to use in vcenter. // Only needed for vm anti affinity. Cluster providerconfigtypes.ConfigVarString `json:"cluster"` Folder providerconfigtypes.ConfigVarString `json:"folder"` ResourcePool providerconfigtypes.ConfigVarString `json:"resourcePool"` // Either Datastore or DatastoreCluster have to be provided. DatastoreCluster providerconfigtypes.ConfigVarString `json:"datastoreCluster"` Datastore providerconfigtypes.ConfigVarString `json:"datastore"` CPUs int32 `json:"cpus"` MemoryMB int64 `json:"memoryMB"` DiskSizeGB *int64 `json:"diskSizeGB,omitempty"` Tags []Tag `json:"tags,omitempty"` AllowInsecure providerconfigtypes.ConfigVarBool `json:"allowInsecure"` // Placement rules VMAntiAffinity providerconfigtypes.ConfigVarBool `json:"vmAntiAffinity"` VMGroup providerconfigtypes.ConfigVarString `json:"vmGroup,omitempty"` }
RawConfig represents vsphere specific configuration.
Click to show internal directories.
Click to hide internal directories.