Облачная платформаAdvanced

Before You Start

Эта статья полезна?

Welcome to Virtual Private Cloud API Reference. A Virtual Private Cloud (VPC) enables you to provision logically isolated, configurable, and manageable virtual networks for Elastic Cloud Servers (ECSs), improving the security of cloud resources and simplifying network deployment.

This document describes how to use application programming interfaces (APIs) to perform operations on VPCs, such as creating, querying, deleting, and updating a VPC. For details about all supported operations, see API Overview.

If you plan to access VPCs through an API, ensure that you are familiar with VPC concepts. For details, see "Service Overview" in Virtual Private Cloud User Guide.

VPC supports Representational State Transfer (REST) APIs, allowing you to call APIs using HTTPS.

For details about API calling, see Calling APIs.

Endpoints

An endpoint is the request address for calling an API. Endpoints vary depending on services. For the endpoints of all services, see Regions and Endpoints.

You need to select an endpoint based on your service requirements.

Concepts

  • Account

    An account is created upon successful signing up. The account has full access permissions for all of its cloud services and resources. It can be used to reset user passwords and grant user permissions. The account is a payment entity, which should not be used directly to perform routine management. To ensure account security, create Identity and Access Management (IAM) users and grant them permissions for routine management.

  • User

    An IAM user is created by an account in IAM to use cloud services. Each IAM user has its own identity credentials (password and access keys).

    API authentication requires information such as the account name, username, and password.

  • Region

    A region is a geographic area where cloud resources are deployed. Availability zones (AZs) in the same region can communicate with each other over an intranet.

  • AZ

    An AZ contains one or more physical data centers with independent power, cooling, fire suppression, and water systems. Within an AZ, compute, network, storage, and other resources are logically divided into multiple clusters. AZs within a region are interconnected using high-speed optical fibers to allow you to build cross-AZ high-availability systems.

  • Project

    Each region has a default project that is preset by the system. When you assign users the permissions for the default project of a region, the users can access all resources under your account in that region. If you need more refined access control, create subprojects under a default project and create resources in subprojects. Then you can assign users the permissions required to access only the resources in the specific subprojects.