def _CommonArgs(parser):
    instance_groups_flags.MULTISCOPE_INSTANCE_GROUP_MANAGER_ARG.AddArgument(
        parser)
    mig_utils.GetModeFlag().AddToParser(parser)
    mig_utils.AddScaleInControlFlag(parser, include_clear=True)
    mig_utils.AddMinMaxControl(parser, max_required=False)
    mig_utils.AddScheduledAutoscaling(parser, patch_args=True)
Пример #2
0
def _CommonArgs(parser):
    instance_groups_flags.MULTISCOPE_INSTANCE_GROUP_MANAGER_ARG.AddArgument(
        parser)
    mig_utils.GetModeFlag().AddToParser(parser)
Пример #3
0
def _CommonArgs(parser):
  instance_groups_flags.MULTISCOPE_INSTANCE_GROUP_MANAGER_ARG.AddArgument(
      parser)
  mig_utils.GetModeFlag().AddToParser(parser)
  mig_utils.AddScaleInControlFlag(parser, include_clear=True)
 def Args(parser):
   instance_groups_flags.MULTISCOPE_INSTANCE_GROUP_MANAGER_ARG.AddArgument(
       parser)
   mig_utils.GetModeFlag().AddToParser(parser)
   mig_utils.AddScaleDownControlFlag(parser)