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]
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]
| value | Summary |
|---|---|
| -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,用于为其设置配额。可选。与用户 相互排斥。仅适用于 microversion >= 2.39 |
| --force | 强制更新配额。 |