Verifies whether the name of a private zone is valid.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CheckZoneName

The operation that you want to perform. Set the value to CheckZoneName.

Lang String No en

The language.

UserClientIp String No 192.0.2.0

The IP address of the client.

ZoneName String No example.com

The name of the private zone.

Response parameters

Parameter Type Example Description
Check Boolean true

Indicates whether the name of the private zone is valid. Valid values:

  • true: valid.
  • false: invalid.
RequestId String CA29B88F-A571-4123-80D5-768AC2F7F806

The ID of the request.

Success Boolean true

Indicates whether the call is successful.

Examples

Sample requests


http://pvtz.aliyuncs.com/?Action=CheckZoneName
&ZoneName=example.com
&<Common request parameters>

Sample success responses

XML format

<CheckZoneNameResponse>
    <Check>true</Check>
    <RequestId>CA29B88F-A571-4123-80D5-768AC2F7F806</RequestId>
</CheckZoneNameResponse>

JSON format

{
	"Check":true,
	"RequestId":"0AF4FE63-5904-4E62-B1AC-B36810377811"
}