Data.Cloud.AzureAPI.TAzureBlobService.PutAppendBlob
Delphi
function PutAppendBlob(const AContainerName, ABlobName, ALeaseID: string; const AOptionalHeaders: TStrings; const AMetadata: TStrings; const AResponseInfo: TCloudResponseInfo): Boolean; overload; deprecated 'Use overloaded method instead';
function PutAppendBlob(const AContainerName, ABlobName, ALeaseID: string; const AOptionalHeaders, AMetadata: array of TPair<string, string>; const AResponseInfo: TCloudResponseInfo): Boolean; overload;
C++
bool __fastcall PutAppendBlob _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (const System::UnicodeString AContainerName, const System::UnicodeString ABlobName, const System::UnicodeString ALeaseID, System::Classes::TStrings* const AOptionalHeaders, System::Classes::TStrings* const AMetadata, Data::Cloud::Cloudapi::TCloudResponseInfo* const AResponseInfo)/* overload */;
bool __fastcall PutAppendBlob(const System::UnicodeString AContainerName, const System::UnicodeString ABlobName, const System::UnicodeString ALeaseID, const System::Generics::Collections::TPair__2<System::UnicodeString,System::UnicodeString> *AOptionalHeaders, const int AOptionalHeaders_High, const System::Generics::Collections::TPair__2<System::UnicodeString,System::UnicodeString> *AMetadata, const int AMetadata_High, Data::Cloud::Cloudapi::TCloudResponseInfo* const AResponseInfo)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AzureAPI.pas Data.Cloud.AzureAPI.hpp |
Data.Cloud.AzureAPI | TAzureBlobService |
Description
Creates a new append blob.
PutAppendBlob receives the following parameters:
AContainerName
is the name of the blob container where the new append blob is created.ABlobName
is the name of the new append blob.ALeaseId
is the identifier of a lease that is currently active on the new append blob, or an empty string if there is no active lease on the new append blob.AOptionalHeaders
(optional) is a string that contains additional headers to include in the request. For example, if you want to include the "Content-Encoding" and "Content-Type" headers, the value ofAOptionalHeaders
should be "content-encoding,content-type".AMetadata
(optional) are metadata key-value pairs to associate with the new append blob.AResponseInfo
is an optional instance of TCloudResponseInfo to store the information of the response. Use a nil value if you do not need the information of the response.