IPWorks Cloud 2020 Android Edition

Questions / Feedback?

AzureBlobBlock Type

An Azure storage block.

Remarks

This type represents an Azure storage block. Blocks are the chunks of data that comprise block blobs.

Fields

Id
String

The Id of the block.

This field specifies the Id of the block.

Block Ids must be Base64-encoded when sent to the server. By default, the component will automatically Base64-encode block Ids as they are sent, and Base64-decode them as they are received. This behavior can be configured using the EncodeBlockIds configuration setting.

All block Ids must be less than or equal to 64 bytes in length before being Base64-encoded. Additionally, all blocks Ids within a single block blob must be unique, and of the exact same length after Base64-encoding.

Size
int

The size of the block.

This field reflects the size of the block, in bytes.

This field is only populated by calls to ListBlocks, and will be -1 in all other cases.

Type
int

The type of block.

When populated by ListBlocks, this field reflects the block's type (one of the first two values listed below). When used during a PutBlockList operation, this field specifies which block list the server should search for the block Id specified by Id.

Possible values are:

Value Meaning During PutBlockList Operations
abktCommitted (0) Search for a committed block with the specified Id.
abktUncommitted (1) Search for an uncommitted block with the specified Id.
abktLatest (2) Search for an uncommitted block with the specified Id; and then, if one isn't found, search for a committed block.

Constructors

public AzureBlobBlock();



public AzureBlobBlock(String id, int type);

Possible values for Type are: Value Meaning During PutBlockList Operations abktCommitted (0) Search for a committed block with the specified Id. abktUncommitted (1) Search for an uncommitted block with the specified Id. abktLatest (2) Search for an uncommitted block with the specified Id; and then, if one isn't found, search for a committed block. .

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Android Edition - Version 20.0 [Build 8265]