How to assign quota to org by cf or curl?

316 views
Skip to first unread message

Harry Zhang

unread,
May 13, 2014, 6:05:04 AM5/13/14
to vcap...@cloudfoundry.org
Silly question: How to assign quota to org by cf or curl?

But seems not idea how to apply this quota to specific org, and whenever I create a new org, it is bound with default quota ...  

James Bayer

unread,
May 13, 2014, 10:02:49 AM5/13/14
to vcap...@cloudfoundry.org

the CLI help has the syntax for the set-quota command which assigns a quota to an org

$ cf help set-quota
NAME:
   set-quota - Assign a quota to an org

USAGE:
   cf set-quota ORG QUOTA

TIP:
   View allowable quotas with 'cf quotas'
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.

--
Thank you,

James Bayer

Harry Zhang

unread,
May 13, 2014, 10:16:21 AM5/13/14
to vcap...@cloudfoundry.org

Narendra Choudhary

unread,
Aug 4, 2014, 2:20:25 AM8/4/14
to vcap...@cloudfoundry.org
Hi All,

I am using the gem install cf verison 5.4.3 there i am trying to set the quota defination of an organisation using the below command

cf set-quota 10240 'org name'

It is giving me unkown quota definination could you please let me know where i am doing wrong. I have logged in through admin .

James Bayer

unread,
Aug 4, 2014, 9:50:38 AM8/4/14
to vcap...@cloudfoundry.org

i recommend a newer CLI. it’s not up to 6.3.x. get the latest at here [1].

use cf quotas to get a named list of quotas in the system.

assign one to an org with cf set-quota ORGNAME QUOTANAME

[1] https://github.com/cloudfoundry/cli/blob/master/README.md#downloads

--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/75d1b0da-6569-4e4f-9578-a9c6d945dcfc%40cloudfoundry.org.

To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.

Reply all
Reply to author
Forward
0 new messages