LeaseShareRequest 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 Share request schema.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.LeaseShareRequestTypeConverter))]
public class LeaseShareRequest : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ILeaseShareRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.LeaseShareRequestTypeConverter))>]
type LeaseShareRequest = class
interface ILeaseShareRequest
interface IJsonSerializable
Public Class LeaseShareRequest
Implements ILeaseShareRequest
- Inheritance
-
LeaseShareRequest
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| LeaseShareRequest() |
Creates an new LeaseShareRequest instance. |
Properties
| Name | Description |
|---|---|
| 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. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of LeaseShareRequest. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of LeaseShareRequest. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ILeaseShareRequest. |
| FromJsonString(String) |
Creates a new instance of LeaseShareRequest, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of LeaseShareRequest into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |