def Args(cls, parser):
     cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument(
         include_alpha=True)
     cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser, operation_type='update')
     cls.URL_MAP_ARG = url_map_flags.UrlMapArgumentForTargetProxy(
         include_alpha=True)
     cls.URL_MAP_ARG.AddArgument(parser)
 def Args(cls, parser):
     cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument()
     cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser, operation_type='update')
     cls.URL_MAP_ARG = url_map_flags.UrlMapArgumentForTargetProxy(
         include_l7_internal_load_balancing=cls.
         _include_l7_internal_load_balancing)
     cls.URL_MAP_ARG.AddArgument(parser)
Exemple #3
0
    def Args(cls, parser):
        parser.display_info.AddFormat(flags.DEFAULT_LIST_FORMAT)
        cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument()
        cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser, operation_type='create')
        cls.URL_MAP_ARG = url_map_flags.UrlMapArgumentForTargetProxy()
        cls.URL_MAP_ARG.AddArgument(parser)

        _Args(parser)
Exemple #4
0
  def Args(cls, parser):
    cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument()
    cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser)
    cls.URL_MAP_ARG = url_map_flags.UrlMapArgumentForTargetProxy()
    cls.URL_MAP_ARG.AddArgument(parser)

    parser.add_argument(
        '--description',
        help='An optional, textual description for the target HTTP proxy.')
Exemple #5
0
    def Args(cls, parser):
        parser.display_info.AddFormat(flags.DEFAULT_LIST_FORMAT)
        cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument()
        cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser, operation_type='create')
        cls.URL_MAP_ARG = url_map_flags.UrlMapArgumentForTargetProxy()
        cls.URL_MAP_ARG.AddArgument(parser)

        parser.add_argument(
            '--description',
            help='An optional, textual description for the target HTTP proxy.')
 def Args(cls, parser):
     cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument(
         plural=True,
         include_l7_internal_load_balancing=cls.
         _include_l7_internal_load_balancing)
     cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser, operation_type='delete')
     parser.display_info.AddCacheUpdater(
         flags.TargetHttpProxiesCompleterAlpha if cls.
         _include_l7_internal_load_balancing else flags.
         TargetHttpProxiesCompleter)
Exemple #7
0
    def Args(cls, parser):
        cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument()
        cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser)

        parser.add_argument('--url-map',
                            required=True,
                            help="""\
        A reference to a URL map resource that will define the mapping of
        URLs to backend services. The URL map must exist and cannot be
        deleted while referenced by a target HTTP proxy.
        """)
Exemple #8
0
 def Args(cls, parser):
     cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument(
         include_l7_internal_load_balancing=cls.
         _include_l7_internal_load_balancing)
     cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser, operation_type='create')
     cls.URL_MAP_ARG = url_map_flags.UrlMapArgumentForTargetProxy(
         include_l7_internal_load_balancing=cls.
         _include_l7_internal_load_balancing)
     cls.URL_MAP_ARG.AddArgument(parser)
     _Args(parser, cls._include_l7_internal_load_balancing,
           cls._traffic_director_security)
Exemple #9
0
    def Args(cls, parser):
        cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument()
        cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser)

        url_map = parser.add_argument(
            '--url-map',
            required=True,
            help=
            ('A reference to a URL map resource that will define the mapping '
             ' of URLs to backend services.'))
        url_map.detailed_help = """\
Exemple #10
0
    def Args(cls, parser):
        cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument()
        cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser)

        parser.add_argument(
            '--description',
            help='An optional, textual description for the target HTTP proxy.')

        url_map = parser.add_argument(
            '--url-map',
            required=True,
            help=(
                'A reference to a URL map resource that defines the mapping of '
                'URLs to backend services.'))
        url_map.detailed_help = """\
 def Args(parser):
     Delete.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument(
         plural=True)
     Delete.TARGET_HTTP_PROXY_ARG.AddArgument(parser,
                                              operation_type='delete')
     parser.display_info.AddCacheUpdater(flags.TargetHttpProxiesCompleter)
Exemple #12
0
 def Args(cls, parser):
     cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument(
         include_alpha=True)
     cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser,
                                           operation_type='describe')
Exemple #13
0
 def Args(parser):
     Describe.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument()
     Describe.TARGET_HTTP_PROXY_ARG.AddArgument(parser,
                                                operation_type='describe')
Exemple #14
0
 def Args(parser):
     Delete.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument(
         plural=True)
     Delete.TARGET_HTTP_PROXY_ARG.AddArgument(parser,
                                              operation_type='delete')
Exemple #15
0
 def Args(cls, parser):
     cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument(
         include_l7_internal_load_balancing=cls.
         _include_l7_internal_load_balancing)
     cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser,
                                           operation_type='describe')
Exemple #16
0
 def Args(cls, parser):
     cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument(
         plural=True, include_alpha=True)
     cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser, operation_type='delete')
     parser.display_info.AddCacheUpdater(
         flags.TargetHttpProxiesCompleterAlpha)
Exemple #17
0
 def Args(cls, parser):
     cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument()
     cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser, operation_type='import')
     export_util.AddImportFlags(
         parser, _GetSchemaPath(cls.ReleaseTrack(), for_help=True))
Exemple #18
0
 def Args(cls, parser):
   cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument()
   cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser)
   cls.URL_MAP_ARG = url_map_flags.UrlMapArgumentForTargetProxy()
   cls.URL_MAP_ARG.AddArgument(parser)