IPWorks Cloud 2020 iOS Edition

Questions / Feedback?

blobLeaseState (property)

The lease state of the blob.

Syntax

- (int)blobLeaseState:(int)blobIndex;

/* Possible Values */
ABLS_AVAILABLE(0),
ABLS_LEASED(1),
ABLS_EXPIRED(2),
ABLS_BREAKING(3),
ABLS_BROKEN(4)
public func blobLeaseState(blobIndex: Int32) throws -> AzureblobBlobLeaseStates
public enum AzureblobBlobLeaseStates : Int32 { case ablsAvailable = 0 case ablsLeased = 1 case ablsExpired = 2 case ablsBreaking = 3 case ablsBroken = 4 }

Default Value

0

Remarks

The lease state of the blob.

This property reflects the lease state of the blob. Possible values are:

ablsAvailable (0) The blob's lease is unlocked and can be acquired.
ablsLeased (1) The blob's lease is locked.
ablsExpired (2) The lease duration has expired.
ablsBreaking (3) The lease has been broken, but will continue to be locked until the break period expires.
ablsBroken (4) The lease has been broken, and the break period has expired.

This property is always ablsAvailable (0) when BlobIsLeased is false.

The BlobIndex parameter specifies the index of the item in the array. The size of the array is controlled by the BlobCount property.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 iOS Edition - Version 20.0 [Build 8265]