Blob Bean
Properties Methods Events Configuration Settings Errors
The Blob Component provides an easy to use interface to Microsoft's Azure Blob Service.
Syntax
InAzure.Blob
Remarks
The Blob service allows you to store text and binary data. The Blob service offers the following three resources: the storage account, containers, and blobs. Within your storage account, containers provide a way to organize sets of blobs.
The component allows you to create, manage, and delete Bock blobs. Block blobs are optimized for streaming, and provide a way to store large sets of data (such as files).
Please refer to Blob Service Concepts for details.
Before using the component sign up for the Azure Storage service and obtain the Account and AccessKey from Microsoft. Then you can start creating containers in your account using CreateContainer. The containers are place holders for your blobs allowing you to access them via URLs. You can then add blobs to any of your containers using CreateBlob.
There are other methods such as ListContainers, ListBlobs, GetBlob, DeleteBlob, DeleteContainer etc. that further enable you to manage your blobs.
Property List
The following is the full list of the properties of the bean with short descriptions. Click on the links for further details.
AccessKey | The Windows Azure access key. |
AccessPolicy | The access policy assigned to a container. |
Account | The Windows Azure storage account name. |
BlobData | Contains the data of one blob/block. |
BlobDelimiter | The delimiter to be used when listing blobs. |
Blobs | Collection of blobs in the current blob listing. |
BlobSnapshot | The DateTime value that uniquely identifies a snapshot. |
Blocks | Collection of blocks in the current block listing. |
Connected | Shows whether the component is connected. |
ContainerName | Identifies the container in which an operation will be performed. |
Containers | Collection of containers in the current container listing. The list of containers returned by a call to ListContainers . |
EncryptionPassword | The password to use when encrypting/decrypting a blob. |
Firewall | A set of properties related to firewall access. |
FollowRedirects | Determines what happens when the server issues a redirect. |
Idle | The current status of the component. |
IfMatch | Specifies the condition for which the operation should be performed. |
LeaseId | The unique Lease ID of a blob. |
LocalFile | The path to a local file for uploading or downloading blob data. When downloading, if the file exists it is overwritten (optional). |
LocalHost | The name of the local host or user-assigned IP interface through which connections are initiated or accepted. |
Marker | A string value that identifies the current position in the list of results. |
Metadata | Collection of blob/container metadata. |
OtherHeaders | Other headers as determined by the user (optional). |
Overwrite | Whether or not the component should overwrite files during transfer. |
ParsedHeaders | Collection of headers returned from the last request. |
Prefix | Filters the results to return only blobs/containers whose names begin with the specified prefix. |
Proxy | A set of properties related to proxy access. |
Range | The byte-range to be sent to the server. |
SSLAcceptServerCert | Instructs the component to unconditionally accept the server certificate that matches the supplied certificate. |
SSLCert | The certificate to be used during SSL negotiation. |
SSLServerCert | The server certificate for the last established connection. |
StatusLine | The first line of the last server response. |
Timeout | A timeout for the component. |
UseSSL | Specifies whether SSL will be used to access Azure Blob. |
Method List
The following is the full list of the methods of the bean with short descriptions. Click on the links for further details.
addBlock | Adds a block to the blocks list that will be assembled to form a blob. |
addUserMetadata | Adds user specified metadata to the Metadata list. |
config | Sets or retrieves a configuration setting . |
copyBlob | Copies a source blob to a destination blob within the same storage account. |
createBlob | Creates a new blob or updates the content of an existing blob within a container. |
createBlock | Creates a new block to be committed as part of a block blob. |
createContainer | Creates a new container within a storage account. |
createSnapshot | Creates a read-only snapshot of a blob. |
deleteBlob | Deletes a blob. |
deleteContainer | Deletes the container and any blobs that it contains. |
doEvents | Processes events from the internal message queue. |
getBlob | Reads or downloads a blob, including its metadata and properties. |
getBlobMetadata | Gets the user-specified metadata for a blob. |
getContainerACL | Gets the access policy for the container. |
getContainerMetadata | Gets the user-specified metadata for a container. |
getLink | Creates a link to access a blob for the amount of seconds specified. |
interrupt | Interrupt the current method. |
leaseBlob | Lease a blob to establish an exclusive one minute lock on a blob. LeaseAction: Acquire(0): Requests a new lease. Renew(1): Renews the lease. Release(2): Release the lease. Break(3): Break the lease, if the blob has an active lease. |
listBlobs | List the blobs under a specified container. |
listBlocks | List the blocks under the specified block blob. |
listContainers | List the containers under the specified account. |
putBlockList | Commits a blob using the specified set of block IDs that make up the blob. |
reset | Resets request-related properties. |
resetHeaders | Resets all HTTP headers, cookies, and localfile. |
setBlobMetadata | Sets the user-specified metadata for a blob. |
setContainerACL | Sets the access policy for the container. |
setContainerMetadata | Sets the user-specified metadata for a container. |
setDownloadStream | Sets the stream to which a retrieved blob will be written. |
setUploadStream | Sets the stream to be uploaded to the server. |
Event List
The following is the full list of the events fired by the bean with short descriptions. Click on the links for further details.
BlobList | Fired for every blob when ListBlobs is called. |
BlockList | Fired for every block when ListBlocks is called. |
Connected | Fired immediately after a connection completes (or fails). |
ContainerList | Fired for every container when ListContainers is called. |
Disconnected | Fired when a connection is closed. |
EndTransfer | Fired when a document finishes transferring. |
Error | Information about errors during data delivery. |
Header | Fired every time a header line comes in. |
Metadata | Fired when valid blob or container metadata is returned. |
PrefixList | Fired for each blob prefix returned when BlobDelimiter is set and ListBlobs is called.. |
SSLServerAuthentication | Fired after the server presents its certificate to the client. |
SSLStatus | Shows the progress of the secure connection. |
StartTransfer | Fired when a document starts transferring (after the headers). |
Status | Fired when the HTTP status line is received from the server. |
Transfer | Fired while a document transfers (delivers document). |
Configuration Settings
The following is a list of configuration settings for the bean with short descriptions. Click on the links for further details.
BlobContentEncoding | Specifies which content encodings have been applied to the blob. |
BlobContentType | The content type of the blob. |
EncryptionIV | The initialization vector to be used for encryption/decryption. |
EncryptionKey | The key to use during AES encryption/decryption. |
ETag | The ETag for the container/blob returned by the server. |
EncodeBlockId | If true, the id of a block will be automatically base 64 encoded and decoded. |
IncludeContentMD5 | Specifies whether or not the Content-MD5 header will be added to the outgoing request. |
IncludeMetadata | Determines if the container/blob's metadata will be returned. |
IncludeProperties | Specifies if the blob's properties should be included in the response. |
IncludeSnapshots | Specifies whether or not the blob's snapshots will be returned. |
IncludeUncommittedBlobs | Specifies if uncommitted blobs will be returned. |
LastModified | The last modified time for the container/blob returned by the server. |
LinkStartTime | StartTime for Shared Access Signature (SAS) URLs. |
MaxResults | Specifies the maximum number of blobs/containers to be returned when calling ListBlobs or ListContainers. |
Prefix[i] | The common prefix at index 'i'. |
PrefixCount | The number of common prefixes. |
PrefixOtherData[i] | The common prefix other data at index 'i'. |
SetBlobProperties | Determines if to set the system properties for the blob. |
SourceIfMatch | Specifies the ETag of the source blob for a conditional update. |
SourceLeaseID | Specifies the lease ID of the source blob to copy. |
StartByte | The byte position of the last successfully uploaded block. |
StorePrefixList | If true, store the common prefixes when ListBlobs is called. |
TempPath | If set, the temporary files created during decryption will be put in the path specified. |
APIVersion | The API version specified in the request. |
TransferredData | Returns the entire XML response received from Azure. |
URL | If set, the default URL(http://youraccount.blob.core.windows.net/) will be overridden by this value. |
AzureTimeout | Gets or sets the service timeout for the request in seconds. |
DateFormat | The format string to be used for formatting the DateTime values received from the server. |
AcceptEncoding | Used to tell the server which types of content encodings the client supports. |
AllowHTTPCompression | This property enables HTTP compression for receiving data. |
AllowIdenticalRedirectURL | Allow redirects to the same URL. |
Append | Whether to append data to LocalFile. |
Authorization | The Authorization string to be sent to the server. |
BytesTransferred | Contains the number of bytes transferred in the response data. |
EncodeURL | If set to true the URL will be encoded by the component. |
FollowRedirects | Determines what happens when the server issues a redirect. |
GetOn302Redirect | If set to true the component will perform a GET on the new location. |
HTTPVersion | The version of HTTP used by the component. |
IfModifiedSince | A date determining the maximum age of the desired document. |
KeepAlive | Determines whether the HTTP connection is closed after completion of the request. |
MaxRedirectAttempts | Limits the number of redirects that are followed in a request. |
OtherHeaders | Other headers as determined by the user (optional). |
ProxyAuthorization | The authorization string to be sent to the proxy server. |
ProxyAuthScheme | The authorization scheme to be used for the proxy. |
ProxyPassword | A password if authentication is to be used for the proxy. |
ProxyPort | Port for the proxy server (default 80). |
ProxyServer | Name or IP address of a proxy server (optional). |
ProxyUser | A user name if authentication is to be used for the proxy. |
TransferredDataLimit | The maximum number of incoming bytes to be stored by the component. |
TransferredHeaders | The full set of headers as received from the server. |
UseChunkedEncoding | Enables or Disables HTTP chunked encoding for transfers. |
ChunkSize | Specifies the chunk size in bytes when using chunked encoding. |
UserAgent | Information about the user agent (browser). |
KerberosSPN | The Service Principal Name for the Kerberos Domain Controller. |
ConnectionTimeout | Sets a separate timeout value for establishing a connection. |
FirewallAutoDetect | Tells the component whether or not to automatically detect and use firewall system settings, if available. |
FirewallHost | Name or IP address of firewall (optional). |
FirewallPassword | Password to be used if authentication is to be used when connecting through the firewall. |
FirewallPort | The TCP port for the FirewallHost;. |
FirewallType | Determines the type of firewall to connect through. |
FirewallUser | A user name if authentication is to be used connecting through a firewall. |
KeepAliveTime | The inactivity time in milliseconds before a TCP keep-alive packet is sent. |
KeepAliveInterval | The retry interval, in milliseconds, to be used when a TCP keep-alive packet is sent and no response is received. |
Linger | When set to True, connections are terminated gracefully. |
LingerTime | Time in seconds to have the connection linger. |
LocalHost | The name of the local host through which connections are initiated or accepted. |
LocalPort | The TCP port in the local host where the component binds. |
MaxLineLength | The maximum amount of data to accumulate when no EOL is found. |
MaxTransferRate | The transfer rate limit in bytes per second. |
RecordLength | The length of received data records. |
TCPKeepAlive | Determines whether or not the keep alive socket option is enabled. |
UseIPv6 | Whether to use IPv6. |
TcpNoDelay | Whether or not to delay when sending packets. |
ReuseSSLSession | Determines if the SSL session is reused. |
SSLCipherStrength | The minimum cipher strength used for bulk encryption. |
SSLEnabledProtocols | Used to enable/disable the supported security protocols. |
SSLProvider | The name of the security provider to use. |
SSLSecurityFlags | Flags that control certificate verification. |
OpenSSLCADir | The path to a directory containing CA certificates. |
OpenSSLCAFile | Name of the file containing the list of CA's trusted by your application. |
OpenSSLCipherList | A string that controls the ciphers to be used by SSL. |
OpenSSLPrngSeedData | The data to seed the pseudo random number generator (PRNG). |
AbsoluteTimeout | Determines whether timeouts are inactivity timeouts or absolute timeouts. |
FirewallData | Used to send extra data to the firewall. |
InBufferSize | The size in bytes of the incoming queue of the socket. |
OutBufferSize | The size in bytes of the outgoing queue of the socket. |
CodePage | The system code page used for Unicode to Multibyte translations. |