Skip to content

Commit 911321d

Browse files
committed
adding changelog entry
1 parent 35d6fe9 commit 911321d

File tree

3 files changed

+6
-154
lines changed

3 files changed

+6
-154
lines changed

sdk/storage/azure-storage-blob/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 12.33.0-beta.2 (Unreleased)
44

55
### Features Added
6+
- Added support for `AccessTierIfModifiedSince` and `AccessTierIfUnmodifiedSince` to conditionally perform `BlobClient.delete` operations.
67

78
### Breaking Changes
89

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobModifiedAccessConditions.java

Lines changed: 0 additions & 153 deletions
This file was deleted.

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobRequestConditions.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public BlobRequestConditions setLeaseId(String leaseId) {
109109

110110
/**
111111
* Gets the access-tier {@link OffsetDateTime} that the resource must have been modified since.
112+
* <b> Currently, this is only supported for the Delete Blob operation. </b>
112113
*
113114
* @return The access-tier {@link OffsetDateTime} that the resource must have been modified since.
114115
*/
@@ -119,6 +120,7 @@ public OffsetDateTime getAccessTierIfModifiedSince() {
119120
/**
120121
* Optionally limits requests to resources that have had their access-tier modified since the specified
121122
* {@link OffsetDateTime}.
123+
* <b> Currently, this is only supported for the Delete Blob operation. </b>
122124
*
123125
* @param accessTierIfModifiedSince The access-tier {@link OffsetDateTime} that the resource must have been modified
124126
* since.
@@ -131,6 +133,7 @@ public BlobRequestConditions setAccessTierIfModifiedSince(OffsetDateTime accessT
131133

132134
/**
133135
* Gets the access-tier {@link OffsetDateTime} that the resource must have remained unmodified since.
136+
* <b> Currently, this is only supported for the Delete Blob operation. </b>
134137
*
135138
* @return The access-tier {@link OffsetDateTime} that the resource must have remained unmodified since.
136139
*/
@@ -141,7 +144,8 @@ public OffsetDateTime getAccessTierIfUnmodifiedSince() {
141144
/**
142145
* Optionally limits requests to resources that have not had their access-tier modified since the specified
143146
* {@link OffsetDateTime}.
144-
*
147+
* <b> Currently, this is only supported for the Delete Blob operation. </b>
148+
*
145149
* @param accessTierIfUnmodifiedSince The access-tier {@link OffsetDateTime} that the resource must have remained
146150
* unmodified since.
147151
* @return The updated BlobRequestConditions object.

0 commit comments

Comments
 (0)