28 #ifndef CPL_AZURE_INCLUDED_H
29 #define CPL_AZURE_INCLUDED_H
35 #include <curl/curl.h>
40 class VSIAzureBlobHandleHelper final:
public IVSIS3LikeHandleHelper
50 bool m_bFromManagedIdendities;
65 bool& bFromManagedIdentities);
67 static bool GetConfigurationFromManagedIdentities(
77 void RebuildURL()
override;
80 VSIAzureBlobHandleHelper(
const CPLString& osEndpoint,
87 bool bFromManagedIdentities);
88 ~VSIAzureBlobHandleHelper();
90 static VSIAzureBlobHandleHelper* BuildFromURI(
const char* pszURI,
91 const char* pszFSPrefix,
94 struct curl_slist* GetCurlHeaders(
const CPLString& osVerbosVerb,
95 const struct curl_slist* psExistingHeaders,
96 const void *pabyDataContent =
nullptr,
97 size_t nBytesContent = 0)
const override;
99 const CPLString& GetURL()
const override {
return m_osURL; }
103 static void ClearCache();
105 std::string GetSASQueryString()
const;
110 int GetAzureBufferSize();
Convenient string class based on std::string.
Definition: cpl_string.h:333
Interface for downloading HTTP, FTP documents.
char ** CSLConstList
Type of a constant null-terminated list of nul terminated strings.
Definition: cpl_port.h:1169