Is there any way to change the size of an Azure blob container? For example, initially, I will set the limit to X. Then, using the Java SDK, I want to change that limit.
Is such an implementation possible? If not, what are the alternatives?
It is not possible to set a quota for a blob container. It can grow up to the size of a storage account.
If it's possible, do take a look at Azure File Service. Equivalent to a blob container in blob storage is a share in file storage and you can define quota for a share. You can also change the quota of a share as well. The method you would want to use there is setQuota
or setQuotaWithResponse
available in ShareClient
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.