OptionalmetadataOptional diagnostics metadata. Providers should not use this for lock correctness.
OptionalownerOptional owner token supplied by the caller. Providers generate one when omitted. Release and renew operations must only succeed for the current owner token.
OptionalretryDelay between acquisition attempts while waiting.
Lease time-to-live in milliseconds. The provider must treat ownership as expired after this duration unless the lease is renewed.
OptionalwaitHow long to wait for the lease before returning a non-acquired result.
Options for acquiring a lease.