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.StaticStructureThe 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 classAlbControllerVsphereClusterNodeVmDeploymentConfig.BuilderBuilder class forAlbControllerVsphereClusterNodeVmDeploymentConfig.
-
Field Summary
Fields Modifier and Type Field Description protected com.vmware.vapi.data.StructValue__dynamicStructureFieldsstatic java.lang.String_TYPE_IDENTIFIERIdentifier denoting this class, when it is used in polymorphic context.static java.lang.StringDISK_PROVISIONING_EAGER_ZEROED_THICKstatic java.lang.StringDISK_PROVISIONING_LAZY_ZEROED_THICKstatic java.lang.StringDISK_PROVISIONING_THIN
-
Constructor Summary
Constructors Modifier Constructor Description AlbControllerVsphereClusterNodeVmDeploymentConfig()Default constructor.protectedAlbControllerVsphereClusterNodeVmDeploymentConfig(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()booleanequals(java.lang.Object obj)java.lang.StringgetComputeId()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.StringgetDiskProvisioning()Possible values are:DISK_PROVISIONING_THINDISK_PROVISIONING_LAZY_ZEROED_THICKDISK_PROVISIONING_EAGER_ZEROED_THICKSpecifies the disk provisioning type of the VM.java.lang.StringgetDisplayName()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.StringgetHostId()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.StringgetHostname()Desired host name/FQDN for the VM to be deployed.java.lang.StringgetManagementNetworkId()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.StringgetPlacementType()Possible values are:ALBControllerNodeVMDeploymentConfig.PLACEMENT_TYPE_ALBCONTROLLERVSPHERECLUSTERNODEVMDEPLOYMENTCONFIGSpecifies the config for the platform through which to deploy the VM.java.lang.StringgetStorageId()The Advanced Load Balancer controller node VM will be deployed on the specified datastore in the specified VC server.java.lang.StringgetStoragePolicyId()The cluster node VM will be deployed with the specified storage policy on the specified datastore in the specified VC server.java.lang.StringgetVcId()The VC-specific identifiers will be resolved on this VC, so all other identifiers specified in the config must belong to this vCenter server.inthashCode()voidsetComputeId(java.lang.String computeId)The Advanced Load Balancer controller node VM will be deployed on the specified cluster or resourcepool for specified VC server.voidsetDefaultGatewayAddresses(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.voidsetDiskProvisioning(java.lang.String diskProvisioning)Possible values are:DISK_PROVISIONING_THINDISK_PROVISIONING_LAZY_ZEROED_THICKDISK_PROVISIONING_EAGER_ZEROED_THICKSpecifies the disk provisioning type of the VM.voidsetDisplayName(java.lang.String displayName)Desired display name for Advanced Load Balancer controller VM to be deployed.voidsetDnsServers(java.util.List<java.lang.String> dnsServers)List of DNS servers.voidsetHostId(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.voidsetHostname(java.lang.String hostname)Desired host name/FQDN for the VM to be deployed.voidsetManagementNetworkId(java.lang.String managementNetworkId)Distributed portgroup identifier to which the management vnic of Advanced Load Balancer controller node VM will be connected.voidsetManagementPortSubnets(java.util.List<IPSubnet> managementPortSubnets)IP Address and subnet configuration for the management port.voidsetNtpServers(java.util.List<java.lang.String> ntpServers)List of NTP servers.voidsetStorageId(java.lang.String storageId)The Advanced Load Balancer controller node VM will be deployed on the specified datastore in the specified VC server.voidsetStoragePolicyId(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.voidsetVcId(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.StringtoString()
-
-
-
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:
_getTypein interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDataValue
public com.vmware.vapi.data.StructValue _getDataValue()
- Specified by:
_getDataValuein interfacecom.vmware.vapi.bindings.Structure
-
_updateDataValue
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
-
_validate
public void _validate()
- Specified by:
_validatein interfacecom.vmware.vapi.bindings.StaticStructure
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacecom.vmware.vapi.bindings.StaticStructure- Overrides:
toStringin classjava.lang.Object
-
_hasTypeNameOf
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
- Specified by:
_hasTypeNameOfin interfacecom.vmware.vapi.bindings.Structure
-
_convertTo
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
- Specified by:
_convertToin interfacecom.vmware.vapi.bindings.Structure
-
_setDynamicField
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)- Specified by:
_setDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicField
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
- Specified by:
_getDynamicFieldin interfacecom.vmware.vapi.bindings.StaticStructure
-
_getDynamicFieldNames
public java.util.Set<java.lang.String> _getDynamicFieldNames()
- Specified by:
_getDynamicFieldNamesin 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:
StructTypeinstance representing the static bindings type for thisStructure.
-
_getCanonicalName
public java.lang.String _getCanonicalName()
- Specified by:
_getCanonicalNamein 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.
-
-