Partager via


ILeaseShareRequest Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.LeaseShareRequestTypeConverter))]
public interface ILeaseShareRequest : Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.LeaseShareRequestTypeConverter))>]
type ILeaseShareRequest = interface
    interface IJsonSerializable
Public Interface ILeaseShareRequest
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Name Description
Action

Specifies the lease action. Can be one of the available actions.

BreakPeriod

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

LeaseDuration

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

LeaseId

Identifies the lease. Can be specified in any valid GUID string format.

ProposedLeaseId

Optional for acquire, required for change. Proposed lease ID, in a GUID string format.

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to