Adds cloud service access settings in Cloud Enterprise Network (CEN).

Debug

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

Request parameters

Parameter Type Required? Example value Description
AccessRegionIds.N RepeatList Yes cn-hangzhou

The region of network instances that need to access the cloud service.

CenId String Yes cen-ckwa2hhmuislse****

The ID of the CEN instance.

Host String Yes 100.64.1.0/24

The domain name or IP address of the cloud service.

HostRegionId String Yes cn-beijing

The region of the cloud service.

Action String No ResolveAndRouteServiceInCen

Optional. The name of this action. Value: ResolveAndRouteServiceInCen

ClientToken String No 02fb3da4-130e-11e9-8e44-0016e04115b

Optional. The client token used to guarantee the idempotence of the request. The value of this parameter is generated by the client and is unique among different requests. It is 1 to 64 ASCII characters in length.

HostVpcId String No vpc-o6woh5s494zueq40v****

Optional. The VPC associated with the cloud service.

UpdateInterval Long No 5

Optional. The update interval. Default value: 5. The value cannot be modified.

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=ResolveAndRouteServiceInCen
&AccessRegionId=cn-hangzhou
&CenId=cen-ckwa2hhmuislse****
&Host=100.64.1.0/24
&HostRegionId=cn-beijing
&<CommonParameters>

Response example

XML format

<ResolveAndRouteServiceInCenResponse>
         <RequestId>17A57456-EF48-419D-9AE6-9B03D9996018</RequestId>
</ResolveAndRouteServiceInCenResponse>

JSON format

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

Errors

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