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
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Virtual Private Cloud
  • Getting started
  • DDoS Protection
  • Access management
    • Overview
  • Terraform reference
  • Audit Trails events
  • Release notes
  • FAQ
  1. CLI reference
  2. Overview

yc vpc

Written by
Yandex Cloud
Updated at December 2, 2024

Manage Yandex Virtual Private Cloud resources

Command UsageCommand Usage

Syntax:

yc vpc <group>

Command TreeCommand Tree

  • yc vpc address — Manage addresses.
    • yc vpc address create — Create an address.
    • yc vpc address delete — Delete an address.
    • yc vpc address get — Get information about an address.
    • yc vpc address list — List addresses in a folder.
    • yc vpc address list-operations — List operations for an address.
    • yc vpc address move — Move an address to another folder.
    • yc vpc address update — Modify configuration or attributes of the address.
  • yc vpc gateway — Manage gateways.
    • yc vpc gateway add-labels — Assign labels to a gateway.
    • yc vpc gateway create — Create a gateway.
    • yc vpc gateway delete — Delete a gateway.
    • yc vpc gateway get — Get information about a gateway.
    • yc vpc gateway list — List gateways in a folder.
    • yc vpc gateway list-operations — List operations for a gateway.
    • yc vpc gateway move — Move a gateway to another folder.
    • yc vpc gateway remove-labels — Remove labels from a gateway.
    • yc vpc gateway update — Modify configuration or attributes of a gateway.
  • yc vpc network — Manage networks.
    • yc vpc network add-labels — Assign labels to a network.
    • yc vpc network create — Create a network.
    • yc vpc network delete — Delete a network.
    • yc vpc network get — Get information about a network.
    • yc vpc network list — List networks in a folder.
    • yc vpc network list-operations — List operations for a network.
    • yc vpc network list-route-tables — List route tables in a network.
    • yc vpc network list-security-groups — List security groups in a network.
    • yc vpc network list-subnets — List subnets in a network.
    • yc vpc network move — Move a network to another folder.
    • yc vpc network remove-labels — Remove labels from a network.
    • yc vpc network update — Modify configuration or attributes of a network.
  • yc vpc private-endpoint — Manage private endpoints.
    • yc vpc private-endpoint create — Create a private endpoint.
    • yc vpc private-endpoint delete — Delete a private endpoint.
    • yc vpc private-endpoint get — Get information about a private endpoint.
    • yc vpc private-endpoint list — List private endpoints in a folder.
    • yc vpc private-endpoint list-operations — List operations for a private endpoint.
    • yc vpc private-endpoint update — Modify configuration or attributes of a private endpoint.
  • yc vpc route-table — Manage route tables.
    • yc vpc route-table add-labels — Add labels to a route table.
    • yc vpc route-table create — Create a route table.
    • yc vpc route-table delete — Delete a route table.
    • yc vpc route-table get — Get information about a route table.
    • yc vpc route-table list — List route tables in a folder.
    • yc vpc route-table list-operations — List operations for a route table.
    • yc vpc route-table move — Move a route table to another folder.
    • yc vpc route-table remove-labels — Remove labels from a route table.
    • yc vpc route-table update — Modify configuration or attributes of a route table.
  • yc vpc security-group — Manage security groups.
    • yc vpc security-group add-labels — Add labels to a security group.
    • yc vpc security-group create — Create a security group.
    • yc vpc security-group delete — Delete a security group.
    • yc vpc security-group get — Get information about a security group.
    • yc vpc security-group list — List security groups in a folder.
    • yc vpc security-group list-operations — List operations for a security group.
    • yc vpc security-group move — Move a security group to another folder.
    • yc vpc security-group remove-labels — Remove labels from a security group.
    • yc vpc security-group update — Modify configuration or attributes of a security group.
    • yc vpc security-group update-rule-meta — Update rule of a security group.
    • yc vpc security-group update-rules — Update rules of a security group.
  • yc vpc subnet — Manage subnets.
    • yc vpc subnet add-labels — Assign labels to a subnet.
    • yc vpc subnet add-range — Add CIDR range to a subnet.
    • yc vpc subnet create — Create a subnet in the specified network.
    • yc vpc subnet delete — Delete a subnet.
    • yc vpc subnet get — Get information about a subnet.
    • yc vpc subnet list — List subnets in a folder.
    • yc vpc subnet list-operations — List operations for a subnet.
    • yc vpc subnet list-used-addresses — List used addresses in subnet.
    • yc vpc subnet move — Move a subnet to another folder.
    • yc vpc subnet relocate — Relocate a subnet to another zone.
    • yc vpc subnet remove-labels — Remove labels from a subnet.
    • yc vpc subnet remove-range — Remove CIDR range from a subnet.
    • yc vpc subnet update — Modify configuration or attributes of a subnet.

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
Before January 1, 2019
Next
Overview
Yandex project
© 2025 Yandex.Cloud LLC