def do_DescribeSecurityGroups(client, args): """ List all security groups """ #p = utils.convert_filter(args.filter) val = client.DescribeSecurityGroups(args.id, args.name, args.limit, args.offset, utils.convert_filter(args.filter)) utils.print_list(val, 'SecurityGroup')
def do_DescribeRDSAlarms(client, args): """List redis metric check""" val = client.DescribeRDSAlarms() utils.print_list(val, 'RDSAlarm')
def do_DescribeRDSTypes(client, args): """ List all rds types """ val = client.DescribeRDSTypes(args.limit, args.offset, utils.convert_filter(args.filter)) utils.print_list(val, 'RDSType')
def do_DescribeAvailabilityZones(client, args): """ List all availability zones """ val = client.DescribeAvailabilityZones(args.limit, args.offset, utils.convert_filter(args.filter)) utils.print_list(val, 'AvailabilityZone')
def do_DescribeTCPAlarms(client, args): """List tcp check""" val = client.DescribeTCPAlarms() utils.print_list(val, 'TCPAlarm')
def do_DescribeMetricAlarms(client, args): """List metric check""" val = client.DescribeMetricAlarms() utils.print_list(val, 'MetricAlarm')
def do_DescribeKeyPairs(client, args): """ List all keypairs """ val = client.DescribeKeyPairs(args.limit, args.offset, utils.convert_filter(args.filter)) utils.print_list(val, 'KeyPair')
def do_DescribeInstances(client, args): """ Get details of all or specified instances """ val = client.DescribeInstances(args.id, args.name, args.limit, args.offset, utils.convert_filter(args.filter)) utils.print_list(val, 'Instance')
def do_DescribeAliveAlarms(client, args): """List alive check""" val = client.DescribeAliveAlarms() utils.print_list(val, 'AliveAlarm')
def do_DescribeAlarmHistory(client, args): """List monitor alarm history""" val = client.DescribeAlarmHistory(args.limit, args.offset) utils.print_list(val, 'AlarmHistory')
def do_DescribeAddresses(client, args): """Describe EIP list""" val = client.DescribeAddresses(args.id, args.limit, args.offset) utils.print_list(val, 'Address')
def do_DescribeVolumes(client, args): """Describe specific Volume listener info""" val = client.DescribeVolumes(args.ebs_id, args.limit, args.offset) utils.print_list(val, 'Volume')
def do_DescribeRDS(client, args): """ Get details of all or specified rds """ val = client.DescribeRDS(args.id, args.name, args.limit, args.offset, utils.convert_filter(args.filter)) utils.print_list(val, 'RDS')
def do_DescribeTemplates(client, args): """ List all image templates """ val = client.DescribeTemplates() utils.print_list(val, 'Template')
def do_DescribeRDSEngines(client, args): """ List all rds engines """ val = client.DescribeRDSEngines() utils.print_list(val, 'RDSEngine')
def do_DescribeRDSMetrics(client, args): """List monitor metrics""" val = client.DescribeRDSMetrics(args.rid) utils.print_list(val, 'Metric')
def do_DescribeInstanceTypes(client, args): """ List all instance types """ val = client.DescribeInstanceTypes(args.limit, args.offset, utils.convert_filter(args.filter)) utils.print_list(val, 'InstanceType')
def do_DescribeInstanceVolumes(client, args): """ List all disks of an instance """ val = client.DescribeInstanceVolumes(args.id, args.limit, args.offset, utils.convert_filter(args.filter)) utils.print_list(val, 'InstanceVolume')
def do_DescribeInstanceNetworkInterfaces(client, args): """ List all network interfaces of an instance """ val = client.DescribeInstanceNetworkInterfaces(args.id, args.limit, args.offset, utils.convert_filter(args.filter)) utils.print_list(val, 'InstanceNetworkInterface')
def do_DescribeVolumeSnapshots(client, args): """Describe specific Volume Snapshot listener info""" val = client.DescribeVolumeSnapshots(args.ebs_snapshot_ids, args.limit, args.offset) utils.print_list(val, 'VolumeSnapshot')