Partager via


LeaseShareResponse Class

Definition

Lease Share response schema.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.LeaseShareResponseTypeConverter))]
public class LeaseShareResponse : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ILeaseShareResponse
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.LeaseShareResponseTypeConverter))>]
type LeaseShareResponse = class
    interface ILeaseShareResponse
    interface IJsonSerializable
Public Class LeaseShareResponse
Implements ILeaseShareResponse
Inheritance
LeaseShareResponse
Attributes
Implements

Constructors

Name Description
LeaseShareResponse()

Creates an new LeaseShareResponse instance.

Properties

Name Description
LeaseId

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

LeaseTimeSecond

Approximate time remaining in the lease period, in seconds.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LeaseShareResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LeaseShareResponse.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ILeaseShareResponse.

FromJsonString(String)

Creates a new instance of LeaseShareResponse, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of LeaseShareResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to