def Args(parser): resource_args.AddServiceResourceArg( parser, """to create. The service id must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.""") flags.AddAnnotationsFlag(parser, _RESOURCE_TYPE, _SERVICE_LIMIT)
def Args(parser): resource_args.AddEndpointResourceArg( parser, """to create. The endpoint id must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.""") flags.AddAddressFlag(parser) flags.AddPortFlag(parser) flags.AddAnnotationsFlag(parser, _RESOURCE_TYPE, _ENDPOINT_LIMIT) flags.AddNetworkFlag(parser)
def Args(parser): resource_args.AddEndpointResourceArg(parser, 'to update.') flags.AddAddressFlag(parser) flags.AddPortFlag(parser) flags.AddAnnotationsFlag(parser, _RESOURCE_TYPE, _ENDPOINT_LIMIT)
def Args(parser): resource_args.AddServiceResourceArg(parser, 'to update.') flags.AddAnnotationsFlag(parser, _RESOURCE_TYPE, _SERVICE_LIMIT)