BlobHttpWebRequestFactory.Resize Method

Definition

Overloads

Resize(Uri, Nullable<Int32>, Int64, AccessCondition, OperationContext)

Constructs a web request to resize a page blob.

Resize(Uri, Nullable<Int32>, Int64, AccessCondition, Boolean, OperationContext)

Constructs a web request to resize a page blob.

Resize(Uri, Nullable<Int32>, Int64, AccessCondition, OperationContext)

Constructs a web request to resize a page blob.

public static System.Net.HttpWebRequest Resize (Uri uri, Nullable<int> timeout, long newBlobSize, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
static member Resize : Uri * Nullable<int> * int64 * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.OperationContext -> System.Net.HttpWebRequest

Parameters

uri
Uri

A Uri specifying the absolute URI to the blob.

timeout
Nullable<Int32>

An integer specifying the server timeout interval.

newBlobSize
Int64

The new blob size, if the blob is a page blob. Set this parameter to null to keep the existing blob size.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed.

operationContext
OperationContext

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

Returns

HttpWebRequest

A HttpWebRequest object.

Applies to

Product Introduced

Resize(Uri, Nullable<Int32>, Int64, AccessCondition, Boolean, OperationContext)

Constructs a web request to resize a page blob.

public static System.Net.HttpWebRequest Resize (Uri uri, Nullable<int> timeout, long newBlobSize, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, bool useVersionHeader, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
static member Resize : Uri * Nullable<int> * int64 * Microsoft.WindowsAzure.Storage.AccessCondition * bool * Microsoft.WindowsAzure.Storage.OperationContext -> System.Net.HttpWebRequest

Parameters

uri
Uri

A Uri specifying the absolute URI to the blob.

timeout
Nullable<Int32>

An integer specifying the server timeout interval.

newBlobSize
Int64

The new blob size, if the blob is a page blob. Set this parameter to null to keep the existing blob size.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed.

useVersionHeader
Boolean

A boolean value indicating whether to set the x-ms-version HTTP header.

operationContext
OperationContext

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

Returns

HttpWebRequest

A HttpWebRequest object.

Applies to

Product Introduced