本文整理汇总了Python中mosclient.common.utils.print_list函数的典型用法代码示例。如果您正苦于以下问题:Python print_list函数的具体用法?Python print_list怎么用?Python print_list使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了print_list函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: do_DescribeInstanceTypes
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')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例2: do_DescribeRDSMetrics
def do_DescribeRDSMetrics(client, args):
"""List monitor metrics"""
val = client.DescribeRDSMetrics(args.rid)
utils.print_list(val, 'Metric')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例3: do_DescribeAddresses
def do_DescribeAddresses(client, args):
"""Describe EIP list"""
val = client.DescribeAddresses(args.id, args.limit, args.offset)
utils.print_list(val, 'Address')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例4: do_DescribeRDSEngines
def do_DescribeRDSEngines(client, args):
""" List all rds engines """
val = client.DescribeRDSEngines()
utils.print_list(val, 'RDSEngine')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例5: do_DescribeRDSAlarms
def do_DescribeRDSAlarms(client, args):
"""List redis metric check"""
val = client.DescribeRDSAlarms()
utils.print_list(val, 'RDSAlarm')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例6: do_DescribeInstances
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')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例7: do_DescribeTemplates
def do_DescribeTemplates(client, args):
""" List all image templates """
val = client.DescribeTemplates()
utils.print_list(val, 'Template')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例8: do_DescribeSecurityGroups
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')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:5,代码来源:shell.py
示例9: do_DescribeAvailabilityZones
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')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例10: do_DescribeAliveAlarms
def do_DescribeAliveAlarms(client, args):
"""List alive check"""
val = client.DescribeAliveAlarms()
utils.print_list(val, 'AliveAlarm')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例11: do_DescribeTCPAlarms
def do_DescribeTCPAlarms(client, args):
"""List tcp check"""
val = client.DescribeTCPAlarms()
utils.print_list(val, 'TCPAlarm')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例12: do_DescribeMetricAlarms
def do_DescribeMetricAlarms(client, args):
"""List metric check"""
val = client.DescribeMetricAlarms()
utils.print_list(val, 'MetricAlarm')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例13: do_DescribeAlarmHistory
def do_DescribeAlarmHistory(client, args):
"""List monitor alarm history"""
val = client.DescribeAlarmHistory(args.limit, args.offset)
utils.print_list(val, 'AlarmHistory')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例14: do_DescribeKeyPairs
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')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例15: do_DescribeVolumes
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')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例16: do_DescribeRDS
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')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例17: do_DescribeVolumeSnapshots
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')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例18: do_DescribeRDSTypes
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')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例19: do_DescribeInstanceVolumes
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')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
示例20: do_DescribeInstanceNetworkInterfaces
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')
开发者ID:dengzh358,项目名称:mcsapi_python,代码行数:4,代码来源:shell.py
注:本文中的mosclient.common.utils.print_list函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论