revoke_quota
Revokes quota that has been assigned.
Format
Standard Mode
emcli revoke_quota -assignee_name="assignee name" -assignee_type="assignee type" -quota="quota"] [-force][ ] indicates that the parameter is optional
Interactive or Script Mode.
emcli revoke_quota( assignee_name="assignee name" assignee_type="assignee type" [,quota="quota"] [,force=True/False]) [ ] indicates that the parameter is optional.
Options
-
assignee_name
The assignee to which the quota has been assigned.
-
assignee_type
The type of assignee. Valid values are: Tenant, User_Profile, or User.
-
quota
The quota that will be revoked for the assigned user. Quota allocations can be defined:
-
at the entity level.
-
on a quota assignable object if the selected entity supports quota allocation on objects. When quota is allocated on an object, all quota related computations will be done in the context of that object.
-
-
force
If an assignee has resource objects allocated itself at the component or entity level, quota cannot be revoked for the assignee. When a quota revoke request is made, a warning message is displayed. The administrator can either revoke all the quota or use the -force parameter to ignore the warning message and revoke the quota.
Exit Codes
0 if successful. A non-zero value indicates that verb processing was unsuccessful.
Examples
This section contains the following examples.
Example 1
The following example revokes quota that has been assigned at the entity level.
emcli revoke_quota -assignee_name=T1 -assignee_type=tenant -quota=Component1:Entity1 emcli revoke_quota -assignee_name=U1 -assignee_type=user -quota=Component1:Entity1 emcli revoke_quota -assignee_name=UP1 -assignee_type=user_profile -quota=Component1:Entity1
Example 2
The following example revokes quota that has been assigned to OBJ1
object.
emcli revoke_quota -assignee_name=T1 -assignee_type=tenant -quota=Component1:Entity1;object_name=OBJ1:object_type=type1