Share via


ArmStorageModelFactory.LeaseShareResponse(String, String) Method

Definition

Initializes a new instance of LeaseShareResponse.

public static Azure.ResourceManager.Storage.Models.LeaseShareResponse LeaseShareResponse (string leaseId = default, string leaseTimeSeconds = default);
static member LeaseShareResponse : string * string -> Azure.ResourceManager.Storage.Models.LeaseShareResponse
Public Shared Function LeaseShareResponse (Optional leaseId As String = Nothing, Optional leaseTimeSeconds As String = Nothing) As LeaseShareResponse

Parameters

leaseId
String

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

leaseTimeSeconds
String

Approximate time remaining in the lease period, in seconds.

Returns

A new LeaseShareResponse instance for mocking.

Applies to