Interface ComputeInstanceMetadata

    • Method Detail

      • getMetadata

        java.util.Map<java.lang.String,​java.lang.String> getMetadata()
        The metadata as a map.
        Returns:
        A map of metadata
      • getInterfaces

        java.util.List<NetworkInterface> getInterfaces()
        The network interfaces attached to the compute instance.
        Returns:
        The NetworkInterface instances
      • getComputePlatform

        io.micronaut.context.env.ComputePlatform getComputePlatform()
        Returns:
        The ComputePlatform
      • getTags

        java.util.Map<java.lang.String,​java.lang.String> getTags()
        The tags attached to the instance.
        Returns:
        A map of tags
      • getName

        java.lang.String getName()
        The name of the instance. Usually the same as getInstanceId(). Some cloud platforms assign unique IDs
        Returns:
        The name of the instance
      • getInstanceId

        java.lang.String getInstanceId()
        Returns:
        The instance id
      • getMachineType

        java.lang.String getMachineType()
        Returns:
        The machine type
      • getAvailabilityZone

        java.lang.String getAvailabilityZone()
        Returns:
        The availability zone of the instance
      • getRegion

        java.lang.String getRegion()
        Returns:
        The region of the instance
      • getLocalHostname

        java.lang.String getLocalHostname()
        Returns:
        The local host name of the instance
      • getPrivateHostname

        java.lang.String getPrivateHostname()
        Returns:
        The private host name of the instance
      • getPublicHostname

        java.lang.String getPublicHostname()
        Returns:
        The public host name of the instance
      • getPublicIpV4

        java.lang.String getPublicIpV4()
        Returns:
        The public IP of the instance
      • getPublicIpV6

        java.lang.String getPublicIpV6()
        Returns:
        The public IP v6 of the instance
      • getPrivateIpV4

        java.lang.String getPrivateIpV4()
        Returns:
        The private IP of the instance
      • getPrivateIpV6

        java.lang.String getPrivateIpV6()
        Returns:
        The private IP v6 of the instance
      • getDescription

        java.lang.String getDescription()
        Returns:
        A description of the instance
      • getAccount

        java.lang.String getAccount()
        Returns:
        The account the instance is associated with
      • getImageId

        java.lang.String getImageId()
        Returns:
        The ID of the image used for the instance
      • isCached

        boolean isCached()
        Returns:
        Is this cached instance metadata