你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LeaseShareRequest interface

租用共享请求架构。

属性

action

指定租约作。 可以是可用作之一。

breakPeriod

自选。 对于中断作,建议的租约应在中断前继续,以秒为单位,介于 0 到 60 之间。

leaseDuration

获取时需要。 为永不过期的租约指定租约的持续时间(以秒为单位)或负数(-1)。

leaseId

标识租约。 可以采用任何有效的 GUID 字符串格式指定。

proposedLeaseId

可选的获取,需要更改。 建议的租约 ID,采用 GUID 字符串格式。

属性详细信息

action

指定租约作。 可以是可用作之一。

action: string

属性值

string

breakPeriod

自选。 对于中断作,建议的租约应在中断前继续,以秒为单位,介于 0 到 60 之间。

breakPeriod?: number

属性值

number

leaseDuration

获取时需要。 为永不过期的租约指定租约的持续时间(以秒为单位)或负数(-1)。

leaseDuration?: number

属性值

number

leaseId

标识租约。 可以采用任何有效的 GUID 字符串格式指定。

leaseId?: string

属性值

string

proposedLeaseId

可选的获取,需要更改。 建议的租约 ID,采用 GUID 字符串格式。

proposedLeaseId?: string

属性值

string