public final class HostNode
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
HostNode.Builder
Builder class for
HostNode . |
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 |
MAINTENANCE_MODE_STATE_ENTERING |
static java.lang.String |
MAINTENANCE_MODE_STATE_OFF |
static java.lang.String |
MAINTENANCE_MODE_STATE_ON |
static java.lang.String |
OS_TYPE_CENTOSCONTAINER |
static java.lang.String |
OS_TYPE_CENTOSSERVER |
static java.lang.String |
OS_TYPE_ESXI |
static java.lang.String |
OS_TYPE_HYPERV |
static java.lang.String |
OS_TYPE_OELSERVER |
static java.lang.String |
OS_TYPE_RHELCONTAINER |
static java.lang.String |
OS_TYPE_RHELSERVER |
static java.lang.String |
OS_TYPE_SLESSERVER |
static java.lang.String |
OS_TYPE_UBUNTUSERVER |
static java.lang.String |
OS_TYPE_WINDOWSSERVER |
Modifier | Constructor and Description |
---|---|
|
HostNode()
Default constructor.
|
protected |
HostNode(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 HostNode |
_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 HostNode |
_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 |
getComputeCollectionId()
Id of the compute collection to which discovered node belongs.
|
java.lang.String |
getDescription()
Deprecated.
|
java.util.List<java.lang.String> |
getDiscoveredIpAddresses()
Discovered IP Addresses of the fabric node, version 4 or 6 format: ip
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getDiscoveredNodeId()
Id of discovered node which was converted to create this node
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getDisplayName()
Deprecated.
|
java.util.List<DpuInfo> |
getDpu()
Specify list of DPU information.
|
java.lang.String |
getExternalId()
ID of the Node maintained on the Node and used to recognize the Node
|
java.lang.String |
getFqdn()
Fully qualified domain name of the fabric node
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
HostNodeLoginCredential |
getHostCredential() |
java.lang.String |
getId()
Unique identifier of this resource.
|
java.util.List<java.lang.String> |
getIpAddresses()
IP Addresses of the Node, version 4 or 6.
|
java.lang.String |
getMaintenanceModeState()
Possible values are:
MAINTENANCE_MODE_STATE_OFF MAINTENANCE_MODE_STATE_ENTERING MAINTENANCE_MODE_STATE_ON Indicates
host node's maintenance mode state. |
java.lang.String |
getManagedByServer()
The id of the vCenter server managing the ESXi type HostNode
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getOsType()
Possible values are:
OS_TYPE_ESXI OS_TYPE_RHELSERVER OS_TYPE_WINDOWSSERVER OS_TYPE_RHELCONTAINER OS_TYPE_UBUNTUSERVER OS_TYPE_HYPERV OS_TYPE_CENTOSSERVER OS_TYPE_CENTOSCONTAINER OS_TYPE_SLESSERVER OS_TYPE_OELSERVER Hypervisor type, for
example ESXi or RHEL Container |
java.lang.String |
getOsVersion()
Version of the hypervisor operating system
|
java.lang.String |
getResourceType()
Fabric node type, for example 'HostNode', 'EdgeNode' or 'PublicCloudGatewayNode'
The value of this property is automatically populated to
"HostNode" . |
java.util.List<Tag> |
getTags()
Deprecated.
|
java.lang.String |
getWindowsInstallLocation()
Specify an installation folder to install the NSX kernel modules for Windows
Server.
|
int |
hashCode() |
void |
setComputeCollectionId(java.lang.String computeCollectionId)
Id of the compute collection to which discovered node belongs.
|
void |
setDescription(java.lang.String description)
Deprecated.
|
void |
setDiscoveredIpAddresses(java.util.List<java.lang.String> discoveredIpAddresses)
Discovered IP Addresses of the fabric node, version 4 or 6 format: ip
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setDiscoveredNodeId(java.lang.String discoveredNodeId)
Id of discovered node which was converted to create this node
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setDisplayName(java.lang.String displayName)
Deprecated.
|
void |
setDpu(java.util.List<DpuInfo> dpu)
Specify list of DPU information.
|
void |
setExternalId(java.lang.String externalId)
ID of the Node maintained on the Node and used to recognize the Node
|
void |
setFqdn(java.lang.String fqdn)
Fully qualified domain name of the fabric node
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setHostCredential(HostNodeLoginCredential hostCredential) |
void |
setId(java.lang.String id)
Unique identifier of this resource.
|
void |
setIpAddresses(java.util.List<java.lang.String> ipAddresses)
IP Addresses of the Node, version 4 or 6.
|
void |
setMaintenanceModeState(java.lang.String maintenanceModeState)
Possible values are:
MAINTENANCE_MODE_STATE_OFF MAINTENANCE_MODE_STATE_ENTERING MAINTENANCE_MODE_STATE_ON Indicates
host node's maintenance mode state. |
void |
setManagedByServer(java.lang.String managedByServer)
The id of the vCenter server managing the ESXi type HostNode
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setOsType(java.lang.String osType)
Possible values are:
OS_TYPE_ESXI OS_TYPE_RHELSERVER OS_TYPE_WINDOWSSERVER OS_TYPE_RHELCONTAINER OS_TYPE_UBUNTUSERVER OS_TYPE_HYPERV OS_TYPE_CENTOSSERVER OS_TYPE_CENTOSCONTAINER OS_TYPE_SLESSERVER OS_TYPE_OELSERVER Hypervisor type, for
example ESXi or RHEL Container |
void |
setOsVersion(java.lang.String osVersion)
Version of the hypervisor operating system
|
void |
setTags(java.util.List<Tag> tags)
Deprecated.
|
void |
setWindowsInstallLocation(java.lang.String windowsInstallLocation)
Specify an installation folder to install the NSX kernel modules for Windows
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 MAINTENANCE_MODE_STATE_OFF
public static final java.lang.String MAINTENANCE_MODE_STATE_ENTERING
public static final java.lang.String MAINTENANCE_MODE_STATE_ON
public static final java.lang.String OS_TYPE_ESXI
public static final java.lang.String OS_TYPE_RHELSERVER
public static final java.lang.String OS_TYPE_WINDOWSSERVER
public static final java.lang.String OS_TYPE_RHELCONTAINER
public static final java.lang.String OS_TYPE_UBUNTUSERVER
public static final java.lang.String OS_TYPE_HYPERV
public static final java.lang.String OS_TYPE_CENTOSSERVER
public static final java.lang.String OS_TYPE_CENTOSCONTAINER
public static final java.lang.String OS_TYPE_SLESSERVER
public static final java.lang.String OS_TYPE_OELSERVER
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public HostNode()
protected HostNode(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getComputeCollectionId()
public void setComputeCollectionId(java.lang.String computeCollectionId)
computeCollectionId
- New value for the property.public java.lang.String getDiscoveredNodeId()
public void setDiscoveredNodeId(java.lang.String discoveredNodeId)
discoveredNodeId
- New value for the property.public java.util.List<DpuInfo> getDpu()
public void setDpu(java.util.List<DpuInfo> dpu)
dpu
- New value for the property.public HostNodeLoginCredential getHostCredential()
public void setHostCredential(HostNodeLoginCredential hostCredential)
hostCredential
- New value for the property.public java.lang.String getMaintenanceModeState()
public void setMaintenanceModeState(java.lang.String maintenanceModeState)
maintenanceModeState
- New value for the property.public java.lang.String getManagedByServer()
public void setManagedByServer(java.lang.String managedByServer)
managedByServer
- New value for the property.public java.lang.String getOsType()
public void setOsType(java.lang.String osType)
osType
- New value for the property.public java.lang.String getOsVersion()
public void setOsVersion(java.lang.String osVersion)
osVersion
- New value for the property.public java.lang.String getWindowsInstallLocation()
public void setWindowsInstallLocation(java.lang.String windowsInstallLocation)
windowsInstallLocation
- New value for the property.@Deprecated public java.lang.String getDescription()
@Deprecated public void setDescription(java.lang.String description)
description
- New value for the property.public java.util.List<java.lang.String> getDiscoveredIpAddresses()
public void setDiscoveredIpAddresses(java.util.List<java.lang.String> discoveredIpAddresses)
discoveredIpAddresses
- New value for the property.@Deprecated public java.lang.String getDisplayName()
@Deprecated public void setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public java.lang.String getExternalId()
public void setExternalId(java.lang.String externalId)
externalId
- New value for the property.public java.lang.String getFqdn()
public void setFqdn(java.lang.String fqdn)
fqdn
- New value for the property.public java.lang.String getId()
public void setId(java.lang.String id)
id
- New value for the property.public java.util.List<java.lang.String> getIpAddresses()
public void setIpAddresses(java.util.List<java.lang.String> ipAddresses)
ipAddresses
- New value for the property.public java.lang.String getResourceType()
"HostNode"
.@Deprecated public java.util.List<Tag> getTags()
@Deprecated public void setTags(java.util.List<Tag> tags)
tags
- New value for the property.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 HostNode _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 HostNode _newInstance2(com.vmware.vapi.data.StructValue structValue)