你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
LeaseContainerRequest 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
LeaseContainerRequest() |
初始化 LeaseContainerRequest 类的新实例。 |
LeaseContainerRequest(Action1, String, Nullable<Int32>, Nullable<Int32>, String) |
初始化 LeaseContainerRequest 类的新实例。 |
LeaseContainerRequest()
初始化 LeaseContainerRequest 类的新实例。
public LeaseContainerRequest ();
Public Sub New ()
适用于
LeaseContainerRequest(Action1, String, Nullable<Int32>, Nullable<Int32>, String)
初始化 LeaseContainerRequest 类的新实例。
public LeaseContainerRequest (Microsoft.Azure.Management.Storage.Fluent.Models.Action1 action, string leaseId = default, int? breakPeriod = default, int? leaseDuration = default, string proposedLeaseId = default);
new Microsoft.Azure.Management.Storage.Fluent.Models.LeaseContainerRequest : Microsoft.Azure.Management.Storage.Fluent.Models.Action1 * string * Nullable<int> * Nullable<int> * string -> Microsoft.Azure.Management.Storage.Fluent.Models.LeaseContainerRequest
Public Sub New (action As Action1, Optional leaseId As String = Nothing, Optional breakPeriod As Nullable(Of Integer) = Nothing, Optional leaseDuration As Nullable(Of Integer) = Nothing, Optional proposedLeaseId As String = Nothing)
参数
- action
- Action1
指定租用操作。 可以是可用操作之一。 可能的值包括:“Acquire”、“Renew”、“Change”、“Release”、“Break”
- leaseId
- String
标识租约。 可以采用任何有效的 GUID 字符串格式指定。
- proposedLeaseId
- String
获取是可选的,更改是必需的。 建议的租约 ID,采用 GUID 字符串格式。