python-openstackclient/doc/source/cli/command-objects/limit.rst

2.3 KiB

limit

Identity v3

Limits are used to specify project-specific limits thresholds of resources.

limit create

Create a new limit

limit create

openstack limit create
    [--description <description>]
    [--region <region>]
    --project <project>
    --service <service>
    --resource-limit <resource-limit>
    <resource-name>

--description <description>

Useful description of the limit or its purpose

--region <region>

Region that the limit should be applied to

--project <project>

The project that the limit applies to (required)

--service <service>

The service that is responsible for the resource being limited (required)

--resource-limit <resource-limit>

The limit to apply to the project (required)

<resource-name>

The name of the resource to limit (e.g. cores or volumes)

limit delete

Delete project-specific limit(s)

limit delete

openstack limit delete
    <limit-id> [<limit-id> ...]

<limit-id>

Limit(s) to delete (ID)

limit list

List project-specific limits

limit list

openstack limit list
    [--service <service>]
    [--resource-name <resource-name>]
    [--region <region>]

--service <service>

The service to filter the response by (name or ID)

--resource-name <resource-name>

The name of the resource to filter the response by

--region <region>

The region name to filter the response by

limit show

Display details about a limit

limit show

openstack limit show
    <limit-id>

<limit-id>

Limit to display (ID)

limit set

Update a limit

limit show

openstack limit set
    [--description <description>]
    [--resource-limit <resource-limit>]
    <limit-id>

--description <description>

Useful description of the limit or its purpose

--resource-limit <resource-limit>

The limit to apply to the project

<limit-id>

Limit to update (ID)