Sets the PrivateZone service.

PrivateZone is a VPC-based resolution and management service for private domain names. Networks in a Cloud Enterprise Network (CEN) instance can access the PrivateZone service through CEN.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
AccessRegionId String Yes cn-hangzhou

The access region.

The access region is the region of the cloud resource that accesses the PrivateZone service through CEN.

CenId String  Yes cen-7qthudw0ll6jmc****

The ID of the CEN instance.

HostRegionId String Yes cn-hangzhou

The service region.

The service region is the target region of the PrivateZone service to be accessed through CEN.

HostVpcId String Yes cn-hangzhou

The VPC that belongs to the service region.

Action String No RoutePrivateZoneInCenToVpc

Optional. The name of this action. Value: RoutePrivateZoneInCenToVpc

Response parameters

Parameter Type Example value Description
RequestId String C0245BEF-52AC-44A8-A776-EF96FD26A5CA

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=RoutePrivateZoneInCenToVpc
&AccessRegionId=cn-hangzhou
&CenId=cen-7qthudw0ll6jmc****
&HostRegionId=cn-hangzhou
&HostVpcId=cn-hangzhou
&<CommonParameters>

Response examples

XML format

<RoutePrivateZoneInCenToVpcResponse>
        <RequestId>A278B8A6-A5B8-4FDE-9F70-95F0F6A1D68A</RequestId>
</RoutePrivateZoneInCenToVpcResponse>

JSON format

{
	"RequestId":"C0245BEF-52AC-44A8-A776-EF96FD26A5CA"
}

Errors

For a list of error codes, visit the API Error Center.