NAME

Etcd3::Lease::Grant

DESCRIPTION

LeaseGrant creates a lease which expires if the server does not receive a keepAlive within a given time to live period. All keys attached to the lease will be expired and deleted if the lease expires. Each expired key generates a delete event in the event history.

endpoint

/lease/grant

TTL

TTL is the advisory time-to-live in seconds.

ID

ID is the requested ID for the lease. If ID is set to 0, the lessor chooses an ID.

json_args

arguments that will be sent to the api

init