SpecializedBlobExtensions
Add easy to discover methods to BlobContainerClient for
creating AppendBlobClient instances.
public static AppendBlobClient GetAppendBlobClient(this BlobContainerClient client, string blobName)
Create a new AppendBlobClient object by
concatenating blobName to
the end of the client's
Uri. The new
AppendBlobClient
uses the same request policy pipeline as the
BlobContainerClient.
Create a new BlobBaseClient object by concatenating
blobName to the end of the
client's Uri.
The new BlobBaseClient uses the same request policy
pipeline as the BlobContainerClient.
Initializes a new instance of the BlobLeaseClient class.
public static BlobLeaseClient GetBlobLeaseClient(this BlobContainerClient client, string leaseId = null)
Initializes a new instance of the BlobLeaseClient class.
Create a new BlockBlobClient object by
concatenating blobName to
the end of the client's
Uri. The new
BlockBlobClient
uses the same request policy pipeline as the
BlobContainerClient.
Create a new PageBlobClient object by
concatenating blobName to
the end of the client's
Uri. The new
PageBlobClient
uses the same request policy pipeline as the
BlobContainerClient.
Create a new BlobContainerClient that pointing to this BlobBaseClient's parent container.
The new BlockBlobClient
uses the same request policy pipeline as the
BlobBaseClient.
Create a new BlobServiceClient that pointing to this BlobContainerClient's blob service.
The new BlobServiceClient
uses the same request policy pipeline as the
BlobContainerClient.
public static void UpdateClientSideKeyEncryptionKey(this BlobClient client, ClientSideEncryptionOptions encryptionOptionsOverride = null, BlobRequestConditions conditions = null, CancellationToken cancellationToken = default)
Rotates the Key Encryption Key (KEK) for a client-side encrypted blob without
needing to reupload the entire blob.
public static Task UpdateClientSideKeyEncryptionKeyAsync(this BlobClient client, ClientSideEncryptionOptions encryptionOptionsOverride = null, BlobRequestConditions conditions = null, CancellationToken cancellationToken = default)
Rotates the Key Encryption Key (KEK) for a client-side encrypted blob without
needing to reupload the entire blob.
public static BlobClient WithClientSideEncryptionOptions(this BlobClient client, ClientSideEncryptionOptions clientSideEncryptionOptions)
Creates a new instance of the BlobClient class, maintaining all the same
internals but specifying new ClientSideEncryptionOptions.