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)
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)
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.')
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)
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. """)
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)
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 = """\
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)
def Args(cls, parser): cls.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument( include_alpha=True) cls.TARGET_HTTP_PROXY_ARG.AddArgument(parser, operation_type='describe')
def Args(parser): Describe.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument() Describe.TARGET_HTTP_PROXY_ARG.AddArgument(parser, operation_type='describe')
def Args(parser): Delete.TARGET_HTTP_PROXY_ARG = flags.TargetHttpProxyArgument( plural=True) Delete.TARGET_HTTP_PROXY_ARG.AddArgument(parser, operation_type='delete')
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')
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)
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))
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)