Package com.vmware.nsx_policy.model
Class AlbControllerVsphereClusterNodeVmDeploymentConfig
- java.lang.Object
-
- com.vmware.nsx_policy.model.AlbControllerVsphereClusterNodeVmDeploymentConfig
-
- All Implemented Interfaces:
com.vmware.vapi.bindings.StaticStructure
,com.vmware.vapi.bindings.Structure
,java.io.Serializable
public final class AlbControllerVsphereClusterNodeVmDeploymentConfig extends java.lang.Object implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
The vSphere deployment configuration determines where to deploy the Advanced Load Balancer controller node VM through a vCenter server. It contains settings that are applied during install time. If using DHCP, the following fields must be left unset - management_port_subnets, and default_gateway_addresses- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AlbControllerVsphereClusterNodeVmDeploymentConfig.Builder
Builder class forAlbControllerVsphereClusterNodeVmDeploymentConfig
.
-
Field Summary
Fields Modifier and Type Field 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
-
Constructor Summary
Constructors Modifier Constructor Description AlbControllerVsphereClusterNodeVmDeploymentConfig()
Default constructor.protected
AlbControllerVsphereClusterNodeVmDeploymentConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.vmware.vapi.bindings.Structure>
T_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 AlbControllerVsphereClusterNodeVmDeploymentConfig
_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 AlbControllerVsphereClusterNodeVmDeploymentConfig
_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.String
getComputeId()
The Advanced Load Balancer controller node VM will be deployed on the specified cluster or resourcepool for specified VC server.java.util.List<java.lang.String>
getDefaultGatewayAddresses()
The default 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.lang.String
getDisplayName()
Desired display name for Advanced Load Balancer controller VM to be deployed.java.util.List<java.lang.String>
getDnsServers()
List of DNS servers.java.lang.String
getHostId()
The Advanced Load Balancer controller 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 Advanced Load Balancer controller node VM will be connected.java.util.List<IPSubnet>
getManagementPortSubnets()
IP 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:ALBControllerNodeVMDeploymentConfig.PLACEMENT_TYPE_ALBCONTROLLERVSPHERECLUSTERNODEVMDEPLOYMENTCONFIG
Specifies the config for the platform through which to deploy the VM.java.lang.String
getStorageId()
The Advanced Load Balancer controller node VM will be deployed on the specified datastore in the specified VC server.java.lang.String
getStoragePolicyId()
The cluster node VM will be deployed with the specified storage policy 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
setComputeId(java.lang.String computeId)
The Advanced Load Balancer controller 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 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
setDisplayName(java.lang.String displayName)
Desired display name for Advanced Load Balancer controller VM to be deployed.void
setDnsServers(java.util.List<java.lang.String> dnsServers)
List of DNS servers.void
setHostId(java.lang.String hostId)
The Advanced Load Balancer controller 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 Advanced Load Balancer controller node VM will be connected.void
setManagementPortSubnets(java.util.List<IPSubnet> managementPortSubnets)
IP Address and subnet configuration for the management port.void
setNtpServers(java.util.List<java.lang.String> ntpServers)
List of NTP servers.void
setStorageId(java.lang.String storageId)
The Advanced Load Balancer controller node VM will be deployed on the specified datastore in the specified VC server.void
setStoragePolicyId(java.lang.String storagePolicyId)
The cluster node VM will be deployed with the specified storage policy 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()
-
-
-
Field Detail
-
_TYPE_IDENTIFIER
public static final java.lang.String _TYPE_IDENTIFIER
Identifier denoting this class, when it is used in polymorphic context.This value should be assigned to the property which is used to discriminate the actual type used in the polymorphic context.
- See Also:
- Constant Field Values
-
DISK_PROVISIONING_THIN
public static final java.lang.String DISK_PROVISIONING_THIN
- See Also:
- Constant Field Values
-
DISK_PROVISIONING_LAZY_ZEROED_THICK
public static final java.lang.String DISK_PROVISIONING_LAZY_ZEROED_THICK
- See Also:
- Constant Field Values
-
DISK_PROVISIONING_EAGER_ZEROED_THICK
public static final java.lang.String DISK_PROVISIONING_EAGER_ZEROED_THICK
- See Also:
- Constant Field Values
-
__dynamicStructureFields
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
-
-
Constructor Detail
-
AlbControllerVsphereClusterNodeVmDeploymentConfig
public AlbControllerVsphereClusterNodeVmDeploymentConfig()
Default constructor.
-
AlbControllerVsphereClusterNodeVmDeploymentConfig
protected AlbControllerVsphereClusterNodeVmDeploymentConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields)
-
-
Method Detail
-
getComputeId
public java.lang.String getComputeId()
The Advanced Load Balancer controller node VM will be deployed on the specified cluster or resourcepool for specified VC server.- Returns:
- The current value of the property.
-
setComputeId
public void setComputeId(java.lang.String computeId)
The Advanced Load Balancer controller node VM will be deployed on the specified cluster or resourcepool for specified VC server.- Parameters:
computeId
- New value for the property.
-
getDefaultGatewayAddresses
public java.util.List<java.lang.String> getDefaultGatewayAddresses()
The default gateway for the VM to be deployed must be specified if all the other VMs it communicates with are not in the same subnet. Do not specify this field and management_port_subnets to use DHCP. Note: only single IPv4 default gateway address is supported and it must belong to management network. format: ip- Returns:
- The current value of the property.
-
setDefaultGatewayAddresses
public void setDefaultGatewayAddresses(java.util.List<java.lang.String> defaultGatewayAddresses)
The default gateway for the VM to be deployed must be specified if all the other VMs it communicates with are not in the same subnet. Do not specify this field and management_port_subnets to use DHCP. Note: only single IPv4 default gateway address is supported and it must belong to management network. format: ip- Parameters:
defaultGatewayAddresses
- New value for the property.
-
getDiskProvisioning
public java.lang.String getDiskProvisioning()
Possible values are: Specifies the disk provisioning type of the VM.- Returns:
- The current value of the property.
-
setDiskProvisioning
public void setDiskProvisioning(java.lang.String diskProvisioning)
Possible values are: Specifies the disk provisioning type of the VM.- Parameters:
diskProvisioning
- New value for the property.
-
getDisplayName
public java.lang.String getDisplayName()
Desired display name for Advanced Load Balancer controller VM to be deployed.- Returns:
- The current value of the property.
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
Desired display name for Advanced Load Balancer controller VM to be deployed.- Parameters:
displayName
- New value for the property.
-
getDnsServers
public java.util.List<java.lang.String> getDnsServers()
List of DNS servers. format: ipv4- Returns:
- The current value of the property.
-
setDnsServers
public void setDnsServers(java.util.List<java.lang.String> dnsServers)
List of DNS servers. format: ipv4- Parameters:
dnsServers
- New value for the property.
-
getHostId
public java.lang.String getHostId()
The Advanced Load Balancer controller node VM will be deployed on the specified host in the specified VC server within the cluster if host_id is specified. Note: User must ensure that storage and specified networks are accessible by this host.- Returns:
- The current value of the property.
-
setHostId
public void setHostId(java.lang.String hostId)
The Advanced Load Balancer controller node VM will be deployed on the specified host in the specified VC server within the cluster if host_id is specified. Note: User must ensure that storage and specified networks are accessible by this host.- Parameters:
hostId
- New value for the property.
-
getHostname
public java.lang.String getHostname()
Desired host name/FQDN for the VM to be deployed. format: hostname-or-ip- Returns:
- The current value of the property.
-
setHostname
public void setHostname(java.lang.String hostname)
Desired host name/FQDN for the VM to be deployed. format: hostname-or-ip- Parameters:
hostname
- New value for the property.
-
getManagementNetworkId
public java.lang.String getManagementNetworkId()
Distributed portgroup identifier to which the management vnic of Advanced Load Balancer controller node VM will be connected.- Returns:
- The current value of the property.
-
setManagementNetworkId
public void setManagementNetworkId(java.lang.String managementNetworkId)
Distributed portgroup identifier to which the management vnic of Advanced Load Balancer controller node VM will be connected.- Parameters:
managementNetworkId
- New value for the property.
-
getManagementPortSubnets
public java.util.List<IPSubnet> getManagementPortSubnets()
IP Address and subnet configuration for the management port. Do not specify this field and default_gateway_addresses to use DHCP. Note: only one IPv4 address is supported for the management port.- Returns:
- The current value of the property.
-
setManagementPortSubnets
public void setManagementPortSubnets(java.util.List<IPSubnet> managementPortSubnets)
IP Address and subnet configuration for the management port. Do not specify this field and default_gateway_addresses to use DHCP. Note: only one IPv4 address is supported for the management port.- Parameters:
managementPortSubnets
- New value for the property.
-
getNtpServers
public java.util.List<java.lang.String> getNtpServers()
List of NTP servers. format: hostname-or-ipv4- Returns:
- The current value of the property.
-
setNtpServers
public void setNtpServers(java.util.List<java.lang.String> ntpServers)
List of NTP servers. format: hostname-or-ipv4- Parameters:
ntpServers
- New value for the property.
-
getStorageId
public java.lang.String getStorageId()
The Advanced Load Balancer controller node VM will be deployed on the specified datastore in the specified VC server. User must ensure that storage is accessible by the specified cluster/host.- Returns:
- The current value of the property.
-
setStorageId
public void setStorageId(java.lang.String storageId)
The Advanced Load Balancer controller node VM will be deployed on the specified datastore in the specified VC server. User must ensure that storage is accessible by the specified cluster/host.- Parameters:
storageId
- New value for the property.
-
getStoragePolicyId
public java.lang.String getStoragePolicyId()
The cluster node VM will be deployed with the specified storage policy on the specified datastore in the specified VC server. User must ensure that the storage policy is applicable on the given datastore.- Returns:
- The current value of the property.
-
setStoragePolicyId
public void setStoragePolicyId(java.lang.String storagePolicyId)
The cluster node VM will be deployed with the specified storage policy on the specified datastore in the specified VC server. User must ensure that the storage policy is applicable on the given datastore.- Parameters:
storagePolicyId
- New value for the property.
-
getVcId
public 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.- Returns:
- The current value of the property.
-
setVcId
public 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.- Parameters:
vcId
- New value for the property.
-
getPlacementType
public java.lang.String getPlacementType()
Possible values are:-
ALBControllerNodeVMDeploymentConfig.PLACEMENT_TYPE_ALBCONTROLLERVSPHERECLUSTERNODEVMDEPLOYMENTCONFIG
"AlbControllerVsphereClusterNodeVmDeploymentConfig"
.- Returns:
- The current value of the property.
-
-
_getType
public com.vmware.vapi.bindings.type.StructType _getType()
- Specified by:
_getType
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValue
in interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validate
in interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacecom.vmware.vapi.bindings.StaticStructure
- Overrides:
toString
in classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOf
in interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertTo
in interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
- Specified by:
_setDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicField
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNames
in interfacecom.vmware.vapi.bindings.StaticStructure
-
_getClassType
public static com.vmware.vapi.bindings.type.StructType _getClassType()
WARNING: Internal method, subject to change in future versions.- Returns:
StructType
instance representing the static bindings type for thisStructure
.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalName
in interfacecom.vmware.vapi.bindings.Structure
-
_getCanonicalTypeName
public static java.lang.String _getCanonicalTypeName()
Returns the canonical type name. See_getCanonicalName()
.- Returns:
- canonical type name
-
_newInstance
public static AlbControllerVsphereClusterNodeVmDeploymentConfig _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.- Parameters:
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.- Returns:
- the static bindings
StructType
-
_newInstance2
public static AlbControllerVsphereClusterNodeVmDeploymentConfig _newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism.
-
-