Enum BlobOperationsDefinition

    • Enum Constant Detail

      • listBlobContainers

        public static final BlobOperationsDefinition listBlobContainers
        Returns a list of containers in the storage account.
      • createBlobContainer

        public static final BlobOperationsDefinition createBlobContainer
        Creates a new container within a storage account. If a container with the same name already exists, the producer will ignore it.
      • deleteBlobContainer

        public static final BlobOperationsDefinition deleteBlobContainer
        Deletes the specified container in the storage account. If the container doesn't exist the operation fails.
      • listBlobs

        public static final BlobOperationsDefinition listBlobs
        Returns a list of blobs in this container, with folder structures flattened.
      • getBlob

        public static final BlobOperationsDefinition getBlob
        Get the content of the blob, can be restricted to a blob range.
      • downloadBlobToFile

        public static final BlobOperationsDefinition downloadBlobToFile
        Downloads the entire blob into a file specified by the path. The file will be created and must not exist, if the file already exists a FileAlreadyExistsException will be thrown.
      • downloadLink

        public static final BlobOperationsDefinition downloadLink
        Generates the download link for the specified blob using shared access signatures (SAS). This by default only limit to 1hour of allowed access. However, you can override the default expiration duration through the headers.
      • uploadBlockBlob

        public static final BlobOperationsDefinition uploadBlockBlob
        Creates a new block blob, or updates the content of an existing block blob. Updating an existing block blob overwrites any existing metadata on the blob. Partial updates are not supported with PutBlob; the content of the existing blob is overwritten with the new content.
      • stageBlockBlobList

        public static final BlobOperationsDefinition stageBlockBlobList
        Uploads the specified block to the block blob's "staging area" to be later committed by a call to commitBlobBlockList. However in case header `CamelAzureStorageBlobCommitBlobBlockListLater` is set to false, this will also commit the blocks.
      • commitBlobBlockList

        public static final BlobOperationsDefinition commitBlobBlockList
        Writes a blob by specifying the list of block IDs that are to make up the blob. In order to be written as part of a blob, a block must have been successfully written to the server in a prior `stageBlockBlobList` operation. You can call `commitBlobBlockList` to update a blob by uploading only those blocks that have changed, then committing the new and existing blocks together. Any blocks not specified in the block list and permanently deleted.
      • getBlobBlockList

        public static final BlobOperationsDefinition getBlobBlockList
        Returns the list of blocks that have been uploaded as part of a block blob using the specified block list filter.
      • createAppendBlob

        public static final BlobOperationsDefinition createAppendBlob
        Creates a 0-length append blob. Call commitAppendBlo`b operation to append data to an append blob.
      • commitAppendBlob

        public static final BlobOperationsDefinition commitAppendBlob
        Commits a new block of data to the end of the existing append blob. In case of header `CamelAzureStorageBlobAppendBlobCreated` is set to false, it will attempt to create the appendBlob through internal call to `createAppendBlob` operation.
      • createPageBlob

        public static final BlobOperationsDefinition createPageBlob
        Creates a page blob of the specified length. Call `uploadPageBlob` operation to upload data data to a page blob.
      • uploadPageBlob

        public static final BlobOperationsDefinition uploadPageBlob
        Writes one or more pages to the page blob. The write size must be a multiple of 512. In case of header `CamelAzureStorageBlobPageBlockCreated` is set to false, it will attempt to create the appendBlob through internal call to `createPageBlob` operation.
      • resizePageBlob

        public static final BlobOperationsDefinition resizePageBlob
        Resizes the page blob to the specified size (which must be a multiple of 512).
      • clearPageBlob

        public static final BlobOperationsDefinition clearPageBlob
        Frees the specified pages from the page blob. The size of the range must be a multiple of 512.
      • getPageBlobRanges

        public static final BlobOperationsDefinition getPageBlobRanges
        Returns the list of valid page ranges for a page blob or snapshot of a page blob.
      • getChangeFeed

        public static final BlobOperationsDefinition getChangeFeed
        Returns transaction logs of all the changes that occur to the blobs and the blob metadata in your storage account. The change feed provides ordered, guaranteed, durable, immutable, read-only log of these changes.
      • copyBlob

        public static final BlobOperationsDefinition copyBlob
        Returns transaction logs of all the changes that occur to the blobs and the blob metadata in your storage account. The change feed provides ordered, guaranteed, durable, immutable, read-only log of these changes.
    • Method Detail

      • values

        public static BlobOperationsDefinition[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BlobOperationsDefinition c : BlobOperationsDefinition.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BlobOperationsDefinition valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null