async setAccessPolicy(access, containerAcl, options = {}) {
        options.conditions = options.conditions || {};
        return tracingClient.withSpan("ContainerClient-setAccessPolicy", options, async (updatedOptions) => {
            const acl = [];
            for (const identifier of containerAcl || []) {
                acl.push({
                    accessPolicy: {
                        expiresOn: identifier.accessPolicy.expiresOn
                            ? truncatedISO8061Date(identifier.accessPolicy.expiresOn)
                            : "",
                        permissions: identifier.accessPolicy.permissions,
                        startsOn: identifier.accessPolicy.startsOn
                            ? truncatedISO8061Date(identifier.accessPolicy.startsOn)
                            : "",
                    },
                    id: identifier.id,
                });
            }
            return assertResponse(await this.containerContext.setAccessPolicy({
                abortSignal: options.abortSignal,
                access,
                containerAcl: acl,
                leaseAccessConditions: options.conditions,
                modifiedAccessConditions: options.conditions,
                tracingOptions: updatedOptions.tracingOptions,
            }));
        });
    }
Sets the permissions for the specified container. The permissions indicate
whether blobs in a container may be accessed publicly.

When you set permissions for a container, the existing permissions are replaced.
If no access or containerAcl provided, the existing container ACL will be
removed.

When you establish a stored access policy on a container, it may take up to 30 seconds to take effect.
During this interval, a shared access signature that is associated with the stored access policy will
fail with status code 403 (Forbidden), until the access policy becomes active.
@see https://learn.microsoft.com/en-us/rest/api/storageservices/set-container-acl

@param access - The level of public access to data in the container.
@param containerAcl - Array of elements each having a unique Id and details of the access policy.
@param options - Options to Container Set Access Policy operation.