割当て制限によって、テナントに対して設定されるリソースの使用制限が定義されます。 Oracle Cloud管理者が、テナントの割当て制限を決定します。
このコマンドを使用すると、指定されたコンテナおよびそのサブコンテナ内のテナント割当て制限を取得できます。
構文
oracle-compute discover quota container
パラメータおよびオプション
次のパラメータは、このコマンドに固有です。 一般的なコマンド・オプションで説明されている共通オプションを使用することもできます。
パラメータ | 説明 |
---|---|
container | テナントの階層的な名前空間。 例えば、/ です。 |
例
$ oracle-compute discover quota /
サンプル出力
$ oracle-compute discover quota / entry /default /mytenant
このコマンドを使用すると、特定のテナントの割当て制限情報を取得できます。
構文
oracle-compute get quota name
パラメータおよびオプション
次のパラメータは、このコマンドに固有です。 一般的なコマンド・オプションで説明されている共通オプションを使用することもできます。
パラメータ | 説明 |
---|---|
name | テナントの一意の階層名。 例えば、/mytenant です。 |
例
$ oracle-compute get quota /mytenant
サンプル出力
$ oracle-compute get quota /mytenant -fjson { "list": [ { "usage": { "machineimage": { "number": 2, "megabytes": 4247 }, "vnet": { "vnetreservations": 3 }, "compute": { "instances": 6, "ram": 46080, "instance_restrictions": {}, "cpus": 12.0 }, "nds": { "megabytes": 181468 } }, "uri": "http://api.oc.example.com./quota/mytenant", "description": "Default quota for \"mytenant\"", "name": "/mytenant", "allowance": { "machineimage": { "number": 5, "megabytes": 100000 }, "vnet": { "vnetreservations": null }, "compute": { "instances": 10, "ram": 50000, "instance_restrictions": {}, "cpus": 20.0 }, "nds": { "megabytes": 200000 } } } ] }
このコマンドを使用すると、特定のコンテナのテナント割当て制限に関する詳細をリストできます。
構文
oracle-compute list quota container
パラメータおよびオプション
次のパラメータは、このコマンドに固有です。 一般的なコマンド・オプションで説明されている共通オプションを使用することもできます。
パラメータ | 説明 |
---|---|
container | テナントの階層的な名前空間。 たとえば、/mytenant/ などです |
例
$ oracle-compute list quota /mytenant/
サンプル出力
$ oracle-compute list quota /mytenant -fjson { "list": [ { "usage": { "machineimage": { "number": 2, "megabytes": 4247 }, "vnet": { "vnetreservations": 3 }, "compute": { "instances": 6, "ram": 46080, "instance_restrictions": {}, "cpus": 12.0 }, "nds": { "megabytes": 181468 } }, "uri": "http://api.oc.example.com/quota/mytenant", "description": "Default quota for \"mytenant\"", "name": "/mytenant", "allowance": { "machineimage": { "number": 5, "megabytes": 100000 }, "vnet": { "vnetreservations": null }, "compute": { "instances": 10, "ram": 50000, "instance_restrictions": {}, "cpus": 20.0 }, "nds": { "megabytes": 200000 } } } ] }