Package org.jclouds.compute.domain
Interface NodeMetadata
- All Superinterfaces:
Comparable<ResourceMetadata<ComputeType>>
,ComputeMetadata
,ComputeMetadataIncludingStatus<NodeMetadata.Status>
,ResourceMetadata<ComputeType>
- All Known Implementing Classes:
NodeMetadataImpl
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionIf possible, these are returned upon all detail requests.getGroup()
Tag used for all resources that belong to the same logical group.The hardware this node is running, if possible to determine.noteThe id of the image this node was created from, if possible to correlate.int
The operating system this node is running, if possible to determine.All private IP addresses.All public IP addresses, potentially including shared ips.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.jclouds.compute.domain.ComputeMetadata
getId, getName, getProviderId, getTags, getType
Methods inherited from interface org.jclouds.compute.domain.ComputeMetadataIncludingStatus
getBackendStatus, getStatus
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation, getUri, getUserMetadata
-
Method Details
-
getHostname
note
hostname is something that is set in the operating system image, so this value, if present, cannot be guaranteed on images not directly controlled by the cloud provider.- Returns:
- hostname of the node, or null if unknown
-
getGroup
Tag used for all resources that belong to the same logical group. run, destroy commands are scoped to group.- Returns:
- group for this node, or null, if not a part of a group
-
getHardware
The hardware this node is running, if possible to determine. -
getImageId
The id of the image this node was created from, if possible to correlate. -
getOperatingSystem
The operating system this node is running, if possible to determine. -
getLoginPort
int getLoginPort()- Returns:
- the TCP port used for terminal connections. Generally, this is port 22 for ssh.
-
getCredentials
If possible, these are returned upon all detail requests. However, it is often the case that credentials are only available when a node is initially created.- See Also:
-
getPublicAddresses
All public IP addresses, potentially including shared ips. -
getPrivateAddresses
All private IP addresses.
-