AppendBlob class
Class representing a AppendBlob.
Constructors
| Append |
Create a AppendBlob. |
Methods
| append |
|
| append |
The Append Block operation commits a new block of data to the end of an existing append blob. The Append Block operation is permitted only if the blob was created with x-ms-blob-type set to AppendBlob. Append Block is supported only on version 2015-02-21 version or later. |
| append |
|
| append |
|
| append |
The Append Block operation commits a new block of data to the end of an existing append blob where the contents are read from a source url. The Append Block operation is permitted only if the blob was created with x-ms-blob-type set to AppendBlob. Append Block is supported only on version 2015-02-21 version or later. |
| append |
|
| create(number, Append |
|
| create(number, Models. |
The Create Append Blob operation creates a new append blob. |
| create(number, Service |
Constructor Details
AppendBlob(StorageClientContext)
Create a AppendBlob.
new AppendBlob(client: StorageClientContext)
Parameters
- client
- StorageClientContext
Reference to the service client.
Method Details
appendBlock(msRest.HttpRequestBody, number, AppendBlobAppendBlockOptionalParams, ServiceCallback<void>)
function appendBlock(body: msRest.HttpRequestBody, contentLength: number, options: AppendBlobAppendBlockOptionalParams, callback: ServiceCallback<void>)
Parameters
- body
- msRest.HttpRequestBody
Initial data
- contentLength
-
number
The length of the request.
The optional parameters
- callback
-
ServiceCallback<void>
The callback
appendBlock(msRest.HttpRequestBody, number, Models.AppendBlobAppendBlockOptionalParams)
The Append Block operation commits a new block of data to the end of an existing append blob. The Append Block operation is permitted only if the blob was created with x-ms-blob-type set to AppendBlob. Append Block is supported only on version 2015-02-21 version or later.
function appendBlock(body: msRest.HttpRequestBody, contentLength: number, options?: Models.AppendBlobAppendBlockOptionalParams)
Parameters
- body
- msRest.HttpRequestBody
Initial data
- contentLength
-
number
The length of the request.
- options
- Models.AppendBlobAppendBlockOptionalParams
Returns
Promise<Models.AppendBlobAppendBlockResponse>
Promise<Models.AppendBlobAppendBlockResponse>
appendBlock(msRest.HttpRequestBody, number, ServiceCallback<void>)
function appendBlock(body: msRest.HttpRequestBody, contentLength: number, callback: ServiceCallback<void>)
Parameters
- body
- msRest.HttpRequestBody
Initial data
- contentLength
-
number
The length of the request.
- callback
-
ServiceCallback<void>
The callback
appendBlockFromUrl(string, number, AppendBlobAppendBlockFromUrlOptionalParams, ServiceCallback<void>)
function appendBlockFromUrl(sourceUrl: string, contentLength: number, options: AppendBlobAppendBlockFromUrlOptionalParams, callback: ServiceCallback<void>)
Parameters
- sourceUrl
-
string
Specify a URL to the copy source.
- contentLength
-
number
The length of the request.
The optional parameters
- callback
-
ServiceCallback<void>
The callback
appendBlockFromUrl(string, number, Models.AppendBlobAppendBlockFromUrlOptionalParams)
The Append Block operation commits a new block of data to the end of an existing append blob where the contents are read from a source url. The Append Block operation is permitted only if the blob was created with x-ms-blob-type set to AppendBlob. Append Block is supported only on version 2015-02-21 version or later.
function appendBlockFromUrl(sourceUrl: string, contentLength: number, options?: Models.AppendBlobAppendBlockFromUrlOptionalParams)
Parameters
- sourceUrl
-
string
Specify a URL to the copy source.
- contentLength
-
number
The length of the request.
- options
- Models.AppendBlobAppendBlockFromUrlOptionalParams
Returns
Promise<Models.AppendBlobAppendBlockFromUrlResponse>
Promise<Models.AppendBlobAppendBlockFromUrlResponse>
appendBlockFromUrl(string, number, ServiceCallback<void>)
function appendBlockFromUrl(sourceUrl: string, contentLength: number, callback: ServiceCallback<void>)
Parameters
- sourceUrl
-
string
Specify a URL to the copy source.
- contentLength
-
number
The length of the request.
- callback
-
ServiceCallback<void>
The callback
create(number, AppendBlobCreateOptionalParams, ServiceCallback<void>)
function create(contentLength: number, options: AppendBlobCreateOptionalParams, callback: ServiceCallback<void>)
Parameters
- contentLength
-
number
The length of the request.
- options
- AppendBlobCreateOptionalParams
The optional parameters
- callback
-
ServiceCallback<void>
The callback
create(number, Models.AppendBlobCreateOptionalParams)
The Create Append Blob operation creates a new append blob.
function create(contentLength: number, options?: Models.AppendBlobCreateOptionalParams)
Parameters
- contentLength
-
number
The length of the request.
- options
- Models.AppendBlobCreateOptionalParams
Returns
Promise<Models.AppendBlobCreateResponse>
Promise<Models.AppendBlobCreateResponse>
create(number, ServiceCallback<void>)
function create(contentLength: number, callback: ServiceCallback<void>)
Parameters
- contentLength
-
number
The length of the request.
- callback
-
ServiceCallback<void>
The callback