Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Command line interface
  • Getting started with the CLI
    • Overview
    • help
    • init
      • Overview
    • version
  • CLI releases
  • Troubleshooting
  1. CLI reference
  2. serverless
  3. Overview

yc serverless

Written by
Yandex Cloud
Updated at December 2, 2024

Manage Serverless resources.

Command UsageCommand Usage

Syntax:

yc serverless <group>

Aliases:

  • sls

Command TreeCommand Tree

  • yc serverless api-gateway — Manage API Gateways
    • yc serverless api-gateway add-access-binding — Add access binding for the specified API Gateway
    • yc serverless api-gateway add-domain — Attach domain to the specified API Gateway
    • yc serverless api-gateway create — Create API Gateway
    • yc serverless api-gateway delete — Delete API Gateway
    • yc serverless api-gateway get — Get API Gateway
    • yc serverless api-gateway get-spec — Get API Gateway openapi specification
    • yc serverless api-gateway list — List API Gateways
    • yc serverless api-gateway list-access-bindings — List API Gateway access bindings
    • yc serverless api-gateway list-operations — List API Gateway operations
    • yc serverless api-gateway release-canary — Set gateway specification variables to canary values and delete canary settings
    • yc serverless api-gateway remove-access-binding — Remove access binding for the specified API Gateway
    • yc serverless api-gateway remove-domain — Detach domain from the specified API Gateway
    • yc serverless api-gateway rollback-canary — Suspend sending requests to canary release(set canary weight to zero)
    • yc serverless api-gateway set-access-bindings — Set access bindings for the specified API Gateway and delete all existing access bindings if there were any
    • yc serverless api-gateway update — Update API Gateway
  • yc serverless container — Manage containers
    • yc serverless container add-access-binding — Add access binding for the specified container
    • yc serverless container add-labels — Add labels to specified container
    • yc serverless container allow-unauthenticated-invoke — Allow unauthenticated invoke for the specified container
    • yc serverless container create — Create a container
    • yc serverless container delete — Delete the specified container
    • yc serverless container deny-unauthenticated-invoke — Deny unauthenticated invoke for the specified container
    • yc serverless container get — Show information about the specified container
    • yc serverless container list — List containers
    • yc serverless container list-access-bindings — List access bindings for the specified container
    • yc serverless container list-operations — Show operations for the specified container
    • yc serverless container remove-access-binding — Remove access binding for the specified container
    • yc serverless container remove-labels — Remove labels from specified container
    • yc serverless container rollback — Rollback the specified container to the specified revision
    • yc serverless container set-access-bindings — Set access bindings for the specified container and delete all existing access bindings if there were any
    • yc serverless container update — Update the specified container
  • yc serverless eventrouter — Manage eventrouters
    • yc serverless eventrouter put-event — Send event
  • yc serverless function — Manage functions
    • yc serverless function add-access-binding — Add access binding for the specified function
    • yc serverless function add-labels — Add labels to specified function
    • yc serverless function allow-unauthenticated-invoke — Allow unauthenticated invoke for the specified function
    • yc serverless function create — Create a function
    • yc serverless function delete — Delete the specified function
    • yc serverless function deny-unauthenticated-invoke — Deny unauthenticated invoke for the specified function
    • yc serverless function get — Show information about the specified function
    • yc serverless function invoke — Invoke the specified function
    • yc serverless function list — List functions
    • yc serverless function list-access-bindings — List access bindings for the specified function
    • yc serverless function list-operations — Show operations for the specified function
    • yc serverless function list-scaling-policies — List existing scaling policies for specified function
    • yc serverless function logs — Show logs for the specified function
    • yc serverless function remove-access-binding — Remove access binding for the specified function
    • yc serverless function remove-labels — Remove labels from specified function
    • yc serverless function remove-scaling-policy — Remove scaling policy for specified function and tag
    • yc serverless function set-access-bindings — Set access bindings for the specified function and delete all existing access bindings if there were any
    • yc serverless function set-scaling-policy — Set scaling policy for specified function and tag
    • yc serverless function tag-history — Show history of the tag for the specified function
    • yc serverless function update — Update the specified function
  • yc serverless mdbproxy — Manage proxies
    • yc serverless mdbproxy add-labels — Add labels to specified proxy
    • yc serverless mdbproxy delete — Delete the specified proxy
    • yc serverless mdbproxy get — Show information about the specified proxy
    • yc serverless mdbproxy list — List proxies
    • yc serverless mdbproxy list-operations — Show history of the tag for the specified proxy
    • yc serverless mdbproxy remove-labels — Remove labels from specified proxy
  • yc serverless network — Manage networks used in serverless resources
    • yc serverless network get-used — Show information about the specified network used in serverless resources
    • yc serverless network list-connections — List serverless resources connected to any network from specified scope (network, folder or cloud)
    • yc serverless network list-used — List networks used in serverless resources in specified scope
    • yc serverless network trigger-used-cleanup — Force obsolete used network to start cleanup process as soon as possible
  • yc serverless trigger — Manage triggers
    • yc serverless trigger add-labels — Add labels to specified trigger
    • yc serverless trigger delete — Delete the specified trigger
    • yc serverless trigger get — Show information about the specified trigger
    • yc serverless trigger list — List triggers
    • yc serverless trigger list-operations — Show history of the tag for the specified trigger
    • yc serverless trigger pause — Pause the specified trigger
    • yc serverless trigger remove-labels — Remove labels from specified trigger
    • yc serverless trigger resume — Resume the specified trigger
  • yc serverless workflow — Manage workflows
    • yc serverless workflow create — Create Workflow
    • yc serverless workflow delete — Delete Workflow
    • yc serverless workflow get — Get Workflow
    • yc serverless workflow list — List Workflows
    • yc serverless workflow list-operations — List Workflow operations
    • yc serverless workflow update — Update Workflow

Global FlagsGlobal Flags

Flag Description
--profile string
Set the custom configuration file.
--debug Debug logging.
--debug-grpc Debug gRPC logging. Very verbose, used for debugging connection problems.
--no-user-output Disable printing user intended output to stderr.
--retry int
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout.
--cloud-id string
Set the ID of the cloud to use.
--folder-id string
Set the ID of the folder to use.
--folder-name string
Set the name of the folder to use (will be resolved to id).
--endpoint string
Set the Cloud API endpoint (host:port).
--token string
Set the OAuth token to use.
--impersonate-service-account-id string
Set the ID of the service account to impersonate.
--no-browser Disable opening browser for authentication.
--format string
Set the output format: text (default), yaml, json, json-rest.
--jq string
Query to select values from the response using jq syntax
-h,--help Display help for the command.

Was the article helpful?

Previous
update
Next
Overview
© 2025 Direct Cursus Technology L.L.C.