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)
Пример #2
0
 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)
Пример #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)
Пример #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.')
Пример #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.')
Пример #6
0
 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)
Пример #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.
        """)
Пример #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)
Пример #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 = """\
Пример #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 = """\
Пример #11
0
 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)
Пример #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')
Пример #13
0
 def Args(parser):
     Describe.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument()
     Describe.TARGET_HTTP_PROXY_ARG.AddArgument(parser,
                                                operation_type='describe')
Пример #14
0
 def Args(parser):
     Delete.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument(
         plural=True)
     Delete.TARGET_HTTP_PROXY_ARG.AddArgument(parser,
                                              operation_type='delete')
Пример #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')
Пример #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)
Пример #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))
Пример #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)