public final class VsphereClusterNodeVMDeploymentConfig
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
VsphereClusterNodeVMDeploymentConfig.Builder
Builder class for
VsphereClusterNodeVMDeploymentConfig . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
_TYPE_IDENTIFIER
Identifier denoting this class, when it is used in polymorphic context.
|
static java.lang.String |
DISK_PROVISIONING_EAGER_ZEROED_THICK |
static java.lang.String |
DISK_PROVISIONING_LAZY_ZEROED_THICK |
static java.lang.String |
DISK_PROVISIONING_THIN |
Modifier | Constructor and Description |
---|---|
|
VsphereClusterNodeVMDeploymentConfig()
Default constructor.
|
protected |
VsphereClusterNodeVMDeploymentConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static VsphereClusterNodeVMDeploymentConfig |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static VsphereClusterNodeVMDeploymentConfig |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAllowSshRootLogin()
If true, the root user will be allowed to log into the VM.
|
java.lang.String |
getComputeId()
The cluster node VM will be deployed on the specified cluster or resourcepool
for specified VC server.
|
java.util.List<java.lang.String> |
getDefaultGatewayAddresses()
The default IPv4 gateway for the VM to be deployed must be specified if all the
other VMs it communicates with are not in the same subnet.
|
java.util.List<java.lang.String> |
getDefaultIpv6GatewayAddresses()
The default IPv6 gateway for the VM to be deployed must be specified if all the
other VMs it communicates with are not in the same subnet.
|
java.lang.String |
getDiskProvisioning()
Possible values are:
DISK_PROVISIONING_THIN
DISK_PROVISIONING_LAZY_ZEROED_THICK
DISK_PROVISIONING_EAGER_ZEROED_THICK
Specifies the disk provisioning type of the VM. |
java.util.List<java.lang.String> |
getDnsServers()
List of DNS servers.
|
java.lang.Boolean |
getEnableSsh()
If true, the SSH service will automatically be started on the VM.
|
java.lang.String |
getFolderId()
Specifies the folder in which the VM should be placed.
|
java.lang.String |
getHostId()
The cluster node VM will be deployed on the specified host in the specified VC
server within the cluster if host_id is specified.
|
java.lang.String |
getHostname()
Desired host name/FQDN for the VM to be deployed
|
java.lang.String |
getManagementNetworkId()
Distributed portgroup identifier to which the management vnic of cluster node VM
will be connected.
|
java.util.List<IPSubnet> |
getManagementPortIpv6Subnets()
IPv6 Address and subnet configuration for the management port.
|
java.util.List<IPSubnet> |
getManagementPortSubnets()
IPv4 Address and subnet configuration for the management port.
|
java.util.List<java.lang.String> |
getNtpServers()
List of NTP servers.
|
java.lang.String |
getPlacementType()
Possible values are:
ClusterNodeVMDeploymentConfig.PLACEMENT_TYPE_VSPHERECLUSTERNODEVMDEPLOYMENTCONFIG
Specifies the config for the platform through which to deploy the VM
The value of this property is automatically populated to "VsphereClusterNodeVMDeploymentConfig" . |
java.util.List<java.lang.String> |
getSearchDomains()
List of domain names that are used to complete unqualified host names.
|
java.lang.String |
getStorageId()
The cluster node VM will be deployed on the specified datastore in the specified
VC server.
|
java.lang.String |
getVcId()
The VC-specific identifiers will be resolved on this VC, so all other
identifiers specified in the config must belong to this vCenter server.
|
int |
hashCode() |
void |
setAllowSshRootLogin(java.lang.Boolean allowSshRootLogin)
If true, the root user will be allowed to log into the VM.
|
void |
setComputeId(java.lang.String computeId)
The cluster node VM will be deployed on the specified cluster or resourcepool
for specified VC server.
|
void |
setDefaultGatewayAddresses(java.util.List<java.lang.String> defaultGatewayAddresses)
The default IPv4 gateway for the VM to be deployed must be specified if all the
other VMs it communicates with are not in the same subnet.
|
void |
setDefaultIpv6GatewayAddresses(java.util.List<java.lang.String> defaultIpv6GatewayAddresses)
The default IPv6 gateway for the VM to be deployed must be specified if all the
other VMs it communicates with are not in the same subnet.
|
void |
setDiskProvisioning(java.lang.String diskProvisioning)
Possible values are:
DISK_PROVISIONING_THIN
DISK_PROVISIONING_LAZY_ZEROED_THICK
DISK_PROVISIONING_EAGER_ZEROED_THICK
Specifies the disk provisioning type of the VM. |
void |
setDnsServers(java.util.List<java.lang.String> dnsServers)
List of DNS servers.
|
void |
setEnableSsh(java.lang.Boolean enableSsh)
If true, the SSH service will automatically be started on the VM.
|
void |
setFolderId(java.lang.String folderId)
Specifies the folder in which the VM should be placed.
|
void |
setHostId(java.lang.String hostId)
The cluster node VM will be deployed on the specified host in the specified VC
server within the cluster if host_id is specified.
|
void |
setHostname(java.lang.String hostname)
Desired host name/FQDN for the VM to be deployed
|
void |
setManagementNetworkId(java.lang.String managementNetworkId)
Distributed portgroup identifier to which the management vnic of cluster node VM
will be connected.
|
void |
setManagementPortIpv6Subnets(java.util.List<IPSubnet> managementPortIpv6Subnets)
IPv6 Address and subnet configuration for the management port.
|
void |
setManagementPortSubnets(java.util.List<IPSubnet> managementPortSubnets)
IPv4 Address and subnet configuration for the management port.
|
void |
setNtpServers(java.util.List<java.lang.String> ntpServers)
List of NTP servers.
|
void |
setSearchDomains(java.util.List<java.lang.String> searchDomains)
List of domain names that are used to complete unqualified host names.
|
void |
setStorageId(java.lang.String storageId)
The cluster node VM will be deployed on the specified datastore in the specified
VC server.
|
void |
setVcId(java.lang.String vcId)
The VC-specific identifiers will be resolved on this VC, so all other
identifiers specified in the config must belong to this vCenter server.
|
java.lang.String |
toString() |
public static final java.lang.String _TYPE_IDENTIFIER
This value should be assigned to the property which is used to discriminate the actual type used in the polymorphic context.
public static final java.lang.String DISK_PROVISIONING_THIN
public static final java.lang.String DISK_PROVISIONING_LAZY_ZEROED_THICK
public static final java.lang.String DISK_PROVISIONING_EAGER_ZEROED_THICK
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public VsphereClusterNodeVMDeploymentConfig()
protected VsphereClusterNodeVMDeploymentConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.Boolean getAllowSshRootLogin()
public void setAllowSshRootLogin(java.lang.Boolean allowSshRootLogin)
allowSshRootLogin
- New value for the property.public java.lang.String getComputeId()
public void setComputeId(java.lang.String computeId)
computeId
- New value for the property.public java.util.List<java.lang.String> getDefaultGatewayAddresses()
public void setDefaultGatewayAddresses(java.util.List<java.lang.String> defaultGatewayAddresses)
defaultGatewayAddresses
- New value for the property.public java.util.List<java.lang.String> getDefaultIpv6GatewayAddresses()
public void setDefaultIpv6GatewayAddresses(java.util.List<java.lang.String> defaultIpv6GatewayAddresses)
defaultIpv6GatewayAddresses
- New value for the property.public java.lang.String getDiskProvisioning()
public void setDiskProvisioning(java.lang.String diskProvisioning)
diskProvisioning
- New value for the property.public java.util.List<java.lang.String> getDnsServers()
public void setDnsServers(java.util.List<java.lang.String> dnsServers)
dnsServers
- New value for the property.public java.lang.Boolean getEnableSsh()
public void setEnableSsh(java.lang.Boolean enableSsh)
enableSsh
- New value for the property.public java.lang.String getFolderId()
public void setFolderId(java.lang.String folderId)
folderId
- New value for the property.public java.lang.String getHostId()
public void setHostId(java.lang.String hostId)
hostId
- New value for the property.public java.lang.String getHostname()
public void setHostname(java.lang.String hostname)
hostname
- New value for the property.public java.lang.String getManagementNetworkId()
public void setManagementNetworkId(java.lang.String managementNetworkId)
managementNetworkId
- New value for the property.public java.util.List<IPSubnet> getManagementPortIpv6Subnets()
public void setManagementPortIpv6Subnets(java.util.List<IPSubnet> managementPortIpv6Subnets)
managementPortIpv6Subnets
- New value for the property.public java.util.List<IPSubnet> getManagementPortSubnets()
public void setManagementPortSubnets(java.util.List<IPSubnet> managementPortSubnets)
managementPortSubnets
- New value for the property.public java.util.List<java.lang.String> getNtpServers()
public void setNtpServers(java.util.List<java.lang.String> ntpServers)
ntpServers
- New value for the property.public java.util.List<java.lang.String> getSearchDomains()
public void setSearchDomains(java.util.List<java.lang.String> searchDomains)
searchDomains
- New value for the property.public java.lang.String getStorageId()
public void setStorageId(java.lang.String storageId)
storageId
- New value for the property.public java.lang.String getVcId()
public void setVcId(java.lang.String vcId)
vcId
- New value for the property.public java.lang.String getPlacementType()
"VsphereClusterNodeVMDeploymentConfig"
.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static VsphereClusterNodeVMDeploymentConfig _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static VsphereClusterNodeVMDeploymentConfig _newInstance2(com.vmware.vapi.data.StructValue structValue)