Share via


LeaseContainerResponse Class

Definition

Lease Container response schema.

public class LeaseContainerResponse : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.LeaseContainerResponse>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.LeaseContainerResponse>
public class LeaseContainerResponse
type LeaseContainerResponse = class
    interface IJsonModel<LeaseContainerResponse>
    interface IPersistableModel<LeaseContainerResponse>
type LeaseContainerResponse = class
Public Class LeaseContainerResponse
Implements IJsonModel(Of LeaseContainerResponse), IPersistableModel(Of LeaseContainerResponse)
Public Class LeaseContainerResponse
Inheritance
LeaseContainerResponse
Implements

Properties

LeaseId

Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease.

LeaseTimeSeconds

Approximate time remaining in the lease period, in seconds.

Explicit Interface Implementations

IJsonModel<LeaseContainerResponse>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<LeaseContainerResponse>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LeaseContainerResponse>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LeaseContainerResponse>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<LeaseContainerResponse>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to