Zone Management

Table 1 Actions for zone management

Permission

API

Action

Dependent Permission

IAM Project

Create a zone.

POST /v2/zones

dns:zone:create

vpc:*:get*

vpc:*:list*

Y

Query a zone.

GET /v2/zones/{zone_id}

dns:zone:get

-

Y

List the zones.

GET /v2/zones

dns:zone:list

-

Y

Querying Name Servers in a Zone

GET /v2/zones/{zone_id}/nameservers

dns:zone:list

-

Y

Modify a zone.

PATCH /v2/zones/{zone_id}

dns:zone:update

-

Y

Delete a zone.

DELETE /v2/zones/{zone_id}

dns:zone:delete

ces:remoteChecks:list

ces:siteMonitorHealthCheck:get

ces:siteMonitorHealthCheck:create

ces:siteMonitorRule:delete

ces:siteMonitorRule:put

Y

Associate a private zone with a VPC.

POST /v2/zones/{zone_id}/associaterouter

dns:zone:associaterouter

vpc:*:get*

vpc:*:list*

Y

Disassociate a VPC from a private zone.

POST /v2/zones/{zone_id}/disassociaterouter

dns:zone:disassociaterouter

vpc:*:get*

vpc:*:list*

Y