Toggle menu

CreateContainer

Description

Creates a new container in the specified Azure Blob Storage account. The container name must be unique within the storage account. Optionally, authentication details can be provided to select the correct storage account identifier.

Parameters

NameTypeComments
containerNameStringThe name to give to the new container
metadataObject, optionalMetadata to add to the created container
timeoutMsNumber, optionalTimeout in milliseconds before aborting the operation (default is 20000)
authDetailsObject, optionalThe authDetails set in the worker configuration to use. If not set the request will use the default authDetails
authDetails.identifierStringThe identifier for the authentication details (used to select the correct connection string)

Example

{
    "id": "123",
    "jsonrpc": "2.0",
    "method": "createContainer",
    "params": {
        "containerName": "applications",
        "metadata": {
            "author": "John Smith"
        },
        "timeoutMs": 30000,
        "authDetails": {
            "identifier": "my-storage-account"
        }
    }
}

Last modified on 22 July 2025