次の方法で共有


LeaseShareRequest コンストラクター

定義

オーバーロード

LeaseShareRequest()

LeaseShareRequest クラスの新しいインスタンスを初期化します。

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

LeaseShareRequest クラスの新しいインスタンスを初期化します。

LeaseShareRequest()

LeaseShareRequest クラスの新しいインスタンスを初期化します。

public LeaseShareRequest ();
Public Sub New ()

適用対象

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

LeaseShareRequest クラスの新しいインスタンスを初期化します。

public LeaseShareRequest (string action, string leaseId = default, int? breakPeriod = default, int? leaseDuration = default, string proposedLeaseId = default);
new Microsoft.Azure.Management.Storage.Models.LeaseShareRequest : string * string * Nullable<int> * Nullable<int> * string -> Microsoft.Azure.Management.Storage.Models.LeaseShareRequest
Public Sub New (action As String, 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
String

リース アクションを指定します。 使用可能なアクションの 1 つを指定できます。 使用できる値は、'Acquire'、'Renew'、'Change'、'Release'、'Break' です。

leaseId
String

リースを識別します。 任意の有効な GUID 文字列形式で指定できます。

breakPeriod
Nullable<Int32>

省略可能。 中断アクションの場合、リースが中断される前に、提案された期間を 0 から 60 の間で秒単位で続行する必要があります。

leaseDuration
Nullable<Int32>

取得に必要です。 リース期間 (秒単位) を指定します。無期限のリースには -1 を指定します。

proposedLeaseId
String

acquire の場合は省略可能。変更には必須です。 GUID 文字列形式の推奨リース ID。

適用対象