public enum LeaseEndpoints extends Enum<LeaseEndpoints>
SecretLeaseContainer
Enum Constant and Description |
---|
Leases
Sys/lease endpoints for Vault 0.8 and higher (/sys/leases/…) that uses
the /sys/leases/revoke endpoint when revoking leases.
|
LeasesRevokedByPrefix
Sys/lease endpoints for Vault 0.8 and higher (/sys/leases/…) that uses
the /sys/leases/revoke-prefix/… endpoint when revoking leases.
|
Legacy
Legacy endpoints prior to Vault 0.8 (/sys/renew,/sys/revoke).
|
SysLeases
Deprecated.
since 2.3, use
Leases instead. |
Modifier and Type | Method and Description |
---|---|
static LeaseEndpoints |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LeaseEndpoints[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LeaseEndpoints Legacy
@Deprecated public static final LeaseEndpoints SysLeases
Leases
instead.Leases
.public static final LeaseEndpoints Leases
public static final LeaseEndpoints LeasesRevokedByPrefix
public static LeaseEndpoints[] values()
for (LeaseEndpoints c : LeaseEndpoints.values()) System.out.println(c);
public static LeaseEndpoints 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 nullCopyright © 2016–2022 Pivotal Software, Inc.. All rights reserved.