Lease interface

The details for a specific lease.

Properties

date

UTC date/time value generated by the service that indicates the time at which the response was initiated

errorCode

Error code if any associated with the response that returned the Lease information.

etag

The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes.

lastModified

Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob.

leaseId

Uniquely identifies a container's lease

leaseTime

Approximate time remaining in the lease period, in seconds.

requestId

This header uniquely identifies the request that was made and can be used for troubleshooting the request.

version

Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above.

Property Details

date

UTC date/time value generated by the service that indicates the time at which the response was initiated

date?: Date

Property Value

Date

errorCode

Error code if any associated with the response that returned the Lease information.

errorCode?: string

Property Value

string

etag

The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes.

etag?: string

Property Value

string

lastModified

Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob.

lastModified?: Date

Property Value

Date

leaseId

Uniquely identifies a container's lease

leaseId?: string

Property Value

string

leaseTime

Approximate time remaining in the lease period, in seconds.

leaseTime?: number

Property Value

number

requestId

This header uniquely identifies the request that was made and can be used for troubleshooting the request.

requestId?: string

Property Value

string

version

Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above.

version?: string

Property Value

string