@@ -223,7 +223,7 @@ if [[ $exists == "False" ]]; then
--account-name${storageAccountResults}\
--account-key${storageAccountKeyResults}\
--name"${shareNameResults}"\
--quota3072\
--quota9216\
--output none
else
if[[$FORCE== 0 ]];then
...
...
@@ -233,10 +233,10 @@ else
exit 2
else
quota=$( az storage share show --account-name${storageAccountResults}--account-key${storageAccountKeyResults}--name"${shareNameResults}"--output json --query properties.quota )
if[[$quota < 3072]];then
if[[$quota < 9216]];then
echo" [WARNING] File share \"${shareNameResults}\" in \"${storageAccountResults}\""
echo" has a quota smaller than 3072G, resizing to 3072..."
az storage share update --account-name${storageAccountResults}--account-key${storageAccountKeyResults}--name"${shareNameResults}"--quota3072
echo" has a quota smaller than 9216G, resizing to 9216..."
az storage share update --account-name${storageAccountResults}--account-key${storageAccountKeyResults}--name"${shareNameResults}"--quota9216