Data.Cloud.AzureAPI.TBlobActionConditional
| [–] Properties | |
|---|---|
| Type: record struct
| |
| Visibility: public | |
| Source: Data.Cloud.AzureAPI.pas Data.Cloud.AzureAPI.hpp
| |
| Unit: Data.Cloud.AzureAPI | |
| Parent: Data.Cloud.AzureAPI | |
Delphi
TBlobActionConditional = record
C++
struct DECLSPEC_DRECORD TBlobActionConditional
{
public:
System::UnicodeString IfSourceModifiedSince;
System::UnicodeString IfSourceUnmodifiedSince;
System::UnicodeString IfSourceMatch;
System::UnicodeString IfSourceNoneMatch;
System::UnicodeString IfModifiedSince;
System::UnicodeString IfUnmodifiedSince;
System::UnicodeString IfMatch;
System::UnicodeString IfNoneMatch;
System::UnicodeString IfSequenceNumberLessThanOrEqual;
System::UnicodeString IfSequenceNumberLessThan;
System::UnicodeString IfSequenceNumberEquals;
static TBlobActionConditional __fastcall Create();
void __fastcall PopulateHeaders(System::Classes::TStrings* Headers);
};
Description
Record of optional conditional restrictions.
TBlobActionConditional is a record of optional conditional restrictions. These restrictions can be used, for example, when copying a blob or when creating a blob snapshot. They provide a way to specify under which conditions the action should happen or not happen.
The fields of the TBlobActionConditional record are listed in the following table:
| Field | Meaning |
|---|---|
|
IfSourceModifiedSince |
A DateTime value that specifies to copy the blob only if the source blob has been modified since the specified date/time. |
|
IfSourceUnmodifiedSince |
A DateTime value that specifies to copy the blob only if the source blob has not been modified since the specified date/time. |
|
IfSourceMatch |
Specifies to this conditional header to copy the source blob only if its |
|
IfSourceNoneMatch |
Specifies to this conditional header to copy the blob only if its |
|
IfModifiedSince |
A DateTime value that specifies to this conditional header to perform one of the following actions:
|
|
IfUnmodifiedSince |
A DateTime value that specifies to this conditional header to perform the action.
|
|
IfMatch |
Specifies an |
|
IfNoneMatch |
Specifies an |
|
IfSequenceNumberLessThanOrEqual |
Specifies a number that must be greater than or equal to the sequence number. |
|
IfSequenceNumberLessThan |
Specifies a number that must be greater than the sequence number. |
|
IfSequenceNumberEquals |
Specifies a number that must be equal to the sequence number. |
|
Create |
Creates a new instance of TBlobActionConditional. |
|
PopulateHeaders |
Populates the given header list with the key/value pair of any field with an assigned value. Note that the keys used will be the header names, as required by Azure requests. The |