For the complete documentation index, see llms.txt. This page is also available as Markdown.

WriteBlob

Frends Task to write content to Azure Blob Storage.

Task version: 2.0.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

SourceType : SourceType

Selection of source types.

Possible values:

  • String: Selection of source types.

  • Bytes: Selection of source types.

Default: 1 Example: SourceType.String

ContentString : String

Source content in string format.

Default: - Example: This is test

ContentBytes : Byte[]

Source content in byte array.

Default: - Example: VGhpcyBpcyB0ZXN0

Encoding : FileEncoding

Set desired content-encoding.

Defaults to UTF8 BOM.

Possible values:

  • UTF8: Set desired content-encoding.

Defaults to UTF8 BOM.

  • Default: Set desired content-encoding.

Defaults to UTF8 BOM.

  • ASCII: Set desired content-encoding.

Defaults to UTF8 BOM.

  • WINDOWS1252: Set desired content-encoding.

Defaults to UTF8 BOM.

  • Other: Set desired content-encoding.

Defaults to UTF8 BOM.

Default: 0 Example: utf8

EnableBOM : Boolean

Enables BOM for UTF-8.

Default: True Example: -

FileEncodingString : String

Content encoding as string. A partial list of possible encodings: https://en.wikipedia.org/wiki/Windows_code_page#List.

Default: - Example: windows-1252

Task Result

Name
Description

Success : Boolean

Operation complete. Operation is seens as completed if an ignorable error has occured and Options.ThrowErrorOnFailure is set to false. Example: true

Info : String

This object contains the source file path and the URL of the blob. If an ignorable error occurs, such as when a blob already exists and Options.ThrowErrorOnFailure is set to false, the URL will be replaced with the corresponding error message.age. Example: { { c:\temp\examplefile.txt, https://storage.blob.core.windows.net/container/examplefile.txt }, { c:\temp\examplefile2.txt, Blob examplefile2 already exists. } }

Uri : String

URI of uploaded file.

Task Changelog

Changelog for Task Frends.AzureBlobStorage.WriteBlob.

[2.0.0] - 2026-04-26

Changed

  • Standardized parameter names and validation across all Azure Blob Storage tasks for consistency.

[1.3.0] - 2026-01-23

Added

  • Add options to support Arc Managed Identity authentication.

[1.2.0] - 2026-01-15

Changed

  • Updated Azure packages to the latest versions:

  • Azure.Storage.Blobs 12.27.0

  • Azure.Identity 1.17.1

[1.1.0] - 2025-10-07

Fixed

  • Change returned info type from 3rd party BlobContentInfo to string with json.

[1.0.0] - 2025-01-24

Added

  • Initial implementation of Frends.AzureBlobStorage.WriteBlob.

Last updated

Was this helpful?