Data.Cloud.AzureAPI.TBlobActionConditional
Delphi
TBlobActionConditional = record
IfSourceModifiedSince: string;
IfSourceUnmodifiedSince: string;
IfSourceMatch: string;
IfSourceNoneMatch: string;
IfModifiedSince: string;
IfUnmodifiedSince: string;
IfMatch: string;
IfNoneMatch: string;
IfSequenceNumberLessThanOrEqual: string;
IfSequenceNumberLessThan: string;
IfSequenceNumberEquals: string;
class function Create: TBlobActionConditional; static;
procedure PopulateHeaders(Headers: TStrings);
end;
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);
};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
record struct |
public | Data.Cloud.AzureAPI.pas Data.Cloud.AzureAPI.hpp |
Data.Cloud.AzureAPI | Data.Cloud.AzureAPI |
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 |