|
PACS System 0.1.0
PACS DICOM system library
|
Configuration for Azure Blob storage. More...
#include <azure_blob_storage.h>

Public Attributes | |
| std::string | container_name |
| Azure Blob container name for storing DICOM files. | |
| std::string | connection_string |
| Connection string for Azure Storage account Format: DefaultEndpointsProtocol=https;AccountName=...;AccountKey=... | |
| std::optional< std::string > | endpoint_suffix |
| Optional endpoint suffix for sovereign clouds (e.g., "core.chinacloudapi.cn") If empty, uses the default "core.windows.net". | |
| std::optional< std::string > | endpoint_url |
| Optional custom endpoint URL for Azurite emulator If set, this takes precedence over connection_string endpoint. | |
| std::size_t | block_upload_threshold = 100 * 1024 * 1024 |
| Threshold for block blob upload in bytes (default: 100MB) Files larger than this will use block blob upload with multiple blocks. | |
| std::size_t | block_size = 4 * 1024 * 1024 |
| Block size for block blob upload in bytes (default: 4MB) Azure allows up to 4000MB per block (API version 2019-12-12+) | |
| std::size_t | max_concurrency = 8 |
| Maximum number of concurrent upload threads. | |
| std::uint32_t | connect_timeout_ms = 3000 |
| Connection timeout in milliseconds. | |
| std::uint32_t | request_timeout_ms = 60000 |
| Request timeout in milliseconds. | |
| bool | use_https = true |
| Enable HTTPS (default: true) | |
| std::string | access_tier {"Hot"} |
| Blob tier (Hot, Cool, Archive) | |
| std::uint32_t | max_retries = 3 |
| Retry count for transient failures. | |
| std::uint32_t | retry_delay_ms = 1000 |
| Initial retry delay in milliseconds. | |
Configuration for Azure Blob storage.
Contains all settings needed to connect to Azure Blob Storage service. Supports both connection string and SAS token authentication.
Definition at line 41 of file azure_blob_storage.h.
| std::string kcenon::pacs::storage::azure_storage_config::access_tier {"Hot"} |
| std::size_t kcenon::pacs::storage::azure_storage_config::block_size = 4 * 1024 * 1024 |
Block size for block blob upload in bytes (default: 4MB) Azure allows up to 4000MB per block (API version 2019-12-12+)
Definition at line 63 of file azure_blob_storage.h.
| std::size_t kcenon::pacs::storage::azure_storage_config::block_upload_threshold = 100 * 1024 * 1024 |
Threshold for block blob upload in bytes (default: 100MB) Files larger than this will use block blob upload with multiple blocks.
Definition at line 59 of file azure_blob_storage.h.
| std::uint32_t kcenon::pacs::storage::azure_storage_config::connect_timeout_ms = 3000 |
Connection timeout in milliseconds.
Definition at line 69 of file azure_blob_storage.h.
| std::string kcenon::pacs::storage::azure_storage_config::connection_string |
Connection string for Azure Storage account Format: DefaultEndpointsProtocol=https;AccountName=...;AccountKey=...
Definition at line 47 of file azure_blob_storage.h.
| std::string kcenon::pacs::storage::azure_storage_config::container_name |
Azure Blob container name for storing DICOM files.
Definition at line 43 of file azure_blob_storage.h.
Referenced by kcenon::pacs::storage::azure_blob_storage::container_name().
| std::optional<std::string> kcenon::pacs::storage::azure_storage_config::endpoint_suffix |
Optional endpoint suffix for sovereign clouds (e.g., "core.chinacloudapi.cn") If empty, uses the default "core.windows.net".
Definition at line 51 of file azure_blob_storage.h.
| std::optional<std::string> kcenon::pacs::storage::azure_storage_config::endpoint_url |
Optional custom endpoint URL for Azurite emulator If set, this takes precedence over connection_string endpoint.
Definition at line 55 of file azure_blob_storage.h.
| std::size_t kcenon::pacs::storage::azure_storage_config::max_concurrency = 8 |
Maximum number of concurrent upload threads.
Definition at line 66 of file azure_blob_storage.h.
| std::uint32_t kcenon::pacs::storage::azure_storage_config::max_retries = 3 |
Retry count for transient failures.
Definition at line 81 of file azure_blob_storage.h.
| std::uint32_t kcenon::pacs::storage::azure_storage_config::request_timeout_ms = 60000 |
Request timeout in milliseconds.
Definition at line 72 of file azure_blob_storage.h.
| std::uint32_t kcenon::pacs::storage::azure_storage_config::retry_delay_ms = 1000 |
Initial retry delay in milliseconds.
Definition at line 84 of file azure_blob_storage.h.
| bool kcenon::pacs::storage::azure_storage_config::use_https = true |
Enable HTTPS (default: true)
Definition at line 75 of file azure_blob_storage.h.