75.19. 共享配额集
设置配额
使用方法:
openstack share quota set [-h] [--project <project>] [--user <user>] [--shares <shares>] [--snapshots <snapshots>] [--gigabytes <gigabytes>] [--snapshot-gigabytes <snapshot-gigabytes>] [--share-networks <share-networks>] [--share-groups <share-groups>] [--share-group-snapshots <share-group-snapshots>] [--share-replicas <share-replicas>] [--replica-gigabytes <replica-gigabytes>] [--share-type <share-type>] [--force]
值 | 概述 |
---|---|
-h, --help | 显示帮助信息并退出 |
--project <project> | 要为其设置配额的项目的名称或 id。 |
--user <user> | 为设置配额的用户的名称或 id。可选。与 --share-type 相互排斥。 |
--shares <shares> | "shares"配额的新值。 |
--snapshots <snapshots> | "snapshots"配额的新值。 |
--gigabytes <gigabytes> | "gigabytes"配额的新值。 |
--snapshot-gigabytes <snapshot-gigabytes> | "snapshot-gigabytes" 配额的新值。 |
--share-networks <share-networks> | "share-networks"配额的新值。 |
--share-groups <share-groups> | "share-groups" quota.available 只适用于 microversion >= 2.40 的新值 |
--share-group-snapshots <share-group-snapshots> | "share-group-snapshots"配额的新值。 |
--share-replicas <share-replicas> | 共享副本数。仅适用于 microversion >= 2.53 |
--replica-gigabytes <replica-gigabytes> | 总计共享副本的容量。仅适用于 microversion >= 2.53 |
--share-type <share-type> | 设置配额的共享类型的名称或 id。可选。与 --user 相互排斥。仅适用于 microversion >= 2.39 |
--force | 强制更新配额。 |