@utils.arg('monitor', metavar='<monitor>', help='ID of the monitor to backup.')
@utils.arg('--container', metavar='<container>', help='Optional Backup container name. (Default=None)', default=None)
@utils.arg('--display-name', metavar='<display-name>', help='Optional backup name. (Default=None)', default=None)
@utils.arg('--display-description', metavar='<display-description>', help='Optional backup description. (Default=None)', default=None)
@utils.service_type('monitor')
def do_backup_create(cs, args):
 cs.backups.create(args.monitor, args.container, args.display_name, args.display_description)

@ utils . arg ( 'monitor' , metavar = '<monitor>' , help = 'ID of the monitor to backup.' ) @ utils . arg ( '--container' , metavar = '<container>' , help = 'Optional Backup container name. (Default=None)' , default = None ) @ utils . arg ( '--display-name' , metavar = '<display-name>' , help = 'Optional backup name. (Default=None)' , default = None ) @ utils . arg ( '--display-description' , metavar = '<display-description>' , help = 'Optional backup description. (Default=None)' , default = None ) @ utils . service_type ( 'monitor' ) def do_backup_create ( cs , args ) : cs . backups . create ( args . monitor , args . container , args . display_name , args . display_description )
creates a backup .