@utils.arg('class_name', metavar='<class>', help='Name of quota class to set the quotas for.')
@utils.arg('--monitors', metavar='<monitors>', type=int, default=None, help='New value for the "monitors" quota.')
@utils.arg('--snapshots', metavar='<snapshots>', type=int, default=None, help='New value for the "snapshots" quota.')
@utils.arg('--gigabytes', metavar='<gigabytes>', type=int, default=None, help='New value for the "gigabytes" quota.')
@utils.service_type('monitor')
def do_quota_class_update(cs, args):
 _quota_update(cs.quota_classes, args.class_name, args)

@ utils . arg ( 'class_name' , metavar = '<class>' , help = 'Name of quota class to set the quotas for.' ) @ utils . arg ( '--monitors' , metavar = '<monitors>' , type = int , default = None , help = 'New value for the "monitors" quota.' ) @ utils . arg ( '--snapshots' , metavar = '<snapshots>' , type = int , default = None , help = 'New value for the "snapshots" quota.' ) @ utils . arg ( '--gigabytes' , metavar = '<gigabytes>' , type = int , default = None , help = 'New value for the "gigabytes" quota.' ) @ utils . service_type ( 'monitor' ) def do_quota_class_update ( cs , args ) : _quota_update ( cs . quota_classes , args . class_name , args )
update the quotas for a quota class .