API overview

Updated at:

API standards and multilingual preset SDKs

The OpenAPI of this product (pvtz/2018-01-01) uses the RPC signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.

Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.

Custom signature scenarios

If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.

Account and security preparation

Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.

API catalog

API

Title

Description

DescribeZones List zones Queries the zones of the current user.

Public

API

Title

Description

DescribeUserServiceStatus DescribeUserServiceStatus Queries the service status of the current user, which indicates whether the service is activated or has overdue payments.
MoveResourceGroup MoveResourceGroup You can call the MoveResourceGroup operation to move a resource to a different resource group.
SetProxyPattern SetProxyPattern Sets the recursive resolution proxy for subdomains.
DescribeChangeLogs Retrieve operation logs Queries the operation logs for internal DNS resolution. The operation logs record operations on built-in authoritative zones, cache management, forwarding management, service addresses, and DNS record queries. You can perform fuzzy searches by using keywords such as actions and content.

Zone

API

Title

Description

AddZone Add a zone Creates a built-in authoritative zone, which can be added to a normal zone or an accelerated zone.
DeleteZone Delete a zone Deletes an idle built-in authoritative zone.
UpdateZoneRemark UpdateZoneRemark Modifies the remark for a built-in authoritative domain name (zone).
ChangeZoneDnsGroup Modify the location zone of a zone Modifies the location zone of a zone.
BindZoneVpc Associate a zone with vPCs Associates or dissociates a zone with or from a list of VPCs to set the effective scope of the zone.
CheckZoneName Check whether a zone can be added based on rules Checks whether a zone name can be added based on rules.
ListTagResources ListTagResources Queries the tags that are added to resources in Private Zone.
DescribeZoneInfo Retrieve zone details Queries the details of a specified built-in authoritative zone, including the list of VPCs associated with the zone.
DescribeZoneVpcTree DescribeZoneVpcTree Call the DescribeZoneVpcTree operation to query the zones and the Virtual Private Clouds (VPCs) attached to them in your account.

Traffic analysis

API

Title

Description

DescribeRequestGraph Retrieve request volume details Invokes DescribeRequestGraph to perform a conditional query on request volume details based on conditions such as the time range.
DescribeStatisticSummary DescribeStatisticSummary Call the DescribeStatisticSummary operation to retrieve a summary of yesterday's request volume. This summary includes the top three zones and top three VPCs ranked by request volume.
DescribePvtzStatisticsZoneOverview Query private zone DNS resolution statistics overview Queries the overview of DNS parse statistics information at the zone dimension for Alibaba Cloud DNS PrivateZone.
DescribePvtzStatisticsSummary List private zone statistics details Queries the summary list of Alibaba Cloud DNS PrivateZone parse statistics information.
DescribePvtzStatisticsHistory Query historical statistics of private zone metrics Queries the trend of Alibaba Cloud DNS PrivateZone parse statistics information.
DescribePvtzStatisticsGlobalOverview Query global resolution statistics overview for privateZone Queries the global overview of DNS resolution statistics for Alibaba Cloud DNS PrivateZone.

DNS records

API

Title

Description

AddZoneRecord Add a DNS record Calls AddZoneRecord to add a built-in authoritative DNS record. Within the effective scope of resolution, the internal network DNS records of the domain name overwrite its public network DNS records.
DeleteZoneRecord Delete a DNS record Deletes a DNS record based on the record ID.
SetZoneRecordStatus SetZoneRecordStatus You can call SetZoneRecordStatus to set the status of a DNS record for a zone. This enables or pauses DNS resolution.
UpdateZoneRecordWeight Update private zone internal authoritative record weight value Updates the weight value of an authoritative DNS record in Alibaba Cloud DNS PrivateZone.
SetZoneLbaStatus Set load balancing policy for private zone authoritative resolution records Sets the weight enabling status.
UpdateRecordRemark Update DNS record remark Updates the remark of a DNS record based on the DNS record ID.
UpdateZoneRecord UpdateZoneRecord The UpdateZoneRecord operation modifies a DNS record for a zone. You can change properties such as the host record, record type, and weight.
DescribeZoneRecord Query DNS record details Queries the details of a DNS record.
DescribeZoneRecords List DNS records Queries the DNS records.

Forwarding management

API

Title

Description

AddResolverEndpoint Create an outbound endpoint Creates an outbound endpoint.
AddResolverRule Create a forwarding rule Creates a forwarding rule.
BindResolverRuleVpc Associate a forwarding rule with a VPC Associates a forwarding rule with a VPC.
DeleteResolverEndpoint Delete an endpoint Deletes an endpoint based on the endpoint ID.
DeleteResolverRule Delete a forwarding rule Deletes a forwarding rule by its ID.
DescribeResolverEndpoint Retrieve endpoint details Retrieves the details of an endpoint based on the endpoint ID.
DescribeResolverEndpoints List endpoints Queries a list of endpoints.
DescribeResolverRule Retrieve forwarding rule details Queries the details of a forwarding rule by forwarding rule ID.
DescribeResolverRules List forwarding rules Queries a list of forwarding rules.
UpdateResolverEndpoint UpdateResolverEndpoint Updates an endpoint.
UpdateResolverRule Modify a forwarding rule Modifies a forwarding rule.
DescribeResolverAvailableZones DescribeResolverAvailableZones Call DescribeResolverAvailableZones to retrieve a list of available zones.

Custom lines

API

Title

Description

AddCustomLine Add a custom line Creates a custom line.
DeleteCustomLine Delete a custom line Deletes a custom line.
UpdateCustomLine Update a custom line Updates a custom line.
DescribeCustomLines List custom lines Queries the list of custom lines.
SearchCustomLines Query custom lines Queries custom lines.
DescribeCustomLineInfo Query custom line details Queries the details of a custom line.

Cross-account authorization

API

Title

Description

AddUserVpcAuthorization Add cross-account VPC authorization Adds cross-account VPC authorization.
DescribeUserVpcAuthorizations List cross-account authorizations Queries the cross-account authorizations.
DeleteUserVpcAuthorization Delete cross-account authorization Deletes cross-account authorization based on the account ID and authorization type.

Hostname synchronization

API

Title

Description

UpdateSyncEcsHostTask Update a hostname synchronization task Creates or updates a hostname synchronization task.
DescribeSyncEcsHostTask DescribeSyncEcsHostTask Call DescribeSyncEcsHostTask to retrieve the details of a hostname sync task based on a zone ID.

Other

API

Title

Description

AddInboundEndpoint Create an inbound endpoint Creates an inbound endpoint.
DeleteInboundEndpoint Delete an inbound endpoint Deletes an inbound endpoint.
DescribeInboundEndpoint Retrieve inbound endpoint Retrieves the inbound endpoint.
DescribeInboundEndpoints List inbound endpoints Queries the list of inbound endpoints.
DescribeIntranetUserCanAnalysisVpcs DescribeIntranetUserCanAnalysisVpcs Retrieves a list of VPCs that a user can analyze.
DescribeRegions Retrieve region list Queries the list of available regions for selection, which can be filtered by scenario, VPC type, and other conditions.
DescribeTags DescribeTags Queries the tags that are added to resources in PrivateZone.
TagResources TagResources You can call the TagResources operation to add or modify tags for one or more zones in a batch.
UntagResources UntagResources You can call the UntagResources operation to remove tags from one or more zones in PrivateZone.
UpdateInboundEndpoint Modify an inbound endpoint Modifies an inbound endpoint.