Class 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
    • 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.
      • 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.
      • _getType

        public com.vmware.vapi.bindings.type.StructType _getType()
        Specified by:
        _getType in interface com.vmware.vapi.bindings.StaticStructure
      • _getDataValue

        public com.vmware.vapi.data.StructValue _getDataValue()
        Specified by:
        _getDataValue in interface com.vmware.vapi.bindings.Structure
      • _updateDataValue

        protected void _updateDataValue​(com.vmware.vapi.data.StructValue structValue)
      • _validate

        public void _validate()
        Specified by:
        _validate in interface com.vmware.vapi.bindings.StaticStructure
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface com.vmware.vapi.bindings.StaticStructure
        Overrides:
        toString in class java.lang.Object
      • _hasTypeNameOf

        public boolean _hasTypeNameOf​(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
        Specified by:
        _hasTypeNameOf in interface com.vmware.vapi.bindings.Structure
      • _convertTo

        public <T extends com.vmware.vapi.bindings.Structure> T _convertTo​(java.lang.Class<T> clazz)
        Specified by:
        _convertTo in interface com.vmware.vapi.bindings.Structure
      • _setDynamicField

        public void _setDynamicField​(java.lang.String fieldName,
                                     com.vmware.vapi.data.DataValue fieldValue)
        Specified by:
        _setDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicField

        public com.vmware.vapi.data.DataValue _getDynamicField​(java.lang.String fieldName)
        Specified by:
        _getDynamicField in interface com.vmware.vapi.bindings.StaticStructure
      • _getDynamicFieldNames

        public java.util.Set<java.lang.String> _getDynamicFieldNames()
        Specified by:
        _getDynamicFieldNames in interface com.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 this Structure.
      • _getCanonicalName

        public java.lang.String _getCanonicalName()
        Specified by:
        _getCanonicalName in interface com.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