Exemplo n.º 1
0
 def Args(cls, parser):
     parser.display_info.AddFormat(flags.DEFAULT_LIST_FORMAT)
     flags.HealthCheckArgument('HTTP2').AddArgument(parser,
                                                    operation_type='create')
     health_checks_utils.AddHttpRelatedCreationArgs(parser)
     health_checks_utils.AddHttpRelatedResponseArg(parser)
     health_checks_utils.AddProtocolAgnosticCreationArgs(parser, 'HTTP2')
     health_checks_utils.AddPortSpecificationFlag(parser)
     parser.display_info.AddCacheUpdater(completers.HealthChecksCompleter)
Exemplo n.º 2
0
 def Args(parser):
     Create.Args(parser)
     health_checks_utils.AddPortSpecificationFlag(parser)
Exemplo n.º 3
0
 def Args(parser):
     Create.Args(parser)
     health_checks_utils.AddHttpRelatedResponseArg(parser)
     health_checks_utils.AddPortSpecificationFlag(parser)
     parser.display_info.AddCacheUpdater(completers.HealthChecksCompleter)
Exemplo n.º 4
0
 def Args(parser):
     CreateBeta.Args(parser)
     health_checks_utils.AddPortSpecificationFlag(parser)
     parser.display_info.AddCacheUpdater(
         completers.HttpsHealthChecksCompleter)