def _Args(parser, include_l7_internal_load_balancing=False, traffic_director_security=False, certificate_map=False, list_format=None): """Add the target https proxies comamnd line flags to the parser.""" parser.display_info.AddFormat(list_format) parser.add_argument( '--description', help='An optional, textual description for the target HTTPS proxy.') parser.display_info.AddCacheUpdater( flags.TargetHttpsProxiesCompleterAlpha if include_l7_internal_load_balancing else flags.TargetHttpsProxiesCompleter) target_proxies_utils.AddQuicOverrideCreateArgs(parser) if traffic_director_security: flags.AddProxyBind(parser, False) if certificate_map: resource_args.AddCertificateMapResourceArg( parser, 'to attach', name='certificate-map', positional=False, required=False, with_location=False)
def _Args(parser, include_l7_internal_load_balancing=False, traffic_director_security=False): """Add the target https proxies comamnd line flags to the parser.""" parser.display_info.AddFormat(flags.DEFAULT_LIST_FORMAT) parser.add_argument( '--description', help='An optional, textual description for the target HTTPS proxy.') parser.display_info.AddCacheUpdater( flags.TargetHttpsProxiesCompleterAlpha if include_l7_internal_load_balancing else flags.TargetHttpsProxiesCompleter) target_proxies_utils.AddQuicOverrideCreateArgs(parser) if traffic_director_security: flags.AddProxyBind(parser, False)