예제 #1
0
파일: update.py 프로젝트: twinDev/order-api
 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)
예제 #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.')