def Args(parser): flags.AddBackendServiceName(parser) backend_flags.AddDescription(parser) backend_flags.AddInstanceGroup(parser, multizonal=False) backend_flags.AddBalancingMode(parser) backend_flags.AddMaxUtilization(parser) backend_flags.AddRate(parser) backend_flags.AddCapacityScalar(parser)
def Args(parser): flags.AddBackendServiceName(parser) flags.AddDescription(parser) flags.AddHttpHealthChecks(parser) flags.AddHttpsHealthChecks(parser) flags.AddTimeout(parser) flags.AddPortName(parser) flags.AddProtocol(parser)
def _ArgsGA(parser): """Common arguments to create commands for each release track.""" flags.AddBackendServiceName(parser) flags.AddDescription(parser) flags.AddHttpHealthChecks(parser) flags.AddHttpsHealthChecks(parser) flags.AddTimeout(parser, default=None) flags.AddPortName(parser) flags.AddProtocol(parser, default=None)
def Args(parser): flags.AddBackendServiceName(parser) flags.AddDescription(parser) flags.AddHttpHealthChecks(parser) flags.AddHttpsHealthChecks(parser) flags.AddTimeout(parser) flags.AddPortName(parser) flags.AddProtocol(parser) # These are added for beta flags.AddEnableCdn(parser)
def Args(parser): flags.AddBackendServiceName(parser) flags.AddDescription(parser) flags.AddHttpHealthChecks(parser) flags.AddHttpsHealthChecks(parser) flags.AddTimeout(parser, default=None) flags.AddPortName(parser) flags.AddProtocol(parser, default=None) flags.AddConnectionDrainingTimeout(parser) flags.AddEnableCdn(parser) flags.AddHealthChecks(parser) flags.AddSessionAffinity(parser, default=None) flags.AddAffinityCookieTtl(parser, default=None)
def Args(parser): flags.AddBackendServiceName(parser) flags.AddDescription(parser) flags.AddHttpHealthChecks(parser) flags.AddHttpsHealthChecks(parser) flags.AddTimeout(parser) flags.AddPortName(parser) flags.AddProtocol(parser) # These are in beta flags.AddEnableCdn(parser) # These are added for alpha flags.AddConnectionDrainingTimeout(parser) flags.AddHealthChecks(parser) flags.AddSessionAffinity(parser) flags.AddAffinityCookieTtl(parser)
def _AddArgs(parser, multizonal=False): """Adds args.""" g = parser.add_mutually_exclusive_group(required=True) g.add_argument('--group', help=('The name of the legacy instance group ' '(deprecated resourceViews API) to remove. ' 'Use --instance-group flag instead.')) g.add_argument('--instance-group', help='The name or URI of the instance group to remove.') scope_parser = parser if multizonal: scope_parser = parser.add_mutually_exclusive_group() flags.AddRegionFlag(scope_parser, resource_type='instance group', operation_type='remove from the backend service') flags.AddZoneFlag(parser, resource_type='instance group', operation_type='remove from the backend service') bs_flags.AddBackendServiceName(parser)
def Args(parser): base_classes.BaseEdit.Args(parser) flags.AddBackendServiceName(parser)
def _AddArgs(parser, multizonal=False): """Adds args.""" backend_flags.AddInstanceGroup(parser, operation_type='remove from', multizonal=multizonal) flags.AddBackendServiceName(parser)
def Args(parser): flags.AddBackendServiceName(parser)