---
id: object/codeunit/9052
type: object
title: Codeunit 9052 "ABS Container Client"
summary: Codeunit 9052 "ABS Container Client" in System Application (System.Azure.Storage). 26 public procedures. Present since at least BC23, still in BC30, changed in BC25.
tier: official
language: en
tags:
  - codeunit
  - system application
versions:
  introduced: null
  last_changed: "25"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 916f4a77a64705afbc36d642cf8d54db48c2015dc42a2ef88941947b46fac92b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Azure%20Blob%20Services%20API/src/ABSContainerClient.Codeunit.al
    title: src/System Application/App/Azure Blob Services API/src/ABSContainerClient.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 9052
name: ABS Container Client
namespace: System.Azure.Storage
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 26
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Codeunit 9052 "ABS Container Client"

> Codeunit 9052 "ABS Container Client" in System Application (System.Azure.Storage). 26 public procedures. Present since at least BC23, still in BC30, changed in BC25.

System Application · System.Azure.Storage · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Azure%20Blob%20Services%20API/src/ABSContainerClient.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Public |

## Procedures

- `Initialize(StorageAccount: Text; Authorization: Interface "Storage Service Authorization")`: Initializes the Azure BLOB Storage container client.
- `Initialize(StorageAccount: Text; Authorization: Interface "Storage Service Authorization"; ApiVersion: Enum "Storage Service API Version")`: Initializes the Azure BLOB Storage container client.
- `SetBaseUrl(BaseUrl: Text)`: 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.
- `ListContainers(var ABSContainers: Record "ABS Container"): Codeunit "ABS Operation Response"`: List all containers in specific Storage Account. see: https://go.microsoft.com/fwlink/?linkid=2211410
- `ListContainers(var ABSContainers: Record "ABS Container"; ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"`: List all containers in specific Storage Account. see: https://go.microsoft.com/fwlink/?linkid=2211410
- `CreateContainer(ContainerName: Text): Codeunit "ABS Operation Response"`: Creates a new container in the Storage Account. see: https://go.microsoft.com/fwlink/?linkid=2211411
- `CreateContainer(ContainerName: Text; ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"`: Creates a new container in the Storage Account. see: https://go.microsoft.com/fwlink/?linkid=2211411
- `DeleteContainer(ContainerName: Text): Codeunit "ABS Operation Response"`: Deletes a container from the Storage Account. see: https://go.microsoft.com/fwlink/?linkid=2210393
- `DeleteContainer(ContainerName: Text; ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"`: Deletes a container from the Storage Account. see: https://go.microsoft.com/fwlink/?linkid=2210393
- `AcquireLease(ContainerName: Text; var LeaseId: Guid): Codeunit "ABS Operation Response"`: Requests a new lease. If the container does not have an active lease, the blob service creates a lease on the container. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2211318
- `AcquireLease(ContainerName: Text; ABSOptionalParameters: Codeunit "ABS Optional Parameters"; var LeaseId: Guid): Codeunit "ABS Operation Response"`: Requests a new lease. If the container does not have an active lease, the blob service creates a lease on the container. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2211318
- `AcquireLease(ContainerName: Text; DurationSeconds: Integer; var LeaseId: Guid): Codeunit "ABS Operation Response"`: Requests a new lease. If the container does not have an active lease, the blob service creates a lease on the container. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2211318
- `AcquireLease(ContainerName: Text; DurationSeconds: Integer; ABSOptionalParameters: Codeunit "ABS Optional Parameters"; var LeaseId: Guid): Codeunit "ABS Operation Response"`: Requests a new lease. If the container does not have an active lease, the blob service creates a lease on the container. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2211318
- `AcquireLease(ContainerName: Text; ProposedLeaseId: Guid; var LeaseId: Guid): Codeunit "ABS Operation Response"`: Requests a new lease. If the container does not have an active lease, the blob service creates a lease on the container. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2211318
- `AcquireLease(ContainerName: Text; ProposedLeaseId: Guid; ABSOptionalParameters: Codeunit "ABS Optional Parameters"; var LeaseId: Guid): Codeunit "ABS Operation Response"`: Requests a new lease. If the container does not have an active lease, the blob service creates a lease on the container. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2211318
- `AcquireLease(ContainerName: Text; DurationSeconds: Integer; ProposedLeaseId: Guid; ABSOptionalParameters: Codeunit "ABS Optional Parameters"; var LeaseId: Guid): Codeunit "ABS Operation Response"`: Requests a new lease. If the container does not have an active lease, the blob service creates a lease on the container. The lease duration can be 15 to 60 seconds or can be infinite see: https://go.microsoft.com/fwlink/?linkid=2211318
- `ReleaseLease(ContainerName: Text; LeaseId: Guid): Codeunit "ABS Operation Response"`: Releases a lease on a container 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=2211318
- `ReleaseLease(ContainerName: Text; LeaseId: Guid; ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"`: Releases a lease on a container 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=2211318
- `RenewLease(ContainerName: Text; LeaseId: Guid): Codeunit "ABS Operation Response"`: Renews a lease on a container to keep it locked again for the same amount of time as before see: https://go.microsoft.com/fwlink/?linkid=2211318
- `RenewLease(ContainerName: Text; LeaseId: Guid; ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"`: Renews a lease on a container to keep it locked again for the same amount of time as before see: https://go.microsoft.com/fwlink/?linkid=2211318
- `BreakLease(ContainerName: Text; LeaseId: Guid): Codeunit "ABS Operation Response"`: Breaks a lease on a container but ensures that another client cannot acquire a new lease until the current lease period has expired see: https://go.microsoft.com/fwlink/?linkid=2211318
- `BreakLease(ContainerName: Text; LeaseId: Guid; LeaseBreakPeriod: Integer): Codeunit "ABS Operation Response"`: Breaks a lease on a container but ensures that another client cannot acquire a new lease until the current lease period has expired see: https://go.microsoft.com/fwlink/?linkid=2211318
- `BreakLease(ContainerName: Text; LeaseId: Guid; ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"`: Breaks a lease on a container but ensures that another client cannot acquire a new lease until the current lease period has expired see: https://go.microsoft.com/fwlink/?linkid=2211318
- `BreakLease(ContainerName: Text; LeaseId: Guid; ABSOptionalParameters: Codeunit "ABS Optional Parameters"; LeaseBreakPeriod: Integer): Codeunit "ABS Operation Response"`: Breaks a lease on a container but ensures that another client cannot acquire a new lease until the current lease period has expired see: https://go.microsoft.com/fwlink/?linkid=2211318
- `ChangeLease(ContainerName: Text; var LeaseId: Guid; ProposedLeaseId: Guid): Codeunit "ABS Operation Response"`: Changes the lease ID of an active lease see: https://go.microsoft.com/fwlink/?linkid=2211318
- `ChangeLease(ContainerName: Text; LeaseId: Guid; ProposedLeaseId: Guid; ABSOptionalParameters: Codeunit "ABS Optional Parameters"): Codeunit "ABS Operation Response"`: Changes the lease ID of an active lease see: https://go.microsoft.com/fwlink/?linkid=2211318

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 9051 "ABS Client Impl."](../codeunit/9051.md) (10 calls: `AcquireLease → ContainerAcquireLease`, `BreakLease → ContainerBreakLease`, `ChangeLease → ContainerChangeLease`, …)
- [Codeunit 9062 "Storage Service Authorization"](../codeunit/9062.md) (1 call: `Initialize → GetDefaultAPIVersion`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "ABS Container Client")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
