检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
What Can I do if I Cannot Obtain Enterprise Projects Using the EPS Java or Python SDK? If you cannot obtain enterprise projects using the EPS Java or Python SDK, you can follow the following procedure to find out the reason: Check whether the token is obtained in DomainToken mode.
FullAccess Full permissions for Elastic Cloud Server (ECS) OBS FullAccess Full permissions for Object Storage Service (OBS) ELB FullAccess Full permissions for Elastic Load Balance (ELB) Security maintenance team Security O&M of the project ECS CommonOperations Permissions for basic
Click Buy ECS in the upper right corner. Specify the ECS information and select Enterprise_Project_A from the Enterprise Project drop-down list. Read and select the agreement, and click Create. Repeat Step 1 to Step 4 to purchase resources for the two enterprise projects.
Table 1 Resources supported by enterprise projects Service Resource Type Direct Connect Connection Virtual gateway Virtual interface Link aggregation group Elastic Cloud Server (ECS) Elastic cloud server Bare Metal Server (BMS) Bare metal server Auto Scaling (AS) AS group Image Management
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
For example, if an IAM user wants to query ECSs using an API, the user must have been granted permissions that allow the ecs:servers:list action. Supported Actions Operations supported by fine-grained policies are specific to APIs.
Examples include: ecs, scaling_group, images, disk, vpcs, security-groups, shared_bandwidth, eip, and cdn. For more details, see "Querying Service Supported by EPS". offset No Integer Index position. The query starts from the next data record specified by offset.
ECSs and ECS associated resources: Only ECSs need to be selected. Resources associated with the selected ECSs will be automatically removed from the enterprise project at the same time. Select this mode only when removing ECSs and their associated resources.
Examples include: ecs, scaling_group, images, disk, vpcs, security-groups, shared_bandwidth, eip, and cdn. For more details, see "Querying Service Supported by EPS". region_id No String Specifies the region ID.
Figure 2 Adding resources to an enterprise project Currently, you can create only the following four types of cloud resources: Elastic Cloud Server, Elastic Volume Service, Elastic IP, and Relational Database Service.
If you select ECSs and ECS associated resources for Mode, you cannot filter resources by service or resource type. Figure 2 Adding Resource Select the resources to be added and click OK.
For example, you can add an Elastic Cloud Server (ECS) to an enterprise project, and assign permissions to a user for managing the ECS in the project instead of other ECSs. Supported services See Supported Cloud Services.
If you select ECSs and ECS associated resources for Mode, you cannot filter resources by service or resource type. Figure 4 Add Resource Select the resources to be added and click OK.