public interface InstanceInfo
Modifier and Type | Interface and Description |
---|---|
static class |
InstanceInfo.InstanceEnvironment |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAutoScalingGroup()
Get the ASG in which this instance is deployed.
|
default java.util.List<java.lang.String> |
getDefaultRacks()
Get the list of default racks available for this DC.
|
java.lang.String |
getHostIP()
Get ip address for running instance.
|
java.lang.String |
getHostname()
Get the hostname for the running instance.
|
InstanceInfo.InstanceEnvironment |
getInstanceEnvironment()
Environment of the current running instance.
|
java.lang.String |
getInstanceId()
Get the instance id of the running instance.
|
java.lang.String |
getInstanceType()
Get the instance type of the running instance.
|
java.lang.String |
getPrivateIP()
Get private ip address for running instance.
|
java.lang.String |
getRac()
Get the availability zone of the running instance.
|
java.lang.String |
getRegion()
Get the region/data center of the running instance
|
java.lang.String |
getVpcId()
Get the id of the vpc account for running instance.
|
java.lang.String getRac()
default java.util.List<java.lang.String> getDefaultRacks()
IConfiguration.getRacs()
java.lang.String getHostname()
java.lang.String getHostIP()
java.lang.String getPrivateIP()
java.lang.String getInstanceId()
java.lang.String getInstanceType()
java.lang.String getVpcId()
java.lang.String getRegion()
java.lang.String getAutoScalingGroup()
InstanceInfo.InstanceEnvironment getInstanceEnvironment()