public static enum PublicIp.Scope extends Enum<PublicIp.Scope> implements BmcEnum
Whether the public IP is regional or specific to a particular availability domain.
REGION
: The public IP exists within a region and is assigned to a regional entity
(such as a NatGateway
), or can be assigned to a private IP in any availability domain
in the region. Reserved public IPs and ephemeral public IPs assigned to a regional entity
have scope
= REGION
.
AVAILABILITY_DOMAIN
: The public IP exists within the availability domain of the
entity it's assigned to, which is specified by the availabilityDomain
property of the
public IP object. Ephemeral public IPs that are assigned to private IPs have scope
=
AVAILABILITY_DOMAIN
.
Enum Constant and Description |
---|
AvailabilityDomain |
Region |
Modifier and Type | Method and Description |
---|---|
static PublicIp.Scope |
create(String key) |
String |
getValue() |
static PublicIp.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublicIp.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublicIp.Scope Region
public static final PublicIp.Scope AvailabilityDomain
public static PublicIp.Scope[] values()
for (PublicIp.Scope c : PublicIp.Scope.values()) System.out.println(c);
public static PublicIp.Scope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PublicIp.Scope create(String key)
Copyright © 2016–2024. All rights reserved.