<a id="quotas"></a>

# quotas

## quotas limits get-domain-limits

**Usage**

```none
  usage: symp quotas limits get-domain-limits
[-f {adaptive_table,csv,json,table,value,yaml}]
                                              [-c COLUMN]
                                              [--max-width <integer>]
                                              [--fit-width] [--print-empty]
                                              [--noindent]
                                              [--quote {all,minimal,none,nonnumeric}]
                                              [-m [NAME=VALUE [NAME=VALUE ...]]]
                                              [--sort-column SORT_COLUMN]
                                              [--show-updated-at]
                                              domain_id
```

**Description**

Get the domain’s quota limits.

**Returns**

Returns list: Requested quota limits details

**Mandatory**

```none
positional arguments:
  domain_id             Requested domain ID
```

**Optional**

```none
optional arguments:
  -h, --help            show this help message and exit
  --show-updated-at     If set to True, will return also the last updated time
```

## quotas limits get-project-limits

**Usage**

```none
  usage: symp quotas limits get-project-limits
[-f {adaptive_table,csv,json,table,value,yaml}]
                                               [-c COLUMN]
                                               [--max-width <integer>]
                                               [--fit-width] [--print-empty]
                                               [--noindent]
                                               [--quote {all,minimal,none,nonnumeric}]
                                               [-m [NAME=VALUE [NAME=VALUE ...]]]
                                               [--sort-column SORT_COLUMN]
                                               [--show-updated-at]
                                               project_id
```

**Description**

Get the project’s quota limits.

**Returns**

Returns list: Requested quota limits details

**Mandatory**

```none
positional arguments:
  project_id            Requested project ID
```

**Optional**

```none
optional arguments:
  -h, --help            show this help message and exit
  --show-updated-at     If set to True, will return also the last updated time
```

## quotas limits list-domains-limits

**Usage**

```none
  usage: symp quotas limits list-domains-limits
[-f {adaptive_table,csv,json,table,value,yaml}]
                                                [-c COLUMN]
                                                [--max-width <integer>]
                                                [--fit-width] [--print-empty]
                                                [--noindent]
                                                [--quote {all,minimal,none,nonnumeric}]
                                                [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                [--sort-column SORT_COLUMN]
```

**Description**

List domains’ quota limits.

**Returns**

Returns list: A list of the domains’ quota limits details

**Optional**

```none
optional arguments:
  -h, --help            show this help message and exit
```

## quotas limits list-projects-limits

**Usage**

```none
  usage: symp quotas limits list-projects-limits
[-f {adaptive_table,csv,json,table,value,yaml}]
                                                 [-c COLUMN]
                                                 [--max-width <integer>]
                                                 [--fit-width] [--print-empty]
                                                 [--noindent]
                                                 [--quote {all,minimal,none,nonnumeric}]
                                                 [-m [NAME=VALUE [NAME=VALUE ...]]]
                                                 [--sort-column SORT_COLUMN]
```

**Description**

List projects’ quota limits.

**Returns**

Returns list: A list of the projects’ quota limits details

**Optional**

```none
optional arguments:
  -h, --help            show this help message and exit
```

## quotas limits set-domain-limits

**Usage**

```none
  usage: symp quotas limits set-domain-limits
[-f {adaptive_table,json,shell,table,value,yaml}]
                                              [-c COLUMN]
                                              [--max-width <integer>]
                                              [--fit-width] [--print-empty]
                                              [--noindent] [--prefix PREFIX]
                                              [-m [NAME=VALUE [NAME=VALUE ...]]]
                                              domain_id limits
```

**Description**

Set the domain’s quota limits.

**Mandatory**

```none
positional arguments:
  domain_id             Requested domain ID
  limits                Requested quota limits in the following format -
                        {"resource_name_1": value_1, "resource_name_2": value_2, ...}
```

**Optional**

```none
optional arguments:
  -h, --help            show this help message and exit
```

## quotas limits set-project-limits

**Usage**

```none
  usage: symp quotas limits set-project-limits
[-f {adaptive_table,json,shell,table,value,yaml}]
                                               [-c COLUMN]
                                               [--max-width <integer>]
                                               [--fit-width] [--print-empty]
                                               [--noindent] [--prefix PREFIX]
                                               [-m [NAME=VALUE [NAME=VALUE ...]]]
                                               project_id limits
```

**Description**

Set the project’s quota limits.

**Mandatory**

```none
positional arguments:
  project_id            Requested project ID
  limits                Requested quota limits in the following format -
                        {"resource_name_1": value_1, "resource_name_2": value_2, ...}
```

**Optional**

```none
optional arguments:
  -h, --help            show this help message and exit
```

## quotas templates create

**Usage**

```none
  usage: symp quotas templates create
[-f {adaptive_table,json,shell,table,value,yaml}]
                                      [-c COLUMN] [--max-width <integer>]
                                      [--fit-width] [--print-empty] [--noindent]
                                      [--prefix PREFIX]
                                      [-m [NAME=VALUE [NAME=VALUE ...]]]
                                      [--source-type SOURCE_TYPE]
                                      [--source-id SOURCE_ID]
                                      resources_quantities
```

**Description**

Create a new template.

**Returns**

Returns str: The created template ID

**Mandatory**

```none
positional arguments:
  resources_quantities  Amount per resource
```

**Optional**

```none
optional arguments:
  -h, --help            show this help message and exit
  --source-type SOURCE_TYPE
                        Type of template to base on (optional) - system, project or template
  --source-id SOURCE_ID
                        If source_type was provided, ID of either the project or template to base on
```

## quotas templates get

**Usage**

```none
  usage: symp quotas templates get
[-f {adaptive_table,json,shell,table,value,yaml}]
                                   [-c COLUMN] [--max-width <integer>]
                                   [--fit-width] [--print-empty] [--noindent]
                                   [--prefix PREFIX]
                                   [-m [NAME=VALUE [NAME=VALUE ...]]]
                                   template_id
```

**Description**

Get the details of the requested template.

**Returns**

Returns dict: The requested template details

**Mandatory**

```none
positional arguments:
  template_id           Requested template ID
```

**Optional**

```none
optional arguments:
  -h, --help            show this help message and exit
```

## quotas templates remove

**Usage**

```none
  usage: symp quotas templates remove
[-f {adaptive_table,json,shell,table,value,yaml}]
                                      [-c COLUMN] [--max-width <integer>]
                                      [--fit-width] [--print-empty] [--noindent]
                                      [--prefix PREFIX]
                                      [-m [NAME=VALUE [NAME=VALUE ...]]]
                                      template_id
```

**Description**

Delete the requested template.

**Mandatory**

```none
positional arguments:
  template_id           Requested template ID
```

**Optional**

```none
optional arguments:
  -h, --help            show this help message and exit
```

## quotas templates update

**Usage**

```none
  usage: symp quotas templates update
[-f {adaptive_table,json,shell,table,value,yaml}]
                                      [-c COLUMN] [--max-width <integer>]
                                      [--fit-width] [--print-empty] [--noindent]
                                      [--prefix PREFIX]
                                      [-m [NAME=VALUE [NAME=VALUE ...]]]
                                      [--name NAME] [--description DESCRIPTION]
                                      template_id resources_quantities
```

**Description**

Update the template to contain the new resources quantities.
Resources are not deleted if the new limit is reduced below the allocated amount.

**Mandatory**

```none
positional arguments:
  template_id           Requested template ID
  resources_quantities  Amount per resource
```

**Optional**

```none
optional arguments:
  -h, --help            show this help message and exit
  --name NAME           Name of the template
  --description DESCRIPTION
                        Description of the template
```
