Microsoft Azure Storage Client Library for C++
7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
|
Represents an item that may be returned by a blob listing operation. More...
Public Member Functions | |
list_blob_item (utility::string_t blob_name, utility::string_t snapshot_time, utility::string_t version_id, bool is_current_version, cloud_blob_container container, cloud_blob_properties properties, cloud_metadata metadata, copy_state copy_state) | |
Initializes a new instance of the azure::storage::list_blob_item class that represents a cloud blob. More... | |
list_blob_item (utility::string_t directory_name, cloud_blob_container container) | |
Initializes a new instance of the azure::storage::list_blob_item class that represents a cloud blob directory. More... | |
bool | is_blob () const |
Gets a value indicating whether this azure::storage::list_blob_item represents a cloud blob or a cloud blob directory. More... | |
bool | is_current_version () const |
Gets a value indicating whether this azure::storage::list_blob_item represents current active version of a blob. More... | |
cloud_blob | as_blob () const |
Returns the item as an azure::storage::cloud_blob object, if and only if it represents a cloud blob. More... | |
cloud_blob_directory | as_directory () const |
Returns the item as an azure::storage::cloud_blob_directory object, if and only if it represents a cloud blob directory. More... | |
Represents an item that may be returned by a blob listing operation.
|
inlineexplicit |
Initializes a new instance of the azure::storage::list_blob_item class that represents a cloud blob.
blob_name | The name of the blob. |
snapshot_time | The snapshot timestamp, if the blob is a snapshot. |
version_id | The version id of the blob. |
is_current_version | If this blob version is current active version. |
container | A reference to the parent container. |
properties | A set of properties for the blob. |
metadata | User-defined metadata for the blob. |
copy_state | the state of the most recent or pending copy operation. |
|
inlineexplicit |
Initializes a new instance of the azure::storage::list_blob_item class that represents a cloud blob directory.
directory_name | Name of the virtual directory. |
container | The container. |
|
inline |
Returns the item as an azure::storage::cloud_blob object, if and only if it represents a cloud blob.
|
inline |
Returns the item as an azure::storage::cloud_blob_directory object, if and only if it represents a cloud blob directory.
|
inline |
Gets a value indicating whether this azure::storage::list_blob_item represents a cloud blob or a cloud blob directory.
true
if this azure::storage::list_blob_item represents a cloud blob; otherwise, false
.
|
inline |
Gets a value indicating whether this azure::storage::list_blob_item represents current active version of a blob.
true
if this azure::storage::list_blob_item represents current active version of a blob; otherwise, false
.