Skip to content

Commit

Permalink
incorporates review[#109644208]
Browse files Browse the repository at this point in the history
  • Loading branch information
abbyachau committed Feb 12, 2016
1 parent d387196 commit 999bca9
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions managing-cf/quota-plans.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ You can modify an existing quota plan for an org in one of two ways:

1. Run `cf update-quota` with the name of the quota. Use the appropriate flags to specify the attributes.

<pre class='terminal'>
cf update-quota QUOTA [-i INSTANCE_MEMORY] [-m MEMORY] [-n NEW_NAME] [-r ROUTES] [-s SERVICE_INSTANCES] [--allow-paid-service-plans | --disallow-paid-service-plans]
</pre>
<pre class='terminal'>
$ cf update-quota QUOTA [-i INSTANCE_MEMORY] [-m MEMORY] [-n NEW_NAME] [-r ROUTES] [-s SERVICE_INSTANCES] [--allow-paid-service-plans | --disallow-paid-service-plans]
</pre>

Options include:

Expand All @@ -167,14 +167,14 @@ $ cf update-quota small -i 2048M -m 4096M -n medium -r 20 -s 20 --allow-paid-ser

## <a id='space'></a>Creating and Modifying Quota Plans for a Space ##

For each org, Org Managers create and modify quota plans for a space. If an Org Manager allocates a space quota, CF verifies that resources are are within the allocated space limit. For example, when a Space Developer deploys an application, CF first checks the memory allocation at the space level, then at the org level.
For each org, Org Managers create and modify quota plans for a space. If an Org Manager allocates a space quota, CF verifies that resources are within the allocated space limit. For example, when a Space Developer deploys an application, CF first checks the memory allocation at the space level, then at the org level.

To create or modify quotas for individual [spaces](../../concepts/roles.html) within an entire organization, use the following commands.

### <a id='new-space'></a>Creating a New Quota Plan for a Space ###
To create a quota for a space, run the following command <code>create-space-quota</code> in the terminal. Replace the placeholder attributes with the values for this quota plan:
In a terminal window, run the following command to create a quota for a space. Replace the placeholder attributes with the values for this quota plan:

<pre class='terminal'> cf create-space-quota QUOTA [-i INSTANCE_MEMORY] [-m MEMORY] [-r ROUTES] [-s SERVICE_INSTANCES] [--allow-paid-service-plans]
<pre class='terminal'> $ cf create-space-quota QUOTA [-i INSTANCE_MEMORY] [-m MEMORY] [-r ROUTES] [-s SERVICE_INSTANCES] [--allow-paid-service-plans]
</pre>

Example:
Expand All @@ -199,14 +199,14 @@ $ cf create-space-quota big -i 1024M -m 4096M -r 20 -s 20 --allow-paid-service-p

To modify that quota, use the <code>update-space-quota</code> command.

<pre class='terminal'> cf update-space-quota SPACE-QUOTA-NAME [-i MAX-INSTANCE-MEMORY] [-m MEMORY] [-n NEW_NAME] [-r ROUTES] [-s SERVICES] [--allow-paid-service-plans | --disallow-paid-service-plans]
</pre>
<pre class='terminal'> $ cf update-space-quota SPACE-QUOTA-NAME [-i MAX-INSTANCE-MEMORY] [-m MEMORY] [-n NEW_NAME] [-r ROUTES] [-s SERVICES] [--allow-paid-service-plans | --disallow-paid-service-plans]
</pre>

Example:

<pre class='terminal'>
$ cf update-space-quota big -i 20 -m 4096M -n bigger -r 20 -s 20 --allow-paid-service-plans
</pre>
<pre class='terminal'>
$ cf update-space-quota big -i 20 -m 4096M -n bigger -r 20 -s 20 --allow-paid-service-plans
</pre>

## <a id='cfhelp'></a>Run cf help ##

Expand Down

0 comments on commit 999bca9

Please sign in to comment.