BlobBatch.SetBlobAccessTier Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetBlobAccessTier(Uri, AccessTier, Nullable<RehydratePriority>, BlobRequestConditions) |
The SetBlobAccessTier(Uri, AccessTier, Nullable<RehydratePriority>, BlobRequestConditions) operation sets the tier on a blob. The operation is allowed on block blobs in a blob storage or general purpose v2 account. A block blob's tier determines Hot/Cool/Archive storage type. This operation does not update the blob's ETag. For detailed information about block blob level tiering Blob Storage Tiers. |
SetBlobAccessTier(String, String, AccessTier, Nullable<RehydratePriority>, BlobRequestConditions) |
The SetBlobAccessTier(String, String, AccessTier, Nullable<RehydratePriority>, BlobRequestConditions) operation sets the tier on a blob. The operation is allowed on block blobs in a blob storage or general purpose v2 account. A block blob's tier determines Hot/Cool/Archive storage type. This operation does not update the blob's ETag. For detailed information about block blob level tiering see Blob Storage Tiers. |
SetBlobAccessTier(Uri, AccessTier, Nullable<RehydratePriority>, BlobRequestConditions)
- Source:
- BlobBatch.cs
- Source:
- BlobBatch.cs
The SetBlobAccessTier(Uri, AccessTier, Nullable<RehydratePriority>, BlobRequestConditions) operation sets the tier on a blob. The operation is allowed on block blobs in a blob storage or general purpose v2 account.
A block blob's tier determines Hot/Cool/Archive storage type. This operation does not update the blob's ETag. For detailed information about block blob level tiering Blob Storage Tiers.
public virtual Azure.Response SetBlobAccessTier (Uri blobUri, Azure.Storage.Blobs.Models.AccessTier accessTier, Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default, Azure.Storage.Blobs.Models.BlobRequestConditions leaseAccessConditions = default);
abstract member SetBlobAccessTier : Uri * Azure.Storage.Blobs.Models.AccessTier * Nullable<Azure.Storage.Blobs.Models.RehydratePriority> * Azure.Storage.Blobs.Models.BlobRequestConditions -> Azure.Response
override this.SetBlobAccessTier : Uri * Azure.Storage.Blobs.Models.AccessTier * Nullable<Azure.Storage.Blobs.Models.RehydratePriority> * Azure.Storage.Blobs.Models.BlobRequestConditions -> Azure.Response
Public Overridable Function SetBlobAccessTier (blobUri As Uri, accessTier As AccessTier, Optional rehydratePriority As Nullable(Of RehydratePriority) = Nothing, Optional leaseAccessConditions As BlobRequestConditions = Nothing) As Response
Parameters
- accessTier
- AccessTier
Indicates the tier to be set on the blob.
- rehydratePriority
- Nullable<RehydratePriority>
Optional RehydratePriority Indicates the priority with which to rehydrate an archived blob.
- leaseAccessConditions
- BlobRequestConditions
Optional BlobRequestConditions to add conditions on setting the access tier.
Returns
A Response on successfully deleting. The response cannot be used until the batch has been submitted with SubmitBatchAsync(BlobBatch, Boolean, CancellationToken).
Applies to
SetBlobAccessTier(String, String, AccessTier, Nullable<RehydratePriority>, BlobRequestConditions)
- Source:
- BlobBatch.cs
- Source:
- BlobBatch.cs
The SetBlobAccessTier(String, String, AccessTier, Nullable<RehydratePriority>, BlobRequestConditions) operation sets the tier on a blob. The operation is allowed on block blobs in a blob storage or general purpose v2 account.
A block blob's tier determines Hot/Cool/Archive storage type. This operation does not update the blob's ETag. For detailed information about block blob level tiering see Blob Storage Tiers.
public virtual Azure.Response SetBlobAccessTier (string blobContainerName, string blobName, Azure.Storage.Blobs.Models.AccessTier accessTier, Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default, Azure.Storage.Blobs.Models.BlobRequestConditions leaseAccessConditions = default);
abstract member SetBlobAccessTier : string * string * Azure.Storage.Blobs.Models.AccessTier * Nullable<Azure.Storage.Blobs.Models.RehydratePriority> * Azure.Storage.Blobs.Models.BlobRequestConditions -> Azure.Response
override this.SetBlobAccessTier : string * string * Azure.Storage.Blobs.Models.AccessTier * Nullable<Azure.Storage.Blobs.Models.RehydratePriority> * Azure.Storage.Blobs.Models.BlobRequestConditions -> Azure.Response
Public Overridable Function SetBlobAccessTier (blobContainerName As String, blobName As String, accessTier As AccessTier, Optional rehydratePriority As Nullable(Of RehydratePriority) = Nothing, Optional leaseAccessConditions As BlobRequestConditions = Nothing) As Response
Parameters
- blobContainerName
- String
The name of the container containing the blob to set the tier of.
- blobName
- String
The name of the blob to set the tier of.
- accessTier
- AccessTier
Indicates the tier to be set on the blob.
- rehydratePriority
- Nullable<RehydratePriority>
Optional RehydratePriority Indicates the priority with which to rehydrate an archived blob.
- leaseAccessConditions
- BlobRequestConditions
Optional BlobRequestConditions to add conditions on setting the access tier.
Returns
A Response on successfully deleting. The response cannot be used until the batch has been submitted with SubmitBatchAsync(BlobBatch, Boolean, CancellationToken).