yc serverless
Статья создана
Обновлена 2 ноября 2024 г.
Manage Serverless resources.
Command Usage
Syntax:
yc serverless <group>
Aliases:
sls
Command Tree
- yc serverless function — Manage functions
- yc serverless function get — Show information about the specified function
- yc serverless function list — List functions
- yc serverless function create — Create a function
- yc serverless function update — Update the specified function
- yc serverless function add-labels — Add labels to specified function
- yc serverless function remove-labels — Remove labels from specified function
- yc serverless function delete — Delete the specified function
- yc serverless function tag-history — Show history of the tag for the specified function
- yc serverless function list-operations — Show operations for the specified function
- yc serverless function logs — Show logs for the specified function
- yc serverless function invoke — Invoke the specified function
- yc serverless function list-access-bindings — List access bindings for the specified function
- 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 add-access-binding — Add access binding for the specified function
- yc serverless function remove-access-binding — Remove access binding for the specified function
- yc serverless function allow-unauthenticated-invoke — Allow unauthenticated invoke for the specified function
- yc serverless function deny-unauthenticated-invoke — Deny unauthenticated invoke for the specified function
- yc serverless function list-scaling-policies — List existing scaling policies for specified function
- yc serverless function set-scaling-policy — Set scaling policy for specified function and tag
- yc serverless function remove-scaling-policy — Remove scaling policy for specified function and tag
- yc serverless trigger — Manage triggers
- yc serverless trigger get — Show information about the specified trigger
- yc serverless trigger list — List triggers
- yc serverless trigger add-labels — Add labels to specified trigger
- yc serverless trigger remove-labels — Remove labels from specified trigger
- yc serverless trigger delete — Delete the specified trigger
- yc serverless trigger pause — Pause the specified trigger
- yc serverless trigger resume — Resume the specified trigger
- yc serverless trigger list-operations — Show history of the tag for the specified trigger
- yc serverless api-gateway — Manage API Gateways
- yc serverless api-gateway get — Get API Gateway
- yc serverless api-gateway list — List API Gateways
- yc serverless api-gateway get-spec — Get API Gateway openapi specification
- yc serverless api-gateway create — Create API Gateway
- yc serverless api-gateway update — Update API Gateway
- yc serverless api-gateway delete — Delete API Gateway
- yc serverless api-gateway list-operations — List API Gateway operations
- yc serverless api-gateway list-access-bindings — List API Gateway access bindings
- 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 add-access-binding — Add access binding for the specified API Gateway
- yc serverless api-gateway remove-access-binding — Remove access binding for the specified API Gateway
- yc serverless api-gateway add-domain — Attach domain to the specified API Gateway
- yc serverless api-gateway remove-domain — Detach domain from the specified API Gateway
- yc serverless api-gateway release-canary — Set gateway specification variables to canary values and delete canary settings
- yc serverless api-gateway rollback-canary — Suspend sending requests to canary release(set canary weight to zero)
- yc serverless container — Manage containers
- yc serverless container get — Show information about the specified container
- yc serverless container list — List containers
- yc serverless container create — Create a container
- yc serverless container update — Update the specified container
- yc serverless container rollback — Rollback the specified container to the specified revision
- yc serverless container add-labels — Add labels to specified container
- yc serverless container remove-labels — Remove labels from specified container
- yc serverless container delete — Delete the specified container
- yc serverless container list-operations — Show operations for the specified container
- yc serverless container list-access-bindings — List access bindings for the specified container
- 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 add-access-binding — Add access binding for the specified container
- yc serverless container remove-access-binding — Remove access binding for the specified container
- yc serverless container allow-unauthenticated-invoke — Allow unauthenticated invoke for the specified container
- yc serverless container deny-unauthenticated-invoke — Deny unauthenticated invoke for the specified container
- yc serverless mdbproxy — Manage proxies
- yc serverless mdbproxy get — Show information about the specified proxy
- yc serverless mdbproxy list — List proxies
- yc serverless mdbproxy add-labels — Add labels to specified proxy
- yc serverless mdbproxy remove-labels — Remove labels from specified proxy
- yc serverless mdbproxy delete — Delete the specified proxy
- yc serverless mdbproxy list-operations — Show history of the tag for the 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-used — List networks used in serverless resources in specified scope
- yc serverless network list-connections — List serverless resources connected to any network from specified scope (network, folder or cloud)
- yc serverless network trigger-used-cleanup — Force obsolete used network to start cleanup process as soon as possible
- yc serverless eventrouter — Manage eventrouters
- yc serverless eventrouter put-event — Send event
- yc serverless workflow — Manage workflows
- yc serverless workflow get — Get Workflow
- yc serverless workflow list — List Workflows
- yc serverless workflow create — Create Workflow
- yc serverless workflow update — Update Workflow
- yc serverless workflow delete — Delete Workflow
- yc serverless workflow list-operations — List Workflow operations
Global 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. |