Beispiel #1
0
 def Args(cls, parser):
     parser.display_info.AddFormat(managed_flags.DEFAULT_LIST_FORMAT)
     _AddInstanceGroupManagerArgs(parser=parser)
     auto_healing_utils.AddAutohealingArgs(parser)
     igm_arg = instance_groups_flags.GetInstanceGroupManagerArg(
         zones_flag=True)
     igm_arg.AddArgument(parser, operation_type='create')
     instance_groups_flags.AddZonesFlag(parser)
     instance_groups_flags.AddMigCreateStatefulFlags(parser)
     instance_groups_flags.AddMigInstanceRedistributionTypeFlag(parser)
Beispiel #2
0
 def Args(cls, parser):
   health_check_group = parser.add_mutually_exclusive_group()
   cls.HEALTH_CHECK_ARG.AddArgument(health_check_group)
   parser.display_info.AddFormat(managed_flags.DEFAULT_LIST_FORMAT)
   _AddInstanceGroupManagerArgs(parser=parser)
   auto_healing_utils.AddAutohealingArgs(
       parser=parser, health_check_group=health_check_group)
   igm_arg = instance_groups_flags.GetInstanceGroupManagerArg(zones_flag=True)
   igm_arg.AddArgument(parser, operation_type='create')
   instance_groups_flags.AddZonesFlag(parser)
   instance_groups_flags.AddMigCreateStatefulFlags(parser)
Beispiel #3
0
 def Args(cls, parser):
   CreateBeta.Args(parser)
   instance_groups_flags.AddMigCreateStatefulFlags(parser)
Beispiel #4
0
 def Args(cls, parser):
     CreateGA.Args(parser)
     instance_groups_flags.AddMigCreateStatefulFlags(parser)
     instance_groups_flags.AddMigInstanceRedistributionTypeFlag(parser)