Table of Contents

Codeunit "ABS Blob Client"

ID 9053
Namespace: System.Azure.Storage

Provides functionality for using operations on blobs in Azure Blob storage.

Properties

Name Value
Access Public
InherentEntitlements X
InherentPermissions X

Methods

Initialize

Initializes the Azure Blob storage client.

procedure Initialize(StorageAccount: Text, Container: Text, Authorization: Interface "Storage Service Authorization")

Parameters

Name Type Description
StorageAccount Text

The name of Storage Account to use.

Container Text

The name of the container to use.

Authorization Interface System.Azure.Storage."Storage Service Authorization"

The authorization to use.

Initialize

Initializes the Azure BLOB Storage BLOB client.

procedure Initialize(StorageAccount: Text, Container: Text, Authorization: Interface "Storage Service Authorization", APIVersion: Enum "Storage Service API Version")

Parameters

Name Type Description
StorageAccount Text

The name of Storage Account to use.

Container Text

The name of the container to use.

Authorization Interface System.Azure.Storage."Storage Service Authorization"

The authorization to use.

APIVersion Enum System.Azure.Storage."Storage Service API Version"

The used API version to use.

SetBaseUrl

The base URL to use when constructing the final URI. If not set, the base URL is https://%1.blob.core.windows.net where %1 is the storage account name.

procedure SetBaseUrl(BaseUrl: Text)

Parameters

Name Type Description
BaseUrl Text

A valid URL string

Remarks

Use %1 as a placeholder for the storage account name.

ListBlobs

Lists the blobs in a specific container. see: https://go.microsoft.com/fwlink/?linkid=2210588

procedure ListBlobs(var ABSContainerContent: Record "ABS Container Content" temporary): Codeunit "ABS Operation Response"

Parameters

Name Type Description
ABSContainerContent Table System.Azure.Storage."ABS Container Content"

Collection of the result (temporary record).

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

ListBlobs

Lists the blobs in a specific container. see: https://go.microsoft.com/fwlink/?linkid=2210588

procedure ListBlobs(var ABSContainerContent: Record "ABS Container Content" temporary, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
ABSContainerContent Table System.Azure.Storage."ABS Container Content"

Collection of the result (temporary record).

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

ListBlobs

Lists the blobs in a specific container. see: https://go.microsoft.com/fwlink/?linkid=2210588

procedure ListBlobs(var BlobList: Dictionary of [Text, XmlNode]): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobList Dictionary of [Text, XmlNode]

Collection of the result (BlobList of [Text, XmlNode]). The key in the dictionary is the full blob path and the value is the complete blob xmlnode from the response

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

ListBlobs

Lists the blobs in a specific container. see: https://go.microsoft.com/fwlink/?linkid=2210588

procedure ListBlobs(var BlobList: Dictionary of [Text, XmlNode], ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobList Dictionary of [Text, XmlNode]

Collection of the result (BlobList of [Text, XmlNode]). The key in the dictionary is the full blob path and the value is the complete blob xmlnode from the response

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobBlockBlobUI

Uploads a file as a BlockBlob (with File Selection Dialog). see: https://go.microsoft.com/fwlink/?linkid=2210387

procedure PutBlobBlockBlobUI(): Codeunit "ABS Operation Response"

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobBlockBlobUI

Uploads a file as a BlockBlob (with File Selection Dialog). see: https://go.microsoft.com/fwlink/?linkid=2210387

procedure PutBlobBlockBlobUI(ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobBlockBlobStream

Uploads the content of an InStream as a BlockBlob see: https://go.microsoft.com/fwlink/?linkid=2210387

procedure PutBlobBlockBlobStream(BlobName: Text, var SourceInStream: InStream): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceInStream InStream

The Content of the Blob as InStream.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobBlockBlobStream

Uploads the content of an InStream as a BlockBlob see: https://go.microsoft.com/fwlink/?linkid=2210387

procedure PutBlobBlockBlobStream(BlobName: Text, var SourceInStream: InStream, ContentType: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceInStream InStream

The Content of the Blob as InStream.

ContentType Text

Value for Content-Type HttpHeader (e.g. 'text/plain; charset=UTF-8')

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobBlockBlobStream

Uploads the content of an InStream as a BlockBlob. see: https://go.microsoft.com/fwlink/?linkid=2210387

procedure PutBlobBlockBlobStream(BlobName: Text, var SourceInStream: InStream, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceInStream InStream

The Content of the Blob as InStream.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobBlockBlobStream

Uploads the content of an InStream as a BlockBlob. see: https://go.microsoft.com/fwlink/?linkid=2210387

procedure PutBlobBlockBlobStream(BlobName: Text, var SourceInStream: InStream, ContentType: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceInStream InStream

The Content of the Blob as InStream.

ContentType Text

Value for Content-Type HttpHeader (e.g. 'text/plain; charset=UTF-8')

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobBlockBlobText

Uploads text as a BlockBlob. see: https://go.microsoft.com/fwlink/?linkid=2210387

procedure PutBlobBlockBlobText(BlobName: Text, SourceText: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceText Text

The Content of the Blob as Text.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobBlockBlobText

Uploads text as a BlockBlob. see: https://go.microsoft.com/fwlink/?linkid=2210387

procedure PutBlobBlockBlobText(BlobName: Text, SourceText: Text, ContentType: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceText Text

The Content of the Blob as Text.

ContentType Text

Value for Content-Type HttpHeader (e.g. 'text/plain; charset=UTF-8')

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobBlockBlobText

Uploads text as a BlockBlob. see: https://go.microsoft.com/fwlink/?linkid=2210387

procedure PutBlobBlockBlobText(BlobName: Text, SourceText: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceText Text

The Content of the Blob as Text.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobBlockBlobText

Uploads text as a BlockBlob. see: https://go.microsoft.com/fwlink/?linkid=2210387

procedure PutBlobBlockBlobText(BlobName: Text, SourceText: Text, ContentType: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceText Text

The Content of the Blob as Text.

ContentType Text

Value for Content-Type HttpHeader (e.g. 'text/plain; charset=UTF-8')

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobPageBlob

procedure PutBlobPageBlob(BlobName: Text, ContentType: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ContentType Text

Value for Content-Type HttpHeader (e.g. 'text/plain; charset=UTF-8')

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobPageBlob

procedure PutBlobPageBlob(BlobName: Text, ContentType: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ContentType Text

Value for Content-Type HttpHeader (e.g. 'text/plain; charset=UTF-8')

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobAppendBlobStream

The Put Blob operation creates a new append blob see: https://go.microsoft.com/fwlink/?linkid=2210387 Uses 'application/octet-stream' as Content-Type

procedure PutBlobAppendBlobStream(BlobName: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobAppendBlobStream

The Put Blob operation creates a new append blob see: https://go.microsoft.com/fwlink/?linkid=2210387 Uses 'application/octet-stream' as Content-Type

procedure PutBlobAppendBlobStream(BlobName: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobAppendBlobText

The Put Blob operation creates a new append blob see: https://go.microsoft.com/fwlink/?linkid=2210387 Uses 'text/plain; charset=UTF-8' as Content-Type

procedure PutBlobAppendBlobText(BlobName: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlobAppendBlob

The Put Blob operation creates a new append blob see: https://go.microsoft.com/fwlink/?linkid=2210387

procedure PutBlobAppendBlob(BlobName: Text, ContentType: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ContentType Text

Value for Content-Type HttpHeader (e.g. 'text/plain; charset=UTF-8')

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AppendBlockText

The Append Block operation commits a new block of data to the end of an existing append blob. see: https://go.microsoft.com/fwlink/?linkid=2211404 Uses 'text/plain; charset=UTF-8' as Content-Type

procedure AppendBlockText(BlobName: Text, ContentAsText: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ContentAsText Text

Text-variable containing the content that should be added to the Blob

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AppendBlockText

The Append Block operation commits a new block of data to the end of an existing append blob. see: https://go.microsoft.com/fwlink/?linkid=2211404

procedure AppendBlockText(BlobName: Text, ContentAsText: Text, ContentType: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ContentAsText Text

Text-variable containing the content that should be added to the Blob

ContentType Text

Value for Content-Type HttpHeader (e.g. 'text/plain; charset=UTF-8')

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AppendBlockText

The Append Block operation commits a new block of data to the end of an existing append blob. see: https://go.microsoft.com/fwlink/?linkid=2211404

procedure AppendBlockText(BlobName: Text, ContentAsText: Text, ContentType: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ContentAsText Text

Text-variable containing the content that should be added to the Blob

ContentType Text

Value for Content-Type HttpHeader (e.g. 'text/plain; charset=UTF-8')

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AppendBlockStream

The Append Block operation commits a new block of data to the end of an existing append blob. see: https://go.microsoft.com/fwlink/?linkid=2211404 Uses 'application/octet-stream' as Content-Type

procedure AppendBlockStream(BlobName: Text, ContentAsInStream: InStream): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ContentAsInStream InStream

InStream containing the content that should be added to the Blob

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AppendBlockStream

The Append Block operation commits a new block of data to the end of an existing append blob. see: https://go.microsoft.com/fwlink/?linkid=2211404

procedure AppendBlockStream(BlobName: Text, ContentAsInStream: InStream, ContentType: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ContentAsInStream InStream

InStream containing the content that should be added to the Blob

ContentType Text

Value for Content-Type HttpHeader (e.g. 'text/plain; charset=UTF-8')

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

The name of the blob.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AppendBlock

The Append Block operation commits a new block of data to the end of an existing append blob. see: https://go.microsoft.com/fwlink/?linkid=2211404

procedure AppendBlock(BlobName: Text, ContentType: Text, SourceContentVariant: Variant, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ContentType Text

Value for Content-Type HttpHeader (e.g. 'text/plain; charset=UTF-8')

SourceContentVariant Variant

Variant containing the content that should be added to the Blob

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AppendBlockFromURL

The Append Block From URL operation commits a new block of data to the end of an existing append blob. see: https://go.microsoft.com/fwlink/?linkid=2211405

procedure AppendBlockFromURL(BlobName: Text, SourceUri: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceUri Text

Specifies the name of the source blob.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AppendBlockFromURL

The Append Block From URL operation commits a new block of data to the end of an existing append blob. see: https://go.microsoft.com/fwlink/?linkid=2211405

procedure AppendBlockFromURL(BlobName: Text, SourceUri: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceUri Text

Specifies the name of the source blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobAsFile

Receives a Blob as a File from a Container. see: https://go.microsoft.com/fwlink/?linkid=2210388

procedure GetBlobAsFile(BlobName: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobAsFile

Receives a Blob as a File from a Container. see: https://go.microsoft.com/fwlink/?linkid=2210388

procedure GetBlobAsFile(BlobName: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobAsStream

Receives a Blob as a InStream from a Container. see: https://go.microsoft.com/fwlink/?linkid=2210388

procedure GetBlobAsStream(BlobName: Text, var TargetInStream: InStream): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

TargetInStream InStream

The result InStream containg the content of the Blob.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobAsStream

Receives a Blob as a InStream from a Container. see: https://go.microsoft.com/fwlink/?linkid=2210388

procedure GetBlobAsStream(BlobName: Text, var TargetInStream: InStream, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

TargetInStream InStream

The result InStream containg the content of the Blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobAsText

Receives a Blob as Text from a Container. see: https://go.microsoft.com/fwlink/?linkid=2210388

procedure GetBlobAsText(BlobName: Text, var TargetText: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

TargetText Text

The result Text containg the content of the Blob.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobAsText

Receives a Blob as Text from a Container. see: https://go.microsoft.com/fwlink/?linkid=2210388

procedure GetBlobAsText(BlobName: Text, var TargetText: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

TargetText Text

The result Text containg the content of the Blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

SetBlobExpiryRelativeToCreation

The Set Blob Expiry operation sets an expiry time on an existing blob. This operation is only allowed on Hierarchical Namespace enabled accounts Sets the expiry time relative to the file creation time, x-ms-expiry-time must be specified as the number of milliseconds to elapse from creation time. see: https://go.microsoft.com/fwlink/?linkid=2210389

procedure SetBlobExpiryRelativeToCreation(BlobName: Text, ExpiryTime: Integer): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ExpiryTime Integer

Number if miliseconds (Integer) until the expiration.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

SetBlobExpiryRelativeToNow

The Set Blob Expiry operation sets an expiry time on an existing blob. This operation is only allowed on Hierarchical Namespace enabled accounts Sets the expiry relative to the current time, x-ms-expiry-time must be specified as the number of milliseconds to elapse from now. see: https://go.microsoft.com/fwlink/?linkid=2210389

procedure SetBlobExpiryRelativeToNow(BlobName: Text, ExpiryTime: Integer): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ExpiryTime Integer

Number if miliseconds (Integer) until the expiration.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

SetBlobExpiryAbsolute

The Set Blob Expiry operation sets an expiry time on an existing blob. This operation is only allowed on Hierarchical Namespace enabled accounts Sets the expiry to an absolute DateTime see: https://go.microsoft.com/fwlink/?linkid=2210389

procedure SetBlobExpiryAbsolute(BlobName: Text, ExpiryTime: DateTime): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ExpiryTime DateTime

Absolute DateTime for the expiration.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

SetBlobExpiryNever

The Set Blob Expiry operation sets an expiry time on an existing blob. This operation is only allowed on Hierarchical Namespace enabled accounts Sets the file to never expire or removes the current expiry time, x-ms-expiry-time must not to be specified. see: https://go.microsoft.com/fwlink/?linkid=2210389

procedure SetBlobExpiryNever(BlobName: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

SetBlobTags

The Set Blob Tags operation sets user-defined tags for the specified blob as one or more key-value pairs. see: https://go.microsoft.com/fwlink/?linkid=2211407

procedure SetBlobTags(BlobName: Text, Tags: Dictionary of [Text, Text]): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Tags Dictionary of [Text, Text]

A Dictionary of [Text, Text] which contains the Tags you want to set.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

FindBlobsByTags

The Find Blobs By Tags operation retrieves blobs based on user-defined tags for the specified blob, represented as one or more key-value pairs. see: https://learn.microsoft.com/nl-nl/rest/api/storageservices/find-blobs-by-tags?tabs=azure-ad

procedure FindBlobsByTags(SearchTags: Dictionary of [Text, Text], var FoundBlobs: XmlDocument): Codeunit "ABS Operation Response"

Parameters

Name Type Description
SearchTags Dictionary of [Text, Text]

A Dictionary of [Text, Text] with tags to search on.

FoundBlobs XmlDocument

An XmlDocument containing the results of the identified blobs.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

FindBlobsByTags

The Find Blobs By Tags operation retrieves blobs based on user-defined tags for the specified blob, represented as one or more key-value pairs. see: https://learn.microsoft.com/rest/api/storageservices/find-blobs-by-tags?tabs=azure-ad

procedure FindBlobsByTags(SearchTags: Dictionary of [Text, Text], var FoundBlobs: XmlDocument, OptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
SearchTags Dictionary of [Text, Text]

A Dictionary of [Text, Text] with tags to search on.

FoundBlobs XmlDocument

An XmlDocument containing the results of the identified blobs.

OptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobTags

The Get Blob Tags operation gets user-defined tags for the specified blob as XmlDocument. see: https://go.microsoft.com/fwlink/?linkid=2211502

procedure GetBlobTags(BlobName: Text, var Tags: XmlDocument): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Tags XmlDocument

The result XmlDocument with blob tags.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobTags

The Get Blob Tags operation gets user-defined tags for the specified blob as XmlDocument. see: https://go.microsoft.com/fwlink/?linkid=2211502

procedure GetBlobTags(BlobName: Text, var Tags: XmlDocument, OptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Tags XmlDocument

The result XmlDocument with blob tags.

OptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobTags

The Get Blob Tags operation gets user-defined tags for the specified blob as one or more key-value pairs. see: https://go.microsoft.com/fwlink/?linkid=2211502

procedure GetBlobTags(BlobName: Text, var Tags: Dictionary of [Text, Text]): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Tags Dictionary of [Text, Text]

The result Dictionary of [Text, Text] with blob tags.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobTags

The Get Blob Tags operation gets user-defined tags for the specified blob as one or more key-value pairs. see: https://go.microsoft.com/fwlink/?linkid=2211502

procedure GetBlobTags(BlobName: Text, var Tags: Dictionary of [Text, Text], OptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Tags Dictionary of [Text, Text]

The result Dictionary of [Text, Text] with blob tags.

OptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobProperties

The Get Blob Properties operation returns all user-defined metadata, standard HTTP properties, and system properties for the blob. It doesn't return the content of the blob. see: https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-properties?tabs=azure-ad

procedure GetBlobProperties(BlobName: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object. The Blob properties are in the response headers.

GetBlobProperties

The Get Blob Properties operation returns all user-defined metadata, standard HTTP properties, and system properties for the blob. It doesn't return the content of the blob. see: https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-properties?tabs=azure-ad

procedure GetBlobProperties(BlobName: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object. The Blob properties are in the response headers.

BlobExists

The Blob Exists operation returns true if a blob exists, or false if the blob does not exist.

procedure BlobExists(BlobName: Text): Boolean

Parameters

Name Type Description
BlobName Text

The name of the blob.

Returns

Type Description
Boolean

True if the blob exists, false if not.

BlobExists

The Blob Exists operation returns true if a blob exists, or false if the blob does not exist.

procedure BlobExists(BlobName: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Boolean

Parameters

Name Type Description
BlobName Text

The name of the blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Boolean

True if the blob exists, false if not.

DeleteBlob

The Delete Blob operation marks the specified blob or snapshot for deletion. The blob is later deleted during garbage collection. see: https://go.microsoft.com/fwlink/?linkid=2211408

procedure DeleteBlob(BlobName: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

DeleteBlob

The Delete Blob operation marks the specified blob or snapshot for deletion. The blob is later deleted during garbage collection. see: https://go.microsoft.com/fwlink/?linkid=2211408

procedure DeleteBlob(BlobName: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

UndeleteBlob

The Undelete Blob operation restores the contents and metadata of a soft deleted blob and any associated soft deleted snapshots (version 2017-07-29 or later) see: https://go.microsoft.com/fwlink/?linkid=2210390

procedure UndeleteBlob(BlobName: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

UndeleteBlob

The Undelete Blob operation restores the contents and metadata of a soft deleted blob and any associated soft deleted snapshots (version 2017-07-29 or later) see: https://go.microsoft.com/fwlink/?linkid=2210390

procedure UndeleteBlob(BlobName: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

CopyBlob

The Copy Blob operation copies a blob to a destination within the storage account. see: https://go.microsoft.com/fwlink/?linkid=2210589

procedure CopyBlob(BlobName: Text, SourceName: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceName Text

Specifies the name of the source blob or file.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

CopyBlob

The Copy Blob operation copies a blob to a destination within the storage account. see: https://go.microsoft.com/fwlink/?linkid=2210589

procedure CopyBlob(BlobName: Text, SourceName: Text, LeaseId: Guid, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceName Text

Specifies the name of the source blob or file.

LeaseId Guid

Required if the destination blob has an active lease. The lease ID specified must match the lease ID of the destination blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlockList

The Put Block List operation writes a blob by specifying the list of block IDs that make up the blob. see: https://go.microsoft.com/fwlink/?linkid=2210392

procedure PutBlockList(CommitedBlocks: Dictionary of [Text, Integer], UncommitedBlocks: Dictionary of [Text, Integer]): Codeunit "ABS Operation Response"

Parameters

Name Type Description
CommitedBlocks Dictionary of [Text, Integer]

Dictionary of [Text, Integer] containing the list of commited blocks that should be put to the Blob

UncommitedBlocks Dictionary of [Text, Integer]

Dictionary of [Text, Integer] containing the list of uncommited blocks that should be put to the Blob

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlockList

The Put Block List operation writes a blob by specifying the list of block IDs that make up the blob. see: https://go.microsoft.com/fwlink/?linkid=2210392

procedure PutBlockList(BlobName: Text, CommitedBlocks: Dictionary of [Text, Integer], UncommitedBlocks: Dictionary of [Text, Integer]): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

CommitedBlocks Dictionary of [Text, Integer]

Dictionary of [Text, Integer] containing the list of commited blocks that should be put to the Blob

UncommitedBlocks Dictionary of [Text, Integer]

Dictionary of [Text, Integer] containing the list of uncommited blocks that should be put to the Blob

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlockText

The Put Block operation creates a new block to be committed as part of a blob. see: https://learn.microsoft.com/en-us/rest/api/storageservices/put-block

procedure PutBlockText(BlobName: Text, SourceText: Text, BlockId: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceText Text

The Content of the Block as Text.

BlockId Text

Specifies the BlockId that should be put.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlockText

The Put Block operation creates a new block to be committed as part of a blob. see: https://learn.microsoft.com/en-us/rest/api/storageservices/put-block

procedure PutBlockText(BlobName: Text, SourceText: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceText Text

The Content of the Block as Text.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlockStream

The Put Block operation creates a new block to be committed as part of a blob. see: https://learn.microsoft.com/en-us/rest/api/storageservices/put-block

procedure PutBlockStream(BlobName: Text, SourceInStream: InStream): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceInStream InStream

The Content of the Block as InStream.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlockStream

The Put Block operation creates a new block to be committed as part of a blob. see: https://learn.microsoft.com/en-us/rest/api/storageservices/put-block

procedure PutBlockStream(BlobName: Text, SourceInStream: InStream, BlockId: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceInStream InStream

The Content of the Block as InStream.

BlockId Text

Specifies the BlockId that should be put.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlockFromURL

The Put Block From URL operation creates a new block to be committed as part of a blob where the contents are read from a URL. see: https://go.microsoft.com/fwlink/?linkid=2211409

procedure PutBlockFromURL(BlobName: Text, SourceUri: Text, BlockId: Text): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceUri Text

Specifies the name of the source block blob.

BlockId Text

Specifies the BlockId that should be put.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

PutBlockFromURL

The Put Block From URL operation creates a new block to be committed as part of a blob where the contents are read from a URL. see: https://go.microsoft.com/fwlink/?linkid=2211409

procedure PutBlockFromURL(BlobName: Text, SourceUri: Text, BlockId: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

SourceUri Text

Specifies the name of the source block blob.

BlockId Text

Specifies the BlockId that should be put.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AcquireLease

Requests a new lease. If the blob does not have an active lease, the Blob service creates a lease on the blob. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure AcquireLease(BlobName: Text, var LeaseId: Guid): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

LeaseId Guid

Guid containing the response value from x-ms-lease-id HttpHeader

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AcquireLease

Requests a new lease. If the blob does not have an active lease, the Blob service creates a lease on the blob. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure AcquireLease(BlobName: Text, ABSOptionalParameters: Codeunit "ABS Optional Parameters", var LeaseId: Guid): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

LeaseId Guid

Guid containing the response value from x-ms-lease-id HttpHeader

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AcquireLease

Requests a new lease. If the blob does not have an active lease, the Blob service creates a lease on the blob. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure AcquireLease(BlobName: Text, DurationSeconds: Integer, var LeaseId: Guid): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

DurationSeconds Integer

Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires

LeaseId Guid

Guid containing the response value from x-ms-lease-id HttpHeader

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AcquireLease

Requests a new lease. If the blob does not have an active lease, the Blob service creates a lease on the blob. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure AcquireLease(BlobName: Text, DurationSeconds: Integer, ABSOptionalParameters: Codeunit "ABS Optional Parameters", var LeaseId: Guid): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

DurationSeconds Integer

Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

LeaseId Guid

Guid containing the response value from x-ms-lease-id HttpHeader

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AcquireLease

Requests a new lease. If the blob does not have an active lease, the Blob service creates a lease on the blob. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure AcquireLease(BlobName: Text, ProposedLeaseId: Guid, var LeaseId: Guid): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ProposedLeaseId Guid

Proposed lease ID, in a GUID string format

LeaseId Guid

Guid containing the response value from x-ms-lease-id HttpHeader

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AcquireLease

Requests a new lease. If the blob does not have an active lease, the Blob service creates a lease on the blob. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure AcquireLease(BlobName: Text, ProposedLeaseId: Guid, ABSOptionalParameters: Codeunit "ABS Optional Parameters", var LeaseId: Guid): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

ProposedLeaseId Guid

Proposed lease ID, in a GUID string format

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

LeaseId Guid

Guid containing the response value from x-ms-lease-id HttpHeader

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

AcquireLease

Requests a new lease. If the blob does not have an active lease, the Blob service creates a lease on the blob. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure AcquireLease(BlobName: Text, DurationSeconds: Integer, ProposedLeaseId: Guid, ABSOptionalParameters: Codeunit "ABS Optional Parameters", var LeaseId: Guid): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

DurationSeconds Integer

Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires

ProposedLeaseId Guid

Proposed lease ID, in a GUID string format

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

LeaseId Guid

Guid containing the response value from x-ms-lease-id HttpHeader

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

ReleaseLease

Releases a lease on a Blob if it is no longer needed so that another client may immediately acquire a lease against the blob see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure ReleaseLease(BlobName: Text, LeaseId: Guid): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

LeaseId Guid

The Guid for the lease that should be released

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

ReleaseLease

Releases a lease on a Blob if it is no longer needed so that another client may immediately acquire a lease against the blob see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure ReleaseLease(BlobName: Text, LeaseId: Guid, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

LeaseId Guid

The Guid for the lease that should be released

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

RenewLease

Renews a lease on a Blob to keep it locked again for the same amount of time as before see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure RenewLease(BlobName: Text, LeaseId: Guid): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

LeaseId Guid

The Guid for the lease that should be renewed

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

RenewLease

Renews a lease on a Blob to keep it locked again for the same amount of time as before see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure RenewLease(BlobName: Text, LeaseId: Guid, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

LeaseId Guid

The Guid for the lease that should be renewed

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

BreakLease

Breaks a lease on a blob but ensures that another client cannot acquire a new lease until the current lease period has expired see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure BreakLease(BlobName: Text, LeaseId: Guid): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

LeaseId Guid

The Guid for the lease that should be broken

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

BreakLease

Breaks a lease on a blob but ensures that another client cannot acquire a new lease until the current lease period has expired see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure BreakLease(BlobName: Text, LeaseId: Guid, LeaseBreakPeriod: Integer): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

LeaseId Guid

The Guid for the lease that should be broken

LeaseBreakPeriod Integer

The proposed duration the lease should continue before it is broken, in seconds, between 0 and 60.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

BreakLease

Breaks a lease on a blob but ensures that another client cannot acquire a new lease until the current lease period has expired see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure BreakLease(BlobName: Text, LeaseId: Guid, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

LeaseId Guid

The Guid for the lease that should be broken

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

BreakLease

Breaks a lease on a blob but ensures that another client cannot acquire a new lease until the current lease period has expired see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure BreakLease(BlobName: Text, LeaseId: Guid, ABSOptionalParameters: Codeunit "ABS Optional Parameters", LeaseBreakPeriod: Integer): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

LeaseId Guid

The Guid for the lease that should be broken

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

LeaseBreakPeriod Integer

The proposed duration the lease should continue before it is broken, in seconds, between 0 and 60.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

ChangeLease

Changes the lease ID of an active lease see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure ChangeLease(BlobName: Text, var LeaseId: Guid, ProposedLeaseId: Guid): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

LeaseId Guid

The Guid for the lease that should be changed. Will contain the updated Guid after successful operation.

ProposedLeaseId Guid

The Guid that should be used in future

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

ChangeLease

Changes the lease ID of an active lease see: https://go.microsoft.com/fwlink/?linkid=2210391

procedure ChangeLease(BlobName: Text, LeaseId: Guid, ProposedLeaseId: Guid, ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

LeaseId Guid

The Guid for the lease that should be changed

ProposedLeaseId Guid

The Guid that should be used in future

ABSOptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobMetadata

The GetBlobMetadata operation gets user-defined Metadata for the specified blob as one or more key-value pairs. see: https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-metadata?tabs=microsoft-entra-id

procedure GetBlobMetadata(BlobName: Text, var Metadata: Dictionary of [Text, Text]): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Metadata Dictionary of [Text, Text]

The result Dictionary of [Text, Text] with blob metadata.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

GetBlobMetaData

The GetBlobMetadata operation gets user-defined Metadata for the specified blob as one or more key-value pairs. see: https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob-metadata?tabs=microsoft-entra-id

procedure GetBlobMetaData(BlobName: Text, var Metadata: Dictionary of [Text, Text], OptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Metadata Dictionary of [Text, Text]

The result Dictionary of [Text, Text] with blob metadata.

OptionalParameters Codeunit System.Azure.Storage."ABS Optional Parameters"

Optional parameters to pass.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

SetBlobMetadata

The SetBlobMetadata operation sets user-defined Metadata for the specified blob as one or more key-value pairs. see: https://learn.microsoft.com/en-us/rest/api/storageservices/set-blob-metadata?tabs=microsoft-entra-id

procedure SetBlobMetadata(BlobName: Text, Metadata: Dictionary of [Text, Text]): Codeunit "ABS Operation Response"

Parameters

Name Type Description
BlobName Text

The name of the blob.

Metadata Dictionary of [Text, Text]

The result Dictionary of [Text, Text] with blob metadata.

Returns

Type Description
Codeunit System.Azure.Storage."ABS Operation Response"

An operation response object

See also