|
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 set of timeout and retry policy options that may be specified on a request against the File service. More...
Public Member Functions | |
| file_request_options () | |
| Initializes a new instance of the azure::storage::file_request_options class. More... | |
| void | apply_defaults (const file_request_options &other, bool apply_expiry=true) |
| Applies the default set of request options. More... | |
| bool | use_transactional_md5 () const |
| Gets a value indicating whether the content-MD5 hash will be calculated and validated for the request. More... | |
| void | set_use_transactional_md5 (bool value) |
| Indicates whether to calculate and validate the content-MD5 hash for the request. More... | |
| bool | disable_content_md5_validation () const |
| Gets a value indicating whether content-MD5 validation will be disabled when downloading files. More... | |
| void | set_disable_content_md5_validation (bool value) |
| Indicates whether to disable content-MD5 validation when downloading files. More... | |
| bool | store_file_content_md5 () const |
| Gets a value indicating whether the content-MD5 hash will be calculated and stored when uploading a file. More... | |
| void | set_store_file_content_md5 (bool value) |
| Indicates whether to calculate and store the content-MD5 hash when uploading a file. More... | |
| int | parallelism_factor () const |
| Gets the number of ranges that may be simultaneously uploaded or downloaded when uploading or downloading a file that is greater than the value specified by the single_blob_upload_threshold_in_bytes property in size. More... | |
| void | set_parallelism_factor (int value) |
| Sets the number of ranges that may be simultaneously uploaded or downloaded when uploading or downloading a file that is greater than the value specified by the single_blob_upload_threshold_in_bytes property in size. More... | |
Public Member Functions inherited from azure::storage::request_options | |
| azure::storage::retry_policy | retry_policy () const |
| Gets the retry policy for the request. More... | |
| void | set_retry_policy (azure::storage::retry_policy retry_policy) |
| Sets the retry policy for the request. More... | |
| const std::chrono::seconds | noactivity_timeout () const |
| void | set_noactivity_timeout (std::chrono::seconds noactivity_timeout) |
| const std::chrono::seconds | server_timeout () const |
| Gets the server timeout for the request. More... | |
| void | set_server_timeout (std::chrono::seconds server_timeout) |
| Sets the server timeout for the request. More... | |
| const std::chrono::milliseconds | maximum_execution_time () const |
| Gets the maximum execution time across all potential retries. More... | |
| void | set_maximum_execution_time (const std::chrono::milliseconds &maximum_execution_time) |
| Sets the maximum execution time across all potential retries. More... | |
| bool | is_maximum_execution_time_customized () const |
| Gets if the maximum execution time is set by customer. More... | |
| azure::storage::location_mode | location_mode () const |
| Gets the location mode of the request. More... | |
| void | set_location_mode (azure::storage::location_mode location_mode) |
| Sets the location mode of the request. More... | |
| size_t | http_buffer_size () const |
| Gets the number of bytes to buffer when reading from and writing to a network stream. More... | |
| void | set_http_buffer_size (size_t http_buffer_size) |
| Sets the number of bytes to buffer when reading from and writing to a network stream. More... | |
| bool | validate_certificates () const |
| Gets the server certificate validation property. More... | |
| void | set_validate_certificates (bool validate_certificates) |
| Sets the server certificate validation property. More... | |
| std::chrono::time_point< std::chrono::system_clock > | operation_expiry_time () const |
| Gets the expiry time across all potential retries for the request. More... | |
Represents a set of timeout and retry policy options that may be specified on a request against the File service.
|
inline |
Initializes a new instance of the azure::storage::file_request_options class.
|
inline |
Applies the default set of request options.
| other | A reference to a set of azure::storage::file_request_options. |
| apply_expiry | Specifies that an expiry time be applied to the request options. This parameter is used internally. |
|
inline |
Gets a value indicating whether content-MD5 validation will be disabled when downloading files.
true to disable content-MD5 validation; otherwise, false.
|
inline |
Gets the number of ranges that may be simultaneously uploaded or downloaded when uploading or downloading a file that is greater than the value specified by the single_blob_upload_threshold_in_bytes property in size.
|
inline |
Indicates whether to disable content-MD5 validation when downloading files.
| value | true to disable content-MD5 validation; otherwise, false. |
|
inline |
Sets the number of ranges that may be simultaneously uploaded or downloaded when uploading or downloading a file that is greater than the value specified by the single_blob_upload_threshold_in_bytes property in size.
| value | The number of parallel range upload or download operations that may proceed. |
|
inline |
Indicates whether to calculate and store the content-MD5 hash when uploading a file.
| value | true to calculate and store the content-MD5 hash when uploading a file; otherwise, false. |
|
inline |
Indicates whether to calculate and validate the content-MD5 hash for the request.
| value | true to calculate and validate the content-MD5 hash for the request; otherwise, false. |
|
inline |
Gets a value indicating whether the content-MD5 hash will be calculated and stored when uploading a file.
true to calculate and store the content-MD5 hash when uploading a file; otherwise, false.
|
inline |
Gets a value indicating whether the content-MD5 hash will be calculated and validated for the request.
true if the content-MD5 hash will be calculated and validated for the request; otherwise, false.
1.8.15