azure-storage-blobs
Public Member Functions | Static Public Attributes | List of all members
Azure::Storage::Blobs::Models::LeaseState Class Referencefinal

Extensible enum used to identify the state of lease.

#include <blob_rest_client.hpp>

Public Member Functions

 LeaseState (std::string value)
 
bool operator== (const LeaseState &other) const
 
bool operator!= (const LeaseState &other) const
 
const std::string & ToString () const
 

Static Public Attributes

AZ_STORAGE_BLOBS_DLLEXPORT static const LeaseState Available
 
AZ_STORAGE_BLOBS_DLLEXPORT static const LeaseState Leased
 
AZ_STORAGE_BLOBS_DLLEXPORT static const LeaseState Expired
 
AZ_STORAGE_BLOBS_DLLEXPORT static const LeaseState Breaking
 
AZ_STORAGE_BLOBS_DLLEXPORT static const LeaseState Broken
 

Member Data Documentation

◆ Available

const LeaseState Azure::Storage::Blobs::Models::LeaseState::Available
static

The lease is unlocked and can be acquired.

◆ Breaking

const LeaseState Azure::Storage::Blobs::Models::LeaseState::Breaking
static

The lease has been broken, but the lease will continue to be locked until the break period has expired.

◆ Broken

const LeaseState Azure::Storage::Blobs::Models::LeaseState::Broken
static

The lease has been broken, and the break period has expired.

◆ Expired

const LeaseState Azure::Storage::Blobs::Models::LeaseState::Expired
static

The lease duration has expired.

◆ Leased

const LeaseState Azure::Storage::Blobs::Models::LeaseState::Leased
static

The lease is locked.


The documentation for this class was generated from the following files: