Data.Cloud.AzureAPI.TAzureBlobService.PutBlockList

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function PutBlockList(ContainerName, BlobName: string; BlockList: TList<TAzureBlockListItem>;  Properties: TStrings = nil; Metadata: TStrings = nil; const LeaseId: string = ''; const ContentMD5: string = ''; ResponseInfo: TCloudResponseInfo = nil): Boolean; overload;
function PutBlockList(const AContainerName, ABlobName, ALeaseId, AContentMD5: string;  ABlockList: array of TAzureBlockListItem; AProperties, AMetadata: array of TPair<string, string>; const AResponseInfo: TCloudResponseInfo): Boolean; overload;

C++

bool __fastcall PutBlockList(System::UnicodeString ContainerName, System::UnicodeString BlobName, System::Generics::Collections::TList__1<TAzureBlockListItem>* BlockList, System::Classes::TStrings* Properties = (System::Classes::TStrings*)(0x0), System::Classes::TStrings* Metadata = (System::Classes::TStrings*)(0x0), const System::UnicodeString LeaseId = System::UnicodeString(), const System::UnicodeString ContentMD5 = System::UnicodeString(), Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0))/* overload */;
bool __fastcall PutBlockList(const System::UnicodeString AContainerName, const System::UnicodeString ABlobName, const System::UnicodeString ALeaseId, const System::UnicodeString AContentMD5, TAzureBlockListItem *ABlockList, const int ABlockList_High, System::Generics::Collections::TPair__2<System::UnicodeString,System::UnicodeString> *AProperties, const int AProperties_High, System::Generics::Collections::TPair__2<System::UnicodeString,System::UnicodeString> *AMetadata, const int AMetadata_High, Data::Cloud::Cloudapi::TCloudResponseInfo* const AResponseInfo)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
Data.Cloud.AzureAPI.pas
Data.Cloud.AzureAPI.hpp
Data.Cloud.AzureAPI TAzureBlobService


Beschreibung

Gibt die Liste der Blöcke an, aus denen der Inhalt des Blobs erstellt wird.

PutBlockList gibt die Liste der Blöcke an, aus denen der Inhalt des Blobs erstellt wird.

Die Liste der Blöcke wird zum Erstellen des angegebenen Blob-Inhalts verwendet. Die Blöcke können entweder übertragen (bereits Teil des Blob-Inhalts) oder nicht übertragen werden (mit PutBlock hochgeladen, aber in einen PutBlockList-Aufruf nicht einbezogen). Nach dem Ausführen dieses Aufrufs, werden alle in der Blockliste nicht enthaltenen Blöcke endgültig gelöscht.

Die folgende Tabelle beschreibt die Parameter:

Parameter Beschreibung

ContainerName

Der Name des Containers, in dem sich das Blob befindet.

BlobName

Das Blob, für das die Blockliste übertragen wird.

BlockList

Die Liste der Blöcke, mit denen der Blob-Inhalt erstellt wird.

Properties

Optionale Liste von Eigenschaften, die für das Blob angegeben werden.

Metadata

Optionale Liste von Metadaten, die für das Blob angegeben werden.

LeaseId

Die Leasing-ID, die erforderlich ist, wenn das Blob gesperrt ist.

ContentMD5

Ein optionaler MD5-Hashwert des Inhalts, der zum Überprüfen der Integrität gesendet wird.

ResponseInfo

Die optionale Klasse zum Speichern von Antwortinformationen.


Die Methode gibt True zurück, wenn die Operation erfolgreich ist; ansonsten False.

Siehe auch