LeaseContainerContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lease Container request schema.
public class LeaseContainerContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.LeaseContainerContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.LeaseContainerContent>
public class LeaseContainerContent
type LeaseContainerContent = class
interface IJsonModel<LeaseContainerContent>
interface IPersistableModel<LeaseContainerContent>
type LeaseContainerContent = class
Public Class LeaseContainerContent
Implements IJsonModel(Of LeaseContainerContent), IPersistableModel(Of LeaseContainerContent)
Public Class LeaseContainerContent
- Inheritance
-
LeaseContainerContent
- Implements
Constructors
LeaseContainerContent(LeaseContainerAction) |
Initializes a new instance of LeaseContainerContent. |
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. |
Explicit Interface Implementations
IJsonModel<LeaseContainerContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<LeaseContainerContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<LeaseContainerContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<LeaseContainerContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<LeaseContainerContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應