Command Name
az storage blob delete-batch
Errors:
missing parameter container
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 654, in execute
raise ex
cli/core/commands/__init__.py, ln 718, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 709, in _run_job
cmd_copy.exception_handler(ex)
...
command_modules/storage/operations/blob.py, ln 492, in storage_blob_delete_batch
source_blobs = list(collect_blob_objects(client, source_container_name, pattern))
cli/command_modules/storage/util.py, ln 26, in collect_blob_objects
raise ValueError('missing parameter container')
ValueError: missing parameter container
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az storage blob delete-batch --source {} --account-name {} --output {}Linux-4.15.0-101-generic-x86_64-with-Ubuntu-18.04-bionic
Python 3.6.9
Installer:
azure-cli 2.6.0
add to S171
Super cool, thanks.
Hi @Lloydkwena, you need to add \ for $. Here you need to use "\$web" for source parameter.
@Lloydkwena, was your issue resolved by above solution?
Hi @yonzhan
Apologies for late response. It did, thanks
On Fri, Jun 5, 2020 at 3:29 PM yonzhan notifications@github.com wrote:
@Lloydkwena https://github.com/Lloydkwena, was your issue resolved by
above solution?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/13728#issuecomment-639480720,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD2OWDRF3XPUZKB4FIBFND3RVDXM3ANCNFSM4NNHZNTA
.
Most helpful comment
Hi @Lloydkwena, you need to add
\for$. Here you need to use"\$web"for source parameter.