Aracılığıyla paylaş


LeaseContainerRequest Class

Definition

Lease Container request schema.

public class LeaseContainerRequest
type LeaseContainerRequest = class
Public Class LeaseContainerRequest
Inheritance
LeaseContainerRequest

Constructors

LeaseContainerRequest()

Initializes a new instance of the LeaseContainerRequest class.

LeaseContainerRequest(String, String, Nullable<Int32>, Nullable<Int32>, String)

Initializes a new instance of the LeaseContainerRequest class.

Properties

Action

Gets or sets specifies the lease action. Can be one of the available actions. Possible values include: 'Acquire', 'Renew', 'Change', 'Release', 'Break'

BreakPeriod

Gets or sets optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60.

LeaseDuration

Gets or sets required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires.

LeaseId

Gets or sets identifies the lease. Can be specified in any valid GUID string format.

ProposedLeaseId

Gets or sets optional for acquire, required for change. Proposed lease ID, in a GUID string format.

Methods

Validate()

Validate the object.

Applies to