Exemplo n.º 1
0
 def Args(parser):
     instance_groups_flags.GetInstanceGroupManagerArg(
         region_flag=True).AddArgument(
             parser, operation_type='update per instance config for')
     instance_groups_flags.AddMigStatefulFlagsForInstanceConfigs(
         parser, for_update=True)
     instance_groups_flags.AddMigStatefulUpdateInstanceFlag(parser)
Exemplo n.º 2
0
 def Args(parser):
   instance_groups_flags.MULTISCOPE_INSTANCE_GROUP_MANAGER_ARG.AddArgument(
       parser, operation_type='delete')
   instance_groups_flags.AddMigStatefulUpdateInstanceFlag(parser)
   parser.add_argument(
       '--instances',
       metavar='INSTANCE',
       required=True,
       type=arg_parsers.ArgList(min_length=1),
       help='Names of instances to delete instance-configs from.')