LeaseSpecPatchArgs

data class LeaseSpecPatchArgs(val acquireTime: Output<String>? = null, val holderIdentity: Output<String>? = null, val leaseDurationSeconds: Output<Int>? = null, val leaseTransitions: Output<Int>? = null, val renewTime: Output<String>? = null) : ConvertibleToJava<LeaseSpecPatchArgs>

LeaseSpec is a specification of a Lease.

Constructors

Link copied to clipboard
constructor(acquireTime: Output<String>? = null, holderIdentity: Output<String>? = null, leaseDurationSeconds: Output<Int>? = null, leaseTransitions: Output<Int>? = null, renewTime: Output<String>? = null)

Properties

Link copied to clipboard
val acquireTime: Output<String>? = null

acquireTime is a time when the current lease was acquired.

Link copied to clipboard
val holderIdentity: Output<String>? = null

holderIdentity contains the identity of the holder of a current lease.

Link copied to clipboard
val leaseDurationSeconds: Output<Int>? = null

leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.

Link copied to clipboard
val leaseTransitions: Output<Int>? = null

leaseTransitions is the number of transitions of a lease between holders.

Link copied to clipboard
val renewTime: Output<String>? = null

renewTime is a time when the current holder of a lease has last updated the lease.

Functions

Link copied to clipboard
open override fun toJava(): LeaseSpecPatchArgs