DeleteContainer
Deletes a container from Azure Data Lake.
Task version: 2.0.0
Required Frends version: 5.7+
Required .NET version: 8.0
Compatible Agents: Crossplatform
Source code: https://github.com/FrendsPlatform/Frends.AzureDataLake/tree/main/Frends.AzureDataLake.DeleteContainer
Task Parameters
ConnectionMethod : ConnectionMethod
Which connection method should be used for connecting to Azure Data Lake?
Possible values:
ConnectionString: Which connection method should be used for connecting to Azure Data Lake?OAuth2: Which connection method should be used for connecting to Azure Data Lake?
Default: ConnectionString
Example: ConnectionMethod.ConnectionString
ContainerName : String
Name of the Azure Data Lake container which will be deleted.
Default: -
Example: test-container
🗝ConnectionString : String
Connection string to Azure Data Lake.
Default: -
Example: DefaultEndpointsProtocol=https;AccountName=accountname;AccountKey=Pdlrxyz==;EndpointSuffix=core.windows.net
ApplicationID : String
Application (Client) ID of Azure AD Application.
Default: -
Example: Y6b1hf2a-80e2-xyz2-qwer3h-3a7c3a8as4b7f
TenantID : String
Tenant ID of Azure Tenant.
Default: -
Example: Y6b1hf2a-80e2-xyz2-qwer3h-3a7c3a8as4b7f
🗝ClientSecret : String
Client Secret of Azure AD Application.
Default: -
Example: YouShallNotPass!
StorageAccountName : String
Name of the storage account.
Default: -
Example: Storager
ThrowErrorOnFailure : Boolean
Throw an exception if the task encounters an error.
When false, the task returns a Result with Success = false and Error details instead.
Default: True
Example: true
ErrorMessageOnFailure : String
Optional custom error message to use when ThrowErrorOnFailure is true.
Default: -
Example: -
Task Result
Success : Boolean
Indicates whether the operation succeeded.
Example: true
ContainerWasDeleted : Boolean
Returns true when container has been deleted.
Example: true
Message : String
Description about action's result.
Example: Container deleted successfully.
Error : Error
Error details when the operation fails and ThrowErrorOnFailure is false.
Error.Message : String
Error message.
Error.AdditionalInfo : Exception
Additional information about the error.
Task Changelog
Changelog for Task Frends.AzureDataLake.DeleteContainer.
[2.0.0] - 2026-08-11
Changed
Breaking change: Removed
ThrowErrorIfContainerDoesNotExistoption. Container-not-found is now treated as a regular failure and handled byThrowErrorOnFailure(throws an exception by default, or returns a failedResultwhen set tofalse).Upgraded target framework from .NET 6 to .NET 8.
Added
ThrowErrorOnFailureandErrorMessageOnFailureoptions: you can now control whether the task throws an exception on failure or returns a result with error details.The task result now includes
SuccessandErrorproperties to reflect the outcome of the operation more clearly.
[1.3.0] - 2026-01-15
Changed
Updated Azure packages to latest versions:
Azure.Storage.Files.DataLake 12.25.0
Azure.Identity 1.17.1
[1.2.0] - 2024-08-23
Changed
Updated the Azure.Identity package to version 1.12.0.
[1.1.0] - 2024-05-20
Added
Added FrendsTaskMetadata.json
[1.0.0] - 2024-05-13
Added
Initial implementation of Frends.AzureDataLake.DeleteContainer.
Last updated
Was this helpful?

