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 a share in the Windows Azure File service. More...
Public Member Functions | |
cloud_file_share () | |
Initializes a new instance of the azure::storage::cloud_file_share class. More... | |
WASTORAGE_API | cloud_file_share (storage_uri uri) |
Initializes a new instance of the azure::storage::cloud_file_share class. More... | |
WASTORAGE_API | cloud_file_share (storage_uri uri, storage_credentials credentials) |
Initializes a new instance of the azure::storage::cloud_file_share class. More... | |
WASTORAGE_API | cloud_file_share (utility::string_t name, cloud_file_client client) |
Initializes a new instance of the azure::storage::cloud_file_share class. More... | |
WASTORAGE_API | cloud_file_share (utility::string_t name, cloud_file_client client, cloud_file_share_properties properties, cloud_metadata metadata) |
Initializes a new instance of the azure::storage::cloud_file_share class. More... | |
void | create () |
Creates the share. More... | |
void | create (utility::size64_t max_size) |
Creates the share and specifies the size of the share. More... | |
void | create (const file_request_options &options, operation_context context) |
Creates the share. More... | |
void | create (utility::size64_t max_size, const file_request_options &options, operation_context context) |
Creates the share and specifies the size of the share. More... | |
pplx::task< void > | create_async () |
Intitiates an asynchronous operation to create the share. More... | |
pplx::task< void > | create_async (utility::size64_t max_size) |
Intitiates an asynchronous operation to create the share. More... | |
WASTORAGE_API pplx::task< void > | create_async (const file_request_options &options, operation_context context) |
Intitiates an asynchronous operation to create the share. More... | |
WASTORAGE_API pplx::task< void > | create_async (utility::size64_t max_size, const file_request_options &options, operation_context context) |
Intitiates an asynchronous operation to create the share. More... | |
bool | create_if_not_exists () |
Creates the share if it does not already exist. More... | |
bool | create_if_not_exists (utility::size64_t max_size) |
Creates the share if it does not already exist. More... | |
bool | create_if_not_exists (const file_request_options &options, operation_context context) |
Creates the share if it does not already exist. More... | |
bool | create_if_not_exists (utility::size64_t max_size, const file_request_options &options, operation_context context) |
Creates the share if it does not already exist. More... | |
pplx::task< bool > | create_if_not_exists_async () |
Intitiates an asynchronous operation to create the share. More... | |
pplx::task< bool > | create_if_not_exists_async (utility::size64_t max_size) |
Intitiates an asynchronous operation to create the share if it does not already exist and specify the size of the share. More... | |
WASTORAGE_API pplx::task< bool > | create_if_not_exists_async (const file_request_options &options, operation_context context) |
Intitiates an asynchronous operation to create the share. More... | |
WASTORAGE_API pplx::task< bool > | create_if_not_exists_async (utility::size64_t max_size, const file_request_options &options, operation_context context) |
Intitiates an asynchronous operation to create the share if it does not already exist and specify the size of the share. More... | |
void | delete_share () |
Deletes the share. More... | |
void | delete_share (const file_access_condition &condition, const file_request_options &options, operation_context context) |
Deletes the share. More... | |
pplx::task< void > | delete_share_async () |
Intitiates an asynchronous operation to delete the share. More... | |
WASTORAGE_API pplx::task< void > | delete_share_async (const file_access_condition &condition, const file_request_options &options, operation_context context) |
Intitiates an asynchronous operation to delete the share. More... | |
bool | delete_share_if_exists () |
Deletes the share if it already exists. More... | |
bool | delete_share_if_exists (const file_access_condition &condition, const file_request_options &options, operation_context context) |
Deletes the share if it already exists. More... | |
pplx::task< bool > | delete_share_if_exists_async () |
Intitiates an asynchronous operation to delete the share if it already exists. More... | |
WASTORAGE_API pplx::task< bool > | delete_share_if_exists_async (const file_access_condition &condition, const file_request_options &options, operation_context context) |
Intitiates an asynchronous operation to delete the share if it already exists. More... | |
bool | exists () |
Checks existence of the share. More... | |
bool | exists (const file_request_options &options, operation_context context) |
Checks existence of the share. More... | |
pplx::task< bool > | exists_async () |
Intitiates an asynchronous operation to check the existence of the share. More... | |
pplx::task< bool > | exists_async (const file_request_options &options, operation_context context) |
Intitiates an asynchronous operation to check the existence of the share. More... | |
void | download_attributes () |
Retrieves the share's attributes. More... | |
void | download_attributes (const file_access_condition &condition, const file_request_options &options, operation_context context) |
Retrieves the share's attributes. More... | |
pplx::task< void > | download_attributes_async () |
Intitiates an asynchronous operation to retrieve the share's attributes. More... | |
WASTORAGE_API pplx::task< void > | download_attributes_async (const file_access_condition &condition, const file_request_options &options, operation_context context) |
Intitiates an asynchronous operation to retrieve the share's attributes. More... | |
void | upload_metadata () const |
Updates the share's metadata. More... | |
void | upload_metadata (const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Updates the share's metadata. More... | |
pplx::task< void > | upload_metadata_async () const |
Intitiates an asynchronous operation to update the share's metadata. More... | |
WASTORAGE_API pplx::task< void > | upload_metadata_async (const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Intitiates an asynchronous operation to update the share's metadata. More... | |
int32_t | download_share_usage () const |
Retrieves the share's statistics. More... | |
int32_t | download_share_usage (const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Retrieves the share's statistics. More... | |
pplx::task< int32_t > | download_share_usage_async () const |
Intitiates an asynchronous operation to retrieve the share's statistics. More... | |
WASTORAGE_API pplx::task< int32_t > | download_share_usage_async (const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Intitiates an asynchronous operation to retrieve the share's statistics. More... | |
int64_t | download_share_usage_in_bytes () const |
Retrieves the share's statistics. More... | |
int64_t | download_share_usage_in_bytes (const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Retrieves the share's statistics. More... | |
pplx::task< int64_t > | download_share_usage_in_bytes_async () const |
Intitiates an asynchronous operation to retrieve the share's statistics. More... | |
WASTORAGE_API pplx::task< int64_t > | download_share_usage_in_bytes_async (const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Intitiates an asynchronous operation to retrieve the share's statistics. More... | |
file_share_permissions | download_permissions () const |
Gets permissions settings for the share. More... | |
file_share_permissions | download_permissions (const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Gets permissions settings for the share. More... | |
pplx::task< file_share_permissions > | download_permissions_async () const |
Intitiates an asynchronous operation to get permissions settings for the share. More... | |
WASTORAGE_API pplx::task< file_share_permissions > | download_permissions_async (const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Intitiates an asynchronous operation to get permissions settings for the share. More... | |
void | upload_permissions (const file_share_permissions &permissions) const |
Uploads permissions settings for the share. More... | |
void | upload_permissions (const file_share_permissions &permissions, const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Uploads permissions settings for the share. More... | |
pplx::task< void > | upload_permissions_async (const file_share_permissions &permissions) const |
Intitiates an asynchronous operation to upload permissions settings for the share. More... | |
WASTORAGE_API pplx::task< void > | upload_permissions_async (const file_share_permissions &permissions, const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Intitiates an asynchronous operation to upload permissions settings for the share. More... | |
utility::string_t | download_file_permission (const utility::string_t &permission_key) const |
Gets the Security Descriptor Definition Language (SDDL) for a given security descriptor. More... | |
utility::string_t | download_file_permission (const utility::string_t &permission_key, const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Gets the Security Descriptor Definition Language (SDDL) for a given security descriptor. More... | |
pplx::task< utility::string_t > | download_file_permission_async (const utility::string_t &permission_key) const |
Intitiates an asynchronous operation to get the Security Descriptor Definition Language (SDDL) for a given security descriptor. More... | |
WASTORAGE_API pplx::task< utility::string_t > | download_file_permission_async (const utility::string_t &permission_key, const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Intitiates an asynchronous operation to get the Security Descriptor Definition Language (SDDL) for a given security descriptor. More... | |
utility::string_t | upload_file_permission (const utility::string_t &permission) const |
Creates a permission in the share. The created security descriptor can be used for the files/directories in this share. More... | |
utility::string_t | upload_file_permission (const utility::string_t &permission, const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Creates a permission in the share. The created security descriptor can be used for the files/directories in this share. More... | |
pplx::task< utility::string_t > | upload_file_permission_async (const utility::string_t &permission) const |
Intitiates an asynchronous operation to creates a permission in the share. The created security descriptor can be used for the files/directories in this share. More... | |
WASTORAGE_API pplx::task< utility::string_t > | upload_file_permission_async (const utility::string_t &permission, const file_access_condition &condition, const file_request_options &options, operation_context context) const |
Intitiates an asynchronous operation to creates a permission in the share. The created security descriptor can be used for the files/directories in this share. More... | |
void | resize (utility::size64_t quota) |
Resize the share. More... | |
void | resize (utility::size64_t quota, const file_access_condition &condition, const file_request_options &options, operation_context context) |
Resize the share. More... | |
pplx::task< void > | resize_async (utility::size64_t quota) |
Intitiates an asynchronous operation to resize the share. More... | |
WASTORAGE_API pplx::task< void > | resize_async (utility::size64_t quota, const file_access_condition &condition, const file_request_options &options, operation_context context) |
Intitiates an asynchronous operation to resize the share. More... | |
utility::string_t | get_shared_access_signature (const file_shared_access_policy &policy) const |
Returns a shared access signature for the share. More... | |
WASTORAGE_API utility::string_t | get_shared_access_signature (const file_shared_access_policy &policy, const utility::string_t &stored_policy_identifier) const |
Returns a shared access signature for the share. More... | |
WASTORAGE_API utility::string_t | get_shared_access_signature (const file_shared_access_policy &policy, const utility::string_t &stored_policy_identifier, const cloud_file_shared_access_headers &headers) const |
Returns a shared access signature for the share. More... | |
WASTORAGE_API cloud_file_directory | get_root_directory_reference () const |
Returns a reference to an azure::storage::cloud_file_directory object. More... | |
WASTORAGE_API cloud_file_directory | get_directory_reference (utility::string_t name) const |
Returns a reference to an azure::storage::cloud_file_directory object with the specified name. More... | |
utility::string_t | name () const |
Gets the share's name. More... | |
const cloud_file_client & | service_client () const |
Gets the azure::storage::cloud_file_client object that represents the File service. More... | |
const storage_uri & | uri () const |
Gets the file URI for all locations. More... | |
cloud_metadata & | metadata () |
Gets the share's system metadata. More... | |
const cloud_metadata & | metadata () const |
Gets the share's system metadata. More... | |
cloud_file_share_properties & | properties () |
Gets the share's system properties. More... | |
const cloud_file_share_properties & | properties () const |
Gets the share's system properties. More... | |
bool | is_valid () const |
Indicates whether the azure::storage::cloud_file_share object is valid. More... | |
Represents a share in the Windows Azure File service.
|
inline |
Initializes a new instance of the azure::storage::cloud_file_share class.
WASTORAGE_API azure::storage::cloud_file_share::cloud_file_share | ( | storage_uri | uri | ) |
Initializes a new instance of the azure::storage::cloud_file_share class.
uri | An azure::storage::storage_uri object containing the absolute URI to the share for all locations. |
WASTORAGE_API azure::storage::cloud_file_share::cloud_file_share | ( | storage_uri | uri, |
storage_credentials | credentials | ||
) |
Initializes a new instance of the azure::storage::cloud_file_share class.
uri | An azure::storage::storage_uri object containing the absolute URI to the share for all locations. |
credentials | The azure::storage::storage_credentials to use. |
WASTORAGE_API azure::storage::cloud_file_share::cloud_file_share | ( | utility::string_t | name, |
cloud_file_client | client | ||
) |
Initializes a new instance of the azure::storage::cloud_file_share class.
name | The name of the share. |
client | The File service client. |
WASTORAGE_API azure::storage::cloud_file_share::cloud_file_share | ( | utility::string_t | name, |
cloud_file_client | client, | ||
cloud_file_share_properties | properties, | ||
cloud_metadata | metadata | ||
) |
Initializes a new instance of the azure::storage::cloud_file_share class.
name | The name of the share. |
client | The File service client. |
properties | The properties for the container. |
metadata | The metadata for the container. |
|
inline |
Creates the share.
|
inline |
Creates the share and specifies the size of the share.
max_size | An utility::size64_t value that specifies the size of the share. |
|
inline |
Creates the share.
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation. |
|
inline |
Creates the share and specifies the size of the share.
max_size | An utility::size64_t value that specifies the size of the share. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation. |
|
inline |
Intitiates an asynchronous operation to create the share.
|
inline |
Intitiates an asynchronous operation to create the share.
max_size | An utility::size64_t value that specifies the size of the share. |
WASTORAGE_API pplx::task<void> azure::storage::cloud_file_share::create_async | ( | const file_request_options & | options, |
operation_context | context | ||
) |
Intitiates an asynchronous operation to create the share.
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation. |
WASTORAGE_API pplx::task<void> azure::storage::cloud_file_share::create_async | ( | utility::size64_t | max_size, |
const file_request_options & | options, | ||
operation_context | context | ||
) |
Intitiates an asynchronous operation to create the share.
max_size | An utility::size64_t value that specifies the size of the share. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation. |
|
inline |
Creates the share if it does not already exist.
true
if the share did not already exist and was created; otherwise false
.
|
inline |
Creates the share if it does not already exist.
max_size | An utility::size64_t value that specifies the size of the share. |
true
if the share did not already exist and was created; otherwise false
.
|
inline |
Creates the share if it does not already exist.
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation. |
true
if the share did not already exist and was created; otherwise false
.
|
inline |
Creates the share if it does not already exist.
max_size | An utility::size64_t value that specifies the size of the share. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation. |
true
if the share did not already exist and was created; otherwise false
.
|
inline |
Intitiates an asynchronous operation to create the share.
|
inline |
Intitiates an asynchronous operation to create the share if it does not already exist and specify the size of the share.
max_size | An utility::size64_t value that specifies the size of the share. |
WASTORAGE_API pplx::task<bool> azure::storage::cloud_file_share::create_if_not_exists_async | ( | const file_request_options & | options, |
operation_context | context | ||
) |
Intitiates an asynchronous operation to create the share.
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation. |
WASTORAGE_API pplx::task<bool> azure::storage::cloud_file_share::create_if_not_exists_async | ( | utility::size64_t | max_size, |
const file_request_options & | options, | ||
operation_context | context | ||
) |
Intitiates an asynchronous operation to create the share if it does not already exist and specify the size of the share.
max_size | An utility::size64_t value that specifies the size of the share. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation. |
|
inline |
Deletes the share.
|
inline |
Deletes the share.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Intitiates an asynchronous operation to delete the share.
WASTORAGE_API pplx::task<void> azure::storage::cloud_file_share::delete_share_async | ( | const file_access_condition & | condition, |
const file_request_options & | options, | ||
operation_context | context | ||
) |
Intitiates an asynchronous operation to delete the share.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Deletes the share if it already exists.
true
if the share did not already exist and was deleted; otherwise false
.
|
inline |
Deletes the share if it already exists.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
true
if the share did not already exist and was deleted; otherwise false
.
|
inline |
Intitiates an asynchronous operation to delete the share if it already exists.
WASTORAGE_API pplx::task<bool> azure::storage::cloud_file_share::delete_share_if_exists_async | ( | const file_access_condition & | condition, |
const file_request_options & | options, | ||
operation_context | context | ||
) |
Intitiates an asynchronous operation to delete the share if it already exists.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Retrieves the share's attributes.
|
inline |
Retrieves the share's attributes.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Intitiates an asynchronous operation to retrieve the share's attributes.
WASTORAGE_API pplx::task<void> azure::storage::cloud_file_share::download_attributes_async | ( | const file_access_condition & | condition, |
const file_request_options & | options, | ||
operation_context | context | ||
) |
Intitiates an asynchronous operation to retrieve the share's attributes.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Gets the Security Descriptor Definition Language (SDDL) for a given security descriptor.
permission_key | Security descriptor of the permission. |
|
inline |
Gets the Security Descriptor Definition Language (SDDL) for a given security descriptor.
permission_key | Security descriptor of the permission. |
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Intitiates an asynchronous operation to get the Security Descriptor Definition Language (SDDL) for a given security descriptor.
permission_key | Security descriptor of the permission. |
WASTORAGE_API pplx::task<utility::string_t> azure::storage::cloud_file_share::download_file_permission_async | ( | const utility::string_t & | permission_key, |
const file_access_condition & | condition, | ||
const file_request_options & | options, | ||
operation_context | context | ||
) | const |
Intitiates an asynchronous operation to get the Security Descriptor Definition Language (SDDL) for a given security descriptor.
permission_key | Security descriptor of the permission. |
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Gets permissions settings for the share.
|
inline |
Gets permissions settings for the share.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Intitiates an asynchronous operation to get permissions settings for the share.
WASTORAGE_API pplx::task<file_share_permissions> azure::storage::cloud_file_share::download_permissions_async | ( | const file_access_condition & | condition, |
const file_request_options & | options, | ||
operation_context | context | ||
) | const |
Intitiates an asynchronous operation to get permissions settings for the share.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Retrieves the share's statistics.
This method is deprecated in favor of download_shared_usage_in_bytes.
|
inline |
Retrieves the share's statistics.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
This method is deprecated in favor of download_shared_usage_in_bytes.
|
inline |
Intitiates an asynchronous operation to retrieve the share's statistics.
This method is deprecated in favor of download_shared_usage_in_bytes_async.
WASTORAGE_API pplx::task<int32_t> azure::storage::cloud_file_share::download_share_usage_async | ( | const file_access_condition & | condition, |
const file_request_options & | options, | ||
operation_context | context | ||
) | const |
Intitiates an asynchronous operation to retrieve the share's statistics.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
This method is deprecated in favor of download_shared_usage_in_bytes_async.
|
inline |
Retrieves the share's statistics.
|
inline |
Retrieves the share's statistics.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Intitiates an asynchronous operation to retrieve the share's statistics.
WASTORAGE_API pplx::task<int64_t> azure::storage::cloud_file_share::download_share_usage_in_bytes_async | ( | const file_access_condition & | condition, |
const file_request_options & | options, | ||
operation_context | context | ||
) | const |
Intitiates an asynchronous operation to retrieve the share's statistics.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Checks existence of the share.
true
if the share exists.
|
inline |
Checks existence of the share.
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
true
if the share exists.
|
inline |
Intitiates an asynchronous operation to check the existence of the share.
|
inline |
Intitiates an asynchronous operation to check the existence of the share.
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
WASTORAGE_API cloud_file_directory azure::storage::cloud_file_share::get_directory_reference | ( | utility::string_t | name | ) | const |
Returns a reference to an azure::storage::cloud_file_directory object with the specified name.
name | The name of the directory. |
WASTORAGE_API cloud_file_directory azure::storage::cloud_file_share::get_root_directory_reference | ( | ) | const |
Returns a reference to an azure::storage::cloud_file_directory object.
|
inline |
Returns a shared access signature for the share.
policy | The access policy for the shared access signature. |
|
inline |
Returns a shared access signature for the share.
policy | The access policy for the shared access signature. |
stored_policy_identifier | A share-level access policy. |
WASTORAGE_API utility::string_t azure::storage::cloud_file_share::get_shared_access_signature | ( | const file_shared_access_policy & | policy, |
const utility::string_t & | stored_policy_identifier, | ||
const cloud_file_shared_access_headers & | headers | ||
) | const |
Returns a shared access signature for the share.
policy | The access policy for the shared access signature. |
stored_policy_identifier | A share-level access policy. |
headers | The optional header values to set for a share returned with this SAS. |
|
inline |
Indicates whether the azure::storage::cloud_file_share object is valid.
true
if the azure::storage::cloud_file_share object is valid; otherwise, false
.
|
inline |
Gets the share's system metadata.
|
inline |
Gets the share's system metadata.
|
inline |
Gets the share's name.
|
inline |
Gets the share's system properties.
|
inline |
Gets the share's system properties.
|
inline |
Resize the share.
quota | The size to apply to the share. |
|
inline |
Resize the share.
quota | The size to apply to the share. |
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Intitiates an asynchronous operation to resize the share.
quota | The size to apply to the share. |
WASTORAGE_API pplx::task<void> azure::storage::cloud_file_share::resize_async | ( | utility::size64_t | quota, |
const file_access_condition & | condition, | ||
const file_request_options & | options, | ||
operation_context | context | ||
) |
Intitiates an asynchronous operation to resize the share.
quota | The size to apply to the share. |
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Gets the azure::storage::cloud_file_client object that represents the File service.
|
inline |
Creates a permission in the share. The created security descriptor can be used for the files/directories in this share.
permission | A utility::string_t that contains permission in the Security Descriptor Definition Language (SDDL). |
|
inline |
Creates a permission in the share. The created security descriptor can be used for the files/directories in this share.
permission | A utility::string_t that contains permission in the Security Descriptor Definition Language (SDDL). |
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Intitiates an asynchronous operation to creates a permission in the share. The created security descriptor can be used for the files/directories in this share.
permission | A utility::string_t that contains permission in the Security Descriptor Definition Language (SDDL). |
WASTORAGE_API pplx::task<utility::string_t> azure::storage::cloud_file_share::upload_file_permission_async | ( | const utility::string_t & | permission, |
const file_access_condition & | condition, | ||
const file_request_options & | options, | ||
operation_context | context | ||
) | const |
Intitiates an asynchronous operation to creates a permission in the share. The created security descriptor can be used for the files/directories in this share.
permission | A utility::string_t that contains permission in the Security Descriptor Definition Language (SDDL). |
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Updates the share's metadata.
|
inline |
Updates the share's metadata.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Intitiates an asynchronous operation to update the share's metadata.
WASTORAGE_API pplx::task<void> azure::storage::cloud_file_share::upload_metadata_async | ( | const file_access_condition & | condition, |
const file_request_options & | options, | ||
operation_context | context | ||
) | const |
Intitiates an asynchronous operation to update the share's metadata.
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Uploads permissions settings for the share.
permissions | The permissions to apply to the share. |
|
inline |
Uploads permissions settings for the share.
permissions | The permissions to apply to the share. |
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Intitiates an asynchronous operation to upload permissions settings for the share.
permissions | The permissions to apply to the share. |
WASTORAGE_API pplx::task<void> azure::storage::cloud_file_share::upload_permissions_async | ( | const file_share_permissions & | permissions, |
const file_access_condition & | condition, | ||
const file_request_options & | options, | ||
operation_context | context | ||
) | const |
Intitiates an asynchronous operation to upload permissions settings for the share.
permissions | The permissions to apply to the share. |
condition | An azure::storage::file_access_condition object that represents the access condition for the operation. |
options | An azure::storage::file_request_options object that specifies additional options for the request. |
context | An azure::storage::operation_context object that represents the context for the current operation. |
|
inline |
Gets the file URI for all locations.