diff options
Diffstat (limited to 'data/en_us/pvtz')
| -rw-r--r-- | data/en_us/pvtz/2018-01-01/api-docs.php | 12713 |
1 files changed, 12713 insertions, 0 deletions
diff --git a/data/en_us/pvtz/2018-01-01/api-docs.php b/data/en_us/pvtz/2018-01-01/api-docs.php new file mode 100644 index 0000000..12c0339 --- /dev/null +++ b/data/en_us/pvtz/2018-01-01/api-docs.php @@ -0,0 +1,12713 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'pvtz', + 'version' => '2018-01-01', + ], + 'directories' => [ + [ + 'children' => [ + 'DescribeUserServiceStatus', + 'SetProxyPattern', + 'DescribeChangeLogs', + 'DescribeRegions', + 'MoveResourceGroup', + ], + 'type' => 'directory', + 'title' => 'General', + ], + [ + 'children' => [ + 'AddZone', + 'DeleteZone', + 'UpdateZoneRemark', + 'ChangeZoneDnsGroup', + 'BindZoneVpc', + 'CheckZoneName', + 'DescribeZoneInfo', + 'DescribeZones', + 'DescribeZoneVpcTree', + ], + 'type' => 'directory', + 'title' => 'Zone', + ], + [ + 'children' => [ + 'DescribeTags', + 'ListTagResources', + 'TagResources', + 'UntagResources', + ], + 'type' => 'directory', + 'title' => 'Tags', + ], + [ + 'children' => [ + 'DescribeRequestGraph', + 'DescribeStatisticSummary', + ], + 'type' => 'directory', + 'title' => 'Datas', + ], + [ + 'children' => [ + 'AddZoneRecord', + 'DeleteZoneRecord', + 'SetZoneRecordStatus', + 'UpdateRecordRemark', + 'UpdateZoneRecord', + 'DescribeZoneRecord', + 'DescribeZoneRecords', + ], + 'type' => 'directory', + 'title' => 'Records', + ], + [ + 'children' => [ + 'AddResolverEndpoint', + 'AddResolverRule', + 'BindResolverRuleVpc', + 'DeleteResolverEndpoint', + 'DeleteResolverRule', + 'DescribeResolverEndpoint', + 'DescribeResolverEndpoints', + 'DescribeResolverRule', + 'DescribeResolverRules', + 'UpdateResolverEndpoint', + 'UpdateResolverRule', + 'DescribeResolverAvailableZones', + ], + 'type' => 'directory', + 'title' => 'Forward module', + ], + [ + 'children' => [ + 'AddCustomLine', + 'DeleteCustomLine', + 'UpdateCustomLine', + 'DescribeCustomLines', + 'SearchCustomLines', + 'DescribeCustomLineInfo', + ], + 'type' => 'directory', + 'title' => 'Custom lines', + ], + [ + 'children' => [ + 'AddUserVpcAuthorization', + 'DescribeUserVpcAuthorizations', + 'DeleteUserVpcAuthorization', + ], + 'type' => 'directory', + 'title' => 'Authorization across accounts', + ], + [ + 'children' => [ + 'UpdateSyncEcsHostTask', + 'DescribeSyncEcsHostTask', + ], + 'type' => 'directory', + 'title' => 'Synchronize the hostnames', + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'AddCustomLine' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the custom line.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '自定义线路-test', + ], + ], + [ + 'name' => 'ShareScope', + 'in' => 'query', + 'schema' => [ + 'description' => 'This parameter is not available to users. You do not need to specify this parameter.', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'default' => 'GLOBAL', + 'title' => '', + 'example' => 'GLOBAL', + ], + ], + [ + 'name' => 'DnsCategory', + 'in' => 'query', + 'schema' => [ + 'description' => 'This parameter is not available to users. You do not need to specify this parameter.', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'default' => 'INTRANET', + 'title' => '', + 'example' => 'INTRANET', + ], + ], + [ + 'name' => 'Ipv4s', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of IPv4 address segments.', + 'type' => 'array', + 'items' => [ + 'description' => 'An IPv4 address segment.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '1.1.1.1', + ], + 'required' => true, + 'docRequired' => true, + 'maxItems' => 100, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'AF7D4DCE-0776-47F2-A9B2-6FB85A87AA60', + ], + 'LineId' => [ + 'description' => 'The unique ID of the custom line.', + 'type' => 'string', + 'title' => '', + 'example' => '1065001', + ], + 'Name' => [ + 'description' => 'The name of the custom line.', + 'type' => 'string', + 'title' => '', + 'example' => '自定义线路-test', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'CustomLine.IpOverlap', + 'errorMessage' => 'customLine ip is overlap.%s', + 'description' => '', + ], + ], + ], + 'title' => 'AddCustomLine', + 'summary' => 'Creates a custom line.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '10', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddCustomLine', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:update', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AF7D4DCE-0776-47F2-A9B2-6FB85A87AA60\\",\\n \\"LineId\\": \\"1065001\\",\\n \\"Name\\": \\"自定义线路-test\\"\\n}","type":"json"}]', + ], + 'AddResolverEndpoint' => [ + 'summary' => 'You can call this operation to add an endpoint.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '15390', + 'abilityTreeNodes' => [ + 'FEATUREpvtz74JCUU', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the endpoint. The name can be up to 20 characters long. An error is reported if the limit is exceeded.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'endpoint-test-name', + ], + ], + [ + 'name' => 'VpcRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID of the outbound VPC.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the outbound virtual private cloud (VPC). All outbound DNS query traffic from the Resolver is forwarded through this VPC.'."\n" + ."\n" + .'> To prevent service interruptions, you cannot change this value after you create the outbound endpoint.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'vpc-0jl96awrjt75ezglc****', + ], + ], + [ + 'name' => 'SecurityGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the security group. The rules in the security group are applied to the outbound VPC.'."\n" + ."\n" + .'> To prevent service interruptions, you cannot change this value after you create the outbound endpoint.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'sg-0jld3m9yq7l2cw12****', + ], + ], + [ + 'name' => 'IpConfig', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of source IP addresses for outbound traffic. You must add at least two IP addresses. You can add up to six IP addresses.'."\n" + ."\n" + .'> To ensure high availability (HA), add at least two source IP addresses for the outbound endpoint. We recommend that you allocate these IP addresses in different zones. You can add a maximum of six source IP addresses.', + 'type' => 'array', + 'items' => [ + 'description' => 'Information about a source IP address for outbound traffic.', + 'type' => 'object', + 'properties' => [ + 'VSwitchId' => [ + 'description' => 'The vSwitch ID.', + 'type' => 'string', + 'required' => true, + 'title' => '', + 'example' => 'vsw-0jlgeyq4oazkh5xue****', + ], + 'CidrBlock' => [ + 'description' => 'The IPv4 CIDR block of the vSwitch.', + 'type' => 'string', + 'required' => true, + 'title' => '', + 'example' => '172.16.XX.XX/24', + ], + 'AzId' => [ + 'description' => 'The ID of the zone where the vSwitch resides.', + 'type' => 'string', + 'required' => true, + 'title' => '', + 'example' => 'cn-hangzhou-a', + ], + 'Ip' => [ + 'description' => 'The IP address. The IP address must be within the specified CIDR block. If you leave this parameter empty, the system automatically assigns an IP address.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '172.16.XX.XX', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'maxItems' => 12, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '32436208-E1AF-4DAB-B3B8-24F5F25B0950', + ], + 'EndpointId' => [ + 'description' => 'The endpoint ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'hr****', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'AddResolverEndpoint', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2021-10-27T01:19:07.000Z', + 'description' => 'Request parameters changed, Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddResolverEndpoint', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pvtz:AddResolverEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz:*:{#accountId}:endpoint/*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32436208-E1AF-4DAB-B3B8-24F5F25B0950\\",\\n \\"EndpointId\\": \\"hr****\\"\\n}","type":"json"}]', + ], + 'AddResolverRule' => [ + 'summary' => 'The AddResolverRule operation adds a forwarding rule.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREpvtzKODT3B', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the forwarding rule. Name the rule as needed.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the forwarding rule. The only valid value is OUTBOUND. This value indicates that DNS queries are forwarded to an external IP address.'."\n" + ."\n" + .'> You cannot change this value after the forwarding rule is created.', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'title' => '', + 'example' => 'OUTBOUND', + ], + ], + [ + 'name' => 'ZoneName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The domain name (zone) for which you want to forward DNS queries.'."\n" + ."\n" + .'> You cannot change this value after the forwarding rule is created.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'example.com', + ], + ], + [ + 'name' => 'EndpointId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the outbound endpoint. The outbound endpoint forwards DNS queries to the specified destination IP addresses.', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'title' => '', + 'example' => 'hr****', + ], + ], + [ + 'name' => 'ForwardIp', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The IP addresses and ports of the destination servers in the external DNS system to which DNS queries are forwarded. You can specify up to **6** destination servers. Both private and public IP addresses are supported.'."\n" + ."\n" + .'> If you specify public IP addresses for the external DNS servers, and the Elastic Compute Service (ECS) instances in the VPC of the outbound endpoint do not have public IP addresses, enable a NAT Gateway and configure SNAT entries.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the destination server.', + 'type' => 'object', + 'properties' => [ + 'Ip' => [ + 'description' => 'The IP address of the destination server.'."\n" + ."\n" + .'> The IP addresses in the following ranges are reserved by the system and cannot be used as the IP addresses of external DNS systems: 100.100.2.136 to 100.100.2.138 and 100.100.2.116 to 100.100.2.118.', + 'type' => 'string', + 'required' => true, + 'title' => '', + 'example' => '172.16.XX.XX', + ], + 'Port' => [ + 'description' => 'The port number of the destination server.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'title' => '', + 'example' => '8080', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'maxItems' => 12, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'Vpcs', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VpcUserId' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VpcType' => [ + 'type' => 'string', + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'RegionId' => [ + 'type' => 'string', + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VpcId' => [ + 'type' => 'string', + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'maxItems' => 100, + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'EdgeDnsClusters', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ClusterId' => [ + 'type' => 'string', + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'maxItems' => 100, + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '725B8BED-901F-480C-BBAC-FA59A18580C1', + ], + 'RuleId' => [ + 'description' => 'The ID of the forwarding rule.', + 'type' => 'string', + 'title' => '', + 'example' => 'hr****', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'AddResolverRule', + 'description' => '#### ****'."\n" + ."\n" + .'If the outbound VPC and the inbound VPC are the same, the IP address of the external DNS system in the forwarding rule for the outbound endpoint cannot be the same as the IP address of the inbound endpoint service. This is because if the IP addresses are the same, a request loopback occurs and DNS resolution fails.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2021-10-27T01:19:07.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddResolverRule', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pvtz:AddResolverRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz:*:{#accountId}:endpoint/{#EndpointId}', + ], + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz:*:{#accountId}:rule/*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"725B8BED-901F-480C-BBAC-FA59A18580C1\\",\\n \\"RuleId\\": \\"hr****\\"\\n}","type":"json"}]', + ], + 'AddUserVpcAuthorization' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + ], + 'parameters' => [ + [ + 'name' => 'AuthorizedUserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the Alibaba Cloud account that owns the authorized resources.'."\n" + ."\n" + .'> Only Alibaba Cloud accounts are supported. RAM users are not supported. You can associate accounts only if they are on the same site, such as the China site (aliyun.com) or the international site (alibabacloud.com). Cross-site association is not supported.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '141339776561****', + ], + ], + [ + 'name' => 'AuthCode', + 'in' => 'query', + 'schema' => [ + 'description' => 'The verification code.'."\n" + ."\n" + .'> - If AuthChannel is empty or set to AUTH\\_CODE, specify the verification code.'."\n" + .'>'."\n" + .'> - In other cases, you can enter a random 6-digit number, such as 123456.', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'title' => '', + 'example' => '123456', + ], + ], + [ + 'name' => 'AuthType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The authorization type. Valid values:'."\n" + ."\n" + .'- NORMAL: standard authorization.'."\n" + ."\n" + .'- CLOUD\\_PRODUCT: cloud product authorization.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'NORMAL', + ], + ], + [ + 'name' => 'AuthChannel', + 'in' => 'query', + 'schema' => [ + 'description' => 'The authorization channel. Valid values:'."\n" + ."\n" + .'- AUTH\\_CODE: authorization by verification code.'."\n" + ."\n" + .'- RESOURCE\\_DIRECTORY: authorization by Resource Directory.'."\n" + ."\n" + .'Default: AUTH\\_CODE.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'AUTH_CODE', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '46973D4C-E3E4-4ABA-9190-9A9DE406C7E', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'AddUserVpcAuthorization', + 'summary' => 'Grants cross-account authorization for a VPC.', + 'description' => '#### **Limits**'."\n" + ."\n" + .'- Cross-account authorization is supported only for Alibaba Cloud accounts. RAM users are not supported. You can only associate accounts that are on the same site, such as two accounts on the China site (aliyun.com) or two accounts on the international site (alibabacloud.com). You cannot associate an account on the China site with an account on the international site.'."\n" + ."\n" + .'- An API is not provided to send verification codes for authorization.'."\n" + ."\n" + .'#### **Notes**'."\n" + ."\n" + .'When you configure cross-account authorization, billing is settled based on the account that manages the built-in authoritative domain name.', + 'changeSet' => [ + [ + 'createdAt' => '2021-06-28T03:53:25.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUserVpcAuthorization', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'pvtz:AddUserVpcAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46973D4C-E3E4-4ABA-9190-9A9DE406C7E\\"\\n}","type":"json"}]', + ], + 'AddZone' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese.'."\n" + ."\n" + .'- **en**: English.'."\n" + ."\n" + .'Default value: **en**.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ZoneName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the zone to add.', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'title' => '', + 'example' => 'example.com', + ], + ], + [ + 'name' => 'ProxyPattern', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to enable subdomain recursive proxy. Valid values:'."\n" + ."\n" + .'- **ZONE**: Disables the feature. If a DNS query for a subdomain that does not exist under the current domain name is received, an NXDOMAIN error is returned.'."\n" + ."\n" + .'- **RECORD**: Enables the feature. If a DNS query for a subdomain that does not exist under the current domain name is received, the query is processed by the forwarding and recursion modules in sequence. The final result is used to respond to the DNS query.'."\n" + ."\n" + .'Default value: **ZONE**.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'ZONE', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'rg-acfmykd63gt****', + ], + ], + [ + 'name' => 'ZoneType', + 'in' => 'query', + 'schema' => [ + 'description' => 'This parameter is not available to users. You do not need to specify this parameter.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'CLOUD_PRODUCT_ZONE', + ], + ], + [ + 'name' => 'ZoneTag', + 'in' => 'query', + 'schema' => [ + 'description' => 'This parameter is not available to users. You do not need to specify this parameter.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'BLINK', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A client token that is used to ensure the idempotence of the request. You can use the client to generate a token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '21079fa016944979537637959d09bc', + ], + ], + [ + 'name' => 'DnsGroup', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'description' => 'The location of the built-in authoritative zone. Valid values:'."\n" + ."\n" + .'- **NORMAL\\_ZONE**: Standard zone. DNS responses are cached. If a cache miss occurs, the query is sent to the built-in authoritative standard zone. The time to live (TTL) value affects the time when a DNS record change takes effect. You cannot use custom DNS lines or weighted round-robin.'."\n" + ."\n" + .'- **FAST\\_ZONE**: Accelerated zone (recommended). DNS queries are directly responded to with the lowest latency. DNS record changes take effect in real time. You can use custom DNS lines and weighted round-robin.'."\n" + ."\n" + .'Default value: **NORMAL\\_ZONE**.'."\n" + ."\n" + .'> The built-in authoritative accelerated zone is located before the cache module. DNS responses are not cached. This may increase the number of DNS queries and your costs.'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'> Starting from April 30, 2025 (UTC+8), when new users activate Alibaba Cloud DNS PrivateZone, added zones are set as accelerated zones by default.'."\n" + ."\n" + .'</props>', + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'NORMAL_ZONE', + 'FAST_ZONE', + ], + 'title' => '', + 'example' => 'FAST_ZONE', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'ZoneName' => [ + 'description' => 'The name of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'example.com', + ], + 'ZoneId' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => '6fc186295683a131f63bb8b0cddc****', + ], + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '54F10A2A-C3CF-59D4-810F-F18DDD93FE20', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'AddZone', + 'summary' => 'Call the AddZone operation to create a built-in authoritative zone. The built-in authoritative zone can be a standard zone or an accelerated zone.', + 'description' => 'Starting from April 30, 2025 (UTC+8), zones added by new users of Alibaba Cloud DNS PrivateZone are set as accelerated zones by default. Starting from <props="china">October 30, 2025 (UTC+8)</props><props="intl">April 30, 2026 (UTC+8)</props>, all built-in authoritative standard zones will be automatically switched to accelerated zones. After the switch, the number of DNS queries may increase, which can increase your costs. To reduce the increase in DNS queries caused by the absence of a local cache, [enable NSCD for your ECS instances](~~2592999~~).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2024-02-19T11:52:14.000Z', + 'description' => 'Request parameters changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddZone', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pvtz:AddZone', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ZoneName\\": \\"example.com\\",\\n \\"ZoneId\\": \\"6fc186295683a131f63bb8b0cddc****\\",\\n \\"RequestId\\": \\"54F10A2A-C3CF-59D4-810F-F18DDD93FE20\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'AddZoneRecord' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the zone. This is the unique identifier of the zone.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d3****', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'Rr', + 'in' => 'query', + 'schema' => [ + 'description' => 'The host record. A host record is the prefix of a domain name. Common host records include www, @, \\* (for wildcard DNS), and mail (for mailboxes).'."\n" + ."\n" + .'For example, to resolve @.example.com, set the host record to "@", not an empty string.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'www', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the DNS record. The following types are supported:'."\n" + ."\n" + .'- **A**: Maps a domain name to an IPv4 address in dotted decimal notation.'."\n" + ."\n" + .'- **AAAA**: Maps a domain name to an IPv6 address.'."\n" + ."\n" + .'- **CNAME**: Maps a domain name to another domain name.'."\n" + ."\n" + .'- **TXT**: A text record. The text can be up to 255 characters in length. TXT records are often used for Sender Policy Framework (SPF) records to prevent spam.'."\n" + ."\n" + .'- **MX**: Maps a domain name to the domain name of a mail server.'."\n" + ."\n" + .'- **PTR**: Maps an IP address to a domain name.'."\n" + ."\n" + .'- **SRV**: Specifies the server for a specific service. The format is: Priority Weight Port Target. Separate each value with a space.'."\n" + ."\n" + .'> Before adding a PTR record, configure a reverse lookup zone. For more information, see [Reverse DNS lookups and PTR records](~~2592976~~).', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'A', + ], + ], + [ + 'name' => 'Line', + 'in' => 'query', + 'schema' => [ + 'description' => 'The source of the DNS resolution request. Valid values:'."\n" + ."\n" + .'- default: The default line. This is equivalent to a global line. Configure a default line to ensure that a DNS record is returned even if no smart line is hit.'."\n" + ."\n" + .'- Alibaba Cloud line: The DNS resolution request comes from Alibaba Cloud, including Public Cloud, Alibaba Finance Cloud, and Alibaba Gov Cloud.'."\n" + ."\n" + .'- Custom line: Customize internal domain name resolution to return a specific IP address for DNS query requests from a specific IP address segment.'."\n" + ."\n" + .'> * Only zones in built-in authoritative acceleration regions support adding DNS resolution request source lines.'."\n" + .'>'."\n" + .'> * To use the default line, enter "default". For Alibaba Cloud lines and custom lines, enter the specified line code. Example: aliyun\\_r\\_cn-beijing-a', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => 'default', + ], + ], + [ + 'name' => 'Weight', + 'in' => 'query', + 'schema' => [ + 'description' => 'The weight. Valid values are integers from 1 to 100. The default value is 1. Set different weights for each address to return addresses based on the weight ratio for DNS queries.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'Ttl', + 'in' => 'query', + 'schema' => [ + 'description' => 'The time to live (TTL). The unit is seconds (s). Valid values are 5, 30, 60, 3600 (1 hour), 43200 (12 hours), and 86400 (1 day). The default value is 60.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '86400', + 'minimum' => '5', + 'default' => '60', + 'title' => '', + 'example' => '60', + ], + ], + [ + 'name' => 'Priority', + 'in' => 'query', + 'schema' => [ + 'description' => 'The priority of the MX record. A smaller value indicates a higher priority. Valid values: **\\[1, 99]**.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '99', + 'minimum' => '1', + 'title' => '', + 'example' => '5', + ], + ], + [ + 'name' => 'Value', + 'in' => 'query', + 'schema' => [ + 'description' => 'The record value. Enter a value based on the DNS record type.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '114.55.XX.XX'."\n", + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the client.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '127.0.XX.XX', + ], + ], + [ + 'name' => 'Remark', + 'in' => 'query', + 'schema' => [ + 'description' => 'The remarks.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. A client generates this value to ensure that it is unique among different requests. The value can be up to 64 ASCII characters in length.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '6447728c8578e66aacf062d2df4446dc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '0B7AD377-7E86-44A8-B9A8-53E8666E72FE', + ], + 'RecordId' => [ + 'description' => 'The ID of the DNS record.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '429570****', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'AddZoneRecord', + 'summary' => 'Call the AddZoneRecord operation to add a DNS record to an authoritative zone. Within the effective scope of the zone, the internal DNS record for a domain name overwrites its public DNS record.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2021-04-12T02:00:26.000Z', + 'description' => 'OpenAPI offline', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddZoneRecord', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pvtz:AddZoneRecord', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0B7AD377-7E86-44A8-B9A8-53E8666E72FE\\",\\n \\"RecordId\\": 0,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'BindResolverRuleVpc' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The forwarding rule ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'hr****', + ], + ], + [ + 'name' => 'Vpc', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The VPCs to associate.', + 'type' => 'array', + 'items' => [ + 'description' => 'The VPC information.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => [ + 'description' => 'The VPC ID.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'vpc-f8zvrvr1payllgz38****', + ], + 'RegionId' => [ + 'description' => 'The ID of the region where the outbound VPC is located.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'cn-hangzhou', + ], + 'VpcType' => [ + 'description' => 'The VPC type. Valid values:'."\n" + ."\n" + .'- STANDARD: standard VPC.'."\n" + ."\n" + .'- EDS: Elastic Desktop Service workspace VPC.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'STANDARD', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 500, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '12FE6E98-3885-423E-B18B-88CC17052A31', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ZoneVpc.Zone.Repeated', + 'errorMessage' => 'Vpc is bind to same zone name.', + 'description' => '', + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'BindResolverRuleVpc', + 'summary' => 'The BindResolverRuleVpc operation associates a forwarding rule with a virtual private cloud (VPC).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-17T09:58:33.000Z', + 'description' => 'Request parameters changed', + ], + [ + 'createdAt' => '2024-10-13T10:53:05.000Z', + 'description' => 'Request parameters changed', + ], + [ + 'createdAt' => '2023-01-06T04:15:31.000Z', + 'description' => 'Request parameters changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'BindResolverRuleVpc', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:BindResolverRuleVpc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz::{#accountId}:rule/{#RuleId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"12FE6E98-3885-423E-B18B-88CC17052A31\\"\\n}","type":"json"}]', + ], + 'BindZoneVpc' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREpvtz6J3Z3C', + ], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the return value. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '34d4031b63c527358b710a61346a****', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the client.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '127.0.XX.XX', + ], + ], + [ + 'name' => 'Vpcs', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of VPCs.'."\n" + ."\n" + .'> If you leave this parameter empty, all VPCs are unbound from the zone.', + 'type' => 'array', + 'items' => [ + 'description' => 'Information about the associated VPC.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => [ + 'description' => 'The ID of the VPC. If a zone is already bound to a VPC, the VPC is unbound from the zone if you do not specify this parameter.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'vpc-f8zvrvr1payllgz38****', + ], + 'RegionId' => [ + 'description' => 'The ID of the region where the VPC is located.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'cn-beijing', + ], + 'VpcType' => [ + 'description' => 'The type of the VPC. Valid values:'."\n" + ."\n" + .'- **STANDARD**: a standard VPC.'."\n" + ."\n" + .'- **EDS**: an Elastic Desktop Service (EDS) workspace VPC.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'STANDARD', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 500, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A client token to ensure the idempotence of the request. Generate a unique value on your client for this parameter. The token can contain only ASCII characters and cannot be more than 64 characters long.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '6447728c8578e66aacf062d2df4446dc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '46973D4C-E3E4-4ABA-9190-9A9DE406C7E', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ZoneVpc.Zone.Repeated', + 'errorMessage' => 'Vpc is bind to same zone name.', + 'description' => '', + ], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'BindZoneVpc', + 'summary' => 'Binds a zone to or unbinds a zone from one or more VPCs. This operation defines the scope in which the zone is effective.', + 'description' => '##### Notes:'."\n" + ."\n" + .'You should set the scope for a domain name only after you configure all its DNS records. If you set the scope when you create the domain name, DNS resolution for that domain name will fail within the specified scope until you add DNS records. This does not apply if the recursive resolution proxy for subdomains is enabled.', + 'changeSet' => [ + [ + 'createdAt' => '2024-10-17T09:58:33.000Z', + 'description' => 'Request parameters changed', + ], + [ + 'createdAt' => '2023-01-06T04:15:31.000Z', + 'description' => 'Request parameters changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'BindZoneVpc', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'pvtz:BindZoneVpc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46973D4C-E3E4-4ABA-9190-9A9DE406C7E\\"\\n}","type":"json"}]', + ], + 'ChangeZoneDnsGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The global ID of the zone.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'e0cff188756b1d4579b25e54b66cb830', + ], + ], + [ + 'name' => 'DnsGroup', + 'in' => 'query', + 'schema' => [ + 'description' => 'The built-in authoritative DNS group.'."\n" + ."\n" + .'- Standard zone group: NORMAL\\_ZONE'."\n" + ."\n" + .'- Acceleration zone group: FAST\\_ZONE'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'> Starting from April 30, 2025 (UTC+8), when new users of Alibaba Cloud DNS PrivateZone create a zone, the zone is set to an acceleration zone by default.'."\n" + ."\n" + .'</props>', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'NORMAL_ZONE', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A client token that is used to ensure the idempotence of the request. Generate a unique value for this parameter on your client. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '85456erer657cfgfg3437', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'ZoneId' => [ + 'description' => 'The global ID of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'e0cff188756b1d4579b25e54b66cb830', + ], + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'ChangeZoneDnsGroup', + 'summary' => 'Modify the location of a ZONE.', + 'description' => 'Starting April 30, 2025 (UTC+8), zones added by new Alibaba Cloud DNS PrivateZone users will be set to acceleration zones by default. <props="china">Starting October 30, 2025 (UTC+8)</props><props="intl">Starting April 30, 2026 (UTC+8)</props>, built-in authoritative zones in the standard zone group for all users will be automatically switched to the acceleration zone group. After the switch, the number of DNS requests may increase, which can result in higher usage costs. You can enable [NSCD for ECS](~~2592999~~) to reduce the increase in DNS requests caused by the lack of a local cache.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ChangeZoneDnsGroup', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:ChangeZoneDnsGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ZoneId\\": \\"e0cff188756b1d4579b25e54b66cb830\\",\\n \\"RequestId\\": \\"C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB\\"\\n}","type":"json"}]', + ], + 'CheckZoneName' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese'."\n" + ."\n" + .'- en: English'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ZoneName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the zone. This parameter is required.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'example.com', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the user.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '127.0.XX.XX', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => 'CA29B88F-A571-4123-80D5-768AC2F7F806', + ], + 'Check' => [ + 'description' => 'The result of the check. Valid values:'."\n" + ."\n" + .'- **true**: The zone name can be added.'."\n" + ."\n" + .'- **false**: The zone name cannot be added.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'CheckZoneName', + 'summary' => 'You can call the CheckZoneName operation to check whether a zone name is available.', + 'changeSet' => [ + [ + 'createdAt' => '2024-01-31T12:33:44.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CheckZoneName', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:CheckZoneName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CA29B88F-A571-4123-80D5-768AC2F7F806\\",\\n \\"Check\\": true,\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeleteCustomLine' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'LineId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the custom line.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '1045001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'A73F3BD0-B1A8-42A9-A9B6-689BBABC4891', + ], + 'LineId' => [ + 'description' => 'The unique ID of the custom line.', + 'type' => 'string', + 'title' => '', + 'example' => '520002', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'CustomLine.InUsed', + 'errorMessage' => 'customLine is in used can not delete.%s', + 'description' => '', + ], + ], + ], + 'title' => 'DeleteCustomLine', + 'summary' => 'Deletes a custom line.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '10', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteCustomLine', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:update', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'customLine', + 'arn' => 'acs:pvtz::{#accountId}:customLine/{#lineId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A73F3BD0-B1A8-42A9-A9B6-689BBABC4891\\",\\n \\"LineId\\": \\"520002\\"\\n}","type":"json"}]', + ], + 'DeleteResolverEndpoint' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'EndpointId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the endpoint.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'hra0**', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '35134B4A-CEC0-43C8-AAD4-BA54AE3268B5', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DeleteResolverEndpoint', + 'summary' => 'You can call the DeleteResolverEndpoint operation to delete an endpoint by its ID.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2021-10-27T01:19:07.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteResolverEndpoint', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:DeleteResolverEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz:*:{#accountId}:endpoint/{#EndpointId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35134B4A-CEC0-43C8-AAD4-BA54AE3268B5\\"\\n}","type":"json"}]', + ], + 'DeleteResolverRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the forwarding rule.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'hr****', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '0C9959BE-3A6A-4803-8DCE-973B42ACD599', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DeleteResolverRule', + 'summary' => 'Deletes a forwarding rule by its ID.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2021-10-27T01:19:07.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteResolverRule', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:DeleteResolverRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz:*:{#accountId}:rule/{#RuleId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C9959BE-3A6A-4803-8DCE-973B42ACD599\\"\\n}","type":"json"}]', + ], + 'DeleteUserVpcAuthorization' => [ + 'summary' => 'Deletes a cross-account authorization based on a specified account ID and authorization type.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREpvtz3KGNVF', + ], + ], + 'parameters' => [ + [ + 'name' => 'AuthorizedUserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the Alibaba Cloud account that owns the authorized resources.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '141339776561****', + ], + ], + [ + 'name' => 'AuthType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The authorization type. Valid values:'."\n" + ."\n" + .'- NORMAL: Standard authorization.'."\n" + ."\n" + .'- CLOUD\\_PRODUCT: Cloud product authorization.'."\n" + ."\n" + .'Default value: NORMAL', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'NORMAL', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '46973D4C-E3E4-4ABA-9190-9A9DE406C7E', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DeleteUserVpcAuthorization', + 'changeSet' => [ + [ + 'createdAt' => '2021-09-22T06:38:48.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteUserVpcAuthorization', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pvtz:DeleteUserVpcAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46973D4C-E3E4-4ABA-9190-9A9DE406C7E\\"\\n}","type":"json"}]', + ], + 'DeleteZone' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the zone.'."\n" + ."\n" + .'> You must dissociate a built-in authoritative domain name from its scope before you delete it.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '0e41496f12da01311d314f17b801****', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the client.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '127.0.XX.XX', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A client token to ensure the idempotence of the request. Generate a unique value from your client for this parameter. The token must contain only ASCII characters and be no more than 64 characters in length.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '21079fa016944979537637959d09bc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'ZoneId' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => '0e41496f12da01311d314f17b801****', + ], + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => 'E246E023-F2EB-4034-83F7-B13FCF31459C', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DeleteZone', + 'summary' => 'Deletes an idle zone (built-in authoritative domain name).', + 'description' => '#### Notes'."\n" + ."\n" + .'You must dissociate a zone from its scope before you delete it.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteZone', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pvtz:DeleteZone', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ZoneId\\": \\"0e41496f12da01311d314f17b801****\\",\\n \\"RequestId\\": \\"E246E023-F2EB-4034-83F7-B13FCF31459C\\"\\n}","type":"json"}]', + ], + 'DeleteZoneRecord' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'RecordId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the DNS record.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '306279****', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the client.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '127.0.XX.XX', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client token that is used to ensure the idempotence of the request. Generate a value that is unique for each request. The token can contain a maximum of 64 ASCII characters.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '6447728c8578e66aacf062d2df4446dc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '0B7AD377-7E86-44A8-B9A8-53E8666E72FE', + ], + 'RecordId' => [ + 'description' => 'The ID of the DNS record.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '306279****', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DeleteZoneRecord', + 'summary' => 'The DeleteZoneRecord operation deletes a DNS record by its ID.', + 'description' => '#### **Notes**'."\n" + ."\n" + .'This operation is irreversible. Deleted records cannot be recovered.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteZoneRecord', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pvtz:DeleteZoneRecord', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0B7AD377-7E86-44A8-B9A8-53E8666E72FE\\",\\n \\"RecordId\\": 0\\n}","type":"json"}]', + ], + 'DescribeChangeLogs' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '15405', + 'abilityTreeNodes' => [ + 'FEATUREpvtzBZMYLJ', + ], + ], + 'parameters' => [ + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'The keyword, such as a behavior or content. Fuzzy search is supported. The keyword is not case-sensitive.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the zone.'."\n" + ."\n" + .'- If you specify this parameter, the operation returns the change logs of DNS records for the specified zone.<br>'."\n" + ."\n" + .'- If you leave this parameter empty, the operation returns the change logs of all zones and DNS records that belong to the current account.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d3****', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of the page to return. The value must be an integer that is greater than 0. Default value: 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '1', + 'default' => '1', + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '20', + 'title' => '', + 'example' => '100', + ], + ], + [ + 'name' => 'StartTimestamp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The start time. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'title' => '', + 'example' => '1516779348000', + ], + ], + [ + 'name' => 'EndTimestamp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end time. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'title' => '', + 'example' => '2516779348000', + ], + ], + [ + 'name' => 'EntityType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of log to obtain. Valid values:'."\n" + ."\n" + .'- **PV\\_ZONE**: operation logs of built-in authoritative zones.'."\n" + ."\n" + .'- **PV\\_RECORD**: operation logs of DNS records.'."\n" + ."\n" + .'- **RESOLVER\\_RULE**: operation logs of forwarding rules.'."\n" + ."\n" + .'- **CUSTOM\\_LINE**: operation logs of custom lines.'."\n" + ."\n" + .'- **RESOLVER\\_ENDPOINT**: operation logs of outbound endpoints.'."\n" + ."\n" + .'- **INBOUND\\_ENDPOINT**: operation logs of inbound endpoints.'."\n" + ."\n" + .'- **CACHE\\_RESERVE\\_DOMAIN**: operation logs of domains for which cache is retained.'."\n" + ."\n" + .'> If you specify another value, this parameter is ignored and logs of all types are returned.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'PV_ZONE', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the user.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '192.0.XX.XX', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'PageSize' => [ + 'description' => 'The number of entries returned per page.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'F0FCB52A-D512-41A0-8595-40234EDCFD8B', + ], + 'ChangeLogs' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ChangeLog' => [ + 'description' => 'The list of change logs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of a change log.', + 'type' => 'object', + 'properties' => [ + 'OperTimestamp' => [ + 'description' => 'The time when the operation was performed. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1721619906972', + ], + 'EntityId' => [ + 'description' => 'The unique ID of the entity, such as a domain name, custom line, forwarding rule, outbound endpoint, or inbound endpoint.', + 'type' => 'string', + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d3****', + ], + 'OperObject' => [ + 'description' => 'The type of the operation object. Description:'."\n" + ."\n" + .'- **PV\\_ZONE**: a built-in authoritative zone.'."\n" + ."\n" + .'- **PV\\_RECORD**: a DNS record.'."\n" + ."\n" + .'- **RESOLVER\\_RULE**: a forwarding rule.'."\n" + ."\n" + .'- **CUSTOM\\_LINE**: a custom line.'."\n" + ."\n" + .'- **RESOLVER\\_ENDPOINT**: an outbound endpoint.'."\n" + ."\n" + .'- **INBOUND\\_ENDPOINT**: an inbound endpoint.'."\n" + ."\n" + .'- **CACHE\\_RESERVE\\_DOMAIN**: a domain for which cache is retained.', + 'type' => 'string', + 'title' => '', + 'example' => 'PV_RECORD', + ], + 'OperTime' => [ + 'description' => 'The time when the operation was performed.', + 'type' => 'string', + 'title' => '', + 'example' => '2024-07-22T03:45Z', + ], + 'OperIp' => [ + 'description' => 'The IP address from which the change was initiated. This is a public IP address. If the operation was initiated from a device that uses a private IP address, this parameter indicates the public IP address of the device after Network Address Translation (NAT).', + 'type' => 'string', + 'title' => '', + 'example' => '192.0.XX.XX', + ], + 'OperAction' => [ + 'description' => 'The specific action performed on the object, such as add, delete, update, or associate.', + 'type' => 'string', + 'title' => '', + 'example' => 'add', + ], + 'Content' => [ + 'description' => 'The content of the operation. This parameter records the specific details of the operation.', + 'type' => 'string', + 'title' => '', + 'example' => 'Add RR:test.03 Type:A Line:default TTL:300 Value:172.20.XX.XX', + ], + 'EntityName' => [ + 'description' => 'The name of the operation object. The object can be a domain name, a custom line, a domain for which cache is retained, a forwarding rule, an outbound endpoint, or an inbound endpoint.', + 'type' => 'string', + 'title' => '', + 'example' => 'test.03', + ], + 'Id' => [ + 'description' => 'The ID of the operation record.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '90761578646770****', + ], + 'CreatorId' => [ + 'description' => 'The ID of the operator who performed the operation.', + 'type' => 'string', + 'title' => '', + 'example' => '141339776561****', + ], + 'CreatorType' => [ + 'description' => 'The type of the operator. The value can be empty or **USER**.', + 'type' => 'string', + 'title' => '', + 'example' => 'USER', + ], + 'CreatorSubType' => [ + 'description' => 'The subtype of the operator. Valid values:'."\n" + ."\n" + .'- CUSTOMER: an Alibaba Cloud account'."\n" + ."\n" + .'- SUB: a RAM user'."\n" + ."\n" + .'- STS: role assumption'."\n" + ."\n" + .'- OTHER: other', + 'type' => 'string', + 'title' => '', + 'example' => 'CUSTOMER', + ], + 'CreatorUserId' => [ + 'description' => 'The ID of the operator.', + 'type' => 'string', + 'title' => '', + 'example' => '141339776561****', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'PageNumber' => [ + 'description' => 'The page number of the returned data.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages returned.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalItems' => [ + 'description' => 'The total number of logs.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeChangeLogs', + 'summary' => 'You can call the DescribeChangeLogs operation to retrieve the operation logs for a private zone. The logs record operations related to built-in authoritative zones, cache management, forwarding management, endpoints, and DNS record queries. You can perform a fuzzy search by keywords such as behavior and content.', + 'description' => '#### **Limits**'."\n" + ."\n" + .'You can query operation logs for a private zone generated within the last six months.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2024-11-25T12:38:24.000Z', + 'description' => 'Response parameters changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeChangeLogs', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeChangeLogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 1,\\n \\"RequestId\\": \\"F0FCB52A-D512-41A0-8595-40234EDCFD8B\\",\\n \\"ChangeLogs\\": {\\n \\"ChangeLog\\": [\\n {\\n \\"OperTimestamp\\": 1721619906972,\\n \\"EntityId\\": \\"df2d03865266bd9842306db586d3****\\",\\n \\"OperObject\\": \\"PV_RECORD\\",\\n \\"OperTime\\": \\"2024-07-22T03:45Z\\",\\n \\"OperIp\\": \\"192.0.XX.XX\\",\\n \\"OperAction\\": \\"add\\",\\n \\"Content\\": \\"Add RR:test.03 Type:A Line:default TTL:300 Value:172.20.XX.XX\\",\\n \\"EntityName\\": \\"test.03\\",\\n \\"Id\\": 0,\\n \\"CreatorId\\": \\"141339776561****\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"CreatorSubType\\": \\"CUSTOMER\\",\\n \\"CreatorUserId\\": \\"141339776561****\\"\\n }\\n ]\\n },\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1\\n}","type":"json"}]', + ], + 'DescribeCustomLineInfo' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'chargeType' => 'free', + 'abilityTreeCode' => '190584', + 'abilityTreeNodes' => [ + 'FEATUREpvtzNNOVSD', + ], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'LineId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the custom line.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '11271', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '0B7AD377-7E86-44A8-B9A8-53E8666E72FE', + ], + 'LineId' => [ + 'description' => 'The unique ID of the custom line.', + 'type' => 'string', + 'title' => '', + 'example' => '100003', + ], + 'Name' => [ + 'description' => 'The name of the custom line.', + 'type' => 'string', + 'title' => '', + 'example' => '测试线路', + ], + 'Ipv4s' => [ + 'description' => 'A list of IPv4 address segments.', + 'type' => 'array', + 'items' => [ + 'description' => 'An IPv4 address segment.', + 'type' => 'string', + 'title' => '', + 'example' => '1.1.1.1-2.2.2.2', + ], + 'title' => '', + 'example' => '', + ], + 'Creator' => [ + 'description' => 'The creator.', + 'type' => 'string', + 'title' => '', + 'example' => '260282302749096109', + ], + 'CreatorType' => [ + 'description' => 'The role of the creator. Valid values:'."\n" + ."\n" + .'- USER: User'."\n" + ."\n" + .'- SYSTEM: System', + 'type' => 'string', + 'title' => '', + 'example' => 'USER', + ], + 'CreatorSubType' => [ + 'description' => 'The type of the creator. Valid values:'."\n" + ."\n" + .'- CUSTOM: Alibaba Cloud account'."\n" + ."\n" + .'- SUB: RAM user'."\n" + ."\n" + .'- STS: Assumed role'."\n" + ."\n" + .'- OTHER: Other roles', + 'type' => 'string', + 'title' => '', + 'example' => 'CUSTOM', + ], + 'CreateTime' => [ + 'description' => 'The time when the line was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2018-01-23T03:15Z', + ], + 'UpdateTime' => [ + 'description' => 'The time when the line was last updated.', + 'type' => 'string', + 'title' => '', + 'example' => '2018-01-24T06:35Z', + ], + 'CreateTimestamp' => [ + 'description' => 'The UNIX timestamp that indicates when the line was created.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1516775741000', + ], + 'UpdateTimestamp' => [ + 'description' => 'The UNIX timestamp that indicates when the line was last updated.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1516775741000', + ], + 'Dnscategory' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeCustomLineInfo', + 'summary' => 'You can call this operation to query the details of a custom line.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeCustomLineInfo', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:read', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'customLine', + 'arn' => 'acs:pvtz::{#accountId}:customLine/{#lineId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0B7AD377-7E86-44A8-B9A8-53E8666E72FE\\",\\n \\"LineId\\": \\"100003\\",\\n \\"Name\\": \\"测试线路\\",\\n \\"Ipv4s\\": [\\n \\"1.1.1.1-2.2.2.2\\"\\n ],\\n \\"Creator\\": \\"260282302749096109\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"CreatorSubType\\": \\"CUSTOM\\",\\n \\"CreateTime\\": \\"2018-01-23T03:15Z\\",\\n \\"UpdateTime\\": \\"2018-01-24T06:35Z\\",\\n \\"CreateTimestamp\\": 1516775741000,\\n \\"UpdateTimestamp\\": 1516775741000,\\n \\"Dnscategory\\": \\"\\"\\n}","type":"json"}]', + ], + 'DescribeCustomLines' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'chargeType' => 'free', + 'abilityTreeCode' => '190582', + 'abilityTreeNodes' => [ + 'FEATUREpvtzNNOVSD', + ], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number. The default value is 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '9999999', + 'minimum' => '1', + 'default' => '1', + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page. The maximum value is **100**. The default value is **10**.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '20', + 'title' => '', + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'PageSize' => [ + 'description' => 'The number of entries returned per page.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '10', + ], + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'AF7D4DCE-0776-47F2-A9B2-6FB85A87AA60', + ], + 'PageNumber' => [ + 'description' => 'The page number of the returned page.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages returned.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '5', + ], + 'TotalItems' => [ + 'description' => 'The total number of entries returned.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '100', + ], + 'CustomLines' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'CustomLine' => [ + 'itemNode' => true, + 'description' => 'The list of custom lines.', + 'title' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LineId' => [ + 'description' => 'The unique ID of the custom line.', + 'type' => 'string', + 'title' => '', + 'example' => '160002', + ], + 'Name' => [ + 'description' => 'The name of the custom line.', + 'type' => 'string', + 'title' => '', + 'example' => '测试线路', + ], + 'Ipv4s' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Ipv4' => [ + 'description' => 'The list of IPv4 address segments.', + 'title' => '', + 'type' => 'array', + 'items' => [ + 'description' => 'The IPv4 address segment.', + 'type' => 'string', + 'title' => '', + 'example' => '1.1.1.1', + ], + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Creator' => [ + 'description' => 'The creator.', + 'type' => 'string', + 'title' => '', + 'example' => '21312421', + ], + 'CreatorType' => [ + 'description' => 'The role of the creator. Valid values:'."\n" + ."\n" + .'- USER: a user'."\n" + ."\n" + .'- SYSTEM: the system', + 'type' => 'string', + 'title' => '', + 'example' => 'USER', + ], + 'CreatorSubType' => [ + 'description' => 'The type of the creator. Valid values:'."\n" + ."\n" + .'- CUSTOM: an Alibaba Cloud account'."\n" + ."\n" + .'- SUB: a RAM user'."\n" + ."\n" + .'- STS: a role assumed using Security Token Service (STS)'."\n" + ."\n" + .'- OTHER: another role', + 'type' => 'string', + 'title' => '', + 'example' => 'SUB', + ], + 'CreateTime' => [ + 'description' => 'The time when the custom line was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2022-03-25T08:07Z', + ], + 'CreateTimestamp' => [ + 'description' => 'The time when the custom line was created. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1671174074000', + ], + 'UpdateTime' => [ + 'description' => 'The time when the custom line was last updated.', + 'type' => 'string', + 'title' => '', + 'example' => '2020-08-24T16:08Z', + ], + 'UpdateTimestamp' => [ + 'description' => 'The time when the custom line was last updated. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1681879029000', + ], + 'DnsCategory' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeCustomLines', + 'summary' => 'Queries a list of custom lines.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeCustomLines', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'pvtz:read', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'CustomLine', + 'arn' => 'acs:pvtz::{#accountId}:customLine/*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"AF7D4DCE-0776-47F2-A9B2-6FB85A87AA60\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 5,\\n \\"TotalItems\\": 100,\\n \\"CustomLines\\": {\\n \\"CustomLine\\": [\\n {\\n \\"LineId\\": \\"160002\\",\\n \\"Name\\": \\"测试线路\\",\\n \\"Ipv4s\\": {\\n \\"Ipv4\\": [\\n \\"1.1.1.1\\"\\n ]\\n },\\n \\"Creator\\": \\"21312421\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"CreatorSubType\\": \\"SUB\\",\\n \\"CreateTime\\": \\"2022-03-25T08:07Z\\",\\n \\"CreateTimestamp\\": 1671174074000,\\n \\"UpdateTime\\": \\"2020-08-24T16:08Z\\",\\n \\"UpdateTimestamp\\": 1681879029000,\\n \\"DnsCategory\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeRegions' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '15409', + 'abilityTreeNodes' => [ + 'FEATUREpvtz18XH29', + ], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese.'."\n" + ."\n" + .'- **en**: English.'."\n" + ."\n" + .'Default value: **en**.'."\n" + ."\n" + .'> This parameter has a lower priority than AcceptLanguage.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'zh', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the user.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '192.0.XX.XX', + ], + ], + [ + 'name' => 'AcceptLanguage', + 'in' => 'query', + 'schema' => [ + 'description' => 'The supported language. Valid values:'."\n" + ."\n" + .'- zh-CN: Chinese'."\n" + ."\n" + .'- en-US: English'."\n" + ."\n" + .'Default value: en-US.'."\n" + ."\n" + .'> This parameter has a higher priority than Lang.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'zh-CN', + ], + ], + [ + 'name' => 'AuthorizedUserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the Alibaba Cloud account to which the authorized resources belong.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'title' => '', + 'example' => '141339776561****', + ], + ], + [ + 'name' => 'VpcType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the VPC. Valid values:'."\n" + ."\n" + .'- STANDARD: standard VPC.'."\n" + ."\n" + .'- EDS: Elastic Desktop Service (EDS) VPC.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'STANDARD', + ], + ], + [ + 'name' => 'Scene', + 'in' => 'query', + 'schema' => [ + 'description' => 'The scenario. Valid values:'."\n" + ."\n" + .'- AUTH: built-in authoritative server'."\n" + ."\n" + .'- FWD: forwarding management'."\n" + ."\n" + .'- RA: traffic analysis', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'AUTH', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '1E0F6898-F854-5133-A4CB-9C094152D05A', + ], + 'Regions' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Region' => [ + 'description' => 'A list of regions.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of a region.', + 'type' => 'object', + 'properties' => [ + 'LocalName' => [ + 'description' => 'The display name of the region. The name is displayed in the language that you specified for the request.', + 'type' => 'string', + 'title' => '', + 'example' => '华东2(上海)', + ], + 'RegionName' => [ + 'description' => 'The name of the region.', + 'type' => 'string', + 'title' => '', + 'example' => '华东2(上海)', + ], + 'RegionEndpoint' => [ + 'description' => 'The endpoint of the service in the region.', + 'type' => 'string', + 'title' => '', + 'example' => 'pvtz.aliyuncs.com', + ], + 'RegionId' => [ + 'description' => 'The ID of the region.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-beijing', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeRegions', + 'summary' => 'Call the DescribeRegions operation to query a list of available regions. You can filter the list by criteria such as the scenario and VPC type.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2023-01-06T04:15:31.000Z', + 'description' => 'Request parameters changed, Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeRegions', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeRegions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1E0F6898-F854-5133-A4CB-9C094152D05A\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"LocalName\\": \\"华东2(上海)\\",\\n \\"RegionName\\": \\"华东2(上海)\\",\\n \\"RegionEndpoint\\": \\"pvtz.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeRequestGraph' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user\'s IP address.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '192.168.XX.XX', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The zone ID.'."\n" + ."\n" + .'> To query the number of requests for a zone, specify either ZoneId or both BizType and BizId.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '29c752a01cd281a20ddcfa****', + ], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the Virtual Private Cloud (VPC).', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'vpc-f8zvrvr1payllgz38****', + ], + ], + [ + 'name' => 'StartTimestamp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The start of the time range to query. This is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '1721036404000', + ], + ], + [ + 'name' => 'EndTimestamp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the time range to query. This is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '1721723624000', + ], + ], + [ + 'name' => 'BizType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The business type. Valid values:'."\n" + ."\n" + .'- AUTH\\_ZONE: An authoritative zone.'."\n" + ."\n" + .'- RESOLVER\\_RULE: A forwarding rule.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'AUTH_ZONE', + ], + ], + [ + 'name' => 'BizId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The data ID. This parameter is used with BizType.'."\n" + ."\n" + .'- If BizType is set to AUTH\\_ZONE, set this parameter to the zone ID.'."\n" + ."\n" + .'- If BizType is set to RESOLVER\\_RULE, set this parameter to the forwarding rule ID.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'b9c93a8954c4098731e863c04302f45a', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => 'EB71815-A421-4E51-8E8D-667F44ABE633', + ], + 'RequestDetails' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ZoneRequestTop' => [ + 'description' => 'The details of the requests.', + 'type' => 'array', + 'items' => [ + 'description' => 'An object that contains details about the number of requests.', + 'type' => 'object', + 'properties' => [ + 'Time' => [ + 'description' => 'The time point of the statistical data.', + 'type' => 'string', + 'title' => '', + 'example' => '2019-10-21T10:00Z', + ], + 'RequestCount' => [ + 'description' => 'The number of requests.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '103', + ], + 'Timestamp' => [ + 'description' => 'The time point of the statistical data. This is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1571652000000', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeRequestGraph', + 'summary' => 'Queries details about the number of requests based on conditions such as a time range.', + 'changeSet' => [ + [ + 'createdAt' => '2024-07-08T02:09:51.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeRequestGraph', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeRequestGraph', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EB71815-A421-4E51-8E8D-667F44ABE633\\",\\n \\"RequestDetails\\": {\\n \\"ZoneRequestTop\\": [\\n {\\n \\"Time\\": \\"2019-10-21T10:00Z\\",\\n \\"RequestCount\\": 103,\\n \\"Timestamp\\": 1571652000000\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeResolverAvailableZones' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ResolverRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'cn-zhangjiakou', + ], + ], + [ + 'name' => 'AzId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The zone ID.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'cn-zhangjiakou-a', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '23268E49-0C3E-4A2C-AB70-B4C7D092470B', + ], + 'AvailableZones' => [ + 'description' => 'A list of zones and their resource statuses.', + 'type' => 'array', + 'items' => [ + 'description' => 'The resource information of a zone.', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of resources in the zone. Valid values:'."\n" + ."\n" + .'- NORMAL: Normal'."\n" + ."\n" + .'- SOLD\\_OUT: Sold out', + 'type' => 'string', + 'title' => '', + 'example' => 'NORMAL', + ], + 'AzId' => [ + 'description' => 'The zone ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-zhangjiakou-a', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeResolverAvailableZones', + 'summary' => 'Call DescribeResolverAvailableZones to retrieve a list of available zones.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2021-11-05T03:01:33.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeResolverAvailableZones', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'pvtz:DescribeResolverAvailableZones', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23268E49-0C3E-4A2C-AB70-B4C7D092470B\\",\\n \\"AvailableZones\\": [\\n {\\n \\"Status\\": \\"NORMAL\\",\\n \\"AzId\\": \\"cn-zhangjiakou-a\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeResolverEndpoint' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'EndpointId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the endpoint.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'hra0**', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of the endpoint. Valid values:'."\n" + ."\n" + .'- SUCCESS: The endpoint works as expected.'."\n" + ."\n" + .'- INIT: The endpoint is being created.'."\n" + ."\n" + .'- FAILED: The endpoint failed to be created.'."\n" + ."\n" + .'- CHANGE\\_INIT: The endpoint is being modified.'."\n" + ."\n" + .'- CHANGE\\_FAILED: The endpoint failed to be modified.'."\n" + ."\n" + .'- EXCEPTION: An exception occurred on the endpoint.', + 'type' => 'string', + 'title' => '', + 'example' => 'SUCCESS', + ], + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '45020ED9-6319-4CA7-9475-6E8D6446E84F', + ], + 'SecurityGroupId' => [ + 'description' => 'The ID of the security group. The rules in the security group are applied to the outbound VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'sg-8vb3sigz86xc-group-****', + ], + 'CreateTime' => [ + 'description' => 'The time when the endpoint was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2020-07-13 10:45:56', + ], + 'Name' => [ + 'description' => 'The name of the endpoint.', + 'type' => 'string', + 'title' => '', + 'example' => '终端节点-test', + ], + 'VpcRegionName' => [ + 'description' => 'The name of the region where the outbound VPC is located.', + 'type' => 'string', + 'title' => '', + 'example' => '华北', + ], + 'VpcId' => [ + 'description' => 'The ID of the outbound virtual private cloud (VPC). All outbound DNS query traffic from the Resolver is forwarded through this VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'vpc-0jl96awrjt75ezglc****', + ], + 'UpdateTime' => [ + 'description' => 'The time when the endpoint was last updated.', + 'type' => 'string', + 'title' => '', + 'example' => '2020-07-13 10:48:39', + ], + 'VpcRegionId' => [ + 'description' => 'The ID of the region where the outbound VPC is located.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-hangzhou', + ], + 'VpcName' => [ + 'description' => 'The name of the outbound VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'vpc-name-test', + ], + 'IpConfigs' => [ + 'description' => 'A list of IP address configurations for the outbound traffic source.', + 'type' => 'array', + 'items' => [ + 'description' => 'The IP address configuration for the outbound traffic source.', + 'type' => 'object', + 'properties' => [ + 'VSwitchId' => [ + 'description' => 'The vSwitch ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'vsw-0jlgeyq4oazkh5xue****', + ], + 'CidrBlock' => [ + 'description' => 'The IPv4 CIDR block of the vSwitch.', + 'type' => 'string', + 'title' => '', + 'example' => '172.16.XX.XX/24', + ], + 'Ip' => [ + 'description' => 'An IP address within the specified CIDR block. If you leave this parameter empty, the system automatically assigns an IP address.', + 'type' => 'string', + 'title' => '', + 'example' => '172.16.XX.XX', + ], + 'AzId' => [ + 'description' => 'The ID of the zone where the vSwitch is located.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-hangzhou-a', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'UpdateTimestamp' => [ + 'description' => 'The time when the endpoint was last updated. This is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1594608519000', + ], + 'Id' => [ + 'description' => 'The ID of the endpoint.', + 'type' => 'string', + 'title' => '', + 'example' => 'hra0**', + ], + 'CreateTimestamp' => [ + 'description' => 'The time when the endpoint was created. This is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1594608356000', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeResolverEndpoint', + 'summary' => 'You can call DescribeResolverEndpoint to retrieve the details of an endpoint by its ID.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2021-10-27T01:19:07.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeResolverEndpoint', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeResolverEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz::{#accountId}:endpoint/{#EndpointId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"SUCCESS\\",\\n \\"RequestId\\": \\"45020ED9-6319-4CA7-9475-6E8D6446E84F\\",\\n \\"SecurityGroupId\\": \\"sg-8vb3sigz86xc-group-****\\",\\n \\"CreateTime\\": \\"2020-07-13 10:45:56\\",\\n \\"Name\\": \\"终端节点-test\\",\\n \\"VpcRegionName\\": \\"华北\\",\\n \\"VpcId\\": \\"vpc-0jl96awrjt75ezglc****\\",\\n \\"UpdateTime\\": \\"2020-07-13 10:48:39\\",\\n \\"VpcRegionId\\": \\"cn-hangzhou\\",\\n \\"VpcName\\": \\"vpc-name-test\\",\\n \\"IpConfigs\\": [\\n {\\n \\"VSwitchId\\": \\"vsw-0jlgeyq4oazkh5xue****\\",\\n \\"CidrBlock\\": \\"172.16.XX.XX/24\\",\\n \\"Ip\\": \\"172.16.XX.XX\\",\\n \\"AzId\\": \\"cn-hangzhou-a\\"\\n }\\n ],\\n \\"UpdateTimestamp\\": 1594608519000,\\n \\"Id\\": \\"hra0**\\",\\n \\"CreateTimestamp\\": 1594608356000\\n}","type":"json"}]', + ], + 'DescribeResolverEndpoints' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'The keyword for the endpoint name. A fuzzy search is performed.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '终端节点-test', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number for a paged query. The value starts from 1. The default value is 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '9999999', + 'minimum' => '1', + 'default' => '1', + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page. The maximum value is 100. The default value is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '20', + 'title' => '', + 'example' => '20', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => 'The status of the endpoint. Valid values:'."\n" + ."\n" + .'- SUCCESS: The endpoint is working as expected.'."\n" + ."\n" + .'- INIT: The endpoint is being created.'."\n" + ."\n" + .'- FAILED: The endpoint failed to be created.'."\n" + ."\n" + .'- CHANGE\\_INIT: The endpoint is being modified.'."\n" + ."\n" + .'- CHANGE\\_FAILED: The endpoint failed to be modified.'."\n" + ."\n" + .'- EXCEPTION: The endpoint is not working as expected.'."\n" + ."\n" + .'> If you do not specify this parameter, endpoints in all states are returned. If you specify this parameter, only endpoints in the specified state are returned.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'SUCCESS', + ], + ], + [ + 'name' => 'VpcRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the region where the outbound virtual private cloud (VPC) is located.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'cn-zhangjiakou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Endpoints' => [ + 'description' => 'The list of endpoints.', + 'type' => 'array', + 'items' => [ + 'description' => 'The endpoint information.', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of the endpoint. Description:'."\n" + ."\n" + .'- SUCCESS: The endpoint is working as expected.'."\n" + ."\n" + .'- INIT: The endpoint is being created.'."\n" + ."\n" + .'- FAILED: The endpoint failed to be created.'."\n" + ."\n" + .'- CHANGE\\_INIT: The endpoint is being modified.'."\n" + ."\n" + .'- CHANGE\\_FAILED: The endpoint failed to be modified.'."\n" + ."\n" + .'- EXCEPTION: The endpoint is not working as expected.', + 'type' => 'string', + 'title' => '', + 'example' => 'SUCCESS', + ], + 'VpcId' => [ + 'description' => 'The ID of the outbound VPC. All outbound DNS query traffic from the Resolver is forwarded through this VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'vpc-0jlxhpfnj5bfu0bsd****', + ], + 'UpdateTime' => [ + 'description' => 'The time when the endpoint was last updated.', + 'type' => 'string', + 'title' => '', + 'example' => '2020-07-13 10:38:24', + ], + 'SecurityGroupId' => [ + 'description' => 'The ID of the security group.', + 'type' => 'string', + 'title' => '', + 'example' => 'sg-0jld3m9yq7l2cw12****', + ], + 'CreateTime' => [ + 'description' => 'The time when the endpoint was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2020-07-13 10:36:26', + ], + 'VpcRegionId' => [ + 'description' => 'The ID of the region where the outbound VPC is located.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-zhangjiakou', + ], + 'IpConfigs' => [ + 'description' => 'The list of source IP addresses for outbound traffic.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about a source IP address for outbound traffic.', + 'type' => 'object', + 'properties' => [ + 'VSwitchId' => [ + 'description' => 'The ID of the vSwitch.', + 'type' => 'string', + 'title' => '', + 'example' => 'vsw-0jlgeyq4oazkh5xue****', + ], + 'CidrBlock' => [ + 'description' => 'The subnet mask, which is the IPv4 CIDR block of the vSwitch.', + 'type' => 'string', + 'title' => '', + 'example' => '172.16.XX.XX/24', + ], + 'Ip' => [ + 'description' => 'The IP address within the CIDR block.', + 'type' => 'string', + 'title' => '', + 'example' => '172.16.XX.XX', + ], + 'AzId' => [ + 'description' => 'The ID of the zone where the vSwitch is located.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-zhangjiakou-a', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'VpcName' => [ + 'description' => 'The name of the outbound VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'vpc-test-name', + ], + 'UpdateTimestamp' => [ + 'description' => 'The time when the endpoint was last updated. This is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1594607904000', + ], + 'VpcRegionName' => [ + 'description' => 'The name of the region where the outbound VPC is located.', + 'type' => 'string', + 'title' => '', + 'example' => '杭州VPC测试', + ], + 'Name' => [ + 'description' => 'The name of the endpoint.', + 'type' => 'string', + 'title' => '', + 'example' => '终端节点-test', + ], + 'Id' => [ + 'description' => 'The ID of the endpoint.', + 'type' => 'string', + 'title' => '', + 'example' => 'hr****', + ], + 'CreateTimestamp' => [ + 'description' => 'The time when the endpoint was created. This is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1594607786000', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'PageSize' => [ + 'description' => 'The number of entries returned per page.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '2', + ], + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '83D1682B-B69A-4060-9FA8-2907C2A35600', + ], + 'PageNumber' => [ + 'description' => 'The page number of the returned data.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages returned.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalItems' => [ + 'description' => 'The total number of endpoints.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeResolverEndpoints', + 'summary' => 'You can call DescribeResolverEndpoints to retrieve a list of endpoints.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2024-07-09T05:33:11.000Z', + 'description' => 'Request parameters changed', + ], + [ + 'createdAt' => '2021-10-27T01:19:07.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeResolverEndpoints', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'pvtz:DescribeResolverEndpoints', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz::{#accountId}:endpoint/*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Endpoints\\": [\\n {\\n \\"Status\\": \\"SUCCESS\\",\\n \\"VpcId\\": \\"vpc-0jlxhpfnj5bfu0bsd****\\",\\n \\"UpdateTime\\": \\"2020-07-13 10:38:24\\",\\n \\"SecurityGroupId\\": \\"sg-0jld3m9yq7l2cw12****\\",\\n \\"CreateTime\\": \\"2020-07-13 10:36:26\\",\\n \\"VpcRegionId\\": \\"cn-zhangjiakou\\",\\n \\"IpConfigs\\": [\\n {\\n \\"VSwitchId\\": \\"vsw-0jlgeyq4oazkh5xue****\\",\\n \\"CidrBlock\\": \\"172.16.XX.XX/24\\",\\n \\"Ip\\": \\"172.16.XX.XX\\",\\n \\"AzId\\": \\"cn-zhangjiakou-a\\"\\n }\\n ],\\n \\"VpcName\\": \\"vpc-test-name\\",\\n \\"UpdateTimestamp\\": 1594607904000,\\n \\"VpcRegionName\\": \\"杭州VPC测试\\",\\n \\"Name\\": \\"终端节点-test\\",\\n \\"Id\\": \\"hr****\\",\\n \\"CreateTimestamp\\": 1594607786000\\n }\\n ],\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"83D1682B-B69A-4060-9FA8-2907C2A35600\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1\\n}","type":"json"}]', + ], + 'DescribeResolverRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREpvtzKODT3B', + ], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The forwarding rule ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'hr****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'ForwardIps' => [ + 'description' => 'A list of destination IP addresses.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details.', + 'type' => 'object', + 'properties' => [ + 'Ip' => [ + 'description' => 'The destination IP address.', + 'type' => 'string', + 'title' => '', + 'example' => '172.16.XX.XX', + ], + 'Port' => [ + 'description' => 'The destination port.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '80', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '13D5113B-7E34-407F-A9C1-D96CD2B04277', + ], + 'CreateTime' => [ + 'description' => 'The time when the rule was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2020-07-13 10:51:44', + ], + 'Name' => [ + 'description' => 'The name of the forwarding rule.', + 'type' => 'string', + 'title' => '', + 'example' => '转发规则-test', + ], + 'ZoneName' => [ + 'description' => 'The name of the forwarding zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'example.com', + ], + 'Type' => [ + 'description' => 'The type of the forwarding rule. The only valid value is OUTBOUND, which indicates that traffic is forwarded to an external IP address.'."\n" + ."\n" + .'OUTBOUND: Forwards to an external IP.', + 'type' => 'string', + 'title' => '', + 'example' => 'OUTBOUND', + ], + 'EndpointName' => [ + 'description' => 'The name of the endpoint.', + 'type' => 'string', + 'title' => '', + 'example' => '终端节点-test', + ], + 'EndpointId' => [ + 'description' => 'The endpoint ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'hr****', + ], + 'UpdateTime' => [ + 'description' => 'The time when the rule was last updated.', + 'type' => 'string', + 'title' => '', + 'example' => '2020-07-13 10:51:44', + ], + 'UpdateTimestamp' => [ + 'description' => 'The timestamp that indicates when the rule was last updated.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1594608704000', + ], + 'Id' => [ + 'description' => 'The forwarding rule ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'hr****', + ], + 'CreateTimestamp' => [ + 'description' => 'The timestamp that indicates when the rule was created.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1594608704000', + ], + 'BindVpcs' => [ + 'description' => 'A list of Virtual Private Clouds (VPCs) that are associated with the forwarding rule.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => [ + 'description' => 'The VPC ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'vpc-f8zvrvr1payllgz38****', + ], + 'VpcName' => [ + 'description' => 'The VPC name.', + 'type' => 'string', + 'title' => '', + 'example' => 'vpc-name-test', + ], + 'VpcType' => [ + 'description' => 'The type of the VPC. Valid values:'."\n" + ."\n" + .'- STANDARD: A standard VPC.'."\n" + ."\n" + .'- EDS: An Elastic Desktop Service (EDS) workspace VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'STANDARD', + ], + 'RegionName' => [ + 'description' => 'The name of the region.', + 'type' => 'string', + 'title' => '', + 'example' => '杭州测试', + ], + 'RegionId' => [ + 'description' => 'The region ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-hangzhou', + ], + 'VpcUserId' => [ + 'description' => 'The ID of the user to which the VPC belongs.', + 'type' => 'string', + 'title' => '', + 'example' => '32454****', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'BindEdgeDnsClusters' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ClusterId' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ClusterName' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ClusterUserId' => [ + 'type' => 'integer', + 'format' => 'int64', + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeResolverRule', + 'summary' => 'Call the DescribeResolverRule operation to retrieve the details of a forwarding rule.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2023-01-06T04:15:31.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2021-10-27T01:19:07.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeResolverRule', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeResolverRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz::{#accountId}:rule/{#RuleId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ForwardIps\\": [\\n {\\n \\"Ip\\": \\"172.16.XX.XX\\",\\n \\"Port\\": 80\\n }\\n ],\\n \\"RequestId\\": \\"13D5113B-7E34-407F-A9C1-D96CD2B04277\\",\\n \\"CreateTime\\": \\"2020-07-13 10:51:44\\",\\n \\"Name\\": \\"转发规则-test\\",\\n \\"ZoneName\\": \\"example.com\\",\\n \\"Type\\": \\"OUTBOUND\\",\\n \\"EndpointName\\": \\"终端节点-test\\",\\n \\"EndpointId\\": \\"hr****\\",\\n \\"UpdateTime\\": \\"2020-07-13 10:51:44\\",\\n \\"UpdateTimestamp\\": 1594608704000,\\n \\"Id\\": \\"hr****\\",\\n \\"CreateTimestamp\\": 1594608704000,\\n \\"BindVpcs\\": [\\n {\\n \\"VpcId\\": \\"vpc-f8zvrvr1payllgz38****\\",\\n \\"VpcName\\": \\"vpc-name-test\\",\\n \\"VpcType\\": \\"STANDARD\\",\\n \\"RegionName\\": \\"杭州测试\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"VpcUserId\\": \\"32454****\\"\\n }\\n ],\\n \\"BindEdgeDnsClusters\\": [\\n {\\n \\"ClusterId\\": \\"\\",\\n \\"ClusterName\\": \\"\\",\\n \\"ClusterUserId\\": 0\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeResolverRules' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREpvtzKODT3B', + ], + ], + 'parameters' => [ + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'The keyword for the name of the forwarding rule. The search is case-insensitive and supports fuzzy match.', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + 'title' => '', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'example' => 'en', + 'title' => '', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of the page to return. The start value is 1. Default value: 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '9999999', + 'minimum' => '1', + 'default' => '1', + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page. Maximum value: 100. Default value: 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '20', + 'example' => '20', + 'title' => '', + ], + ], + [ + 'name' => 'NeedDetailAttributes', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to return the list of virtual private clouds (VPCs) that are associated with the forwarding rule. Valid values:'."\n" + ."\n" + .'- true: returns the list.'."\n" + ."\n" + .'- false: does not return the list.'."\n" + ."\n" + .'Default value: false.', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'title' => '', + ], + ], + [ + 'name' => 'EndpointId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the outbound endpoint.', + 'type' => 'string', + 'required' => false, + 'example' => 'hr****', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'PageSize' => [ + 'description' => 'The number of entries returned on each page.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'title' => '', + ], + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'example' => 'A10E03D7-808C-422D-9144-F8586C2E2297', + 'title' => '', + ], + 'PageNumber' => [ + 'description' => 'The page number of the returned page.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TotalItems' => [ + 'description' => 'The total number of entries.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'Rules' => [ + 'description' => 'The list of forwarding rules.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the forwarding rule.', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => 'The type of the forwarding rule. Currently, only forwarding to an external IP address is supported. Valid value:'."\n" + ."\n" + .'OUTBOUND: Forwards DNS requests to an external IP address.', + 'type' => 'string', + 'example' => 'OUTBOUND', + 'title' => '', + ], + 'UpdateTime' => [ + 'description' => 'The time when the rule was last updated.', + 'type' => 'string', + 'example' => '2020-07-13 10:51:44', + 'title' => '', + ], + 'ForwardIps' => [ + 'description' => 'The IP addresses and ports of the destination servers in an external DNS system. DNS query traffic is forwarded to these servers.', + 'type' => 'array', + 'items' => [ + 'description' => 'The IP address and port of the destination server.', + 'type' => 'object', + 'properties' => [ + 'Ip' => [ + 'description' => 'The destination IP address.', + 'type' => 'string', + 'example' => '172.16.XX.XX', + 'title' => '', + ], + 'Port' => [ + 'description' => 'The port of the destination IP address.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'EndpointName' => [ + 'description' => 'The name of the endpoint.', + 'type' => 'string', + 'example' => '终端节点-test', + 'title' => '', + ], + 'CreateTime' => [ + 'description' => 'The time when the rule was created.', + 'type' => 'string', + 'example' => '2020-07-13 10:51:44', + 'title' => '', + ], + 'ZoneName' => [ + 'description' => 'The domain name (zone) for which DNS requests are forwarded.', + 'type' => 'string', + 'example' => 'example.com', + 'title' => '', + ], + 'UpdateTimestamp' => [ + 'description' => 'The UNIX timestamp when the rule was last updated.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1594608704000', + 'title' => '', + ], + 'BindVpcs' => [ + 'description' => 'The list of associated VPCs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The VPC information.', + 'type' => 'object', + 'properties' => [ + 'VpcName' => [ + 'description' => 'The name of the VPC.', + 'type' => 'string', + 'example' => 'vpc-name-test', + 'title' => '', + ], + 'VpcId' => [ + 'description' => 'The unique ID of the VPC.', + 'type' => 'string', + 'example' => 'vpc-0jl96awrjt75ezglc****', + 'title' => '', + ], + 'VpcType' => [ + 'description' => 'The type of the VPC. Valid values:'."\n" + ."\n" + .'- STANDARD: a standard VPC.'."\n" + ."\n" + .'- EDS: a workspace VPC of Elastic Desktop Service (EDS).', + 'type' => 'string', + 'example' => 'STANDARD', + 'title' => '', + ], + 'RegionName' => [ + 'description' => 'The name of the region where the VPC resides.', + 'type' => 'string', + 'example' => 'China (Ulanqab)', + 'title' => '', + ], + 'RegionId' => [ + 'description' => 'The ID of the region where the VPC resides.', + 'type' => 'string', + 'example' => 'cn-wulanchabu', + 'title' => '', + ], + 'VpcUserId' => [ + 'description' => 'The user ID (UID) of the account to which the VPC belongs.', + 'type' => 'string', + 'example' => '141339776561****', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'EndpointId' => [ + 'description' => 'The ID of the endpoint.', + 'type' => 'string', + 'example' => 'hr****', + 'title' => '', + ], + 'Name' => [ + 'description' => 'The name of the forwarding rule.', + 'type' => 'string', + 'example' => '转发规则-test', + 'title' => '', + ], + 'Id' => [ + 'description' => 'The ID of the forwarding rule.', + 'type' => 'string', + 'example' => 'hr****', + 'title' => '', + ], + 'CreateTimestamp' => [ + 'description' => 'The UNIX timestamp when the rule was created.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1594608704000', + 'title' => '', + ], + 'BindEdgeDnsClusters' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ClusterId' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ClusterName' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ClusterUserId' => [ + 'type' => 'integer', + 'format' => 'int64', + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'PriorityForwardConfigs' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Protocol' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'EnableStatus' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Priority' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'AlidnsServiceAddresses' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'CustomAddresses' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeResolverRules', + 'summary' => 'Describes one or more forwarding rules.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2023-01-06T04:15:31.000Z', + 'description' => 'Response parameters changed', + ], + [ + 'createdAt' => '2021-10-27T01:19:07.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeResolverRules', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'pvtz:DescribeResolverRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz::{#accountId}:rule/*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"A10E03D7-808C-422D-9144-F8586C2E2297\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"Rules\\": [\\n {\\n \\"Type\\": \\"OUTBOUND\\",\\n \\"UpdateTime\\": \\"2020-07-13 10:51:44\\",\\n \\"ForwardIps\\": [\\n {\\n \\"Ip\\": \\"172.16.XX.XX\\",\\n \\"Port\\": 80\\n }\\n ],\\n \\"EndpointName\\": \\"终端节点-test\\",\\n \\"CreateTime\\": \\"2020-07-13 10:51:44\\",\\n \\"ZoneName\\": \\"example.com\\",\\n \\"UpdateTimestamp\\": 1594608704000,\\n \\"BindVpcs\\": [\\n {\\n \\"VpcName\\": \\"vpc-name-test\\",\\n \\"VpcId\\": \\"vpc-0jl96awrjt75ezglc****\\",\\n \\"VpcType\\": \\"STANDARD\\",\\n \\"RegionName\\": \\"China (Ulanqab)\\",\\n \\"RegionId\\": \\"cn-wulanchabu\\",\\n \\"VpcUserId\\": \\"141339776561****\\"\\n }\\n ],\\n \\"EndpointId\\": \\"hr****\\",\\n \\"Name\\": \\"转发规则-test\\",\\n \\"Id\\": \\"hr****\\",\\n \\"CreateTimestamp\\": 1594608704000,\\n \\"BindEdgeDnsClusters\\": [\\n {\\n \\"ClusterId\\": \\"\\",\\n \\"ClusterName\\": \\"\\",\\n \\"ClusterUserId\\": 0\\n }\\n ],\\n \\"PriorityForwardConfigs\\": [\\n {\\n \\"Protocol\\": \\"\\",\\n \\"EnableStatus\\": \\"\\",\\n \\"Priority\\": 0,\\n \\"AlidnsServiceAddresses\\": [\\n \\"\\"\\n ],\\n \\"CustomAddresses\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeStatisticSummary' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'zh', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The user\'s IP address.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '127.0.XX.XX', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => 'The total number of requests from yesterday.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '2254', + ], + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'A73F3BD0-B1A8-42A9-A9B6-689BBABC4891', + ], + 'ZoneRequestTops' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ZoneRequestTop' => [ + 'description' => 'The top three zones by request volume.', + 'type' => 'array', + 'items' => [ + 'description' => 'Details.', + 'type' => 'object', + 'properties' => [ + 'RequestCount' => [ + 'description' => 'The number of requests from yesterday.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '2251', + ], + 'ZoneName' => [ + 'description' => 'The zone name.', + 'type' => 'string', + 'title' => '', + 'example' => 'test.com', + ], + 'BizType' => [ + 'description' => 'The service type. Valid values:'."\n" + ."\n" + .'- AUTH\\_ZONE: Authoritative zone.'."\n" + ."\n" + .'- RESOLVER\\_RULE: Forwarding rule.'."\n" + ."\n" + .'- INBOUND: Inbound endpoint.', + 'type' => 'string', + 'title' => '', + 'example' => 'AUTH_ZONE', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VpcRequestTops' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'VpcRequestTop' => [ + 'description' => 'The top three VPCs by request volume.', + 'type' => 'array', + 'items' => [ + 'description' => 'Details.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => [ + 'description' => 'The VPC ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'vpc-f8zvrvr1payllgz38****', + ], + 'VpcType' => [ + 'description' => 'The VPC type. Valid values:'."\n" + ."\n" + .'- STANDARD: Standard VPC.'."\n" + ."\n" + .'- EDS: Elastic Desktop Service (EDS) VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'STANDARD', + ], + 'RegionName' => [ + 'description' => 'The region name.', + 'type' => 'string', + 'title' => '', + 'example' => '华北 2', + ], + 'TunnelId' => [ + 'description' => 'The tunnel ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'tun-7h33lkqfuhgnyy****', + ], + 'RequestCount' => [ + 'description' => 'The number of requests from yesterday.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '2254', + ], + 'RegionId' => [ + 'description' => 'The region ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-beijing', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeStatisticSummary', + 'summary' => '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.', + 'responseParamsDescription' => 'If you do not specify the \\`BizType\\` parameter, the returned parameters are described as follows. \\`TotalCount\\` is the total number of requests for authoritative zones, forwarding rules, and inbound endpoints. \\`ZoneRequestTops\\` lists the top zones by request volume, which includes authoritative zones and forwarding rules but excludes inbound endpoints. \\`VpcRequestTops\\` lists the top VPCs by total request volume, which includes requests from authoritative zones, forwarding rules, and inbound endpoints.', + 'changeSet' => [ + [ + 'createdAt' => '2023-01-06T04:15:31.000Z', + 'description' => 'Response parameters changed, Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeStatisticSummary', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeStatisticSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2254,\\n \\"RequestId\\": \\"A73F3BD0-B1A8-42A9-A9B6-689BBABC4891\\",\\n \\"ZoneRequestTops\\": {\\n \\"ZoneRequestTop\\": [\\n {\\n \\"RequestCount\\": 2251,\\n \\"ZoneName\\": \\"test.com\\",\\n \\"BizType\\": \\"AUTH_ZONE\\"\\n }\\n ]\\n },\\n \\"VpcRequestTops\\": {\\n \\"VpcRequestTop\\": [\\n {\\n \\"VpcId\\": \\"vpc-f8zvrvr1payllgz38****\\",\\n \\"VpcType\\": \\"STANDARD\\",\\n \\"RegionName\\": \\"华北 2\\",\\n \\"TunnelId\\": \\"tun-7h33lkqfuhgnyy****\\",\\n \\"RequestCount\\": 2254,\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeSyncEcsHostTask' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'pvtz-test-id-2989149d628c5****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of the automatic hostname synchronization feature. Valid values:'."\n" + ."\n" + .'- ON: Enabled. The system reads the hostnames of ECS instances in the selected region and updates the DNS records every minute.'."\n" + ."\n" + .'- OFF: Disabled.', + 'type' => 'string', + 'title' => '', + 'example' => 'ON', + ], + 'ZoneId' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'pvtz-test-id-2989149d628c56****', + ], + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D', + ], + 'EcsRegions' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'EcsRegion' => [ + 'description' => 'The information about the synced ECS regions.', + 'type' => 'array', + 'items' => [ + 'description' => 'Region information', + 'type' => 'object', + 'properties' => [ + 'UserId' => [ + 'description' => 'The ID of the user who owns the region. This parameter is used for cross-account synchronization.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '141339776561****', + ], + 'RegionIds' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'RegionId' => [ + 'description' => 'A list of the synced region IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of a synced region.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-beijing', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Regions' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'RegionId' => [ + 'description' => 'The IDs of the synced ECS regions.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of a synced region.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-hongkong', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- True'."\n" + ."\n" + .'- False', + 'type' => 'boolean', + 'title' => '', + 'example' => 'True', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeSyncEcsHostTask', + 'summary' => 'Call DescribeSyncEcsHostTask to retrieve the details of a hostname sync task based on a zone ID.', + 'changeSet' => [ + [ + 'createdAt' => '2022-09-19T03:14:43.000Z', + 'description' => 'Request parameters changed, Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeSyncEcsHostTask', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeSyncEcsHostTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"ON\\",\\n \\"ZoneId\\": \\"pvtz-test-id-2989149d628c56****\\",\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\",\\n \\"EcsRegions\\": {\\n \\"EcsRegion\\": [\\n {\\n \\"UserId\\": 0,\\n \\"RegionIds\\": {\\n \\"RegionId\\": [\\n \\"cn-beijing\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"Regions\\": {\\n \\"RegionId\\": [\\n \\"cn-hongkong\\"\\n ]\\n },\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DescribeTags' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The resource type. Set the value to ZONE.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'ZONE', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number. The start value is 1. Default value: 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page. Maximum value: 100. Default value: 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'title' => '', + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => 'The total number of entries returned.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '200', + ], + 'PageSize' => [ + 'description' => 'The number of entries returned per page.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '20', + ], + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '9EA7F720-B7C0-45C1-9CF4-B6A5A1179B68', + ], + 'PageNumber' => [ + 'description' => 'The returned page number.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'Tags' => [ + 'description' => 'The list of resource tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the resource tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key of the resource.', + 'type' => 'string', + 'title' => '', + 'example' => 'env', + ], + 'Values' => [ + 'description' => 'The list of tag values.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag value.', + 'type' => 'string', + 'title' => '', + 'example' => 'daily', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeTags', + 'summary' => 'Queries the tags that are added to resources in PrivateZone.', + 'description' => '#### **Limits**'."\n" + ."\n" + .'You can query tags for zone resources only.', + 'changeSet' => [ + [ + 'createdAt' => '2024-01-31T10:11:10.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeTags', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeTags', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 200,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"9EA7F720-B7C0-45C1-9CF4-B6A5A1179B68\\",\\n \\"PageNumber\\": 1,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Values\\": [\\n \\"daily\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeUserServiceStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The service status of the current user:'."\n" + ."\n" + .'- **CLOSED**: The service is not activated.'."\n" + ."\n" + .'- **OPENED**: The service is activated.'."\n" + ."\n" + .'- **IN\\_DEBT**: The service has an overdue payment.'."\n" + ."\n" + .'- **IN\\_DEBT\\_OVER\\_DUE**: The service is suspended due to an overdue payment.', + 'type' => 'string', + 'title' => '', + 'example' => 'OPENED', + ], + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '99626905-678A-4E8A-984E-6AEB09993996', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeUserServiceStatus', + 'summary' => 'Queries the service status of the current user, which indicates whether the service is activated or has overdue payments.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeUserServiceStatus', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeUserServiceStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"OPENED\\",\\n \\"RequestId\\": \\"99626905-678A-4E8A-984E-6AEB09993996\\"\\n}","type":"json"}]', + 'extraInfo' => ' ', + ], + 'DescribeUserVpcAuthorizations' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'AuthType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The authorization type. Valid values:'."\n" + ."\n" + .'- NORMAL: A regular authorization.'."\n" + ."\n" + .'- CLOUD\\_PRODUCT: An authorization for an Alibaba Cloud service.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'NORMAL', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number. The value starts from 1. The default value is 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '9999999', + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page. The maximum value is 100. The default value is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'title' => '', + 'example' => '20', + ], + ], + [ + 'name' => 'AuthorizedUserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the Alibaba Cloud account that owns the authorized resources.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'title' => '', + 'example' => '141339776561****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'PageSize' => [ + 'description' => 'The number of entries returned per page.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '20', + ], + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '46973D4C-E3E4-4ABA-9190-9A9DE406C7E', + ], + 'PageNumber' => [ + 'description' => 'The page number of the returned data.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages returned.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '5', + ], + 'Users' => [ + 'description' => 'The information about the Alibaba Cloud accounts that own the authorized resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about an Alibaba Cloud account.', + 'type' => 'object', + 'properties' => [ + 'AuthType' => [ + 'description' => 'The authorization type. Valid values:'."\n" + ."\n" + .'- NORMAL: A regular authorization.'."\n" + ."\n" + .'- CLOUD\\_PRODUCT: An authorization for an Alibaba Cloud service.', + 'type' => 'string', + 'title' => '', + 'example' => 'NORMAL', + ], + 'AuthorizedUserId' => [ + 'description' => 'The ID of the Alibaba Cloud account that owns the authorized resources.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '141339776561****', + ], + 'AuthorizedAliyunId' => [ + 'description' => 'The name of the Alibaba Cloud account that owns the authorized resources.', + 'type' => 'string', + 'title' => '', + 'example' => 'alidn****@test.com', + ], + 'CreateTime' => [ + 'description' => 'The time when the authorization was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2023-05-08T02:31Z'."\n", + ], + 'CreateTimestamp' => [ + 'description' => 'The timestamp that indicates when the authorization was created.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1672740294000', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'TotalItems' => [ + 'description' => 'The total number of authorizations.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '100', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeUserVpcAuthorizations', + 'summary' => 'Call the DescribeUserVpcAuthorizations operation to retrieve a list of cross-account authorizations.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2021-09-22T06:38:48.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeUserVpcAuthorizations', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeUserVpcAuthorizations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"46973D4C-E3E4-4ABA-9190-9A9DE406C7E\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 5,\\n \\"Users\\": [\\n {\\n \\"AuthType\\": \\"NORMAL\\",\\n \\"AuthorizedUserId\\": 0,\\n \\"AuthorizedAliyunId\\": \\"alidn****@test.com\\",\\n \\"CreateTime\\": \\"2023-05-08T02:31Z\\\\n\\",\\n \\"CreateTimestamp\\": 1672740294000\\n }\\n ],\\n \\"TotalItems\\": 100\\n}","type":"json"}]', + ], + 'DescribeZoneInfo' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREpvtz18XH29', + ], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese.'."\n" + ."\n" + .'- **en**: English.'."\n" + ."\n" + .'Default: **en**', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d3****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => 'F73F41A3-B6DD-42CA-A793-FFF93277835D', + ], + 'SlaveDns' => [ + 'description' => 'Indicates whether secondary DNS is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled'."\n" + ."\n" + .'- **false**: Disabled', + 'type' => 'boolean', + 'title' => '', + 'example' => 'false', + ], + 'ResourceGroupId' => [ + 'description' => 'The ID of the resource group to which the zone belongs.', + 'type' => 'string', + 'title' => '', + 'example' => 'rg-acfmykd63gt****', + ], + 'ZoneId' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d3****', + ], + 'ProxyPattern' => [ + 'description' => 'Indicates whether the recursive proxy for subdomains is enabled.'."\n" + ."\n" + .'- ZONE: Disabled. If a non-existent subdomain is resolved, an NXDOMAIN response is returned to indicate that the subdomain does not exist.'."\n" + ."\n" + .'- RECORD: Enabled. If a non-existent subdomain is resolved, the system queries the forwarding and recursion modules in sequence and uses the final result to respond to the DNS query.', + 'type' => 'string', + 'title' => '', + 'example' => 'ZONE', + ], + 'CreateTime' => [ + 'description' => 'The time when the zone was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2024-07-15T09:40Z', + ], + 'ZoneType' => [ + 'description' => 'The type of the zone. Valid values:'."\n" + ."\n" + .'- **AUTH\\_ZONE**: Authoritative zone.'."\n" + ."\n" + .'- **CLOUD\\_PRODUCT\\_ZONE**: Authoritative zone for a cloud product.', + 'type' => 'string', + 'title' => '', + 'example' => 'AUTH_ZONE', + ], + 'Remark' => [ + 'description' => 'The remarks.', + 'type' => 'string', + 'title' => '', + 'example' => 'test', + ], + 'ZoneName' => [ + 'description' => 'The name of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'zone-test.cn', + ], + 'ZoneTag' => [ + 'description' => 'The tag of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'pvtz', + ], + 'UpdateTime' => [ + 'description' => 'The time when the zone was last updated.', + 'type' => 'string', + 'title' => '', + 'example' => '2024-07-22T09:39Z', + ], + 'UpdateTimestamp' => [ + 'description' => 'The timestamp that indicates when the zone was last updated.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1721641148000', + ], + 'RecordCount' => [ + 'description' => 'The total number of DNS records in the zone.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '5', + ], + 'CreateTimestamp' => [ + 'description' => 'The timestamp that indicates when the zone was created.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1721036404000', + ], + 'BindVpcs' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Vpc' => [ + 'description' => 'The list of bound VPCs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of bound VPCs.', + 'type' => 'object', + 'properties' => [ + 'VpcName' => [ + 'description' => 'The name of the VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'vpc_test', + ], + 'VpcId' => [ + 'description' => 'The unique ID of the VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'vpc-f8zvrvr1payllgz38****', + ], + 'VpcType' => [ + 'description' => 'The type of the VPC. Valid values:'."\n" + ."\n" + .'- STANDARD: Standard VPC.'."\n" + ."\n" + .'- EDS: Elastic Desktop Service (EDS) workspace VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'STANDARD', + ], + 'RegionName' => [ + 'description' => 'The name of the region where the VPC is located.', + 'type' => 'string', + 'title' => '', + 'example' => 'China (Heyuan)', + ], + 'VpcUserId' => [ + 'description' => 'The ID of the user to which the VPC belongs. If this parameter is null, the VPC belongs to the current user.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '141339776561****', + ], + 'RegionId' => [ + 'description' => 'The ID of the region where the VPC is located.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-heyuan', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'IsPtr' => [ + 'description' => 'Indicates whether the zone is a reverse lookup zone. Valid values:'."\n" + ."\n" + .'- true: The zone is a reverse lookup zone.'."\n" + ."\n" + .'- false: The zone is not a reverse lookup zone.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'false', + ], + 'DnsGroup' => [ + 'description' => 'The DNS group. Valid values:'."\n" + ."\n" + .'- **NORMAL\\_ZONE**: Regular group'."\n" + ."\n" + .'- **FAST\\_ZONE**: Fast group', + 'type' => 'string', + 'title' => '', + 'example' => 'FAST_ZONE', + ], + 'Creator' => [ + 'description' => 'The creator of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => '141339776561****', + ], + 'CreatorType' => [ + 'description' => 'The type of the creator.', + 'type' => 'string', + 'title' => '', + 'example' => 'USER', + ], + 'DnsGroupChanging' => [ + 'description' => 'The status of switching the DNS group for the zone. You can switch a zone between the regular and fast groups. Valid values:'."\n" + ."\n" + .'- true: The DNS group is being switched.'."\n" + ."\n" + .'- false: The DNS group is not being switched.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'false', + ], + 'BindEdgeDnsClusters' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'EdgeDnsCluster' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ClusterId' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ClusterName' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ClusterUserId' => [ + 'type' => 'integer', + 'format' => 'int64', + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'The specified value parameter is not valid.', + 'description' => '', + ], + [ + 'errorCode' => 'IllegalUser', + 'errorMessage' => 'The user is illegal.', + 'description' => '', + ], + [ + 'errorCode' => 'Zone.Invalid.Name', + 'errorMessage' => 'Zone name is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Zone.Invalid.Id', + 'errorMessage' => 'Zone id is invalid.', + 'description' => 'Zone id is invalid.', + ], + [ + 'errorCode' => 'Zone.Invalid.UserId', + 'errorMessage' => 'Zone userid is invalid.', + 'description' => '', + ], + [ + 'errorCode' => 'Zone.NotExists', + 'errorMessage' => 'Zone is not exists', + 'description' => '', + ], + [ + 'errorCode' => 'Zone.VpcExists', + 'errorMessage' => 'Zone have vpc bound.', + 'description' => '', + ], + ], + ], + 'title' => 'DescribeZoneInfo', + 'summary' => 'Call the DescribeZoneInfo operation to retrieve the details of a specified built-in authoritative zone. The details include the list of VPCs that are bound to the zone.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2023-01-06T04:15:32.000Z', + 'description' => 'Response parameters changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeZoneInfo', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeZoneInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F73F41A3-B6DD-42CA-A793-FFF93277835D\\",\\n \\"SlaveDns\\": false,\\n \\"ResourceGroupId\\": \\"rg-acfmykd63gt****\\",\\n \\"ZoneId\\": \\"df2d03865266bd9842306db586d3****\\",\\n \\"ProxyPattern\\": \\"ZONE\\",\\n \\"CreateTime\\": \\"2024-07-15T09:40Z\\",\\n \\"ZoneType\\": \\"AUTH_ZONE\\",\\n \\"Remark\\": \\"test\\",\\n \\"ZoneName\\": \\"zone-test.cn\\",\\n \\"ZoneTag\\": \\"pvtz\\",\\n \\"UpdateTime\\": \\"2024-07-22T09:39Z\\",\\n \\"UpdateTimestamp\\": 1721641148000,\\n \\"RecordCount\\": 5,\\n \\"CreateTimestamp\\": 1721036404000,\\n \\"BindVpcs\\": {\\n \\"Vpc\\": [\\n {\\n \\"VpcName\\": \\"vpc_test\\",\\n \\"VpcId\\": \\"vpc-f8zvrvr1payllgz38****\\",\\n \\"VpcType\\": \\"STANDARD\\",\\n \\"RegionName\\": \\"China (Heyuan)\\",\\n \\"VpcUserId\\": 0,\\n \\"RegionId\\": \\"cn-heyuan\\"\\n }\\n ]\\n },\\n \\"IsPtr\\": false,\\n \\"DnsGroup\\": \\"FAST_ZONE\\",\\n \\"Creator\\": \\"141339776561****\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"DnsGroupChanging\\": false,\\n \\"BindEdgeDnsClusters\\": {\\n \\"EdgeDnsCluster\\": [\\n {\\n \\"ClusterId\\": \\"\\",\\n \\"ClusterName\\": \\"\\",\\n \\"ClusterUserId\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeZoneRecord' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'RecordId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the DNS record.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'title' => '', + 'example' => '5808', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '0B7AD377-7E86-44A8-B9A8-53E8666E72FE', + ], + 'Status' => [ + 'description' => 'The status of the DNS record. Valid values:'."\n" + ."\n" + .'- **ENABLE**: The DNS record is enabled.'."\n" + ."\n" + .'- **DISABLE**: The DNS record is paused.', + 'type' => 'string', + 'title' => '', + 'example' => 'ENABLE', + ], + 'Type' => [ + 'description' => 'The type of the DNS record.', + 'type' => 'string', + 'title' => '', + 'example' => 'A', + ], + 'Value' => [ + 'description' => 'The record value.', + 'type' => 'string', + 'title' => '', + 'example' => '127.0.0.1', + ], + 'Ttl' => [ + 'description' => 'The time to live (TTL).', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '60', + ], + 'Remark' => [ + 'description' => 'The remarks.', + 'type' => 'string', + 'title' => '', + 'example' => 'test record', + ], + 'RecordId' => [ + 'description' => 'The ID of the DNS record.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '5808', + ], + 'Rr' => [ + 'description' => 'The host record.', + 'type' => 'string', + 'title' => '', + 'example' => 'www', + ], + 'Priority' => [ + 'description' => 'The priority of the mail exchange (MX) record.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '5', + ], + 'Line' => [ + 'description' => 'The DNS resolution line.', + 'type' => 'string', + 'title' => '', + 'example' => 'default', + ], + 'Weight' => [ + 'description' => 'The weight of the DNS record.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'CreateTime' => [ + 'description' => 'The time when the record was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2018-01-23T03:15Z', + ], + 'UpdateTime' => [ + 'description' => 'The time when the record was last updated.', + 'type' => 'string', + 'title' => '', + 'example' => '2018-01-24T06:35Z', + ], + 'CreateTimestamp' => [ + 'description' => 'The timestamp that indicates when the record was created.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1516775741000', + ], + 'UpdateTimestamp' => [ + 'description' => 'The timestamp that indicates when the record was last updated.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1516775741000', + ], + 'ZoneId' => [ + 'description' => 'The zone ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'CAgICA1OA_58', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeZoneRecord', + 'summary' => 'Queries the details of a DNS record.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeZoneRecord', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeZoneRecord', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0B7AD377-7E86-44A8-B9A8-53E8666E72FE\\",\\n \\"Status\\": \\"ENABLE\\",\\n \\"Type\\": \\"A\\",\\n \\"Value\\": \\"127.0.0.1\\",\\n \\"Ttl\\": 60,\\n \\"Remark\\": \\"test record\\",\\n \\"RecordId\\": 5808,\\n \\"Rr\\": \\"www\\",\\n \\"Priority\\": 5,\\n \\"Line\\": \\"default\\",\\n \\"Weight\\": 1,\\n \\"CreateTime\\": \\"2018-01-23T03:15Z\\",\\n \\"UpdateTime\\": \\"2018-01-24T06:35Z\\",\\n \\"CreateTimestamp\\": 1516775741000,\\n \\"UpdateTimestamp\\": 1516775741000,\\n \\"ZoneId\\": \\"CAgICA1OA_58\\"\\n}","type":"json"}]', + ], + 'DescribeZoneRecords' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'The keyword for the hostname. The search is not case-sensitive. Use the SearchMode parameter to switch between a fuzzy search and an exact search. The default is an exact search.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'a96d70eb4ab8ef01503dc5486914****', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number. Pages start from 1. The default value is 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '1', + 'default' => '1', + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page. The maximum value is 100. The default value is 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '20', + 'title' => '', + 'example' => '20', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client IP address of the user.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '127.0.XX.XX', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'schema' => [ + 'description' => 'The tag. Valid values:'."\n" + ."\n" + .'- ecs: Queries the hostnames that are synchronized from ECS instances to the zone.'."\n" + ."\n" + .'- If you do not specify this parameter, all DNS records in the zone are queried.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'ecs', + ], + ], + [ + 'name' => 'SearchMode', + 'in' => 'query', + 'schema' => [ + 'description' => 'The search mode. Valid values:'."\n" + ."\n" + .'- **LIKE**: fuzzy search'."\n" + ."\n" + .'- **EXACT**: exact search (default)'."\n" + ."\n" + .'This parameter is used with the Keyword parameter.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'EXACT', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'PageSize' => [ + 'description' => 'The number of entries returned on each page.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '100', + ], + 'RequestId' => [ + 'description' => 'The request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '7B07FBC3-3A53-4939-A3C6-2BDFE407BAB2', + ], + 'PageNumber' => [ + 'description' => 'The page number.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalItems' => [ + 'description' => 'The total number of DNS records.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '100', + ], + 'Records' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Record' => [ + 'description' => 'The DNS records.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of a DNS record.', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of the DNS record. Valid values:'."\n" + ."\n" + .'- ENABLE: enabled'."\n" + ."\n" + .'- DISABLE: paused', + 'type' => 'string', + 'title' => '', + 'example' => 'ENABLE', + ], + 'Type' => [ + 'description' => 'The type of the DNS record. Valid values:'."\n" + ."\n" + .'- **A**: maps a domain name to an IPv4 address.'."\n" + ."\n" + .'- **AAAA**: maps a domain name to an IPv6 address.'."\n" + ."\n" + .'- **CNAME**: maps a domain name to another domain name.'."\n" + ."\n" + .'- **TXT**: a text record. The text can be up to 255 characters in length. A TXT record is usually used for Sender Policy Framework (SPF) records to prevent spam.'."\n" + ."\n" + .'- **MX**: maps a domain name to the IP address of a mail server.'."\n" + ."\n" + .'- **PTR**: maps an IP address to a domain name.'."\n" + ."\n" + .'- **SRV**: a service record that specifies the server that provides a specific service.', + 'type' => 'string', + 'title' => '', + 'example' => 'A', + ], + 'Value' => [ + 'description' => 'The record value.', + 'type' => 'string', + 'title' => '', + 'example' => '127.0.XX.XX', + ], + 'Ttl' => [ + 'description' => 'The time-to-live (TTL) value.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '60', + ], + 'Remark' => [ + 'description' => 'The remarks.', + 'type' => 'string', + 'title' => '', + 'example' => 'test', + ], + 'RecordId' => [ + 'description' => 'The ID of the DNS record.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '246959****', + ], + 'Rr' => [ + 'description' => 'The hostname.', + 'type' => 'string', + 'title' => '', + 'example' => 'www', + ], + 'Priority' => [ + 'description' => 'The priority of the MX record.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '10', + ], + 'Line' => [ + 'description' => 'The DNS resolution line.', + 'type' => 'string', + 'title' => '', + 'example' => 'default', + ], + 'Weight' => [ + 'description' => 'The weight of the record. Valid values: 1 to 100. The default value is 1. DNS requests are distributed to the IP addresses of records based on their weights.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'CreateTime' => [ + 'description' => 'The time when the DNS record was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2019-03-14T03:47Z', + ], + 'UpdateTime' => [ + 'description' => 'The time when the DNS record was last updated.', + 'type' => 'string', + 'title' => '', + 'example' => '2023-05-08T02:31Z', + ], + 'CreateTimestamp' => [ + 'description' => 'The timestamp that indicates when the DNS record was created.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1672740294000', + ], + 'UpdateTimestamp' => [ + 'description' => 'The timestamp that indicates when the DNS record was last updated.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1654777678000', + ], + 'ZoneId' => [ + 'description' => 'The zone ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'a49f55537f3b0b1e6e43add0bf5f****', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeZoneRecords', + 'summary' => 'You can call DescribeZoneRecords to query DNS records for a zone.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '100', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeZoneRecords', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeZoneRecords', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 100,\\n \\"RequestId\\": \\"7B07FBC3-3A53-4939-A3C6-2BDFE407BAB2\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 100,\\n \\"Records\\": {\\n \\"Record\\": [\\n {\\n \\"Status\\": \\"ENABLE\\",\\n \\"Type\\": \\"A\\",\\n \\"Value\\": \\"127.0.XX.XX\\",\\n \\"Ttl\\": 60,\\n \\"Remark\\": \\"test\\",\\n \\"RecordId\\": 0,\\n \\"Rr\\": \\"www\\",\\n \\"Priority\\": 10,\\n \\"Line\\": \\"default\\",\\n \\"Weight\\": 1,\\n \\"CreateTime\\": \\"2019-03-14T03:47Z\\",\\n \\"UpdateTime\\": \\"2023-05-08T02:31Z\\",\\n \\"CreateTimestamp\\": 1672740294000,\\n \\"UpdateTimestamp\\": 1654777678000,\\n \\"ZoneId\\": \\"a49f55537f3b0b1e6e43add0bf5f****\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeZoneVpcTree' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the client.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '127.0.XX.XX', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '7B07FBC3-3A53-4939-A3C6-2BDFE407BAB2', + ], + 'Zones' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Zone' => [ + 'description' => 'A list of zones.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the zone.', + 'type' => 'object', + 'properties' => [ + 'UpdateTime' => [ + 'description' => 'The time when the zone was last updated.', + 'type' => 'string', + 'title' => '', + 'example' => '2019-09-18T08:20Z', + ], + 'ZoneType' => [ + 'description' => 'The type of the zone. Description:'."\n" + ."\n" + .'- AUTH\\_ZONE: authoritative zone.'."\n" + ."\n" + .'- CLOUD\\_PRODUCT\\_ZONE: authoritative zone for a cloud service.', + 'type' => 'string', + 'title' => '', + 'example' => 'AUTH_ZONE', + ], + 'Remark' => [ + 'description' => 'The remarks.', + 'type' => 'string', + 'title' => '', + 'example' => 'demo', + ], + 'CreateTime' => [ + 'description' => 'The time when the zone was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2019-09-18T08:20Z', + ], + 'Vpcs' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Vpc' => [ + 'description' => 'A list of attached VPCs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The VPC information.', + 'type' => 'object', + 'properties' => [ + 'VpcName' => [ + 'description' => 'The name of the VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'demo-vpc', + ], + 'VpcId' => [ + 'description' => 'The unique ID of the VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'vpc-f8zvrvr1payllgz38****', + ], + 'VpcType' => [ + 'description' => 'The type of the VPC. Description:'."\n" + ."\n" + .'- STANDARD: standard VPC.'."\n" + ."\n" + .'- EDS: Elastic Desktop Service (EDS) VPC.', + 'type' => 'string', + 'title' => '', + 'example' => 'STANDARD', + ], + 'RegionName' => [ + 'description' => 'The name of the region where the VPC is located.', + 'type' => 'string', + 'title' => '', + 'example' => 'China (Heyuan)', + ], + 'RegionId' => [ + 'description' => 'The ID of the region where the VPC is located.', + 'type' => 'string', + 'title' => '', + 'example' => 'cn-heyuan', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'RecordCount' => [ + 'description' => 'The number of DNS records in the zone.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'ZoneName' => [ + 'description' => 'The name of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'example.com'."\n", + ], + 'UpdateTimestamp' => [ + 'description' => 'The time when the zone was last updated. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1568794834000', + ], + 'ZoneId' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d3****', + ], + 'ZoneTag' => [ + 'description' => 'The type of the cloud service.'."\n" + ."\n" + .'> - This parameter is empty if ZoneType is set to AUTH\\_ZONE.'."\n" + .'>'."\n" + .'> - This parameter indicates the type of the cloud service if ZoneType is set to CLOUD\\_PRODUCT\\_ZONE.', + 'type' => 'string', + 'title' => '', + 'example' => 'BLINK', + ], + 'IsPtr' => [ + 'description' => 'Indicates whether the zone is a reverse lookup zone. Description:'."\n" + ."\n" + .'- true: The zone is a reverse lookup zone.'."\n" + ."\n" + .'- false: The zone is not a reverse lookup zone.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'false', + ], + 'CreateTimestamp' => [ + 'description' => 'The time when the zone was created. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1568794812000', + ], + 'DnsGroup' => [ + 'description' => 'The built-in authoritative zone. Description:'."\n" + ."\n" + .'- NORMAL\\_ZONE: regular zone.'."\n" + ."\n" + .'- FAST\\_ZONE: fast zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'NORMAL_ZONE', + ], + 'Creator' => [ + 'description' => 'The creator of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => '141339776561****', + ], + 'CreatorType' => [ + 'description' => 'The type of the operator.', + 'type' => 'string', + 'title' => '', + 'example' => 'USER', + ], + 'DnsGroupChanging' => [ + 'description' => 'The status of switching the zone location between a regular zone and a fast zone. Description:'."\n" + ."\n" + .'- true: The zone is being switched.'."\n" + ."\n" + .'- false: The zone is not being switched.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeZoneVpcTree', + 'summary' => 'Call the DescribeZoneVpcTree operation to query the zones and the Virtual Private Clouds (VPCs) attached to them in your account.', + 'description' => 'This operation is not recommended due to low performance. To retrieve a list of zones, call DescribeZones. To retrieve the details of attached VPCs, call DescribeZoneInfo with the zone ID.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2023-01-06T04:15:31.000Z', + 'description' => 'Response parameters changed, Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeZoneVpcTree', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:DescribeZoneVpcTree', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7B07FBC3-3A53-4939-A3C6-2BDFE407BAB2\\",\\n \\"Zones\\": {\\n \\"Zone\\": [\\n {\\n \\"UpdateTime\\": \\"2019-09-18T08:20Z\\",\\n \\"ZoneType\\": \\"AUTH_ZONE\\",\\n \\"Remark\\": \\"demo\\",\\n \\"CreateTime\\": \\"2019-09-18T08:20Z\\",\\n \\"Vpcs\\": {\\n \\"Vpc\\": [\\n {\\n \\"VpcName\\": \\"demo-vpc\\",\\n \\"VpcId\\": \\"vpc-f8zvrvr1payllgz38****\\",\\n \\"VpcType\\": \\"STANDARD\\",\\n \\"RegionName\\": \\"China (Heyuan)\\",\\n \\"RegionId\\": \\"cn-heyuan\\"\\n }\\n ]\\n },\\n \\"RecordCount\\": 1,\\n \\"ZoneName\\": \\"example.com\\\\n\\",\\n \\"UpdateTimestamp\\": 1568794834000,\\n \\"ZoneId\\": \\"df2d03865266bd9842306db586d3****\\",\\n \\"ZoneTag\\": \\"BLINK\\",\\n \\"IsPtr\\": false,\\n \\"CreateTimestamp\\": 1568794812000,\\n \\"DnsGroup\\": \\"NORMAL_ZONE\\",\\n \\"Creator\\": \\"141339776561****\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"DnsGroupChanging\\": true\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeZones' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '15426', + 'abilityTreeNodes' => [ + 'FEATUREpvtz18XH29', + ], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [], + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number. Pages start from page 1. Default value: 1.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '1', + 'default' => '1', + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page. Maximum value: **100**. Default value: **20**.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '20', + 'title' => '', + 'example' => '20', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => 'The keyword of the zone name. The search is not case-sensitive. You can set the SearchMode parameter to switch between exact search and fuzzy search. The default mode is fuzzy search.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'SearchMode', + 'in' => 'query', + 'schema' => [ + 'description' => 'The search mode. This parameter takes effect only when the Keyword parameter is specified. Valid values:'."\n" + ."\n" + .'- **LIKE**: fuzzy search (default)'."\n" + ."\n" + .'- **EXACT**: exact search'."\n" + ."\n" + .'Default value: **LIKE**.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'EXACT', + ], + ], + [ + 'name' => 'QueryRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID of the VPC that is associated with the zone.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'QueryVpcId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the VPC that is associated with the zone.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'vpc-f8zvrvr1payllgz38****', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the resource group to which the zone belongs.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'rg-aekz2qj7awz****', + ], + ], + [ + 'name' => 'ZoneType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the zones to query. Valid values:'."\n" + ."\n" + .'- **AUTH\\_ZONE**: authoritative zones.'."\n" + ."\n" + .'- **CLOUD\\_PRODUCT\\_ZONE**: zones for cloud services.'."\n" + ."\n" + .'Default value: **AUTH\\_ZONE**.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'AUTH_ZONE', + ], + ], + [ + 'name' => 'ZoneTag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of cloud service types.', + 'type' => 'array', + 'items' => [ + 'description' => 'The type of the cloud service.'."\n" + ."\n" + .'- This parameter is ignored if you query authoritative zones.'."\n" + ."\n" + .'- If you query PrivateZone zones for cloud services that you use or manage, the zones of the specified cloud service type are queried.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'BLINK', + ], + 'required' => false, + 'maxItems' => 10000, + 'example' => 'BLINK', + 'title' => '', + ], + ], + [ + 'name' => 'ResourceTag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The resource tags that are added to the zone.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the resource tag.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'env', + ], + 'Value' => [ + 'description' => 'The value of the resource tag.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'daily', + ], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 21, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'PageSize' => [ + 'description' => 'The number of entries returned per page.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '20', + ], + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B', + ], + 'PageNumber' => [ + 'description' => 'The page number of the returned data.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages returned.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalItems' => [ + 'description' => 'The total number of entries returned.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'Zones' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Zone' => [ + 'description' => 'The list of zones.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of a zone object.', + 'type' => 'object', + 'properties' => [ + 'UpdateTime' => [ + 'description' => 'The time when the zone was last updated.', + 'type' => 'string', + 'title' => '', + 'example' => '2018-01-03T08:57Z', + ], + 'ResourceTags' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'ResourceTag' => [ + 'description' => 'The list of resource tags that are added to the zone.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the resource tag.', + 'type' => 'string', + 'title' => '', + 'example' => 'env', + ], + 'Value' => [ + 'description' => 'The value of the resource tag.', + 'type' => 'string', + 'title' => '', + 'example' => 'daily', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'ZoneType' => [ + 'description' => 'The type of the zone. Valid values:'."\n" + ."\n" + .'- **AUTH\\_ZONE**: authoritative zone.'."\n" + ."\n" + .'- **CLOUD\\_PRODUCT\\_ZONE**: PrivateZone for a cloud service.', + 'type' => 'string', + 'title' => '', + 'example' => 'AUTH_ZONE', + ], + 'Remark' => [ + 'description' => 'The remarks on the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'test', + ], + 'CreateTime' => [ + 'description' => 'The time when the zone was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2017-12-28T13:08Z', + ], + 'RecordCount' => [ + 'description' => 'The number of DNS records in the zone.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '2', + ], + 'ZoneName' => [ + 'description' => 'The name of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'test.com', + ], + 'ProxyPattern' => [ + 'description' => 'Indicates whether the recursive proxy feature is enabled for subdomains. Valid values:'."\n" + ."\n" + .'- **ZONE**: The recursive proxy feature is disabled. When you resolve a subdomain that does not exist in the current zone, an NXDOMAIN error is returned.'."\n" + ."\n" + .'- **RECORD**: The recursive proxy feature is enabled. When you resolve a subdomain that does not exist in the current zone, the system queries the forwarding and recursion modules and uses the final result to respond to the DNS request.', + 'type' => 'string', + 'title' => '', + 'example' => 'ZONE', + ], + 'UpdateTimestamp' => [ + 'description' => 'The time when the zone was last updated. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1514969843000', + ], + 'ResourceGroupId' => [ + 'description' => 'The ID of the resource group to which the zone belongs.', + 'type' => 'string', + 'title' => '', + 'example' => 'rg-aekz2qj7awz****', + ], + 'ZoneId' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => '6d83e3b31aa60ca4aaa7161f1b6baa95', + ], + 'ZoneTag' => [ + 'description' => 'The type of the cloud service.'."\n" + ."\n" + .'- This parameter is empty if ZoneType is set to AUTH\\_ZONE.'."\n" + ."\n" + .'- This parameter indicates the type of the cloud service if ZoneType is set to CLOUD\\_PRODUCT\\_ZONE.', + 'type' => 'string', + 'title' => '', + 'example' => 'BLINK', + ], + 'IsPtr' => [ + 'description' => 'Indicates whether the zone is a reverse lookup zone. Valid values:'."\n" + ."\n" + .'- **true**: The zone is a reverse lookup zone.'."\n" + ."\n" + .'- **false**: The zone is not a reverse lookup zone.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'false', + ], + 'CreateTimestamp' => [ + 'description' => 'The time when the zone was created. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1514466483000', + ], + 'DnsGroup' => [ + 'description' => 'The built-in authoritative location zone. Valid values:'."\n" + ."\n" + .'- **NORMAL\\_ZONE**: regular zone'."\n" + ."\n" + .'- **FAST\\_ZONE**: fast zone', + 'type' => 'string', + 'title' => '', + 'example' => 'NORMAL_ZONE', + ], + 'Creator' => [ + 'description' => 'The creator of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => '546356****', + ], + 'CreatorSubType' => [ + 'description' => 'The type of the account. Valid values:'."\n" + ."\n" + .'- **CUSTOMER**: Alibaba Cloud account'."\n" + ."\n" + .'- **SUB**: RAM user'."\n" + ."\n" + .'- **STS**: role assumption'."\n" + ."\n" + .'- **OTHER**: other', + 'type' => 'string', + 'title' => '', + 'example' => 'SUB', + ], + 'DnsGroupChanging' => [ + 'description' => 'The status of the zone migration.'."\n" + ."\n" + .'- **true**: The zone is being migrated.'."\n" + ."\n" + .'- **false**: The zone is not being migrated.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'false', + ], + 'SlaveDnsStatus' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'DescribeZones', + 'summary' => 'You can call the DescribeZones operation to query a list of zones available to your account.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeZones', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'pvtz:DescribeZones', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"Zones\\": {\\n \\"Zone\\": [\\n {\\n \\"UpdateTime\\": \\"2018-01-03T08:57Z\\",\\n \\"ResourceTags\\": {\\n \\"ResourceTag\\": [\\n {\\n \\"Key\\": \\"env\\",\\n \\"Value\\": \\"daily\\"\\n }\\n ]\\n },\\n \\"ZoneType\\": \\"AUTH_ZONE\\",\\n \\"Remark\\": \\"test\\",\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"RecordCount\\": 2,\\n \\"ZoneName\\": \\"test.com\\",\\n \\"ProxyPattern\\": \\"ZONE\\",\\n \\"UpdateTimestamp\\": 1514969843000,\\n \\"ResourceGroupId\\": \\"rg-aekz2qj7awz****\\",\\n \\"ZoneId\\": \\"6d83e3b31aa60ca4aaa7161f1b6baa95\\",\\n \\"ZoneTag\\": \\"BLINK\\",\\n \\"IsPtr\\": false,\\n \\"CreateTimestamp\\": 1514466483000,\\n \\"DnsGroup\\": \\"NORMAL_ZONE\\",\\n \\"Creator\\": \\"546356****\\",\\n \\"CreatorSubType\\": \\"SUB\\",\\n \\"DnsGroupChanging\\": false,\\n \\"SlaveDnsStatus\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListTagResources' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese'."\n" + ."\n" + .'- en: English'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The resource type. Set the value to ZONE.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'ZONE', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The token that is used to start the next query. It is returned in the response to the previous query.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '23423****', + ], + ], + [ + 'name' => 'Size', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries to return on each page. Maximum value: 200. Default value: 20.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'title' => '', + 'example' => '20', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'A list of resource IDs. In this case, a list of zone IDs. You can specify up to 50 IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The resource ID. In this case, the zone ID.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '97fe9321a476d0861f624d3f738d****', + ], + 'required' => false, + 'example' => '97fe9321a476d0861f624d3f738dcc38', + 'maxItems' => 51, + 'title' => '', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'A list of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag information.', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of the tag.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'env', + ], + 'Value' => [ + 'description' => 'The value of the tag.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'daily', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 21, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => 'The token for the next query. If this parameter is empty, all results have been returned.', + 'type' => 'string', + 'title' => '', + 'example' => '23423****', + ], + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D', + ], + 'TagResources' => [ + 'description' => 'The list of tagged resources.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of a tagged resource.', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => [ + 'description' => 'The resource type.', + 'type' => 'string', + 'title' => '', + 'example' => 'ZONE', + ], + 'TagValue' => [ + 'description' => 'The tag value.', + 'type' => 'string', + 'title' => '', + 'example' => 'daily', + ], + 'ResourceId' => [ + 'description' => 'The resource ID. In this case, the zone ID.', + 'type' => 'string', + 'title' => '', + 'example' => '97fe9321a476d0861f624d3f738d****', + ], + 'TagKey' => [ + 'description' => 'The tag key.', + 'type' => 'string', + 'title' => '', + 'example' => 'env', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'ListTagResources', + 'summary' => 'Queries the tags that are added to resources in Private Zone.', + 'description' => '#### **Limits**'."\n" + ."\n" + .'This operation queries tags for zone resources only.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2024-01-31T10:11:10.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListTagResources', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:ListTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"23423****\\",\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"ZONE\\",\\n \\"TagValue\\": \\"daily\\",\\n \\"ResourceId\\": \\"97fe9321a476d0861f624d3f738d****\\",\\n \\"TagKey\\": \\"env\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'MoveResourceGroup' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese'."\n" + ."\n" + .'- en: English'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d4****', + ], + ], + [ + 'name' => 'NewResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the destination resource group.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'rg-aekz2qj7awz****', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A client token that ensures the idempotence of the request. Generate a unique value on your client. The token must contain only ASCII characters and be no more than 64 characters in length.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '21079fa016944979537637959d09bc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => 'D1324D48-1E23-4AEF-9EDE-466120561C6F', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'MoveResourceGroup', + 'summary' => 'You can call the MoveResourceGroup operation to move a resource to a different resource group.', + 'description' => '#### Conditions'."\n" + ."\n" + .'This operation can be used to change the resource group of only zone-specific resources.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'MoveResourceGroup', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:MoveResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D1324D48-1E23-4AEF-9EDE-466120561C6F\\"\\n}","type":"json"}]', + ], + 'SearchCustomLines' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'chargeType' => 'free', + 'abilityTreeCode' => '190583', + 'abilityTreeNodes' => [ + 'FEATUREpvtzNNOVSD', + ], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'zh', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number. The value starts from **1**. The default value is **1**.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '9999999', + 'minimum' => '1', + 'default' => '1', + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page for a paged query. The maximum value is **100**. The default value is **10**.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'default' => '20', + 'title' => '', + 'example' => '10', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the custom ACL.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '测试', + ], + ], + [ + 'name' => 'Ipv4', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IPv4 address.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '1.1.1.1', + ], + ], + [ + 'name' => 'Creator', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of creator IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The creator ID.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '21312421', + ], + 'required' => false, + 'maxItems' => 100, + 'title' => '', + ], + ], + [ + 'name' => 'CreateTimestampStart', + 'in' => 'query', + 'schema' => [ + 'description' => 'The start of the creation time range. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'title' => '', + 'example' => '1672136518123', + ], + ], + [ + 'name' => 'CreateTimestampEnd', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the creation time range. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'title' => '', + 'example' => '1672136518234', + ], + ], + [ + 'name' => 'UpdateTimestampStart', + 'in' => 'query', + 'schema' => [ + 'description' => 'The start of the update time range. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'title' => '', + 'example' => '1672136515000', + ], + ], + [ + 'name' => 'UpdateTimestampEnd', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end of the update time range. This value is a UNIX timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'title' => '', + 'example' => '1672136518000', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'PageSize' => [ + 'description' => 'The number of entries per page for a paged query. The maximum value is **100**. The default value is **10**.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '10', + ], + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '46973D4C-E3E4-4ABA-9190-9A9DE406C7E', + ], + 'PageNumber' => [ + 'description' => 'The page number. The default value is 1.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '1', + ], + 'TotalPages' => [ + 'description' => 'The total number of pages.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '5', + ], + 'TotalItems' => [ + 'description' => 'The total number of entries.', + 'type' => 'integer', + 'format' => 'int32', + 'title' => '', + 'example' => '100', + ], + 'CustomLines' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'CustomLine' => [ + 'itemNode' => true, + 'description' => 'The list of custom ACLs.', + 'title' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LineId' => [ + 'description' => 'The unique ID of the custom ACLs.', + 'type' => 'string', + 'title' => '', + 'example' => '11730', + ], + 'Name' => [ + 'description' => 'The name of the custom ACLs.', + 'type' => 'string', + 'title' => '', + 'example' => '测试线路', + ], + 'Ipv4s' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Ipv4' => [ + 'description' => 'The list of IPv4 CIDR blocks.', + 'title' => '', + 'type' => 'array', + 'items' => [ + 'description' => 'The IPv4 CIDR blocks.', + 'type' => 'string', + 'title' => '', + 'example' => '2.2.2.2', + ], + ], + ], + 'description' => '', + 'title' => '', + ], + 'Creator' => [ + 'description' => 'The creator ID.', + 'type' => 'string', + 'title' => '', + 'example' => '1851321989648462', + ], + 'CreatorType' => [ + 'description' => 'The role of the creator.'."\n" + ."\n" + .'- USER: user'."\n" + .'- SYSTEM: system', + 'type' => 'string', + 'title' => '', + 'example' => 'USER', + ], + 'CreatorSubType' => [ + 'description' => 'The type of the creator.'."\n" + ."\n" + .'- CUSTOM: Alibaba Cloud account'."\n" + .'- SUB: RAM user'."\n" + .'- STS: role assumption'."\n" + .'- OTHER: other roles', + 'type' => 'string', + 'title' => '', + 'example' => 'SUB', + ], + 'CreateTime' => [ + 'description' => 'The time when the line was created.', + 'type' => 'string', + 'title' => '', + 'example' => '2022-12-27 18:16:38', + ], + 'CreateTimestamp' => [ + 'description' => 'The timestamp that indicates when the ACL was created.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1671174074000', + ], + 'UpdateTime' => [ + 'description' => 'The time when the ACL was updated.', + 'type' => 'string', + 'title' => '', + 'example' => '2023-06-14 14:04:08', + ], + 'UpdateTimestamp' => [ + 'description' => 'The timestamp that indicates when the ACL was updated.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '1672136518000', + ], + 'DnsCategory' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + ], + ], + ], + 'description' => '', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + ], + ], + ], + 'title' => 'SearchCustomLines', + 'summary' => 'Searches for custom access control lists (ACLs).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '10', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SearchCustomLines', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:read', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"46973D4C-E3E4-4ABA-9190-9A9DE406C7E\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 5,\\n \\"TotalItems\\": 100,\\n \\"CustomLines\\": {\\n \\"CustomLine\\": [\\n {\\n \\"LineId\\": \\"11730\\",\\n \\"Name\\": \\"测试线路\\",\\n \\"Ipv4s\\": {\\n \\"Ipv4\\": [\\n \\"2.2.2.2\\"\\n ]\\n },\\n \\"Creator\\": \\"1851321989648462\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"CreatorSubType\\": \\"SUB\\",\\n \\"CreateTime\\": \\"2022-12-27 18:16:38\\",\\n \\"CreateTimestamp\\": 1671174074000,\\n \\"UpdateTime\\": \\"2023-06-14 14:04:08\\",\\n \\"UpdateTimestamp\\": 1672136518000,\\n \\"DnsCategory\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'SetProxyPattern' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d3****', + ], + ], + [ + 'name' => 'ProxyPattern', + 'in' => 'query', + 'schema' => [ + 'description' => 'The proxy mode for recursive resolution of subdomains. Valid values:'."\n" + ."\n" + .'- **ZONE**: Disables the proxy. If a subdomain does not exist, an NXDOMAIN response is returned.'."\n" + ."\n" + .'- **RECORD**: Enables the proxy. If a subdomain does not exist, the system queries the forwarding and recursion modules and returns the final result.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'ZONE', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the client.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '10.61.XX.XX', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A client token to ensure the idempotence of the request. The token must be unique for each request. It can contain only ASCII characters and must be no more than 64 characters in length.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '21079fa016944979537637959d09bc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'ZoneId' => [ + 'description' => 'The global ID of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d3****'."\n", + ], + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '0417DC19-11A0-5597-8717-2F705DE88925', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Zone.Remark', + 'errorMessage' => '50 characters long. It can only contain numbers,Chinese,English and special characters: _ - , . ,。', + 'description' => '', + ], + ], + ], + 'title' => 'SetProxyPattern', + 'summary' => 'Sets the recursive resolution proxy for subdomains.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SetProxyPattern', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:SetProxyPattern', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ZoneId\\": \\"df2d03865266bd9842306db586d3****\\\\n\\",\\n \\"RequestId\\": \\"0417DC19-11A0-5597-8717-2F705DE88925\\"\\n}","type":"json"}]', + ], + 'SetZoneRecordStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'The default value is en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'RecordId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the DNS record.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'title' => '', + 'example' => '207541****', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => 'The status of the DNS record. Valid values:'."\n" + ."\n" + .'- ENABLE: Enables DNS resolution.'."\n" + ."\n" + .'- DISABLE: Pauses DNS resolution.', + 'type' => 'string', + 'required' => true, + 'enum' => [ + 'ENABLE', + 'DISABLE', + ], + 'title' => '', + 'example' => 'ENABLE', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The client IP address.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '127.XX.XX', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A client token that is used to ensure the idempotence of the request. The client generates this value. The value must be unique among different requests and can be up to 64 ASCII characters in length.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '6447728c8578e66aacf062d2df4446dc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'The status of the DNS record. Valid values:'."\n" + ."\n" + .'- ENABLE: DNS resolution is enabled.'."\n" + ."\n" + .'- DISABLE: DNS resolution is paused.', + 'type' => 'string', + 'title' => '', + 'example' => 'ENABLE', + ], + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '39CB16E5-4180-49F2-A060-23C0ECEB80D9', + ], + 'RecordId' => [ + 'description' => 'The ID of the DNS record.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '207541****', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'SetZoneRecordStatus', + 'summary' => 'You can call SetZoneRecordStatus to set the status of a DNS record for a zone. This enables or pauses DNS resolution.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SetZoneRecordStatus', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:SetZoneRecordStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"ENABLE\\",\\n \\"RequestId\\": \\"39CB16E5-4180-49F2-A060-23C0ECEB80D9\\",\\n \\"RecordId\\": 0\\n}","type":"json"}]', + ], + 'TagResources' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The resource type. The value must be ZONE.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'ZONE', + ], + ], + [ + 'name' => 'OverWrite', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to modify the tag list. Valid values:'."\n" + ."\n" + .'- True: Overwrites the existing tag list.'."\n" + ."\n" + .'- False (default): Appends tags to the existing list. If a tag key already exists, its value is updated.', + 'type' => 'boolean', + 'required' => false, + 'title' => '', + 'example' => 'true', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of resource IDs. These are the IDs of the zones. You can specify up to 50 IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'A zone ID.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '97fe9321a476d0861f624d3f738d****', + ], + 'required' => true, + 'example' => '97fe9321a476d0861f624d3f738dcc38', + 'maxItems' => 51, + 'title' => '', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'A tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'env', + ], + 'Value' => [ + 'description' => 'The tag value.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'daily', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'maxItems' => 21, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'TagResources', + 'summary' => 'You can call the TagResources operation to add or modify tags for one or more zones in a batch.', + 'description' => '##### Limits'."\n" + ."\n" + .'You can add tags only to zone resources.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2024-01-31T10:11:10.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'TagResources', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:TagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\"\\n}","type":"json"}]', + ], + 'UntagResources' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the return value. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The resource type. Set the value to ZONE.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'ZONE', + ], + ], + [ + 'name' => 'All', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to remove all tags. Valid values:'."\n" + ."\n" + .'- true: Removes all tags from the specified zones.'."\n" + ."\n" + .'- false: Removes only the tags that have the specified tag keys (TagKey.N).'."\n" + ."\n" + .'Default value: false.', + 'type' => 'boolean', + 'required' => false, + 'title' => '', + 'example' => 'false', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'A list of resource IDs, which are the zone IDs. You can specify up to 50 resource IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The resource ID, which is the zone ID.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '97fe9321a476d0861f624d3f738d****', + ], + 'required' => true, + 'maxItems' => 51, + 'example' => '97fe9321a476d0861f624d3f738dcc38', + 'title' => '', + ], + ], + [ + 'name' => 'TagKey', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'A list of tag keys. You can specify up to 20 tag keys.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag key.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'env', + ], + 'required' => false, + 'maxItems' => 21, + 'example' => 'env', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'UntagResources', + 'summary' => 'You can call the UntagResources operation to remove tags from one or more zones in PrivateZone.', + 'description' => '#### **Limits**'."\n" + ."\n" + .'You can remove tags only from zone resources.', + 'changeSet' => [ + [ + 'createdAt' => '2024-01-31T10:11:10.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UntagResources', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:UntagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\"\\n}","type":"json"}]', + ], + 'UpdateCustomLine' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '191236', + 'abilityTreeNodes' => [ + 'FEATUREpvtzNNOVSD', + ], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'LineId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the custom line.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '100003', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the custom line.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '测试线路', + ], + ], + [ + 'name' => 'Ipv4s', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of IPv4 address segments.', + 'type' => 'array', + 'items' => [ + 'description' => 'An IPv4 address segment.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '1.1.1.1-2.2.2.2', + ], + 'required' => true, + 'docRequired' => true, + 'maxItems' => 100, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'DnsCategory', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => '0B7AD377-7E86-44A8-B9A8-53E8666E72FE', + ], + 'LineId' => [ + 'description' => 'The unique ID of the custom line.', + 'type' => 'string', + 'title' => '', + 'example' => '765001', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'CustomLine.IpOverlap', + 'errorMessage' => 'customLine ip is overlap.%s', + 'description' => '', + ], + ], + ], + 'title' => 'UpdateCustomLine', + 'summary' => 'Updates a custom line.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '10', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateCustomLine', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:update', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'customLine', + 'arn' => 'acs:pvtz::{#accountId}:customLine/{#lineId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0B7AD377-7E86-44A8-B9A8-53E8666E72FE\\",\\n \\"LineId\\": \\"765001\\"\\n}","type":"json"}]', + ], + 'UpdateRecordRemark' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'RecordId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the DNS record.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '202991****', + ], + ], + [ + 'name' => 'Remark', + 'in' => 'query', + 'schema' => [ + 'description' => 'The remarks.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'test record', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A client token used to ensure the idempotence of a request. The client generates this value, which must be unique across different requests. The token can be up to 64 ASCII characters in length.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '6447728c8578e66aacf062d2df4446dc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '0B7AD377-7E86-44A8-B9A8-53E8666E72FE', + ], + 'RecordId' => [ + 'description' => 'The ID of the DNS record.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '202991****', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Zone.Remark', + 'errorMessage' => '50 characters long. It can only contain numbers,Chinese,English and special characters: _ - , . ,。', + 'description' => '', + ], + ], + ], + 'title' => 'UpdateRecordRemark', + 'summary' => 'You can call the UpdateRecordRemark operation to modify the remarks of a DNS record based on its ID.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateRecordRemark', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:UpdateRecordRemark', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0B7AD377-7E86-44A8-B9A8-53E8666E72FE\\",\\n \\"RecordId\\": 0\\n}","type":"json"}]', + ], + 'UpdateResolverEndpoint' => [ + 'summary' => 'Updates an endpoint.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => [ + 'FEATUREpvtz74JCUU', + ], + ], + 'parameters' => [ + [ + 'name' => 'EndpointId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The endpoint ID.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'hr****', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the endpoint.', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'title' => '', + 'example' => 'endpoint-test-name', + ], + ], + [ + 'name' => 'IpConfig', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'A list of source IP addresses for outbound traffic. Specify at least two and up to six IP addresses.'."\n" + ."\n" + .'> To ensure high availability (HA), an outbound endpoint requires at least two source IP addresses. We recommend that you assign these IP addresses to different zones. An outbound endpoint supports a maximum of six source IP addresses.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about a source IP address for outbound traffic. If you modify this element, all fields except for Ip are required.', + 'type' => 'object', + 'properties' => [ + 'VSwitchId' => [ + 'description' => 'The vSwitch ID.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'vsw-0jlgeyq4oazkh5xue****'."\n", + ], + 'CidrBlock' => [ + 'description' => 'The IPv4 CIDR block of the vSwitch.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '172.16.XX.XX/24', + ], + 'AzId' => [ + 'description' => 'The ID of the zone where the vSwitch is located.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'cn-hangzhou-a', + ], + 'Ip' => [ + 'description' => 'An IP address that is within the CIDR block of the vSwitch. If you leave this parameter empty, the system automatically assigns an IP address.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '172.16.XX.XX', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 12, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique request ID.', + 'type' => 'string', + 'title' => '', + 'example' => 'EC0BDA3A-A92A-4AC8-B351-322A9C79D5C5', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'UpdateResolverEndpoint', + 'changeSet' => [ + [ + 'createdAt' => '2021-10-27T01:19:07.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateResolverEndpoint', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:UpdateResolverEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz:*:{#accountId}:endpoint/{#EndpointId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EC0BDA3A-A92A-4AC8-B351-322A9C79D5C5\\"\\n}","type":"json"}]', + ], + 'UpdateResolverRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREpvtzKODT3B', + ], + ], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the forwarding rule.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'hr****', + 'title' => '', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the forwarding rule.', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '转发规则-test', + 'title' => '', + ], + ], + [ + 'name' => 'ForwardIp', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The IP addresses and ports of external DNS servers. DNS queries are forwarded to these servers. You can specify up to six servers. Both private and public IP addresses are supported.'."\n" + ."\n" + .'> If you specify a public IP address for an external DNS server, and the Elastic Compute Service (ECS) instances in the virtual private cloud (VPC) for the outbound endpoint do not have public IP addresses, enable a NAT Gateway and configure Source Network Address Translation (SNAT) entries for it.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the item.', + 'type' => 'object', + 'properties' => [ + 'Ip' => [ + 'description' => 'The IP address of the destination server.'."\n" + ."\n" + .'> The IP addresses in the following ranges are reserved by the system and cannot be used for external DNS servers:'."\n" + .'> 100.100.2.136-100.100.2.138'."\n" + .'> 100.100.2.116-100.100.2.118', + 'type' => 'string', + 'required' => false, + 'example' => '172.16.XX.XX', + 'title' => '', + ], + 'Port' => [ + 'description' => 'The port number of the destination server.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '8080', + 'title' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 12, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'example' => 'en', + 'title' => '', + ], + ], + [ + 'name' => 'EndpointId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the endpoint.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'hr****', + ], + ], + [ + 'name' => 'PriorityForwardConfigs', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Protocol' => [ + 'type' => 'string', + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'EnableStatus' => [ + 'type' => 'string', + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Priority' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'AlidnsServiceAddresses' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'maxItems' => 100, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'CustomAddresses' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'maxItems' => 100, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'maxItems' => 100, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'example' => '0C9959BE-3A6A-4803-8DCE-973B42ACD599', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'UpdateResolverRule', + 'summary' => 'Modifies a forwarding rule.', + 'changeSet' => [ + [ + 'createdAt' => '2024-07-09T05:33:11.000Z', + 'description' => 'Request parameters changed', + ], + [ + 'createdAt' => '2021-10-27T01:19:07.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateResolverRule', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:UpdateResolverRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz:*:{#accountId}:rule/{#RuleId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C9959BE-3A6A-4803-8DCE-973B42ACD599\\"\\n}","type":"json"}]', + ], + 'UpdateSyncEcsHostTask' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d3****', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => 'The status of the ECS hostname sync task. Valid values:'."\n" + ."\n" + .'- ON: enables the task.'."\n" + ."\n" + .'- OFF: disables the task.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enum' => [ + 'OFF', + 'ON', + ], + 'title' => '', + 'example' => 'ON', + ], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The regions for synchronization.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of a region.', + 'type' => 'object', + 'properties' => [ + 'UserId' => [ + 'description' => 'The ID of the user who owns the region. This parameter is used for cross-account synchronization.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'title' => '', + 'example' => '141339776561****', + ], + 'RegionId' => [ + 'description' => 'The region ID.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'cn-beijing', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'maxItems' => 500, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => 'test-FC9A-4595-8D96-089D73D7A63D', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful. Valid values:'."\n" + ."\n" + .'- True: The request succeeded.'."\n" + ."\n" + .'- False: The request failed.', + 'type' => 'boolean', + 'title' => '', + 'example' => 'true', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'UpdateSyncEcsHostTask', + 'summary' => 'Call the UpdateSyncEcsHostTask operation to add or update a hostname sync task.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + [ + 'createdAt' => '2024-07-08T01:49:12.000Z', + 'description' => 'Error codes changed', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateSyncEcsHostTask', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'pvtz:UpdateSyncEcsHostTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"test-FC9A-4595-8D96-089D73D7A63D\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'UpdateZoneRecord' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'Rr', + 'in' => 'query', + 'schema' => [ + 'description' => 'The host record. This is the prefix of a domain name. Common examples include www, @, \\* (for wildcard DNS), and mail (for mailboxes).'."\n" + ."\n" + .'For example, to resolve @.example.com, set the host record to "@", not an empty string.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'www', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'RecordId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the DNS record. To obtain the ID, call the DescribeZoneRecords operation to query a list of DNS records.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '172223****', + ], + ], + [ + 'name' => 'Line', + 'in' => 'query', + 'schema' => [ + 'description' => 'The DNS resolution line. The default value is default.', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => 'default', + ], + ], + [ + 'name' => 'Weight', + 'in' => 'query', + 'schema' => [ + 'description' => 'The weight of the record. Valid values are integers from 1 to 100. The default value is 1. You can set different weights for records to return IP addresses in proportion to their weights.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => [ + 'description' => 'The type of the DNS record. The following types are supported:'."\n" + ."\n" + .'- **A**: Maps a domain name to an IPv4 address in dotted decimal notation.'."\n" + ."\n" + .'- **AAAA**: Maps a domain name to an IPv6 address.'."\n" + ."\n" + .'- **CNAME**: Maps a domain name to another domain name.'."\n" + ."\n" + .'- **TXT**: A text record. The text can be up to 255 characters in length. TXT records are often used for Sender Policy Framework (SPF) records to prevent spam.'."\n" + ."\n" + .'- **MX**: Maps a domain name to the domain name of a mail server.'."\n" + ."\n" + .'- **PTR**: Maps an IP address to a domain name.'."\n" + ."\n" + .'- **SRV**: A service record that specifies the server for a specific service. The format is: Priority Weight Port Target. Each part must be separated by a space.'."\n" + ."\n" + .'> Before adding a PTR record, configure a reverse lookup zone. For more information, see [Reverse DNS lookup and PTR records](~~2592976~~)', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => 'A', + ], + ], + [ + 'name' => 'Ttl', + 'in' => 'query', + 'schema' => [ + 'description' => 'The time to live (TTL) in seconds (s). Valid values: 5, 30, 60, 3600 (1 hour), 43200 (12 hours), and 86400 (1 day).', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '86400', + 'minimum' => '5', + 'default' => '60', + 'title' => '', + 'example' => '60', + ], + ], + [ + 'name' => 'Priority', + 'in' => 'query', + 'schema' => [ + 'description' => 'The priority of the MX record. You can set different priorities for mail servers. Valid values: 1 to 99. A smaller value indicates a higher priority.'."\n" + ."\n" + .'> This parameter is required if the record type is MX.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '99', + 'minimum' => '1', + 'default' => '', + 'title' => '', + 'example' => '1', + ], + ], + [ + 'name' => 'Value', + 'in' => 'query', + 'schema' => [ + 'description' => 'The record value. Enter a value that corresponds to the record type.', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'title' => '', + 'example' => '192.16.XX.XX', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the client.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '127.0.XX.XX', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A client token that is used to ensure the idempotence of the request. The client generates the value, which must be unique among different requests. The token can contain a maximum of 64 ASCII characters.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '6447728c8578e66aacf062d2df4446dc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => '250E2C38-D0AD-4518-851D-1C1055805F82', + ], + 'RecordId' => [ + 'description' => 'The ID of the DNS record.', + 'type' => 'integer', + 'format' => 'int64', + 'title' => '', + 'example' => '172223****', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'title' => 'UpdateZoneRecord', + 'summary' => 'The UpdateZoneRecord operation modifies a DNS record for a zone. You can change properties such as the host record, record type, and weight.', + 'description' => '#### **Notes**'."\n" + ."\n" + .'Modifications to DNS records in standard zones take effect after the Time to Live (TTL) expires. Modifications to DNS records in acceleration regions take effect immediately and are not affected by the TTL.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateZoneRecord', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:UpdateZoneRecord', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"250E2C38-D0AD-4518-851D-1C1055805F82\\",\\n \\"RecordId\\": 0\\n}","type":"json"}]', + ], + 'UpdateZoneRemark' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- zh: Chinese.'."\n" + ."\n" + .'- en: English.'."\n" + ."\n" + .'Default value: en.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'en', + ], + ], + [ + 'name' => 'ZoneId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'required' => true, + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d3****', + ], + ], + [ + 'name' => 'Remark', + 'in' => 'query', + 'schema' => [ + 'description' => 'The new remark. To clear the remark, set this parameter to an empty string.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => 'test', + ], + ], + [ + 'name' => 'UserClientIp', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP address of the client.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '127.0.XX.XX', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'A client-generated token that is used to ensure the idempotence of the request. Make sure that the token is unique for each request. The token can contain only ASCII characters and cannot exceed 64 characters in length.', + 'type' => 'string', + 'required' => false, + 'title' => '', + 'example' => '21079fa016944979537637959d09bc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'ZoneId' => [ + 'description' => 'The unique ID of the zone.', + 'type' => 'string', + 'title' => '', + 'example' => 'df2d03865266bd9842306db586d3****', + ], + 'RequestId' => [ + 'description' => 'The unique ID of the request.', + 'type' => 'string', + 'title' => '', + 'example' => 'C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'Zone.Remark', + 'errorMessage' => '50 characters long. It can only contain numbers,Chinese,English and special characters: _ - , . ,。', + 'description' => '', + ], + ], + ], + 'title' => 'UpdateZoneRemark', + 'summary' => 'Modifies the remark for a built-in authoritative domain name (zone).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateZoneRemark', + ], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:UpdateZoneRemark', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ZoneId\\": \\"df2d03865266bd9842306db586d3****\\",\\n \\"RequestId\\": \\"C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'ap-northeast-1', + 'regionName' => 'Japan (Tokyo)', + 'areaId' => 'asiaPacific', + 'areaName' => 'Asia Pacific', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => 'pvtz.vpc-proxy.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'regionName' => 'China (Hangzhou)', + 'areaId' => 'asiaPacific', + 'areaName' => 'Asia Pacific', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => 'pvtz.vpc-proxy.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao', + 'regionName' => 'China (Qingdao)', + 'areaId' => 'asiaPacific', + 'areaName' => 'Asia Pacific', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => 'pvtz.vpc-proxy.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'regionName' => 'US (Silicon Valley)', + 'areaId' => 'europeAmerica', + 'areaName' => 'Europe & Americas', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => 'pvtz.vpc-proxy.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'regionName' => 'US (Virginia)', + 'areaId' => 'europeAmerica', + 'areaName' => 'Europe & Americas', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => 'pvtz.vpc-proxy.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'regionName' => 'UK (London)', + 'areaId' => 'europeAmerica', + 'areaName' => 'Europe & Americas', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => 'pvtz.vpc-proxy.aliyuncs.com', + ], + [ + 'regionId' => 'me-east-1', + 'regionName' => 'UAE (Dubai)', + 'areaId' => 'middleEast', + 'areaName' => 'Middle East', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => '', + ], + [ + 'regionId' => 'ap-south-1', + 'regionName' => 'India (Mumbai) Closed', + 'areaId' => 'middleEast', + 'areaName' => 'Middle East', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => 'pvtz.vpc-proxy.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-finance-1', + 'regionName' => 'China South 1 Finance', + 'areaId' => 'industryCloud', + 'areaName' => 'Industry Cloud', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => 'pvtz.vpc-proxy.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'regionName' => 'China East 2 Finance', + 'areaId' => 'industryCloud', + 'areaName' => 'Industry Cloud', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => 'pvtz.vpc-proxy.aliyuncs.com', + ], + [ + 'regionId' => 'cn-north-2-gov-1', + 'regionName' => 'Beijing Government Cloud', + 'areaId' => 'industryCloud', + 'areaName' => 'Industry Cloud', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => 'pvtz.vpc-proxy.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-finance', + 'regionName' => 'China East 1 Finance', + 'areaId' => 'industryCloud', + 'areaName' => 'Industry Cloud', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => '', + ], + [ + 'regionId' => 'cn-beijing-finance-1', + 'regionName' => 'China North 2 Finance (Preview)', + 'areaId' => 'industryCloud', + 'areaName' => 'Industry Cloud', + 'public' => 'pvtz.aliyuncs.com', + 'endpoint' => 'pvtz.aliyuncs.com', + 'vpc' => 'pvtz.vpc-proxy.aliyuncs.com', + ], + ], + 'errorCodes' => [ + [ + 'code' => 'CacheReserveDomain.EffectiveScopeEmpty', + 'message' => 'Effective scope is empty.', + 'http_code' => 400, + 'description' => 'The cache keeps the domain name not associated with the effective range.', + ], + [ + 'code' => 'CacheReserveDomain.Vpc.Maximum', + 'message' => 'CacheReserveDomain bound vpc count exceed the maximum.', + 'http_code' => 400, + 'description' => 'CacheReserveDomain bound vpc count exceed the maximum.', + ], + [ + 'code' => 'CustomLine.InUsed', + 'message' => 'customLine is in used can not delete.%s', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'CustomLine.IpOverlap', + 'message' => 'customLine ip is overlap.%s', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'EdgeDns.CallEdgeDnsServerFailed', + 'message' => 'Call edge dns server failed.', + 'http_code' => 400, + 'description' => 'Failed to call the self-built DNS server.', + ], + [ + 'code' => 'Edgedns.Cluster.AppVersionExpired', + 'message' => 'Edge dns cluster app version is expired.', + 'http_code' => 400, + 'description' => 'The software version of the self-built DNS cluster has expired.', + ], + [ + 'code' => 'EdgeDns.Cluster.BindCountExceedLimit', + 'message' => 'The number of clusters bound to the resource exceeds the limit.', + 'http_code' => 400, + 'description' => 'The user-created DNS cluster associated with the resource exceeds the upper limit.', + ], + [ + 'code' => 'EdgeDns.Cluster.CacheReserveDomainDuplicate', + 'message' => 'Edge dns cluster is bind to same domain name.', + 'http_code' => 400, + 'description' => 'The user-created DNS cluster is associated with a cache domain name with the same name.', + ], + [ + 'code' => 'Edgedns.Cluster.ForbiddenRetryResourceActionJob', + 'message' => 'Access forbidden to retry resource action job.', + 'http_code' => 400, + 'description' => 'Already in progress', + ], + [ + 'code' => 'EdgeDns.Cluster.NoNodes', + 'message' => 'Cluster does not have nodes.', + 'http_code' => 400, + 'description' => 'There is no valid node in the self-built DNS cluster.', + ], + [ + 'code' => 'EdgeDns.Cluster.NotBelongToUser', + 'message' => 'Cluster does not belong to user.', + 'http_code' => 400, + 'description' => 'The user-created DNS cluster does not belong to the current user.', + ], + [ + 'code' => 'EdgeDns.Cluster.NotExists', + 'message' => 'Cluster does not exist.', + 'http_code' => 400, + 'description' => 'The self-built DNS cluster does not exist.', + ], + [ + 'code' => 'Edgedns.Cluster.NotSupportCurrentEnv', + 'message' => 'Edge dns cluster not support current env.', + 'http_code' => 400, + 'description' => 'The user-created DNS cluster environment attribute is invalid.', + ], + [ + 'code' => 'Edgedns.Cluster.NotSupportOperator', + 'message' => 'Edge dns cluster not support operator.', + 'http_code' => 400, + 'description' => 'Operating a self-built DNS O & M cluster is not supported', + ], + [ + 'code' => 'EdgeDns.Cluster.ResolveRuleDuplicate', + 'message' => 'Edge dns cluster is bind to same forward zone name.', + 'http_code' => 400, + 'description' => 'A forwarding rule with the same name is associated with the user-created DNS cluster.', + ], + [ + 'code' => 'EdgeDns.Cluster.ZoneDuplicate', + 'message' => 'Edge dns cluster is bind to same authority zone name.', + 'http_code' => 400, + 'description' => 'The user-created DNS cluster is associated with an authoritative zone with the same name.', + ], + [ + 'code' => 'EdgeDns.InvalidResourceType', + 'message' => 'The resource type is invalid.', + 'http_code' => 400, + 'description' => 'When the user-created DNS deletes a node, the queried resource type is invalid.', + ], + [ + 'code' => 'EdgeDns.InvalidUserId', + 'message' => 'The user id is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.InvalidId', + 'message' => 'The inboundEndpoint id is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.InvalidSecurityGroupId', + 'message' => 'The specified security group id is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.InvalidSpecVersion', + 'message' => 'The inboundEndpoint spec version is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.InvalidStatus', + 'message' => 'The inboundEndpoint status is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.InvalidUserId', + 'message' => 'The UserId parameter is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.InvalidVpcId', + 'message' => 'The specified vpc is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.Ipconfig.BelowMinimum', + 'message' => 'The number of source IP addresses that are specified for outbound traffic below minimum.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.Ipconfig.DuplicateIp', + 'message' => 'The specific ip has duplicated with exist one.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.Ipconfig.DuplicateIpWithForwardIp', + 'message' => 'The specific IP has duplicated with forward IP.', + 'http_code' => 400, + 'description' => 'The inbound endpoint service IP is duplicate with the forwarding rule destination IP associated with the outbound endpoint in the VPC', + ], + [ + 'code' => 'InboundEndpoint.Ipconfig.DuplicateIpWithResolverEndpointIp', + 'message' => 'The specific IP has duplicated with resolver endpoint IP.', + 'http_code' => 400, + 'description' => 'The inbound endpoint service IP is duplicate with the outbound endpoint service P in the same VPC', + ], + [ + 'code' => 'InboundEndpoint.Ipconfig.ExceedsLimit', + 'message' => 'The number of source IP addresses that are specified for outbound traffic exceeds the upper limit.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.Ipconfig.InvalidAzId', + 'message' => 'The specified az id is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.Ipconfig.InvalidCidrBlock', + 'message' => 'The specified cidrBlock is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.Ipconfig.InvalidIp', + 'message' => 'The specified IP address is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.Ipconfig.InvalidVSwitch', + 'message' => 'The specified vswitch is invalid.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.Name.Duplicate', + 'message' => 'The specified endpoint name is the same as an existing endpoint name.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.Name.ExceedsLength', + 'message' => 'The maximum length of an endpoint name is reached.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.NotExsits', + 'message' => 'The inboundEndpoint is not Exsit.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.Num.ExceedsLimit', + 'message' => 'The maximum number of endpoints is reached.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.OperationForbidden.Status', + 'message' => 'The specific status of endpoint is unsupported for operation.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.Region.Unsupported', + 'message' => 'The specific region is unsupported for resolver.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InboundEndpoint.SystemAssignUnsupportedOperation', + 'message' => 'The system assign inboundEndpoint unsupported operation.', + 'http_code' => 400, + 'description' => '', + ], + [ + 'code' => 'InternalError', + 'message' => 'The request processing has failed due to some unknown error, exception or failure.', + 'http_code' => 400, + 'description' => 'Internal Error', + ], + [ + 'code' => 'InvalidRegionId', + 'message' => 'Invalid region id.', + 'http_code' => 400, + 'description' => 'Invalid zone ID parameter', + ], + [ + 'code' => 'InvalidVpcId', + 'message' => 'Invalid vpc id.', + 'http_code' => 400, + 'description' => 'Invalid VPC ID.', + ], + [ + 'code' => 'InvalidVpcType', + 'message' => 'Invalid vpc type.', + 'http_code' => 400, + 'description' => 'Invalid VPC type', + ], + [ + 'code' => 'InvalidVpcUserId', + 'message' => 'Invalid vpc user id.', + 'http_code' => 400, + 'description' => 'Invalid VpcUserId parameter', + ], + [ + 'code' => 'PostBusiness.InvalidService', + 'message' => 'post business service not activated.', + 'http_code' => 400, + 'description' => 'Post-paid service not enabled', + ], + [ + 'code' => 'PostBusiness.InvalidServiceModule', + 'message' => 'post business service module not activated.', + 'http_code' => 400, + 'description' => 'The post-paid service module has not been activated.', + ], + [ + 'code' => 'ResolveAnalysis.Forbidden.AliyunInnerUid', + 'message' => 'Aliyun Inner account, operation prohibited.', + 'http_code' => 400, + 'description' => 'Alibaba Cloud internal accounts are prohibited from operating. Please contact the Alibaba Cloud DNS team.', + ], + [ + 'code' => 'ResolverEndpoint.Id.Invalid', + 'message' => 'The endpoint id invalid.', + 'http_code' => 400, + 'description' => 'Invalid endpoint ID', + ], + [ + 'code' => 'ResolverEndpoint.IpConfig.DuplicateIpWithInbound', + 'message' => 'The specific Ip has duplicated with inbound endpoint Ip.', + 'http_code' => 400, + 'description' => 'duplicate outbound endpoint ip and inbound endpoint ip', + ], + [ + 'code' => 'ResolverRule.BindEdgeDnsCluster', + 'message' => 'The forwarding rule is already bound to a edge dns cluster.', + 'http_code' => 400, + 'description' => 'The forwarding rule has been associated with the self-built cluster.', + ], + [ + 'code' => 'ResolverRule.Endpoint.RegionNotConsistent', + 'message' => 'The region of the endpoint of the forwarding rule is inconsistent with the region bound to the VPC.', + 'http_code' => 400, + 'description' => 'The region of the endpoint of the forwarding rule is inconsistent with the region bound to the VPC.', + ], + [ + 'code' => 'ResolverRule.ForwardIps.InboundForbidden', + 'message' => 'The specified destination IP address is forbidden for the inbound.', + 'http_code' => 400, + 'description' => 'Forwarding rule The IP address of the external DNS system is the same as the IP address of the inbound endpoint.', + ], + [ + 'code' => 'Resource.EffectiveScope.OperationTypeInvalid', + 'message' => 'Invalid operation type.', + 'http_code' => 400, + 'description' => 'Invalid operation type.', + ], + [ + 'code' => 'SlaveDns.BoundVPCandClusterForbidden', + 'message' => 'Zone that support secondary DNS cannot bind both VPC and cluster.', + 'http_code' => 400, + 'description' => 'ZONE with secondary DNS cannot bind a VPC and a self-built DNS cluster at the same time', + ], + [ + 'code' => 'SlaveDns.EdgeClusterAdded', + 'message' => 'Secondary DNS of cluster has already been added. Please delete it before the operation.', + 'http_code' => 400, + 'description' => 'ZONE has configured the secondary DNS function, please delete it and then bind the self-built DNS cluster.', + ], + [ + 'code' => 'SlaveDns.RegionVpcAdded', + 'message' => 'Secondary DNS of private zone has already been added. Please delete it before the operation.', + 'http_code' => 400, + 'description' => 'ZONE has configured the secondary DNS function, please delete it before binding the VPC', + ], + [ + 'code' => 'Sys.SpeedLimit.OutOfLimit', + 'message' => 'The accept speed is out of limit.', + 'http_code' => 400, + 'description' => 'Access frequency exceeds limit', + ], + [ + 'code' => 'Throttling.User', + 'message' => 'Request was denied due to user flow control.', + 'http_code' => 400, + 'description' => 'The request was rejected because the request frequency reached the threshold. Please try again later.', + ], + [ + 'code' => 'Zone.BindEdgeDnsCluster', + 'message' => 'Zone is already bound to a edge dns cluster.', + 'http_code' => 400, + 'description' => 'The authoritative zone has been bound to the cluster and cannot be operated.', + ], + [ + 'code' => 'Zone.BindEdgeDnsCluster.OnlySupportFastZone', + 'message' => 'Binding an Edge DNS cluster is only supported for Fast Zones.', + 'http_code' => 400, + 'description' => 'Only the fast zone authoritative zone supports associating self-built DNS clusters.', + ], + [ + 'code' => 'Zone.BindEdgeDnsCluster.RecordCountExceed', + 'message' => 'You cannot bind the cluster, because record count exceed the maximum.', + 'http_code' => 400, + 'description' => 'The number of parsing records under the authoritative zone exceeds the upper limit. Associating a self-built DNS cluster is prohibited.', + ], + [ + 'code' => 'Zone.DnsGroupChange.Forbidden', + 'message' => 'You cannot change dns group.', + 'http_code' => 400, + 'description' => 'Prohibit switching zone type.', + ], + [ + 'code' => 'Zone.DnsGroupChange.Forbidden4FastZone', + 'message' => 'You cannot change dns group, because can only use fast zone.', + 'http_code' => 400, + 'description' => 'You cannot change dns group, because can only use fast zone.', + ], + [ + 'code' => 'Zone.Invalid.Id', + 'message' => 'Zone id is invalid.', + 'http_code' => 400, + 'description' => 'Zone id is invalid.', + ], + [ + 'code' => 'ResolverRule.PriorityForwardConfig.StatusInvalid', + 'message' => 'The status of the priority forward configuration is invalid.', + 'http_code' => 400, + 'description' => 'The status parameter of the priority forwarding configuration is invalid.', + ], + [ + 'code' => 'ResolverRule.PriorityForwardConfig.CustomAddressInvalid', + 'message' => 'The custom address of the priority forward configuration is invalid.', + 'http_code' => 400, + 'description' => 'The custom HttpDNS address configured for priority forwarding is invalid.', + ], + [ + 'code' => 'ResolverRule.PriorityForwardConfig.ProtocolInvalid', + 'message' => 'The protocol of the priority forward configuration is invalid.', + 'http_code' => 400, + 'description' => 'The protocol parameters configured for priority forwarding are invalid.', + ], + [ + 'code' => 'ResolverRule.PriorityForwardConfig.PriorityInvalid', + 'message' => 'The priority of the priority forward configuration is invalid.', + 'http_code' => 400, + 'description' => 'The priority parameter of the priority forwarding configuration is invalid.', + ], + [ + 'code' => 'ResolverRule.PriorityForwardConfig.AtLeastOneAddressWhenEnable', + 'message' => 'The priority forward configuration must have at least one address.', + 'http_code' => 400, + 'description' => 'When configuring to enable priority forwarding of a forwarding rule, you need to configure at least one HttpDNS address.', + ], + [ + 'code' => 'ResolverRule.PriorityForwardConfig.ServiceAddressInvalid', + 'message' => 'The service address of the priority forward configuration is invalid.', + 'http_code' => 400, + 'description' => 'The DNS HttpDNS service address parameter configured for priority forwarding is invalid.', + ], + [ + 'code' => 'ResolveAnalysis.Forbidden.NotSupportCurrentEnv', + 'message' => 'Forbidden operation, not support current env.', + 'http_code' => 400, + 'description' => 'Environment level and configuration do not match', + ], + [ + 'code' => 'ResolveAnalysis.Invalid.LogProcessMode', + 'message' => 'Log process mode is invalid.', + 'http_code' => 400, + 'description' => 'Invalid log processing mode parameter', + ], + [ + 'code' => 'ResolveAnalysis.LogDeliveryRegionMustContainAllAnalysisRegion', + 'message' => 'Log delivery region must contain all analysis region.', + 'http_code' => 400, + 'description' => 'The log transfer region must contain all the traffic analysis regions.', + ], + [ + 'code' => 'ResolveAnalysis.Forbidden.UpdateLogDeliveryConfig', + 'message' => 'Forbidden to update log delivery config.', + 'http_code' => 400, + 'description' => 'During the traffic analysis configuration change, please wait for the end of the asynchronous task before operating.', + ], + [ + 'code' => 'ResolveAnalysis.Duplicate.RegionId', + 'message' => 'Resolve analysis regionId is duplicate.', + 'http_code' => 400, + 'description' => 'Resolve analysis log transfer region ID is duplicate', + ], + [ + 'code' => 'Slslog.RemoteService.Error', + 'message' => 'SLS remote service error occurred.', + 'http_code' => 400, + 'description' => 'Failed to call SLS service, please try again', + ], + [ + 'code' => 'Edgedns.Cluster.FunctionModuleNotSupport', + 'message' => 'Edge dns cluster function module not support.', + 'http_code' => 400, + 'description' => 'The current cluster does not support this function. Upgrade the cluster version.', + ], + [ + 'code' => 'ResolveLog.NotSupportMultiNetworkParam', + 'message' => 'parsing log query does not support multiple network parameters.', + 'http_code' => 400, + 'description' => 'parsing log query does not support multiple network parameters', + ], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeZoneInfo', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ListTagResources', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeResolverRule', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UntagResources', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddZone', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'BindZoneVpc', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'MoveResourceGroup', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteResolverEndpoint', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateRecordRemark', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteZone', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeCustomLineInfo', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddResolverEndpoint', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SetZoneRecordStatus', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeZones', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateSyncEcsHostTask', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateResolverEndpoint', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeTags', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeUserVpcAuthorizations', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateZoneRemark', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeRequestGraph', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeResolverRules', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeUserServiceStatus', + ], + [ + 'threshold' => '10', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateCustomLine', + ], + [ + 'threshold' => '100', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeZoneRecords', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeResolverAvailableZones', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddZoneRecord', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'BindResolverRuleVpc', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteZoneRecord', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddUserVpcAuthorization', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'CheckZoneName', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeSyncEcsHostTask', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateZoneRecord', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeZoneRecord', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteResolverRule', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeChangeLogs', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeRegions', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteUserVpcAuthorization', + ], + [ + 'threshold' => '10', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddCustomLine', + ], + [ + 'threshold' => '10', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DeleteCustomLine', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeResolverEndpoints', + ], + [ + 'threshold' => '10', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SearchCustomLines', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeStatisticSummary', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'UpdateResolverRule', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'SetProxyPattern', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeZoneVpcTree', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'AddResolverRule', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeResolverEndpoint', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'TagResources', + ], + [ + 'threshold' => '20', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'DescribeCustomLines', + ], + [ + 'threshold' => '5', + 'countWindow' => 1, + 'regionId' => '*', + 'api' => 'ChangeZoneDnsGroup', + ], + ], + ], + 'ram' => [ + 'productCode' => 'PrivateZone', + 'productName' => 'Alibaba Cloud DNS PrivateZone', + 'ramCodes' => [ + 'pvtz', + ], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'SearchCustomLines', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:read', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'UntagResources', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:UntagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteCustomLine', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:update', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'customLine', + 'arn' => 'acs:pvtz::{#accountId}:customLine/{#lineId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeResolverEndpoint', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeResolverEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz::{#accountId}:endpoint/{#EndpointId}', + ], + ], + ], + ], + [ + 'apiName' => 'MoveResourceGroup', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:MoveResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeResolverAvailableZones', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'pvtz:DescribeResolverAvailableZones', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateResolverRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:UpdateResolverRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz:*:{#accountId}:rule/{#RuleId}', + ], + ], + ], + ], + [ + 'apiName' => 'ChangeZoneDnsGroup', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:ChangeZoneDnsGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateZoneRemark', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:UpdateZoneRemark', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteZoneRecord', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pvtz:DeleteZoneRecord', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateCustomLine', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:update', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'customLine', + 'arn' => 'acs:pvtz::{#accountId}:customLine/{#lineId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeZoneRecord', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeZoneRecord', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeCustomLines', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'pvtz:read', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'CustomLine', + 'arn' => 'acs:pvtz::{#accountId}:customLine/*', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeUserVpcAuthorizations', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeUserVpcAuthorizations', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddZoneRecord', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pvtz:AddZoneRecord', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateRecordRemark', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:UpdateRecordRemark', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'AddResolverEndpoint', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pvtz:AddResolverEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz:*:{#accountId}:endpoint/*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteResolverRule', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:DeleteResolverRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz:*:{#accountId}:rule/{#RuleId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeZones', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'pvtz:DescribeZones', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateZoneRecord', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:UpdateZoneRecord', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeStatisticSummary', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeStatisticSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeUserServiceStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeUserServiceStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeCustomLineInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:read', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'customLine', + 'arn' => 'acs:pvtz::{#accountId}:customLine/{#lineId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeChangeLogs', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeChangeLogs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'SetZoneRecordStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:SetZoneRecordStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeSyncEcsHostTask', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeSyncEcsHostTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateSyncEcsHostTask', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'pvtz:UpdateSyncEcsHostTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeZoneRecords', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeZoneRecords', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeRequestGraph', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeRequestGraph', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddCustomLine', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:update', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddResolverRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pvtz:AddResolverRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz:*:{#accountId}:endpoint/{#EndpointId}', + ], + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz:*:{#accountId}:rule/*', + ], + ], + ], + ], + [ + 'apiName' => 'UpdateResolverEndpoint', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:UpdateResolverEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz:*:{#accountId}:endpoint/{#EndpointId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeResolverEndpoints', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'pvtz:DescribeResolverEndpoints', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz::{#accountId}:endpoint/*', + ], + ], + ], + ], + [ + 'apiName' => 'BindResolverRuleVpc', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:BindResolverRuleVpc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz::{#accountId}:rule/{#RuleId}', + ], + ], + ], + ], + [ + 'apiName' => 'AddUserVpcAuthorization', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'pvtz:AddUserVpcAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeTags', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeTags', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeResolverRules', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'pvtz:DescribeResolverRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz::{#accountId}:rule/*', + ], + ], + ], + ], + [ + 'apiName' => 'SetProxyPattern', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'pvtz:SetProxyPattern', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'ListTagResources', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:ListTagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteUserVpcAuthorization', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pvtz:DeleteUserVpcAuthorization', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeZoneVpcTree', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:DescribeZoneVpcTree', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/*', + ], + ], + ], + ], + [ + 'apiName' => 'TagResources', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:TagResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'AddZone', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'pvtz:AddZone', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/*', + ], + ], + ], + ], + [ + 'apiName' => 'BindZoneVpc', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'pvtz:BindZoneVpc', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteZone', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'pvtz:DeleteZone', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeResolverRule', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeResolverRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz::{#accountId}:rule/{#RuleId}', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeZoneInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeZoneInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + ], + ], + ], + [ + 'apiName' => 'DeleteResolverEndpoint', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:DeleteResolverEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz:*:{#accountId}:endpoint/{#EndpointId}', + ], + ], + ], + ], + [ + 'apiName' => 'CheckZoneName', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'pvtz:CheckZoneName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + [ + 'apiName' => 'DescribeRegions', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'pvtz:DescribeRegions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + [ + 'validationType' => 'always', + 'product' => 'PrivateZone', + 'resourceType' => 'All Resource', + 'arn' => '*', + ], + ], + ], + ], + ], + 'resourceTypes' => [ + [ + 'validationType' => 'always', + 'resourceType' => 'customLine', + 'arn' => 'acs:pvtz::{#accountId}:customLine/*', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'customLine', + 'arn' => 'acs:pvtz::{#accountId}:customLine/{#lineId}', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz::{#accountId}:endpoint/{#EndpointId}', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#ZoneId}', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz::{#accountId}:endpoint/*', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz:*:{#accountId}:rule/{#RuleId}', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'CustomLine', + 'arn' => 'acs:pvtz::{#accountId}:customLine/*', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz:*:{#accountId}:endpoint/*', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'Zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/*', + ], + [ + 'validationType' => 'conditional', + 'resourceType' => 'zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/*', + ], + [ + 'validationType' => 'conditional', + 'resourceType' => 'zone', + 'arn' => 'acs:pvtz::{#accountId}:zone/{#zoneId}', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'Endpoint', + 'arn' => 'acs:pvtz:*:{#accountId}:endpoint/{#EndpointId}', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz:*:{#accountId}:rule/*', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz::{#accountId}:rule/{#RuleId}', + ], + [ + 'validationType' => 'always', + 'resourceType' => 'Rule', + 'arn' => 'acs:pvtz::{#accountId}:rule/*', + ], + ], + ], +]; |
