69.63. 共享配额集
为项目或项目/用户或项目/共享类型或类设置配额。
使用方法:
openstack share quota set [-h]
                                 [--class | --user <user> | --share-type <share-type>]
                                 [--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>]
                                 [--per-share-gigabytes <per-share-gigabytes>]
                                 [--force]
                                 <project/class>
openstack share quota set [-h]
                                 [--class | --user <user> | --share-type <share-type>]
                                 [--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>]
                                 [--per-share-gigabytes <per-share-gigabytes>]
                                 [--force]
                                 <project/class>| value | Summary | 
|---|---|
| <project/class> | 项目(名称/ ID)或类(例如: default)。 | 
| value | Summary | 
|---|---|
| -h, --help | 显示帮助信息并退出 | 
| --class | 将类配额更新为所有项目。与- user 和 -share-type 相互排斥。 | 
| --user <user> | 用户为其设置配额的名称或 ID。与 -share-type 和- class 相互排斥。 | 
| --share-type <share-type> | 共享类型的名称或 ID,用于为其设置配额。与- 用户 和 - class 相互排斥。仅适用于 microversion >= 2.39 | 
| --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"配额的新值。仅适用于 microversion >= 2.40 | 
| --share-group-snapshots <share-group-snapshots> | "share-group-snapshots" 配额的新值。仅适用于 microversion >= 2.40 | 
| --share-replicas <share-replicas> | 共享副本数量。仅适用于 microversion >= 2.53 | 
| --replica-gigabytes <replica-gigabytes> | 总共享副本的容量。仅适用于 microversion >= 2.53 | 
| --per-share-gigabytes <per-share-gigabytes> | 仅用于 microversion >= 2.62 的 per-share-gigabytes quota.Available 的新值 | 
| --force | 强制更新配额。不适用于类更新。 |