LeaseShareResponse Class

Definition

Lease Share response schema.

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

Properties

LeaseId

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

LeaseTimeSeconds

Approximate time remaining in the lease period, in seconds.

Explicit Interface Implementations

IJsonModel<LeaseShareResponse>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LeaseShareResponse>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LeaseShareResponse>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LeaseShareResponse>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LeaseShareResponse>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to