AccessCondition AccessCondition AccessCondition AccessCondition AccessCondition AccessCondition Class

Definition

Represents a set of access conditions to be used for operations against the storage services.

public ref class AccessCondition sealed
public ref class AccessCondition sealed
class AccessCondition sealed
public sealed class AccessCondition
type AccessCondition = class
Public NotInheritable Class AccessCondition
Inheritance
AccessConditionAccessConditionAccessConditionAccessConditionAccessConditionAccessCondition

Constructors

AccessCondition() AccessCondition() AccessCondition() AccessCondition() AccessCondition() AccessCondition()

Properties

IfAppendPositionEqual IfAppendPositionEqual IfAppendPositionEqual IfAppendPositionEqual IfAppendPositionEqual IfAppendPositionEqual

Gets or sets a value for a condition specifying the byte offset to check for when committing a block to an append blob. The append will succeed only if the end position is equal to this number.

IfMatchETag IfMatchETag IfMatchETag IfMatchETag IfMatchETag IfMatchETag

Gets or sets an ETag value for a condition specifying that the given ETag must match the ETag of the specified resource.

IfMaxSizeLessThanOrEqual IfMaxSizeLessThanOrEqual IfMaxSizeLessThanOrEqual IfMaxSizeLessThanOrEqual IfMaxSizeLessThanOrEqual IfMaxSizeLessThanOrEqual

Gets or sets a value for a condition that specifies the maximum size allowed for an append blob when a new block is committed. The append will succeed only if the size of the blob after the append operation is less than or equal to the specified size.

IfModifiedSinceTime IfModifiedSinceTime IfModifiedSinceTime IfModifiedSinceTime IfModifiedSinceTime IfModifiedSinceTime

Gets or sets a DateTimeOffset value for a condition specifying a time since which a resource has been modified.

IfNoneMatchETag IfNoneMatchETag IfNoneMatchETag IfNoneMatchETag IfNoneMatchETag IfNoneMatchETag

Gets or sets an ETag value for a condition specifying that the given ETag must not match the ETag of the specified resource.

IfNotModifiedSinceTime IfNotModifiedSinceTime IfNotModifiedSinceTime IfNotModifiedSinceTime IfNotModifiedSinceTime IfNotModifiedSinceTime

Gets or sets a DateTimeOffset value for a condition specifying a time since which a resource has not been modified.

IfSequenceNumberEqual IfSequenceNumberEqual IfSequenceNumberEqual IfSequenceNumberEqual IfSequenceNumberEqual IfSequenceNumberEqual

Gets or sets a value for a condition specifying that the current sequence number must be equal to the specified value.

IfSequenceNumberLessThan IfSequenceNumberLessThan IfSequenceNumberLessThan IfSequenceNumberLessThan IfSequenceNumberLessThan IfSequenceNumberLessThan

Gets or sets a value for a condition specifying that the current sequence number must be less than the specified value.

IfSequenceNumberLessThanOrEqual IfSequenceNumberLessThanOrEqual IfSequenceNumberLessThanOrEqual IfSequenceNumberLessThanOrEqual IfSequenceNumberLessThanOrEqual IfSequenceNumberLessThanOrEqual

Gets or sets a value for a condition specifying that the current sequence number must be less than or equal to the specified value.

LeaseId LeaseId LeaseId LeaseId LeaseId LeaseId

Gets or sets a lease ID that must match the lease on a resource.

Methods

Clone() Clone() Clone() Clone() Clone() Clone()

Provide a shallow copy of the current access condition

GenerateEmptyCondition() GenerateEmptyCondition() GenerateEmptyCondition() GenerateEmptyCondition() GenerateEmptyCondition() GenerateEmptyCondition()

Constructs an empty access condition.

GenerateIfAppendPositionEqualCondition(Int64) GenerateIfAppendPositionEqualCondition(Int64) GenerateIfAppendPositionEqualCondition(Int64) GenerateIfAppendPositionEqualCondition(Int64) GenerateIfAppendPositionEqualCondition(Int64) GenerateIfAppendPositionEqualCondition(Int64)

Constructs an access condition such that an operation will be performed only if the end position of the append blob is equal to the specified value.

GenerateIfExistsCondition() GenerateIfExistsCondition() GenerateIfExistsCondition() GenerateIfExistsCondition() GenerateIfExistsCondition() GenerateIfExistsCondition()

Constructs an access condition such that an operation will be performed only if the resource exists.

GenerateIfMatchCondition(String) GenerateIfMatchCondition(String) GenerateIfMatchCondition(String) GenerateIfMatchCondition(String) GenerateIfMatchCondition(String) GenerateIfMatchCondition(String)

Constructs an access condition such that an operation will be performed only if the resource's ETag value matches the specified ETag value.

GenerateIfMaxSizeLessThanOrEqualCondition(Int64) GenerateIfMaxSizeLessThanOrEqualCondition(Int64) GenerateIfMaxSizeLessThanOrEqualCondition(Int64) GenerateIfMaxSizeLessThanOrEqualCondition(Int64) GenerateIfMaxSizeLessThanOrEqualCondition(Int64) GenerateIfMaxSizeLessThanOrEqualCondition(Int64)

Constructs an access condition such that an operation will be performed only if the size of the append blob after committing the block is less than or equal to the specified value.

GenerateIfModifiedSinceCondition(DateTimeOffset) GenerateIfModifiedSinceCondition(DateTimeOffset) GenerateIfModifiedSinceCondition(DateTimeOffset) GenerateIfModifiedSinceCondition(DateTimeOffset) GenerateIfModifiedSinceCondition(DateTimeOffset) GenerateIfModifiedSinceCondition(DateTimeOffset)

Constructs an access condition such that an operation will be performed only if the resource has been modified since the specified time.

GenerateIfNoneMatchCondition(String) GenerateIfNoneMatchCondition(String) GenerateIfNoneMatchCondition(String) GenerateIfNoneMatchCondition(String) GenerateIfNoneMatchCondition(String) GenerateIfNoneMatchCondition(String)

Constructs an access condition such that an operation will be performed only if the resource's ETag value does not match the specified ETag value.

GenerateIfNotExistsCondition() GenerateIfNotExistsCondition() GenerateIfNotExistsCondition() GenerateIfNotExistsCondition() GenerateIfNotExistsCondition() GenerateIfNotExistsCondition()

Constructs an access condition such that an operation will be performed only if the resource does not exist.

GenerateIfNotModifiedSinceCondition(DateTimeOffset) GenerateIfNotModifiedSinceCondition(DateTimeOffset) GenerateIfNotModifiedSinceCondition(DateTimeOffset) GenerateIfNotModifiedSinceCondition(DateTimeOffset) GenerateIfNotModifiedSinceCondition(DateTimeOffset) GenerateIfNotModifiedSinceCondition(DateTimeOffset)

Constructs an access condition such that an operation will be performed only if the resource has not been modified since the specified time.

GenerateIfSequenceNumberEqualCondition(Int64) GenerateIfSequenceNumberEqualCondition(Int64) GenerateIfSequenceNumberEqualCondition(Int64) GenerateIfSequenceNumberEqualCondition(Int64) GenerateIfSequenceNumberEqualCondition(Int64) GenerateIfSequenceNumberEqualCondition(Int64)

Constructs an access condition such that an operation will be performed only if resource's current sequence number is equal to the specified value.

GenerateIfSequenceNumberLessThanCondition(Int64) GenerateIfSequenceNumberLessThanCondition(Int64) GenerateIfSequenceNumberLessThanCondition(Int64) GenerateIfSequenceNumberLessThanCondition(Int64) GenerateIfSequenceNumberLessThanCondition(Int64) GenerateIfSequenceNumberLessThanCondition(Int64)

Constructs an access condition such that an operation will be performed only if resource's current sequence number is less than the specified value.

GenerateIfSequenceNumberLessThanOrEqualCondition(Int64) GenerateIfSequenceNumberLessThanOrEqualCondition(Int64) GenerateIfSequenceNumberLessThanOrEqualCondition(Int64) GenerateIfSequenceNumberLessThanOrEqualCondition(Int64) GenerateIfSequenceNumberLessThanOrEqualCondition(Int64) GenerateIfSequenceNumberLessThanOrEqualCondition(Int64)

Constructs an access condition such that an operation will be performed only if resource's current sequence number is less than or equal to the specified value.

GenerateLeaseCondition(String) GenerateLeaseCondition(String) GenerateLeaseCondition(String) GenerateLeaseCondition(String) GenerateLeaseCondition(String) GenerateLeaseCondition(String)

Constructs an access condition such that an operation will be performed only if the lease ID on the resource matches the specified lease ID.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to