CloudBlockBlob.CreateSnapshot(IDictionary<String,String>, AccessCondition, BlobRequestOptions, OperationContext) CloudBlockBlob.CreateSnapshot(IDictionary<String,String>, AccessCondition, BlobRequestOptions, OperationContext) Method

Definition

Creates a snapshot of the blob.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob CreateSnapshot (System.Collections.Generic.IDictionary<string,string> metadata = null, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition = null, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options = null, Microsoft.WindowsAzure.Storage.OperationContext operationContext = null);
abstract member CreateSnapshot : System.Collections.Generic.IDictionary<string, string> * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob
override this.CreateSnapshot : System.Collections.Generic.IDictionary<string, string> * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob
Parameters
metadata
IDictionary<String,String>

A collection of name-value pairs defining the metadata of the snapshot.

accessCondition
AccessCondition AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request, or null. If null, default options are applied to the request.

operationContext
OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A CloudBlockBlob object that is a blob snapshot.

Applies to