Partager via


ILeaseContainerRequest Interface

Definition

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

Properties

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to