ArmStorageModelFactory.LeaseShareResponse(String, String) Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET