Package io.micronaut.discovery.cloud.gcp
Enum GoogleComputeMetadataKeys
- java.lang.Object
-
- java.lang.Enum<GoogleComputeMetadataKeys>
-
- io.micronaut.discovery.cloud.gcp.GoogleComputeMetadataKeys
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GoogleComputeMetadataKeys>
public enum GoogleComputeMetadataKeys extends java.lang.Enum<GoogleComputeMetadataKeys>
Models common Google compute instance metadata keys.- Since:
- 1.0
- Author:
- rvanderwerf, Graeme Rocher
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_CONFIGS
ATTRIBUTES
CPU_PLATFORM
DEFAULTS
DESCRIPTION
DISKS
DNS_SERVERS
FORWARDED_IPS
GATEWAY
HOSTNAME
ID
IMAGE
IP
IP_ALIASES
LICENSES
MAC
MACHINE_TYPE
MAINTENANCE_EVENT
NAME
NETMASK
NETWORK
NETWORK_INTERFACES
NUMERIC_PROJECT_ID
PROJECT_ID
SCOPES
SERVICE_ACCOUNTS
TAGS
VIRTUAL_CLOCK
ZONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
static GoogleComputeMetadataKeys
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GoogleComputeMetadataKeys[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DESCRIPTION
public static final GoogleComputeMetadataKeys DESCRIPTION
-
HOSTNAME
public static final GoogleComputeMetadataKeys HOSTNAME
-
ID
public static final GoogleComputeMetadataKeys ID
-
ATTRIBUTES
public static final GoogleComputeMetadataKeys ATTRIBUTES
-
CPU_PLATFORM
public static final GoogleComputeMetadataKeys CPU_PLATFORM
-
DISKS
public static final GoogleComputeMetadataKeys DISKS
-
DNS_SERVERS
public static final GoogleComputeMetadataKeys DNS_SERVERS
-
FORWARDED_IPS
public static final GoogleComputeMetadataKeys FORWARDED_IPS
-
GATEWAY
public static final GoogleComputeMetadataKeys GATEWAY
-
IP
public static final GoogleComputeMetadataKeys IP
-
IP_ALIASES
public static final GoogleComputeMetadataKeys IP_ALIASES
-
MAC
public static final GoogleComputeMetadataKeys MAC
-
NETWORK
public static final GoogleComputeMetadataKeys NETWORK
-
SCOPES
public static final GoogleComputeMetadataKeys SCOPES
-
MACHINE_TYPE
public static final GoogleComputeMetadataKeys MACHINE_TYPE
-
MAINTENANCE_EVENT
public static final GoogleComputeMetadataKeys MAINTENANCE_EVENT
-
NAME
public static final GoogleComputeMetadataKeys NAME
-
NETWORK_INTERFACES
public static final GoogleComputeMetadataKeys NETWORK_INTERFACES
-
SERVICE_ACCOUNTS
public static final GoogleComputeMetadataKeys SERVICE_ACCOUNTS
-
DEFAULTS
public static final GoogleComputeMetadataKeys DEFAULTS
-
PROJECT_ID
public static final GoogleComputeMetadataKeys PROJECT_ID
-
NUMERIC_PROJECT_ID
public static final GoogleComputeMetadataKeys NUMERIC_PROJECT_ID
-
ZONE
public static final GoogleComputeMetadataKeys ZONE
-
TAGS
public static final GoogleComputeMetadataKeys TAGS
-
VIRTUAL_CLOCK
public static final GoogleComputeMetadataKeys VIRTUAL_CLOCK
-
IMAGE
public static final GoogleComputeMetadataKeys IMAGE
-
LICENSES
public static final GoogleComputeMetadataKeys LICENSES
-
ACCESS_CONFIGS
public static final GoogleComputeMetadataKeys ACCESS_CONFIGS
-
NETMASK
public static final GoogleComputeMetadataKeys NETMASK
-
-
Method Detail
-
values
public static GoogleComputeMetadataKeys[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GoogleComputeMetadataKeys c : GoogleComputeMetadataKeys.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GoogleComputeMetadataKeys valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
- Returns:
- The name of the metadata key represented in AWS Metadata.
-
-