gpt4 book ai didi

azure - 获取 azure blob 的租约后,我在哪里可以找到发布 ID 以便释放它?

转载 作者:行者123 更新时间:2023-12-02 08:30:57 25 4
gpt4 key购买 nike

使用 Azure CLI doc 中的文档遵循 ​​azure CLI ,我可以获得我的 azure blob 文件的租约。但是,要释放该 blob,我需要租用的 blob 的发布 ID。我可以在哪里从 CLI 获取此 ID?

最佳答案

Where can I get this ID from CLI?

遗憾的是,事后您无法获取租约 ID。租约 ID 不存储在系统中的任何位置。租赁获取方有责任存储租赁 ID。

考虑到您没有租约 ID,因此您将无法释放租约。但是你可以做的是 break the lease与释放租约相同,并且不需要租约 ID。

az storage blob lease break --blob-name
--container-name
[--account-key]
[--account-name]
[--auth-mode {key, login}]
[--connection-string]
[--if-match]
[--if-modified-since]
[--if-none-match]
[--if-unmodified-since]
[--lease-break-period]
[--only-show-errors]
[--sas-token]
[--subscription]
[--timeout]

关于azure - 获取 azure blob 的租约后,我在哪里可以找到发布 ID 以便释放它?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61073288/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com