Share via


ArmStorageModelFactory.LeaseContainerResponse(String, String) Method

Definition

Initializes a new instance of LeaseContainerResponse.

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

Parameters

leaseId
String

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

leaseTimeSeconds
String

Approximate time remaining in the lease period, in seconds.

Returns

A new LeaseContainerResponse instance for mocking.

Applies to