다음을 통해 공유


LeaseShareRequest Class

Definition

Lease Share request schema.

public class LeaseShareRequest
type LeaseShareRequest = class
Public Class LeaseShareRequest
Inheritance
LeaseShareRequest

Constructors

LeaseShareRequest()

Initializes a new instance of the LeaseShareRequest class.

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

Initializes a new instance of the LeaseShareRequest 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