summaryrefslogtreecommitdiff
path: root/data/zh_cn/alidns/2015-01-09
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/alidns/2015-01-09')
-rw-r--r--data/zh_cn/alidns/2015-01-09/api-docs.php53520
1 files changed, 22653 insertions, 30867 deletions
diff --git a/data/zh_cn/alidns/2015-01-09/api-docs.php b/data/zh_cn/alidns/2015-01-09/api-docs.php
index 211be34..cb16e98 100644
--- a/data/zh_cn/alidns/2015-01-09/api-docs.php
+++ b/data/zh_cn/alidns/2015-01-09/api-docs.php
@@ -1,48 +1,28 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Alidns',
- 'version' => '2015-01-09',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Alidns', 'version' => '2015-01-09'],
'directories' => [
[
- 'id' => 404240,
- 'title' => 'RSP',
+ 'children' => ['UpdateRspDomainServerProhibitStatusForGatewayOte', 'RemoveRspDomainServerHoldStatusForGatewayOte', 'AddRspDomainServerHoldStatusForGatewayOte', 'UpdateRspDomainServerProhibitStatusForGateway', 'RemoveRspDomainServerHoldStatusForGateway', 'AddRspDomainServerHoldStatusForGateway'],
'type' => 'directory',
- 'children' => [
- 'UpdateRspDomainServerProhibitStatusForGatewayOte',
- 'RemoveRspDomainServerHoldStatusForGatewayOte',
- 'AddRspDomainServerHoldStatusForGatewayOte',
- 'UpdateRspDomainServerProhibitStatusForGateway',
- 'RemoveRspDomainServerHoldStatusForGateway',
- 'AddRspDomainServerHoldStatusForGateway',
- ],
+ 'title' => 'RSP',
+ 'id' => 400879,
],
[
- 'id' => 404247,
- 'title' => '云解析实例',
+ 'children' => ['DescribeDnsProductInstance', 'DescribeDnsProductInstances', 'DescribeInstanceDomains'],
'type' => 'directory',
- 'children' => [
- 'DescribeDnsProductInstance',
- 'DescribeDnsProductInstances',
- 'DescribeInstanceDomains',
- ],
+ 'title' => '云解析实例',
+ 'id' => 139255,
],
[
- 'id' => 404251,
- 'title' => '域名',
- 'type' => 'directory',
'children' => [
'AddDomain',
- 'DeleteDomain',
'DescribeDomains',
'DescribeDomainInfo',
'AddDomainBackup',
'ChangeDomainOfDnsProduct',
'ModifyHichinaDomainDNS',
'UpdateDomainRemark',
- 'GetMainDomainName',
'DescribeDomainNs',
'SetDomainDnssecStatus',
'DescribeDomainDnssecInfo',
@@ -50,16 +30,10 @@
'UnbindInstanceDomains',
'OperateBatchDomain',
[
- 'id' => 404267,
- 'title' => '域名分组',
+ 'children' => ['AddDomainGroup', 'DescribeDomainGroups', 'DeleteDomainGroup', 'UpdateDomainGroup', 'ChangeDomainGroup'],
'type' => 'directory',
- 'children' => [
- 'AddDomainGroup',
- 'DescribeDomainGroups',
- 'DeleteDomainGroup',
- 'UpdateDomainGroup',
- 'ChangeDomainGroup',
- ],
+ 'title' => '域名分组',
+ 'id' => 139303,
],
'TransferDomain',
'RetrieveDomain',
@@ -71,156 +45,71 @@
'DescribeDNSSLBSubDomains',
'DescribeDomainLogs',
],
+ 'type' => 'directory',
+ 'title' => '域名',
+ 'id' => 139278,
],
[
- 'id' => 404282,
- 'title' => '解析记录',
+ 'children' => ['AddDomainRecord', 'DeleteDomainRecord', 'DeleteSubDomainRecords', 'UpdateDomainRecord', 'UpdateDomainRecordRemark', 'SetDomainRecordStatus', 'DescribeDomainRecordInfo', 'DescribeDomainRecords', 'DescribeRecordLogs', 'DescribeSubDomainRecords', 'GetTxtRecordForVerify'],
'type' => 'directory',
- 'children' => [
- 'AddDomainRecord',
- 'DeleteDomainRecord',
- 'DeleteSubDomainRecords',
- 'UpdateDomainRecord',
- 'UpdateDomainRecordRemark',
- 'SetDomainRecordStatus',
- 'DescribeDomainRecordInfo',
- 'DescribeDomainRecords',
- 'DescribeRecordLogs',
- 'DescribeSubDomainRecords',
- 'GetTxtRecordForVerify',
- ],
+ 'title' => '解析记录',
+ 'id' => 139231,
],
[
- 'id' => 404294,
- 'title' => '自定义线路',
+ 'children' => ['AddCustomLine', 'DeleteCustomLines', 'UpdateCustomLine', 'DescribeCustomLine', 'DescribeCustomLines', 'DescribeSupportLines'],
'type' => 'directory',
- 'children' => [
- 'AddCustomLine',
- 'DeleteCustomLines',
- 'UpdateCustomLine',
- 'DescribeCustomLine',
- 'DescribeCustomLines',
- 'DescribeSupportLines',
- ],
+ 'title' => '自定义线路',
+ 'id' => 139224,
],
[
- 'id' => 404301,
- 'title' => '权重',
+ 'children' => ['SetDNSSLBStatus', 'UpdateDNSSLBWeight'],
'type' => 'directory',
- 'children' => [
- 'SetDNSSLBStatus',
- 'UpdateDNSSLBWeight',
- ],
+ 'title' => '权重',
+ 'id' => 139243,
],
[
- 'id' => 404304,
- 'title' => '批量处理',
+ 'children' => ['DescribeBatchResultCount', 'DescribeBatchResultDetail'],
'type' => 'directory',
- 'children' => [
- 'DescribeBatchResultCount',
- 'DescribeBatchResultDetail',
- ],
+ 'title' => '批量处理',
+ 'id' => 139246,
],
[
- 'id' => 404307,
- 'title' => '标签与资源组',
+ 'children' => ['MoveDomainResourceGroup'],
'type' => 'directory',
- 'children' => [
- 'DescribeTags',
- 'ListTagResources',
- 'TagResources',
- 'UntagResources',
- 'MoveDomainResourceGroup',
- ],
+ 'title' => '标签与资源组',
+ 'id' => 139272,
],
[
- 'id' => 404313,
- 'title' => '权威代理域名',
+ 'children' => ['AddDnsCacheDomain', 'UpdateDnsCacheDomain', 'UpdateDnsCacheDomainRemark', 'DeleteDnsCacheDomain', 'DescribeDnsCacheDomains'],
'type' => 'directory',
- 'children' => [
- 'AddDnsCacheDomain',
- 'UpdateDnsCacheDomain',
- 'UpdateDnsCacheDomainRemark',
- 'DeleteDnsCacheDomain',
- 'DescribeDnsCacheDomains',
- ],
+ 'title' => '权威代理域名',
+ 'id' => 139249,
],
[
- 'id' => 404319,
- 'title' => 'GTM3.0',
- 'type' => 'directory',
'children' => [
[
- 'id' => 404320,
+ 'children' => ['CreateCloudGtmInstanceConfig', 'UpdateCloudGtmInstanceName', 'SetCloudGtmInstanceConfigLogSwitch', 'DescribeCloudGtmInstanceConfigFullInfo', 'ListCloudGtmInstanceConfigs', 'DeleteCloudGtmInstanceConfig', 'UpdateCloudGtmInstanceConfigBasic', 'UpdateCloudGtmInstanceConfigLbStrategy', 'UpdateCloudGtmInstanceConfigEnableStatus', 'UpdateCloudGtmInstanceConfigRemark', 'ListCloudGtmInstances', 'SearchCloudGtmInstances', 'SearchCloudGtmInstanceConfigs', 'DescribeCloudGtmSummary'],
+ 'type' => 'directory',
'title' => 'GTM Instances',
+ 'id' => 139374,
+ ],
+ [
+ 'children' => ['CreateCloudGtmAddress', 'UpdateCloudGtmAddress', 'DescribeCloudGtmAddress', 'DeleteCloudGtmAddress', 'UpdateCloudGtmAddressRemark', 'ListCloudGtmAddresses', 'SearchCloudGtmAddresses', 'DescribeCloudGtmAddressReference', 'UpdateCloudGtmAddressEnableStatus', 'UpdateCloudGtmAddressManualAvailableStatus'],
'type' => 'directory',
- 'children' => [
- 'CreateCloudGtmInstanceConfig',
- 'UpdateCloudGtmInstanceName',
- 'SetCloudGtmInstanceConfigLogSwitch',
- 'DescribeCloudGtmInstanceConfigFullInfo',
- 'ListCloudGtmInstanceConfigs',
- 'DeleteCloudGtmInstanceConfig',
- 'UpdateCloudGtmInstanceConfigBasic',
- 'UpdateCloudGtmInstanceConfigLbStrategy',
- 'UpdateCloudGtmInstanceConfigEnableStatus',
- 'UpdateCloudGtmInstanceConfigRemark',
- 'ListCloudGtmInstances',
- 'SearchCloudGtmInstances',
- 'SearchCloudGtmInstanceConfigs',
- 'DescribeCloudGtmSummary',
- ],
- ],
- [
- 'id' => 404335,
'title' => 'GTM Address',
- 'type' => 'directory',
- 'children' => [
- 'CreateCloudGtmAddress',
- 'UpdateCloudGtmAddress',
- 'DescribeCloudGtmAddress',
- 'DeleteCloudGtmAddress',
- 'UpdateCloudGtmAddressRemark',
- 'ListCloudGtmAddresses',
- 'SearchCloudGtmAddresses',
- 'DescribeCloudGtmAddressReference',
- 'UpdateCloudGtmAddressEnableStatus',
- 'UpdateCloudGtmAddressManualAvailableStatus',
- ],
+ 'id' => 139341,
],
[
- 'id' => 404346,
+ 'children' => ['CreateCloudGtmAddressPool', 'ListCloudGtmAddressPools', 'DescribeCloudGtmAddressPool', 'DeleteCloudGtmAddressPool', 'SearchCloudGtmAddressPools', 'ReplaceCloudGtmInstanceConfigAddressPool', 'UpdateCloudGtmAddressPoolEnableStatus', 'UpdateCloudGtmAddressPoolRemark', 'UpdateCloudGtmAddressPoolLbStrategy', 'UpdateCloudGtmAddressPoolBasicConfig', 'ReplaceCloudGtmAddressPoolAddress', 'DescribeCloudGtmAddressPoolReference'],
+ 'type' => 'directory',
'title' => 'GTM AddressPool',
+ 'id' => 139352,
+ ],
+ [
+ 'children' => ['SearchCloudGtmMonitorTemplates', 'CreateCloudGtmMonitorTemplate', 'DeleteCloudGtmMonitorTemplate', 'UpdateCloudGtmMonitorTemplate', 'ListCloudGtmMonitorTemplates', 'DescribeCloudGtmMonitorTemplate', 'UpdateCloudGtmMonitorTemplateRemark', 'ListCloudGtmMonitorNodes'],
'type' => 'directory',
- 'children' => [
- 'CreateCloudGtmAddressPool',
- 'ListCloudGtmAddressPools',
- 'DescribeCloudGtmAddressPool',
- 'DeleteCloudGtmAddressPool',
- 'SearchCloudGtmAddressPools',
- 'ReplaceCloudGtmInstanceConfigAddressPool',
- 'UpdateCloudGtmAddressPoolEnableStatus',
- 'UpdateCloudGtmAddressPoolRemark',
- 'UpdateCloudGtmAddressPoolLbStrategy',
- 'UpdateCloudGtmAddressPoolBasicConfig',
- 'ReplaceCloudGtmAddressPoolAddress',
- 'DescribeCloudGtmAddressPoolReference',
- ],
- ],
- [
- 'id' => 404359,
'title' => 'GTM Monitor',
- 'type' => 'directory',
- 'children' => [
- 'SearchCloudGtmMonitorTemplates',
- 'CreateCloudGtmMonitorTemplate',
- 'DeleteCloudGtmMonitorTemplate',
- 'UpdateCloudGtmMonitorTemplate',
- 'ListCloudGtmMonitorTemplates',
- 'DescribeCloudGtmMonitorTemplate',
- 'UpdateCloudGtmMonitorTemplateRemark',
- 'ListCloudGtmMonitorNodes',
- ],
+ 'id' => 139365,
],
'DescribeCloudGtmSystemLines',
'ListCloudGtmAlertLogs',
@@ -230,207 +119,84 @@
'UpdateCloudGtmInstanceConfigAlert',
'ListCloudGtmAvailableAlertGroups',
],
+ 'type' => 'directory',
+ 'title' => 'GTM3.0',
+ 'id' => 139333,
],
[
- 'id' => 404375,
- 'title' => 'GTM',
- 'type' => 'directory',
'children' => [
[
- 'id' => 404376,
+ 'children' => ['SetGtmAccessMode', 'UpdateDnsGtmInstanceGlobalConfig', 'UpdateGtmInstanceGlobalConfig', 'UpdateDnsGtmAccessStrategy', 'DescribeDnsGtmAddrAttributeInfo', 'DescribeDnsGtmAvailableAlertGroup', 'DescribeDnsGtmInstance', 'DescribeGtmInstance', 'DescribeDnsGtmInstances', 'DescribeGtmInstances', 'DescribeDnsGtmInstanceStatus', 'DescribeGtmInstanceStatus', 'DescribeDnsGtmLogs', 'DescribeGtmAvailableAlertGroup', 'DescribeGtmLogs', 'DescribeGtmInstanceSystemCname', 'DescribeDnsGtmInstanceSystemCname', 'CopyGtmConfig', 'MoveGtmResourceGroup', 'ValidateDnsGtmCnameRrCanUse'],
+ 'type' => 'directory',
'title' => 'GTM 实例',
+ 'id' => 139426,
+ ],
+ [
+ 'children' => ['AddGtmAddressPool', 'AddDnsGtmAddressPool', 'DeleteDnsGtmAddressPool', 'DeleteGtmAddressPool', 'UpdateDnsGtmAddressPool', 'UpdateGtmAddressPool', 'DescribeDnsGtmInstanceAddressPool', 'DescribeDnsGtmInstanceAddressPools', 'DescribeDnsGtmAddressPoolAvailableConfig', 'DescribeGtmInstanceAddressPool', 'DescribeGtmInstanceAddressPools'],
'type' => 'directory',
- 'children' => [
- 'SetGtmAccessMode',
- 'UpdateDnsGtmInstanceGlobalConfig',
- 'UpdateGtmInstanceGlobalConfig',
- 'UpdateDnsGtmAccessStrategy',
- 'DescribeDnsGtmAddrAttributeInfo',
- 'DescribeDnsGtmAvailableAlertGroup',
- 'DescribeDnsGtmInstance',
- 'DescribeGtmInstance',
- 'DescribeDnsGtmInstances',
- 'DescribeGtmInstances',
- 'DescribeDnsGtmInstanceStatus',
- 'DescribeGtmInstanceStatus',
- 'DescribeDnsGtmLogs',
- 'DescribeGtmAvailableAlertGroup',
- 'DescribeGtmLogs',
- 'DescribeGtmInstanceSystemCname',
- 'DescribeDnsGtmInstanceSystemCname',
- 'CopyGtmConfig',
- 'MoveGtmResourceGroup',
- 'ValidateDnsGtmCnameRrCanUse',
- ],
- ],
- [
- 'id' => 404397,
'title' => '地址池',
+ 'id' => 139414,
+ ],
+ [
+ 'children' => ['AddDnsGtmMonitor', 'AddGtmMonitor', 'UpdateDnsGtmMonitor', 'UpdateGtmMonitor', 'SetDnsGtmMonitorStatus', 'SetGtmMonitorStatus', 'DescribeGtmMonitorAvailableConfig', 'DescribeGtmMonitorConfig', 'DescribeDnsGtmMonitorAvailableConfig', 'DescribeDnsGtmMonitorConfig'],
'type' => 'directory',
- 'children' => [
- 'AddGtmAddressPool',
- 'AddDnsGtmAddressPool',
- 'DeleteDnsGtmAddressPool',
- 'DeleteGtmAddressPool',
- 'UpdateDnsGtmAddressPool',
- 'UpdateGtmAddressPool',
- 'DescribeDnsGtmInstanceAddressPool',
- 'DescribeDnsGtmInstanceAddressPools',
- 'DescribeDnsGtmAddressPoolAvailableConfig',
- 'DescribeGtmInstanceAddressPool',
- 'DescribeGtmInstanceAddressPools',
- ],
- ],
- [
- 'id' => 404409,
'title' => '健康检查',
- 'type' => 'directory',
- 'children' => [
- 'AddDnsGtmMonitor',
- 'AddGtmMonitor',
- 'UpdateDnsGtmMonitor',
- 'UpdateGtmMonitor',
- 'SetDnsGtmMonitorStatus',
- 'SetGtmMonitorStatus',
- 'DescribeGtmMonitorAvailableConfig',
- 'DescribeGtmMonitorConfig',
- 'DescribeDnsGtmMonitorAvailableConfig',
- 'DescribeDnsGtmMonitorConfig',
- ],
+ 'id' => 139389,
],
[
- 'id' => 404420,
+ 'children' => ['AddDnsGtmAccessStrategy', 'AddGtmAccessStrategy', 'DeleteDnsGtmAccessStrategy', 'DeleteGtmAccessStrategy', 'UpdateGtmAccessStrategy', 'SetDnsGtmAccessMode', 'DescribeDnsGtmAccessStrategies', 'DescribeDnsGtmAccessStrategy', 'DescribeDnsGtmAccessStrategyAvailableConfig', 'DescribeGtmAccessStrategies', 'DescribeGtmAccessStrategy', 'DescribeGtmAccessStrategyAvailableConfig', 'SwitchDnsGtmInstanceStrategyMode'],
+ 'type' => 'directory',
'title' => '访问策略',
+ 'id' => 139400,
+ ],
+ [
+ 'children' => ['AddGtmRecoveryPlan', 'DeleteGtmRecoveryPlan', 'UpdateGtmRecoveryPlan', 'DescribeGtmRecoveryPlan', 'DescribeGtmRecoveryPlanAvailableConfig', 'DescribeGtmRecoveryPlans', 'ExecuteGtmRecoveryPlan', 'PreviewGtmRecoveryPlan', 'RollbackGtmRecoveryPlan'],
'type' => 'directory',
- 'children' => [
- 'AddDnsGtmAccessStrategy',
- 'AddGtmAccessStrategy',
- 'DeleteDnsGtmAccessStrategy',
- 'DeleteGtmAccessStrategy',
- 'UpdateGtmAccessStrategy',
- 'SetDnsGtmAccessMode',
- 'DescribeDnsGtmAccessStrategies',
- 'DescribeDnsGtmAccessStrategy',
- 'DescribeDnsGtmAccessStrategyAvailableConfig',
- 'DescribeGtmAccessStrategies',
- 'DescribeGtmAccessStrategy',
- 'DescribeGtmAccessStrategyAvailableConfig',
- 'SwitchDnsGtmInstanceStrategyMode',
- ],
- ],
- [
- 'id' => 404434,
'title' => '容灾',
- 'type' => 'directory',
- 'children' => [
- 'AddGtmRecoveryPlan',
- 'DeleteGtmRecoveryPlan',
- 'UpdateGtmRecoveryPlan',
- 'DescribeGtmRecoveryPlan',
- 'DescribeGtmRecoveryPlanAvailableConfig',
- 'DescribeGtmRecoveryPlans',
- 'ExecuteGtmRecoveryPlan',
- 'PreviewGtmRecoveryPlan',
- 'RollbackGtmRecoveryPlan',
- ],
+ 'id' => 139447,
],
],
+ 'type' => 'directory',
+ 'title' => 'GTM',
+ 'id' => 139388,
],
[
- 'id' => 404444,
- 'title' => 'HTTPDNS',
+ 'children' => ['AddRecursionZone', 'DescribeRecursionZone', 'ListRecursionZones', 'DeleteRecursionZone', 'SearchRecursionZones', 'UpdateRecursionZoneEffectiveScope', 'UpdateRecursionZoneRemark', 'UpdateRecursionZoneProxyPattern', 'AddRecursionRecord', 'DescribeRecursionRecord', 'UpdateRecursionRecord', 'ListRecursionRecords', 'DeleteRecursionRecord', 'SearchRecursionRecords', 'UpdateRecursionRecordEnableStatus', 'UpdateRecursionRecordWeight', 'UpdateRecursionRecordWeightEnableStatus', 'UpdateRecursionRecordRemark'],
'type' => 'directory',
- 'children' => [
- 'AddRecursionZone',
- 'DescribeRecursionZone',
- 'ListRecursionZones',
- 'DeleteRecursionZone',
- 'SearchRecursionZones',
- 'UpdateRecursionZoneEffectiveScope',
- 'UpdateRecursionZoneRemark',
- 'UpdateRecursionZoneProxyPattern',
- 'AddRecursionRecord',
- 'DescribeRecursionRecord',
- 'UpdateRecursionRecord',
- 'ListRecursionRecords',
- 'DeleteRecursionRecord',
- 'SearchRecursionRecords',
- 'UpdateRecursionRecordEnableStatus',
- 'UpdateRecursionRecordWeight',
- 'UpdateRecursionRecordWeightEnableStatus',
- 'UpdateRecursionRecordRemark',
- ],
+ 'title' => 'HTTPDNS',
+ 'id' => 307383,
],
[
- 'id' => 404463,
- 'title' => 'DoH 域名',
+ 'children' => ['DescribeDohAccountStatistics', 'DescribeDohDomainStatistics', 'DescribeDohDomainStatisticsSummary', 'DescribeDohSubDomainStatistics', 'DescribeDohSubDomainStatisticsSummary', 'DescribeDohUserInfo'],
'type' => 'directory',
- 'children' => [
- 'DescribeDohAccountStatistics',
- 'DescribeDohDomainStatistics',
- 'DescribeDohDomainStatisticsSummary',
- 'DescribeDohSubDomainStatistics',
- 'DescribeDohSubDomainStatisticsSummary',
- 'DescribeDohUserInfo',
- ],
+ 'title' => 'DoH 域名',
+ 'id' => 139265,
],
[
- 'id' => 404470,
- 'title' => 'PdnsAppKey',
+ 'children' => ['CreatePdnsAppKey', 'RemovePdnsAppKey', 'DescribePdnsAppKey', 'DescribePdnsAppKeys', 'UpdateAppKeyState'],
'type' => 'directory',
- 'children' => [
- 'CreatePdnsAppKey',
- 'RemovePdnsAppKey',
- 'DescribePdnsAppKey',
- 'DescribePdnsAppKeys',
- 'UpdateAppKeyState',
- ],
+ 'title' => 'PdnsAppKey',
+ 'id' => 139259,
],
[
- 'id' => 404476,
- 'title' => '其他',
- 'type' => 'directory',
'children' => [
- 'CreatePdnsUdpIpSegment',
- 'ValidatePdnsUdpIpSegment',
- 'DescribePdnsUdpIpSegments',
- 'RemovePdnsUdpIpSegment',
- 'DescribePdnsThreatStatistics',
- 'DescribePdnsUserInfo',
- 'DescribePdnsRequestStatistic',
- 'DescribePdnsThreatLogs',
- 'DescribePdnsRequestStatistics',
- 'DescribePdnsOperateLogs',
- 'ResumePdnsService',
- 'DescribePdnsAccountSummary',
- 'PausePdnsService',
- 'DescribePdnsThreatStatistic',
- 'UpdateIspFlushCacheInstanceConfig',
- 'SubmitIspFlushCacheTask',
- 'DescribeIspFlushCacheRemainQuota',
- 'DescribeIspFlushCacheInstances',
- 'DescribeIspFlushCacheTask',
- 'DescribeIspFlushCacheTasks',
- 'DescribeRecordResolveStatisticsSummary',
- 'DescribeDomainResolveStatisticsSummary',
- 'DescribeInternetDnsLogs',
+ 'CreatePdnsUdpIpSegment', 'ValidatePdnsUdpIpSegment', 'DescribePdnsUdpIpSegments', 'RemovePdnsUdpIpSegment', 'DescribePdnsThreatStatistics', 'DescribePdnsUserInfo', 'DescribePdnsRequestStatistic', 'DescribePdnsThreatLogs', 'DescribePdnsRequestStatistics', 'DescribePdnsOperateLogs', 'ResumePdnsService', 'DescribePdnsAccountSummary', 'PausePdnsService', 'DescribePdnsThreatStatistic', 'UpdateIspFlushCacheInstanceConfig', 'SubmitIspFlushCacheTask', 'DescribeIspFlushCacheRemainQuota', 'DescribeIspFlushCacheInstances', 'DescribeIspFlushCacheTask', 'DescribeIspFlushCacheTasks',
+ 'DescribeRecordResolveStatisticsSummary', 'DescribeDomainResolveStatisticsSummary', 'DescribeInternetDnsLogs', 'DeleteDomain', 'DescribeInterAuthStatisticsGlobalOverview', 'DescribeInterAuthStatisticsHistory', 'DescribeInterAuthStatisticsSummary', 'DescribeInterAuthStatisticsZoneOverview', 'DescribeTags', 'GetMainDomainName', 'ListTagResources', 'TagResources', 'UntagResources',
],
+ 'type' => 'directory',
+ 'title' => '其他',
+ 'id' => 139309,
],
+ 'UpdateRspDomainStatusOte',
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'UpdateRspDomainServerProhibitStatusForGatewayOte' => [
- 'summary' => '用于更新特定域名的状态信息。',
- 'description' => '本接口用于更新域名的服务端状态',
- 'path' => '',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'AddCustomLine' => [
+ 'summary' => '给域名添加自定义线路。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -439,542 +205,213 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns3O7H9R'],
],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '幂等参数',
- 'description' => '幂等参数',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'qwoefasdf',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'AddStatusList',
+ 'name' => 'LineName',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '添加域名状态集合',
- 'type' => 'array',
- 'items' => [
- 'description' => '添加域名状态集合',
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '域名状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'serverDeleteProhibited',
- 'enum' => [
- 'serverDeleteProhibited',
- 'serverRenewProhibited',
- 'serverTransferProhibited',
- 'serverUpdateProhibited',
- ],
- ],
- 'StatusMsg' => [
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '实名认证未通过,增加serverUpdateProhibited状态',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => '自定义线路名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '北京线路'],
],
[
- 'name' => 'DeleteStatusList',
+ 'name' => 'IpSegment',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '删除域名状态集合',
+ 'description' => 'IP段列表。',
'type' => 'array',
'items' => [
- 'description' => '删除域名状态集合',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '域名状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'serverDeleteProhibited',
- 'enum' => [
- 'serverDeleteProhibited',
- 'serverRenewProhibited',
- 'serverTransferProhibited',
- 'serverUpdateProhibited',
- ],
- ],
- 'StatusMsg' => [
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '实名认证通过,删除serverUpdateProhibited状态',
- ],
+ 'EndIp' => ['description' => 'Ip段的结束IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.254'],
+ 'StartIp' => ['description' => 'IP段的开始IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.0'],
],
'required' => false,
],
- 'required' => false,
- 'maxItems' => 100,
+ 'required' => true,
+ 'maxItems' => 500,
],
],
],
'responses' => [
200 => [
- 'description' => '请求成功',
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求唯一标识'."\n",
- 'description' => '请求唯一标识'."\n",
- 'type' => 'string',
- 'example' => '0629502C-6224-5DC9-A8ED-2ED73A2E3931',
- ],
- 'Success' => [
- 'title' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RecoverableError' => [
- 'title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Data' => [
- 'description' => '返回数据列表。',
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'StatusList' => [
- 'description' => '任务状态信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '任务状态信息',
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'Status' => [
- 'description' => '当前域名状态。',
- 'type' => 'string',
- 'example' => 'serverUpdateProhibited',
- ],
- 'StatusMsg' => [
- 'description' => '域名状态Msg',
- 'type' => 'string',
- 'example' => '实名认证未通过,增加serverUpdateProhibited状态',
- ],
- ],
- ],
- ],
- ],
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
- 'type' => 'object',
- 'properties' => [
- 'AuthAction' => [
- 'description' => '尝试执行的未授权操作。',
- 'type' => 'string',
- 'example' => 'UpdateRspDomainServerProhibitStatusForGatewayOte',
- ],
- 'AuthPrincipalDisplayName' => [
- 'description' => '授权主体显示名称。',
- 'type' => 'string',
- 'example' => '2015555733387XXXX',
- ],
- 'AuthPrincipalOwnerId' => [
- 'description' => '授权主体所有者ID。',
- 'type' => 'string',
- 'example' => '10469733312XXX',
- ],
- 'AuthPrincipalType' => [
- 'description' => '身份类型',
- 'type' => 'string',
- 'example' => 'SubUser',
- ],
- 'EncodedDiagnosticMessage' => [
- 'description' => '加密后的完整诊断信息。',
- 'type' => 'string',
- 'example' => 'AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==',
- ],
- 'NoPermissionType' => [
- 'description' => '导致鉴权失败的原因。具体取值为:'."\n"
- .'- ExplicitDeny:显示拒绝'."\n"
- .'- ImplicitDeny:隐式拒绝',
- 'type' => 'string',
- 'example' => 'ImplicitDeny',
- ],
- 'PolicyType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DlpSend',
- ],
- ],
- ],
+ 'LineId' => ['description' => '自定义线路唯一ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '5*****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
+ 'LineCode' => ['description' => '自定义线路Code。', 'type' => 'string', 'example' => 'hra0yc-5******'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'Alirs.Operator.NotAuthorized',
- 'errorMessage' => 'The operator does not belong to the cloud account.',
- ],
+ 'title' => '添加自定义线路',
+ 'description' => '每个IP段的IP地址必须满足: EndIp >=StartIp。<br>'."\n"
+ .'域名下所有自定义线路中的所有IP段,IP范围都不能交叉重叠。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddCustomLine'],
],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddCustomLine',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainId}'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-6224-5DC9-A8ED-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\",\\n \\"StatusList\\": [\\n {\\n \\"DomainName\\": \\"example.com\\",\\n \\"Status\\": \\"serverUpdateProhibited\\",\\n \\"StatusMsg\\": \\"实名认证未通过,增加serverUpdateProhibited状态\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"UpdateRspDomainServerProhibitStatusForGatewayOte\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"10469733312XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
- 'title' => '修改域名ServerProhibit状态',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"LineId\\": 0,\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"LineCode\\": \\"hra0yc-5******\\"\\n}","errorExample":""},{"type":"xml","example":"<AddCustomLineResponse>\\n <LineId>597</LineId>\\n <RequestId>B57C121B-A45F-44D8-A9B2-13E5A5044195</RequestId>\\n <LineCode>hra0yc-597</LineCode>\\n</AddCustomLineResponse>","errorExample":""}]',
],
- 'RemoveRspDomainServerHoldStatusForGatewayOte' => [
- 'summary' => '用于删除指定域名的serverHold状态信息。',
- 'description' => '## 请求说明'."\n"
- .'- 本接口用于删除指定域名的serverHold状态信息。',
- 'path' => '',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'AddDnsCacheDomain' => [
+ 'summary' => '根据传入参数添加 DNS 权威代理域名。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsB25P4Z'],
],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '幂等参数',
- 'description' => '幂等参数',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'qwoefasdf',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n"
+ .'默认为**zh**', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'StatusMsg',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '实名认证通过,解除serverHold状态',
- ],
+ 'schema' => ['description' => '权威代理域名实例ID。<props="china">可通过调用[ListCloudGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[ListCloudGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dns-cn-*****'],
],
- ],
- 'responses' => [
- 200 => [
- 'description' => '请求成功',
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求唯一标识'."\n",
- 'description' => '请求唯一标识'."\n",
- 'type' => 'string',
- 'example' => '0629502C-6224-5DC9-A8ED-2ED73A2E3931',
- ],
- 'Success' => [
- 'title' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RecoverableError' => [
- 'title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Data' => [
- 'description' => '返回数据列表。',
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- ],
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
- 'type' => 'object',
- 'properties' => [
- 'AuthAction' => [
- 'description' => '尝试执行的未授权操作。',
- 'type' => 'string',
- 'example' => 'RemoveRspDomainServerHoldStatusForGatewayOte',
- ],
- 'AuthPrincipalDisplayName' => [
- 'description' => '授权主体显示名称。',
- 'type' => 'string',
- 'example' => '2015555733387XXXX',
- ],
- 'AuthPrincipalOwnerId' => [
- 'description' => '授权主体所有者ID。',
- 'type' => 'string',
- 'example' => '10469733312XXX',
- ],
- 'AuthPrincipalType' => [
- 'description' => '身份类型',
- 'type' => 'string',
- 'example' => 'SubUser',
- ],
- 'EncodedDiagnosticMessage' => [
- 'description' => '加密后的完整诊断信息。',
- 'type' => 'string',
- 'example' => 'AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==',
- ],
- 'NoPermissionType' => [
- 'description' => '导致鉴权失败的原因。具体取值为:'."\n"
- .'- ExplicitDeny:显示拒绝'."\n"
- .'- ImplicitDeny:隐式拒绝',
- 'type' => 'string',
- 'example' => 'ImplicitDeny',
- ],
- 'PolicyType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DlpSend',
- ],
- ],
- ],
- ],
- ],
+ [
+ 'name' => 'CacheTtlMin',
+ 'in' => 'query',
+ 'schema' => ['description' => '回源缓存数据TTL(最小值),取值范围为30 - 86400', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '86400', 'minimum' => '30', 'example' => '30'],
],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-6224-5DC9-A8ED-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\"\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"RemoveRspDomainServerHoldStatusForGatewayOte\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"10469733312XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
- 'title' => '移除域名serverHold状态',
- ],
- 'AddRspDomainServerHoldStatusForGatewayOte' => [
- 'summary' => '用于添加特定域名的serverHold状态信息。',
- 'description' => '## 请求说明'."\n"
- .'- 本接口用于添加指定域名的serverHold状态信息。',
- 'path' => '',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'CacheTtlMax',
+ 'in' => 'query',
+ 'schema' => ['description' => '回源缓存数据TTL(最大值),取值范围为30 - 86400', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '86400', 'minimum' => '30', 'example' => '86400'],
],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
+ [
+ 'name' => 'SourceProtocol',
+ 'in' => 'query',
+ 'schema' => ['description' => '回源协议,TCP、UDP。默认值为UDP', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'UDP'],
],
- ],
- 'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'SourceEdns',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '幂等参数',
- 'description' => '幂等参数',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'qwoefasdf',
- ],
+ 'schema' => ['description' => '源站是否支持edns。NOT_SUPPORT:不支持,SUPPORT:支持', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'SUPPORT'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dns-example.top',
- ],
+ 'schema' => ['description' => '备注', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'StatusMsg',
+ 'name' => 'SourceDnsServer',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '状态描述信息',
- 'type' => 'string',
+ 'description' => '源站DNS服务器列表,最多支持10条记录',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '源站DNS服务器',
+ 'type' => 'object',
+ 'properties' => [
+ 'Host' => ['description' => '源站服务器的域名或IP地址', 'type' => 'string', 'required' => true, 'example' => '192.168.0.1'],
+ 'Port' => ['description' => '源站DNS服务器端口', 'type' => 'string', 'required' => true, 'example' => '53'],
+ ],
+ 'required' => false,
+ ],
'required' => true,
- 'example' => '实名认证通过,解除serverHold状态',
+ 'maxItems' => 100,
],
],
],
'responses' => [
200 => [
- 'description' => '请求成功',
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求唯一标识'."\n",
- 'description' => '请求唯一标识'."\n",
- 'type' => 'string',
- 'example' => '0629502C-6224-5DC9-A8ED-2ED73A2E3931',
- ],
- 'Success' => [
- 'title' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RecoverableError' => [
- 'title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Data' => [
- 'description' => '返回数据列表。',
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- ],
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
- 'type' => 'object',
- 'properties' => [
- 'AuthAction' => [
- 'description' => '尝试执行的未授权操作。',
- 'type' => 'string',
- 'example' => 'AddRspDomainServerHoldStatusForGatewayOte',
- ],
- 'AuthPrincipalDisplayName' => [
- 'description' => '授权主体显示名称。',
- 'type' => 'string',
- 'example' => '2015555733387XXXX',
- ],
- 'AuthPrincipalOwnerId' => [
- 'description' => '授权主体所有者ID。',
- 'type' => 'string',
- 'example' => '10469733312XXX',
- ],
- 'AuthPrincipalType' => [
- 'description' => '身份类型',
- 'type' => 'string',
- 'example' => 'SubUser',
- ],
- 'EncodedDiagnosticMessage' => [
- 'description' => '加密后的完整诊断信息。',
- 'type' => 'string',
- 'example' => 'AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==',
- ],
- 'NoPermissionType' => [
- 'description' => '导致鉴权失败的原因。具体取值为:'."\n"
- .'- ExplicitDeny:显示拒绝'."\n"
- .'- ImplicitDeny:隐式拒绝',
- 'type' => 'string',
- 'example' => 'ImplicitDeny',
- ],
- 'PolicyType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DlpSend',
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码', 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-XXXXXXX'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-6224-5DC9-A8ED-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\"\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"AddRspDomainServerHoldStatusForGatewayOte\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"10469733312XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
- 'title' => '添加ServerHold状态',
- ],
- 'UpdateRspDomainServerProhibitStatusForGateway' => [
- 'summary' => '用于更新特定域名的状态信息。',
- 'description' => '## 请求说明'."\n"
- .'- 本接口用于更新域名的服务端状态',
- 'methods' => [
- 'post',
+ 'title' => '添加 DNS 权威代理域名',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDnsCacheDomain'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDnsCacheDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-XXXXXXX\\"\\n}","type":"json"}]',
+ ],
+ 'AddDnsGtmAccessStrategy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -982,102 +419,142 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '幂等参数',
- 'description' => '幂等参数',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'asdf',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '需要修改serverHold状态的域名',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '实例id。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'instance1'],
],
[
- 'name' => 'AddStatusList',
+ 'name' => 'StrategyName',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'testStrategyName'],
+ ],
+ [
+ 'name' => 'Lines',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析请求来源。例如:`["default", "drpeng"]`,即全局策略和鹏博士。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '["default", "drpeng"]'],
+ ],
+ [
+ 'name' => 'DefaultAddrPoolType',
+ 'in' => 'query',
+ 'schema' => ['description' => '主地址池类型:'."\n"
+ ."\n"
+ .'- IPV4'."\n"
+ .'- IPV6'."\n"
+ .'- DOMAIN', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'IPV4'],
+ ],
+ [
+ 'name' => 'DefaultLbaStrategy',
+ 'in' => 'query',
+ 'schema' => ['description' => '主地址池集合负载均衡策略:'."\n"
+ ."\n"
+ .'- ALL_RR: 返回全部地址'."\n"
+ .'- RATIO:按权重返回地址', 'type' => 'string', 'required' => false, 'example' => 'ALL_RR'],
+ ],
+ [
+ 'name' => 'DefaultMinAvailableAddrNum',
+ 'in' => 'query',
+ 'schema' => ['description' => '主地址池集合最小可用地址数量。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '400', 'minimum' => '1', 'example' => '1'],
+ ],
+ [
+ 'name' => 'DefaultMaxReturnAddrNum',
+ 'in' => 'query',
+ 'schema' => ['description' => '主地址池集合最多返回地址数量。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '8', 'minimum' => '1', 'example' => '3'],
+ ],
+ [
+ 'name' => 'DefaultLatencyOptimization',
+ 'in' => 'query',
+ 'schema' => ['description' => '主地址池集合延时解析调度优化:'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ .'- CLOSE:关闭', 'type' => 'string', 'required' => false, 'example' => 'OPEN'],
+ ],
+ [
+ 'name' => 'FailoverAddrPoolType',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池类型:'."\n"
+ ."\n"
+ .'- IPV4'."\n"
+ .'- IPV6'."\n"
+ .'- DOMAIN', 'type' => 'string', 'required' => false, 'example' => 'IPV4'],
+ ],
+ [
+ 'name' => 'FailoverLbaStrategy',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池集合负载均衡策略:'."\n"
+ ."\n"
+ .'- ALL_RR: 返回全部地址'."\n"
+ .'- RATIO:按权重返回地址', 'type' => 'string', 'required' => false, 'example' => 'ALL_RR'],
+ ],
+ [
+ 'name' => 'FailoverMinAvailableAddrNum',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池集合最小可用地址数量。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '400', 'minimum' => '1', 'example' => '1'],
+ ],
+ [
+ 'name' => 'FailoverMaxReturnAddrNum',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池集合最多返回地址数量。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '8', 'minimum' => '1', 'example' => '1'],
+ ],
+ [
+ 'name' => 'FailoverLatencyOptimization',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池集合延时解析调度优化:'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ .'- CLOSE:关闭', 'type' => 'string', 'required' => false, 'example' => 'OPEN'],
+ ],
+ [
+ 'name' => 'StrategyMode',
+ 'in' => 'query',
+ 'schema' => ['description' => '访问策略类型:'."\n"
+ ."\n"
+ .'- GEO:基于地理位置的访问策略'."\n"
+ .'- LATENCY:基于访问延时的访问策略', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GEO'],
+ ],
+ [
+ 'name' => 'DefaultAddrPool',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '添加域名状态集合',
+ 'description' => '主地址池集合列表。',
'type' => 'array',
'items' => [
- 'description' => '添加域名状态集合',
+ 'description' => '主地址池集合。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '域名状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'serverDeleteProhibited',
- 'enum' => [
- 'serverDeleteProhibited',
- 'serverRenewProhibited',
- 'serverTransferProhibited',
- 'serverUpdateProhibited',
- ],
- ],
- 'StatusMsg' => [
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '实名认证未通过,增加serverUpdateProhibited状态',
- ],
+ 'LbaWeight' => ['description' => '主地址池集合列表中权重。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'Id' => ['description' => '主地址池集合列表中地址池Id。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => 'pool1'],
],
'required' => false,
],
- 'required' => false,
+ 'required' => true,
'maxItems' => 100,
],
],
[
- 'name' => 'DeleteStatusList',
+ 'name' => 'FailoverAddrPool',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '删除域名状态集合',
+ 'description' => '备地址池集合,若未设置备地址池集合,输入"EMPTY"。',
'type' => 'array',
'items' => [
- 'description' => '删除域名状态集合',
+ 'description' => '备地址池集合。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '域名状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'serverDeleteProhibited',
- 'enum' => [
- 'serverDeleteProhibited',
- 'serverRenewProhibited',
- 'serverTransferProhibited',
- 'serverUpdateProhibited',
- ],
- ],
- 'StatusMsg' => [
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '实名认证通过,删除serverUpdateProhibited状态',
- ],
+ 'LbaWeight' => ['description' => '备地址池集合列表中权重。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'Id' => ['description' => '备地址池集合列表中地址池id。', 'type' => 'string', 'required' => false, 'example' => 'pool1'],
],
'required' => false,
],
@@ -1088,137 +565,51 @@
],
'responses' => [
200 => [
- 'description' => '请求成功',
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求唯一标识'."\n",
- 'description' => '请求唯一标识'."\n",
- 'type' => 'string',
- 'example' => '0629502C-6224-5DC9-A8ED-2ED73A2E3931',
- ],
- 'Success' => [
- 'title' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RecoverableError' => [
- 'title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Data' => [
- 'description' => '返回数据列表。',
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'StatusList' => [
- 'description' => '任务状态信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '任务状态信息',
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'example' => 'uptp.test.abchina.com.cn',
- ],
- 'Status' => [
- 'description' => '当前域名状态。',
- 'type' => 'string',
- 'example' => 'serverUpdateProhibited',
- ],
- 'StatusMsg' => [
- 'description' => '域名状态Msg',
- 'type' => 'string',
- 'example' => '实名认证未通过,增加serverUpdateProhibited状态',
- ],
- ],
- ],
- ],
- ],
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
- 'type' => 'object',
- 'properties' => [
- 'AuthAction' => [
- 'description' => '尝试执行的未授权操作。',
- 'type' => 'string',
- 'example' => 'UpdateRspDomainServerProhibitStatusForGateway',
- ],
- 'AuthPrincipalDisplayName' => [
- 'description' => '授权主体显示名称。',
- 'type' => 'string',
- 'example' => '2015555733387XXXX',
- ],
- 'AuthPrincipalOwnerId' => [
- 'description' => '授权主体所有者ID。',
- 'type' => 'string',
- 'example' => '10469733312XXX',
- ],
- 'AuthPrincipalType' => [
- 'description' => '身份类型',
- 'type' => 'string',
- 'example' => 'SubUser',
- ],
- 'EncodedDiagnosticMessage' => [
- 'description' => '加密后的完整诊断信息。',
- 'type' => 'string',
- 'example' => 'AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==',
- ],
- 'NoPermissionType' => [
- 'description' => '导致鉴权失败的原因。具体取值为:'."\n"
- .'- ExplicitDeny:显示拒绝'."\n"
- .'- ImplicitDeny:隐式拒绝',
- 'type' => 'string',
- 'example' => 'ImplicitDeny',
- ],
- 'PolicyType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DlpSend',
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
+ 'StrategyId' => ['description' => '访问策略id。', 'type' => 'string', 'example' => 'testStrategyId1'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'Alirs.Operator.NotAuthorized',
- 'errorMessage' => 'The operator does not belong to the cloud account.',
- ],
+ ['errorCode' => 'DnsGtmSystemBusyness', 'errorMessage' => ' ', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-6224-5DC9-A8ED-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\",\\n \\"StatusList\\": [\\n {\\n \\"DomainName\\": \\"uptp.test.abchina.com.cn\\",\\n \\"Status\\": \\"serverUpdateProhibited\\",\\n \\"StatusMsg\\": \\"实名认证未通过,增加serverUpdateProhibited状态\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"UpdateRspDomainServerProhibitStatusForGateway\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"10469733312XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
- 'title' => '修改域名ServerProhibit状态',
- ],
- 'RemoveRspDomainServerHoldStatusForGateway' => [
- 'summary' => '用于删除特定域名的serverHold状态信息。',
- 'description' => '## 请求说明'."\n"
- .'- 本接口用于移除指定域名的serverHold状态。',
- 'methods' => [
- 'post',
+ 'title' => '新增访问策略',
+ 'summary' => '新增访问策略。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDnsGtmAccessStrategy'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDnsGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"StrategyId\\": \\"testStrategyId1\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\n<StrategyId>testStrategyId1</StrategyId>","errorExample":""}]',
+ ],
+ 'AddDnsGtmAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1226,353 +617,163 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '幂等参数',
- 'description' => '幂等参数',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'asdf',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '实例ID。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-cs02xyk****'],
],
[
- 'name' => 'StatusMsg',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '实名认证通过,解除serverHold状态',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'description' => '请求成功',
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求唯一标识'."\n",
- 'description' => '请求唯一标识'."\n",
- 'type' => 'string',
- 'example' => '0629502C-6224-5DC9-A8ED-2ED73A2E3931',
- ],
- 'Success' => [
- 'title' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RecoverableError' => [
- 'title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Data' => [
- 'description' => '返回数据列表。',
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'ServerHoldStatus' => [
- 'description' => '域名serverHold状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- ],
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
- 'type' => 'object',
- 'properties' => [
- 'AuthAction' => [
- 'description' => '尝试执行的未授权操作。',
- 'type' => 'string',
- 'example' => 'RemoveRspDomainServerHoldStatusForGateway',
- ],
- 'AuthPrincipalDisplayName' => [
- 'description' => '授权主体显示名称。',
- 'type' => 'string',
- 'example' => '2015555733387XXXX',
- ],
- 'AuthPrincipalOwnerId' => [
- 'description' => '授权主体所有者ID。',
- 'type' => 'string',
- 'example' => '10469733312XXX',
- ],
- 'AuthPrincipalType' => [
- 'description' => '身份类型',
- 'type' => 'string',
- 'example' => 'SubUser',
- ],
- 'EncodedDiagnosticMessage' => [
- 'description' => '加密后的完整诊断信息。',
- 'type' => 'string',
- 'example' => 'AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==',
- ],
- 'NoPermissionType' => [
- 'description' => '导致鉴权失败的原因。具体取值为:'."\n"
- .'- ExplicitDeny:显示拒绝'."\n"
- .'- ImplicitDeny:隐式拒绝',
- 'type' => 'string',
- 'example' => 'ImplicitDeny',
- ],
- 'PolicyType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DlpSend',
- ],
- ],
- ],
- ],
- ],
+ 'schema' => ['description' => '地址池名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test'],
],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-6224-5DC9-A8ED-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\",\\n \\"ServerHoldStatus\\": \\"enable\\"\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"RemoveRspDomainServerHoldStatusForGateway\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"10469733312XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
- 'title' => '移除域名serverHold状态',
- ],
- 'AddRspDomainServerHoldStatusForGateway' => [
- 'summary' => '用于添加特定域名的serverHold状态信息。',
- 'description' => '## 请求说明'."\n"
- .'- 本接口用于添加指定域名的serverHold属性。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPV4:ipv4地址'."\n"
+ .'- IPV6: ipv6地址'."\n"
+ .'- DOMAIN:域名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'IPV4'],
],
- ],
- 'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'LbaStrategy',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '幂等参数',
- 'description' => '幂等参数',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'token123',
- ],
+ 'schema' => ['description' => '负载均衡状态:'."\n"
+ ."\n"
+ .'- ALL_RR:返回全部地址'."\n"
+ .'- RATIO:按权重返回地址', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ALL_RR'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'MonitorStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dns-example.top',
- ],
+ 'schema' => ['description' => '健康检查开启状态(默认CLOSE),若OPEN则校验健康检查配置,否则抛弃'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ .'- CLOSE:关闭', 'type' => 'string', 'required' => false, 'example' => 'OPEN'],
],
[
- 'name' => 'StatusMsg',
+ 'name' => 'ProtocolType',
'in' => 'query',
- 'schema' => [
- 'description' => '状态描述信息',
- 'type' => 'string',
- 'required' => true,
- 'example' => '实名认证通过,解除serverHold状态',
- ],
+ 'schema' => ['description' => '检查协议:'."\n"
+ ."\n"
+ .'- HTTP'."\n"
+ .'- HTTPS'."\n"
+ .'- PING'."\n"
+ .'- TCP', 'type' => 'string', 'required' => false, 'example' => 'TCP'],
],
- ],
- 'responses' => [
- 200 => [
- 'description' => '请求成功',
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求唯一标识'."\n",
- 'description' => '请求唯一标识'."\n",
- 'type' => 'string',
- 'example' => '0629502C-XXXX-5DC9-XXXX-2ED73A2E3931',
- ],
- 'Success' => [
- 'title' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RecoverableError' => [
- 'title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Data' => [
- 'description' => '返回数据列表。',
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- ],
- ],
- 'AccessDeniedDetail' => [
- 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
- 'type' => 'object',
- 'properties' => [
- 'AuthAction' => [
- 'description' => '尝试执行的未授权操作。',
- 'type' => 'string',
- 'example' => 'AddRspDomainServerHoldStatusForGateway',
- ],
- 'AuthPrincipalDisplayName' => [
- 'description' => '授权主体显示名称。',
- 'type' => 'string',
- 'example' => '2015555733387XXXX',
- ],
- 'AuthPrincipalOwnerId' => [
- 'description' => '授权主体所有者ID。',
- 'type' => 'string',
- 'example' => '1046973331XXXX',
- ],
- 'AuthPrincipalType' => [
- 'description' => '身份类型',
- 'type' => 'string',
- 'example' => 'SubUser',
- ],
- 'EncodedDiagnosticMessage' => [
- 'description' => '加密后的完整诊断信息。',
- 'type' => 'string',
- 'example' => 'AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==',
- ],
- 'NoPermissionType' => [
- 'description' => '导致鉴权失败的原因。具体取值为:'."\n"
- .'- ExplicitDeny:显示拒绝'."\n"
- .'- ImplicitDeny:隐式拒绝',
- 'type' => 'string',
- 'example' => 'ImplicitDeny',
- ],
- 'PolicyType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DlpSend',
- ],
- ],
- ],
- ],
- ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => ['description' => '检查间隔,单位秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9999999', 'minimum' => '1', 'example' => '60'],
],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-XXXX-5DC9-XXXX-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\"\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"AddRspDomainServerHoldStatusForGateway\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"1046973331XXXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
- 'title' => '添加域名serverHold状态',
- ],
- 'DescribeDnsProductInstance' => [
- 'summary' => '根据实例ID获取云解析收费版本产品实例的详情信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'EvaluationCount',
+ 'in' => 'query',
+ 'schema' => ['description' => '连续失败次数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9999999', 'minimum' => '1', 'example' => '2'],
],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsT5OPHE',
+ [
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => ['description' => '超时时间,单位毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9999999', 'minimum' => '1', 'example' => '2000'],
],
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'MonitorExtendInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [],
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '扩展信息,各协议检查所需参数:'."\n"
+ .'- HTTP(S):'."\n"
+ ."\n"
+ .' - port:检查端口'."\n"
+ .' - host:Host设置'."\n"
+ .' - path:URL路径'."\n"
+ .' - code:返回码(大于此值会被判定为异常)。取值:400、500。'."\n"
+ .' - failureRate:失败比例'."\n"
+ .' - sni:是否开启sni,仅在HTTPS协议时使用。'."\n"
+ .' - true-开启'."\n"
+ .' - 其他-未开启'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6'."\n"
+ ."\n"
+ .'- PING:'."\n"
+ ."\n"
+ .' - failureRate:失败比例'."\n"
+ .' - packetNum:ping包数目'."\n"
+ .' - packetLossRate:丢包率'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6'."\n"
+ ."\n"
+ .'- TCP:'."\n"
+ ."\n"
+ .' - port:检查端口'."\n"
+ .' - failureRate:失败比例'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6', 'type' => 'string', 'required' => false, 'example' => '{"failureRate":50,"port":80}'],
],
[
- 'name' => 'UserClientIp',
+ 'name' => 'Addr',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.0',
+ 'description' => '地址池列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeInfo' => ['description' => '地址归属信息, JSON字符串格式。'."\n"
+ ."\n"
+ .'- lineCode:归属线路Code'."\n"
+ .'- lineCodeRectifyType:归属线路订正类型,默认:自动订正'."\n"
+ .' - NO_NEED 不订正'."\n"
+ .' - RECTIFIED 已订正'."\n"
+ .' - AUTO 自动订正', 'type' => 'string', 'required' => true, 'example' => '{"lineCodeRectifyType":"AUTO", "lineCode":[]}'],
+ 'Remark' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ 'LbaWeight' => ['description' => '权重。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'Addr' => ['description' => '地址。', 'type' => 'string', 'required' => true, 'example' => '223.5.XX.XX'],
+ 'Mode' => ['description' => '模式:'."\n"
+ ."\n"
+ .'- SMART:智能返回'."\n"
+ .'- ONLINE:永远在线'."\n"
+ .'- OFFLINE:永远离线', 'type' => 'string', 'required' => true, 'example' => 'SMART'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 50,
],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'IspCityNode',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '实例ID。<props="china">可通过调用[DescribeDomainInfo](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomaininfo?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomainInfo](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomaininfo?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'i-8fxxxx',
+ 'description' => '监控城市节点列表。当 MonitorStatus 为 OPEN 状态时,节点列表中至少应配置一个有效节点。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '城市Code。当 MonitorStatus 为 OPEN 状态时,CityCode不能为空。'."\n"
+ ."\n"
+ .'具体取值可参考:DescribeDnsGtmMonitorAvailableConfig接口返回数据。', 'type' => 'string', 'required' => false, 'example' => '503'],
+ 'IspCode' => ['description' => '当 MonitorStatus 为 OPEN 状态时,IspCode不能为空。'."\n"
+ .'具体取值可参考:DescribeDnsGtmMonitorAvailableConfig接口返回数据。', 'type' => 'string', 'required' => false, 'example' => '465'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
],
],
],
@@ -1581,272 +782,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'MonitorNodeCount' => [
- 'description' => '监控节点个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'InBlackHole' => [
- 'description' => '域名是否处于黑洞状态。'."\n"
- ."\n"
- .'- true:处于黑洞状态'."\n"
- ."\n"
- .'- false:非黑洞状态',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'BindDomainCount' => [
- 'description' => '适用于个人版、企业旗舰版用户调用,指付费版DNS实例可以绑定的域名个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'RegionLines' => [
- 'description' => '是否是地域线路。'."\n"
- ."\n"
- .'- true:地域线路'."\n"
- ."\n"
- .'- false:非地域线路',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'BindCount' => [
- 'description' => '适用于定制版用户调用,指付费版DNS实例可支持更换域名次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'EndTime' => [
- 'description' => '实例到期时间。',
- 'type' => 'string',
- 'example' => '2015-12-12T09:23Z',
- ],
- 'StartTimestamp' => [
- 'description' => '实例购买时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1474335170000',
- ],
- 'ISPLines' => [
- 'description' => '运营商解析请求来源线路列表。'."\n"
- ."\n"
- .'- 中国电信'."\n"
- .'- 中国移动'."\n"
- .'- 中国联通'."\n"
- .'- 中国教育网'."\n"
- .'- 中国广电网'."\n"
- .'- 中国鹏博士',
- 'type' => 'string',
- 'example' => '中国电信',
- ],
- 'EndTimestamp' => [
- 'description' => '实例到期时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1474335170000',
- ],
- 'DnsServers' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DnsServer' => [
- 'description' => '域名当前设置的DNS服务器列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'DNS服务器详情。',
- 'type' => 'string',
- 'example' => '{"DnsServer": ["vip1.alidns.com","vip2.alidns.com"]}',
- ],
- ],
- ],
- ],
- 'DDosDefendQuery' => [
- 'description' => '适用于定制版用户调用,DNS防护QPS(万qps)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50',
- ],
- 'DnsSecurity' => [
- 'description' => 'DNS安全。取值:'."\n"
- .'- no:不需要'."\n"
- .'- basic:dns攻击基础防御'."\n"
- .'- advanced:dns攻击全力防御',
- 'type' => 'string',
- 'example' => 'advanced',
- ],
- 'DomainType' => [
- 'description' => '实例类型:'."\n"
- .'- PUBLIC:权威托管域名实例。'."\n"
- .'- CACHE:权威代理域名实例。',
- 'type' => 'string',
- 'example' => 'PUBLIC',
- ],
- 'URLForwardCount' => [
- 'description' => 'URL转发数量(个)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'TTLMinValue' => [
- 'description' => '最小TTL值(秒)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'PaymentType' => [
- 'description' => '付费类型。',
- 'type' => 'string',
- 'example' => 'Subscription',
- ],
- 'VersionName' => [
- 'description' => '云解析产品名称。',
- 'type' => 'string',
- 'example' => '企业旗舰版',
- ],
- 'OverseaLine' => [
- 'description' => '海外线路。',
- 'type' => 'string',
- 'example' => '海外大洲',
- ],
- 'ISPRegionLines' => [
- 'description' => '运营商解析请求来源线路列表。'."\n"
- .'- 电信(省份)'."\n"
- .'- 移动(省份)'."\n"
- .'- 联通(省份)'."\n"
- .'- 教育网(省份)',
- 'type' => 'string',
- 'example' => '电信_浙江',
- ],
- 'Gslb' => [
- 'description' => '是否允许GSLB。'."\n"
- ."\n"
- .'- true:允许'."\n"
- ."\n"
- .'- false:不允许',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'BindUsedCount' => [
- 'description' => '适用于定制版用户调用,指付费版DNS实例已使用的更换域名次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-xxxxxxx',
- ],
- 'DnsSLBCount' => [
- 'description' => '负载均衡(单域名、单线路的IP地址容量)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15',
- ],
- 'InstanceId' => [
- 'description' => '云解析产品ID。',
- 'type' => 'string',
- 'example' => 'i-8fxxx',
- ],
- 'MonitorTaskCount' => [
- 'description' => '监控任务数(个)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'StartTime' => [
- 'description' => '购买时间。',
- 'type' => 'string',
- 'example' => '2015-12-12T09:23Z',
- ],
- 'DDosDefendFlow' => [
- 'description' => 'DNS防护流量(单位:G)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50',
- ],
- 'MonitorFrequency' => [
- 'description' => '监控频率(单位:分钟)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50',
- ],
- 'SearchEngineLines' => [
- 'description' => '搜索引擎解析请求来源线路列表。'."\n"
- .'- 谷歌'."\n"
- .'- 百度'."\n"
- .'- 必应'."\n"
- .'- 有道',
- 'type' => 'string',
- 'example' => '谷歌',
- ],
- 'BindDomainUsedCount' => [
- 'description' => '适用于个人版、企业旗舰版用户调用,指付费版DNS实例已绑定使用的域名个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'VersionCode' => [
- 'description' => '云解析产品code。',
- 'type' => 'string',
- 'example' => 'version1',
- ],
- 'OverseaDDosDefendFlow' => [
- 'description' => '海外DNS防护(单位:G)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'InClean' => [
- 'description' => '域名是否处于清洗状态。'."\n"
- .'- true:处于清洗状态'."\n"
- .'- false:不处于清洗状态',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'SubDomainLevel' => [
- 'description' => '子域名级别(个)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'Domain' => [
- 'description' => '绑定的域名。'."\n"
- ."\n"
- .'如果为空,则表示未绑定域名。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'AutoRenewal' => [
- 'description' => '实例自动续费状态。'."\n"
- ."\n"
- .'- true:自动续费'."\n"
- ."\n"
- .'- false:非自动续费',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD5799335**B'],
+ 'AddrPoolId' => ['description' => '地址池id。', 'type' => 'string', 'example' => 'hrbv**'],
+ 'MonitorConfigId' => ['description' => '健康检查配置id。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'hra**a'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"MonitorNodeCount\\": 5,\\n \\"InBlackHole\\": false,\\n \\"BindDomainCount\\": 5,\\n \\"RegionLines\\": true,\\n \\"BindCount\\": 3,\\n \\"EndTime\\": \\"2015-12-12T09:23Z\\",\\n \\"StartTimestamp\\": 1474335170000,\\n \\"ISPLines\\": \\"中国电信\\",\\n \\"EndTimestamp\\": 1474335170000,\\n \\"DnsServers\\": {\\n \\"DnsServer\\": [\\n \\"{\\\\\\"DnsServer\\\\\\": [\\\\\\"vip1.alidns.com\\\\\\",\\\\\\"vip2.alidns.com\\\\\\"]}\\"\\n ]\\n },\\n \\"DDosDefendQuery\\": 50,\\n \\"DnsSecurity\\": \\"advanced\\",\\n \\"DomainType\\": \\"PUBLIC\\",\\n \\"URLForwardCount\\": 20,\\n \\"TTLMinValue\\": 10,\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"VersionName\\": \\"企业旗舰版\\",\\n \\"OverseaLine\\": \\"海外大洲\\",\\n \\"ISPRegionLines\\": \\"电信_浙江\\",\\n \\"Gslb\\": true,\\n \\"BindUsedCount\\": 1,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-xxxxxxx\\",\\n \\"DnsSLBCount\\": 15,\\n \\"InstanceId\\": \\"i-8fxxx\\",\\n \\"MonitorTaskCount\\": 2,\\n \\"StartTime\\": \\"2015-12-12T09:23Z\\",\\n \\"DDosDefendFlow\\": 50,\\n \\"MonitorFrequency\\": 50,\\n \\"SearchEngineLines\\": \\"谷歌\\",\\n \\"BindDomainUsedCount\\": 3,\\n \\"VersionCode\\": \\"version1\\",\\n \\"OverseaDDosDefendFlow\\": 1,\\n \\"InClean\\": false,\\n \\"SubDomainLevel\\": 6,\\n \\"Domain\\": \\"example.com\\",\\n \\"AutoRenewal\\": true\\n}","errorExample":""},{"type":"xml","example":"<DescribeDnsProductInstanceResponse>\\n <MonitorNodeCount>5</MonitorNodeCount>\\n <InBlackHole>false</InBlackHole>\\n <BindDomainCount>5</BindDomainCount>\\n <RegionLines>true</RegionLines>\\n <BindCount>3</BindCount>\\n <EndTime>2015-12-12T09:23Z</EndTime>\\n <StartTimestamp>1474335170000</StartTimestamp>\\n <ISPLines>电信、移动、联通、教育网</ISPLines>\\n <EndTimestamp>1474335170000</EndTimestamp>\\n <DnsServers>{\\"DnsServer\\": [\\"vip1.alidns.com\\",\\"vip2.alidns.com\\"]}</DnsServers>\\n <DDosDefendQuery>50</DDosDefendQuery>\\n <DnsSecurity>advanced</DnsSecurity>\\n <DomainType>PUBLIC</DomainType>\\n <URLForwardCount>20</URLForwardCount>\\n <TTLMinValue>10</TTLMinValue>\\n <PaymentType>Subscription</PaymentType>\\n <VersionName>企业旗舰版</VersionName>\\n <OverseaLine>海外大洲</OverseaLine>\\n <ISPRegionLines>电信(省份)、移动(省份)、联通(省份)、教育网(省份)</ISPRegionLines>\\n <Gslb>true</Gslb>\\n <BindUsedCount>1</BindUsedCount>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <DnsSLBCount>15</DnsSLBCount>\\n <InstanceId>i-8fxxx</InstanceId>\\n <MonitorTaskCount>2</MonitorTaskCount>\\n <StartTime>2015-12-12T09:23Z</StartTime>\\n <DDosDefendFlow>50</DDosDefendFlow>\\n <MonitorFrequency>50</MonitorFrequency>\\n <SearchEngineLines>搜索引擎、谷歌、百度、必应</SearchEngineLines>\\n <BindDomainUsedCount>3</BindDomainUsedCount>\\n <VersionCode>version1</VersionCode>\\n <OverseaDDosDefendFlow>1</OverseaDDosDefendFlow>\\n <InClean>false</InClean>\\n <SubDomainLevel>6</SubDomainLevel>\\n <Domain>example.com</Domain>\\n</DescribeDnsProductInstanceResponse>","errorExample":""}]',
- 'title' => '获取付费版DNS产品实例详情',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'DnsGtmSystemBusyness', 'errorMessage' => ' ', 'description' => ''],
+ ],
+ ],
+ 'title' => '新增地址池',
+ 'summary' => '新增地址池。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDnsProductInstances' => [
- 'summary' => '根据传入参数获取付费版DNS产品实例列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDnsGtmAddressPool'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDnsGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD5799335**B\\",\\n \\"AddrPoolId\\": \\"hrbv**\\",\\n \\"MonitorConfigId\\": \\"hra**a\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<AddrPoolId>testpool1</AddrPoolId>\\n<MonitorConfigId>test1</MonitorConfigId>","errorExample":""}]',
+ ],
+ 'AddDnsGtmMonitor' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1854,112 +833,109 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsT5OPHE',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'UserClientIp',
+ 'name' => 'AddrPoolId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.0',
- ],
+ 'schema' => ['description' => '地址池id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_7.1cee430dbd1I3y)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'po**'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'ProtocolType',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '检查协议:'."\n"
+ ."\n"
+ .'- HTTP'."\n"
+ .'- HTTPS'."\n"
+ .'- PING'."\n"
+ .'- TCP', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'TCP'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '检查间隔,单位秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '60', 'minimum' => '15', 'example' => '60'],
],
[
- 'name' => 'VersionCode',
+ 'name' => 'EvaluationCount',
'in' => 'query',
- 'schema' => [
- 'description' => '云解析产品code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'version1',
- ],
+ 'schema' => ['description' => '连续次数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '3', 'minimum' => '1', 'example' => '1'],
],
[
- 'name' => 'DomainType',
+ 'name' => 'Timeout',
'in' => 'query',
- 'schema' => [
- 'description' => '域名类型,大小写不敏感。取值:'."\n"
- ."\n"
- .'- PUBLIC:权威托管域名(默认值)'."\n"
- ."\n"
- .'- CACHE:权威代理域名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PUBLIC',
- ],
+ 'schema' => ['description' => '超时时间,单位毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '10000', 'minimum' => '1000', 'example' => '3000'],
],
[
- 'name' => 'OrderBy',
+ 'name' => 'MonitorExtendInfo',
'in' => 'query',
'schema' => [
- 'description' => '排序参数。取值:'."\n"
- .'- createDate:按创建时间排序(为空时默认按创建时间排序)'."\n"
- .'- expireDate:按过期时间排序',
+ 'description' => '扩展信息,各协议检查所需参数:'."\n"
+ ."\n"
+ .'- HTTP(S):'."\n"
+ ."\n"
+ .' - port:检查端口'."\n"
+ .' - host:Host设置'."\n"
+ .' - path:URL路径'."\n"
+ .' - code:返回码大于某个数值时则判定健康检查异常。'."\n"
+ .' - failureRate:失败率'."\n"
+ .' - sni:是否开启sni,仅在HTTPS协议时使用。'."\n"
+ .' - true-开启'."\n"
+ .' - false-未开启'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6'."\n"
+ ."\n"
+ .'- PING:'."\n"
+ ."\n"
+ .' - failureRate:失败率'."\n"
+ .' - packetNum:ping包数'."\n"
+ .' - packetLossRate:ping丢包率'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6'."\n"
+ ."\n"
+ .'- TCP:'."\n"
+ ."\n"
+ .' - port:检查端口'."\n"
+ .' - failureRate:失败率'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6'."\n"
+ .'> 本字段需以 JSON 字符串格式输入。',
'type' => 'string',
- 'required' => false,
- 'example' => 'createDate',
+ 'required' => true,
+ 'docRequired' => true,
+ 'enumValueTitles' => [],
+ 'example' => '{"failureRate":50,"port":80}',
],
],
[
- 'name' => 'Direction',
+ 'name' => 'IspCityNode',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '排序方向。取值:'."\n"
- .'- DESC:递减(为空时默认递减排序) '."\n"
- .'- ASC: 递增',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DESC',
+ 'description' => '监控城市节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '监控节点-城市code。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '123'],
+ 'IspCode' => ['description' => '监控节点-运营商code。', 'type' => 'string', 'required' => false, 'example' => '123'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 50,
],
],
],
@@ -1968,345 +944,86 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '本次查询获取的付费版DNS产品实例数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'DomainType' => [
- 'description' => '域名类型,取值:'."\n"
- ."\n"
- .'- PUBLIC:权威托管域名(默认值)'."\n"
- ."\n"
- .'- CACHE:权威代理域名',
- 'type' => 'string',
- 'example' => 'PUBLIC',
- ],
- 'PageSize' => [
- 'description' => '本次查询获取的域名数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38xxxxx',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'DnsProducts' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DnsProduct' => [
- 'description' => '本次获取的付费版DNS产品实例列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'OverseaLine' => [
- 'description' => '海外解析请求来源线路。',
- 'type' => 'string',
- 'example' => '海外大洲',
- ],
- 'PaymentType' => [
- 'description' => '付费类型。',
- 'type' => 'string',
- 'example' => 'Subscription',
- ],
- 'MonitorNodeCount' => [
- 'description' => '监控节点个数(个)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'InBlackHole' => [
- 'description' => '域名是否处于黑洞状态。'."\n"
- ."\n"
- .'- true:处于黑洞状态'."\n"
- ."\n"
- .'- false:非黑洞状态',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'BindDomainUsedCount' => [
- 'description' => '适用于个人版、企业旗舰版用户调用,指付费版DNS实例已绑定使用的域名个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'ISPRegionLines' => [
- 'description' => '运营商解析请求来源线路列表。'."\n"
- .'- 电信(省份)'."\n"
- .'- 移动(省份)'."\n"
- .'- 联通(省份)'."\n"
- .'- 教育网(省份)',
- 'type' => 'string',
- 'example' => '电信_浙江',
- ],
- 'TTLMinValue' => [
- 'description' => '最小TTL值(秒)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'ISPLines' => [
- 'description' => '运营商解析请求来源线路列表。'."\n"
- .'- 中国电信'."\n"
- .'- 中国移动'."\n"
- .'- 中国联通'."\n"
- .'- 中国教育网'."\n"
- .'- 中国广电网'."\n"
- .'- 中国鹏博士',
- 'type' => 'string',
- 'example' => '中国电信',
- ],
- 'SearchEngineLines' => [
- 'description' => '搜索引擎解析请求来源线路列表。'."\n"
- .'- 谷歌'."\n"
- .'- 百度'."\n"
- .'- 必应'."\n"
- .'- 有道',
- 'type' => 'string',
- 'example' => '谷歌',
- ],
- 'EndTimestamp' => [
- 'description' => '实例到期时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1474335170000',
- ],
- 'VersionName' => [
- 'description' => '云解析产品版本名称。',
- 'type' => 'string',
- 'example' => '企业旗舰版',
- ],
- 'VersionCode' => [
- 'description' => '云解析产品code。',
- 'type' => 'string',
- 'example' => 'version1',
- ],
- 'MonitorTaskCount' => [
- 'description' => '监控任务数(个)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'BindUsedCount' => [
- 'description' => '适用于定制版用户调用,指付费版DNS实例已使用的更换域名次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Domain' => [
- 'description' => '绑定域名。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'MonitorFrequency' => [
- 'description' => '监控频率(单位:分钟)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50',
- ],
- 'InClean' => [
- 'description' => '域名是否处于清洗状态。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'URLForwardCount' => [
- 'description' => 'URL转发数量(个)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'StartTimestamp' => [
- 'description' => '实例购买时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1474335170000',
- ],
- 'DDosDefendQuery' => [
- 'description' => '适用于定制版用户调用,DNS防护QPS(万qps)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50',
- ],
- 'InstanceId' => [
- 'description' => '云解析产品ID。',
- 'type' => 'string',
- 'example' => 'i-8fj',
- ],
- 'DDosDefendFlow' => [
- 'description' => 'DNS防护流量(G)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50',
- ],
- 'BindCount' => [
- 'description' => '适用于定制版用户调用,指付费版DNS实例可支持更换域名次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'SubDomainLevel' => [
- 'description' => '子域名级别(个)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'BindDomainCount' => [
- 'description' => '适用于个人版、企业旗舰版用户调用,指付费版DNS实例可以绑定的域名个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'EndTime' => [
- 'description' => '实例到期时间。',
- 'type' => 'string',
- 'example' => '2015-12-12T00:00Z',
- ],
- 'StartTime' => [
- 'description' => '实例购买时间。',
- 'type' => 'string',
- 'example' => '2015-11-12T09:23Z',
- ],
- 'OverseaDDosDefendFlow' => [
- 'description' => '海外DNS防护(G)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RegionLines' => [
- 'description' => '是否是地域线路。'."\n"
- .'- true:地域线路'."\n"
- .'- false:非地域线路',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Gslb' => [
- 'description' => '是否允许GSLB。'."\n"
- .'- true:允许'."\n"
- .'- false:不允许',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DnsSecurity' => [
- 'description' => 'DNS安全。取值:'."\n"
- .'- no:不需要'."\n"
- .'- basic:dns攻击基础防御'."\n"
- .'- advanced:dns攻击全力防御',
- 'type' => 'string',
- 'example' => 'no',
- ],
- 'DnsSLBCount' => [
- 'description' => '负载均衡(单域名、单线路的IP地址容量)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15',
- ],
- 'AutoRenewal' => [
- 'description' => '续费状态。'."\n"
- .'- true:自动续费类型。'."\n"
- .'- false:非自动续费类型。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'MonitorConfigId' => ['description' => '健康检查配置id。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'Mon*******'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"DomainType\\": \\"PUBLIC\\",\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38xxxxx\\",\\n \\"PageNumber\\": 1,\\n \\"DnsProducts\\": {\\n \\"DnsProduct\\": [\\n {\\n \\"OverseaLine\\": \\"海外大洲\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"MonitorNodeCount\\": 5,\\n \\"InBlackHole\\": false,\\n \\"BindDomainUsedCount\\": 3,\\n \\"ISPRegionLines\\": \\"电信_浙江\\",\\n \\"TTLMinValue\\": 10,\\n \\"ISPLines\\": \\"中国电信\\",\\n \\"SearchEngineLines\\": \\"谷歌\\",\\n \\"EndTimestamp\\": 1474335170000,\\n \\"VersionName\\": \\"企业旗舰版\\",\\n \\"VersionCode\\": \\"version1\\",\\n \\"MonitorTaskCount\\": 2,\\n \\"BindUsedCount\\": 1,\\n \\"Domain\\": \\"example.com\\",\\n \\"MonitorFrequency\\": 50,\\n \\"InClean\\": false,\\n \\"URLForwardCount\\": 20,\\n \\"StartTimestamp\\": 1474335170000,\\n \\"DDosDefendQuery\\": 50,\\n \\"InstanceId\\": \\"i-8fj\\",\\n \\"DDosDefendFlow\\": 50,\\n \\"BindCount\\": 3,\\n \\"SubDomainLevel\\": 6,\\n \\"BindDomainCount\\": 5,\\n \\"EndTime\\": \\"2015-12-12T00:00Z\\",\\n \\"StartTime\\": \\"2015-11-12T09:23Z\\",\\n \\"OverseaDDosDefendFlow\\": 1,\\n \\"RegionLines\\": true,\\n \\"Gslb\\": true,\\n \\"DnsSecurity\\": \\"no\\",\\n \\"DnsSLBCount\\": 15,\\n \\"AutoRenewal\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDnsProductInstancesResponse>\\n <TotalCount>2</TotalCount>\\n <DomainType>PUBLIC</DomainType>\\n <PageSize>2</PageSize>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <PageNumber>1</PageNumber>\\n <DnsProducts>\\n <OverseaLine>海外大洲</OverseaLine>\\n <PaymentType>Subscription</PaymentType>\\n <MonitorNodeCount>5</MonitorNodeCount>\\n <InBlackHole>false</InBlackHole>\\n <BindDomainUsedCount>3</BindDomainUsedCount>\\n <ISPRegionLines>电信(省份)、移动(省份)、联通(省份)、教育网(省份)</ISPRegionLines>\\n <TTLMinValue>10</TTLMinValue>\\n <ISPLines>电信、移动、联通、教育网</ISPLines>\\n <SearchEngineLines>搜索引擎、谷歌、百度、必应</SearchEngineLines>\\n <EndTimestamp>1474335170000</EndTimestamp>\\n <VersionName>企业旗舰版</VersionName>\\n <VersionCode>version1</VersionCode>\\n <MonitorTaskCount>2</MonitorTaskCount>\\n <BindUsedCount>1</BindUsedCount>\\n <Domain>example.com</Domain>\\n <MonitorFrequency>50</MonitorFrequency>\\n <InClean>false</InClean>\\n <URLForwardCount>20</URLForwardCount>\\n <StartTimestamp>1474335170000</StartTimestamp>\\n <DDosDefendQuery>50</DDosDefendQuery>\\n <InstanceId>i-8fj</InstanceId>\\n <DDosDefendFlow>50</DDosDefendFlow>\\n <BindCount>3</BindCount>\\n <SubDomainLevel>6</SubDomainLevel>\\n <BindDomainCount>5</BindDomainCount>\\n <EndTime>2015-12-12T09:23Z</EndTime>\\n <StartTime>2015-12-12T09:23Z</StartTime>\\n <OverseaDDosDefendFlow>1</OverseaDDosDefendFlow>\\n <RegionLines>true</RegionLines>\\n <Gslb>true</Gslb>\\n <DnsSecurity>no</DnsSecurity>\\n <DnsSLBCount>15</DnsSLBCount>\\n </DnsProducts>\\n</DescribeDnsProductInstancesResponse>","errorExample":""}]',
- 'title' => '获取付费版DNS产品实例列表',
- 'description' => '> **如果返回参数中未包含域名,则表示该云解析产品尚未绑定任何域名。**',
+ 'errorCodes' => [],
+ 'title' => '添加健康检查',
+ 'summary' => '创建健康检查。',
+ 'description' => '****',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeInstanceDomains' => [
- 'summary' => '获取实例绑定域名列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDnsGtmMonitor'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDnsGtmMonitor',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"MonitorConfigId\\": \\"Mon*******\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<MonitorConfigId>MonitorConfigId1</MonitorConfigId>","errorExample":""}]',
+ ],
+ 'AddDomain' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsT5OPHE',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '指域名分组ID。如不填或传空字符或传defaultGroup,将添加在默认分组下。可通过调用 AddDomainGroup获取。', 'type' => 'string', 'required' => false, 'example' => 'defaultGroup'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。<props="china">可通过调用[DescribeDomainInfo](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomaininfo?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取。</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomainInfo](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomaininfo?spm=a2c63.p38356.help-menu-search-29697.d_0)获取。</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'dns-cn-9lb38ldq9**',
- ],
+ 'schema' => ['description' => '域名在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。', 'type' => 'string', 'required' => false, 'example' => '******resourcegroupid'],
],
],
'responses' => [
@@ -2314,143 +1031,95 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '68386699-8B9E-4D5B-BC4C-75A28F6C2A00',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InstanceDomains' => [
- 'description' => '实例绑定域名列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => '实例创建时间。',
- 'type' => 'string',
- 'example' => '2020-03-09T02:15Z',
- ],
- 'DomainName' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'example' => 'example.top',
- ],
- 'CreateTimestamp' => [
- 'description' => '实例创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1583720154000',
- ],
+ 'GroupName' => ['description' => '域名分组名称。', 'type' => 'string', 'example' => 'MyGroup'],
+ 'DomainId' => ['description' => '域名ID。', 'type' => 'string', 'example' => 'xxxxx6615cf240c697f9f7e207xxxxxx'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'xxx508EF-00FD-xxx9-95A4-1E10BACxxxxx'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'PunyCode' => ['description' => '只针对中文域名返回punycode码。', 'type' => 'string', 'example' => 'xn--fsq270a.com'],
+ 'DnsServers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DnsServer' => [
+ 'description' => '域名在解析系统中的DNS列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '域名当前设置的DNS服务器名称。', 'type' => 'string', 'example' => '{"DnsServer": ["ns1.alidns.com","ns2.alidns.com"]}'],
],
],
],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalItems' => [
- 'description' => '总计。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'GroupId' => ['description' => '域名分组ID。', 'type' => 'string', 'example' => 'defaultGroup'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"68386699-8B9E-4D5B-BC4C-75A28F6C2A00\\",\\n \\"PageNumber\\": 1,\\n \\"InstanceDomains\\": [\\n {\\n \\"CreateTime\\": \\"2020-03-09T02:15Z\\",\\n \\"DomainName\\": \\"example.top\\",\\n \\"CreateTimestamp\\": 1583720154000\\n }\\n ],\\n \\"TotalPages\\": 2,\\n \\"TotalItems\\": 2\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EC467B88-BD3D-4537-8F44-37F125BE5E65</RequestId>\\n<PageSize>20</PageSize>\\n<PageNumber>1</PageNumber>\\n<InstanceDomains>\\n <DomainName>example.com</DomainName>\\n <CreateTime>2020-03-09T02:15Z</CreateTime>\\n <CreateTimestamp>1583720154000</CreateTimestamp>\\n</InstanceDomains>\\n<TotalPages>1</TotalPages>\\n<TotalItems>1</TotalItems>","errorExample":""}]',
- 'title' => '获取实例绑定域名列表',
+ 'title' => '添加域名',
+ 'summary' => '根据传入参数添加域名。',
+ 'description' => '域名合法性判断参见:'."\n"
+ .'<props="china">[域名合法性](https://help.aliyun.com/document_detail/67788.html)。</props>'."\n"
+ .'<props="intl">[域名合法性](https://www.alibabacloud.com/help/zh/doc-detail/67788.htm)。</props>',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
- 'extraInfo' => '访问[公共错误码](https://next.api.aliyun.com/document/Alidns/2015-01-09/errorCode)查看更多错误码。',
- ],
- 'AddDomain' => [
- 'summary' => '根据传入参数添加域名。',
- 'methods' => [
- 'post',
- 'get',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDomain'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"GroupName\\": \\"MyGroup\\",\\n \\"DomainId\\": \\"xxxxx6615cf240c697f9f7e207xxxxxx\\",\\n \\"RequestId\\": \\"xxx508EF-00FD-xxx9-95A4-1E10BACxxxxx\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"PunyCode\\": \\"xn--fsq270a.com\\",\\n \\"DnsServers\\": {\\n \\"DnsServer\\": [\\n \\"{\\\\\\"DnsServer\\\\\\": [\\\\\\"ns1.alidns.com\\\\\\",\\\\\\"ns2.alidns.com\\\\\\"]}\\"\\n ]\\n },\\n \\"GroupId\\": \\"defaultGroup\\"\\n}","type":"json"}]',
+ ],
+ 'AddDomainBackup' => [
+ 'summary' => '根据传入的域名名称和备份周期给该域名建立备份。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
- ],
- [
- 'name' => 'GroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '指域名分组ID。如不填或传空字符或传defaultGroup,将添加在默认分组下。可通过调用 AddDomainGroup获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'defaultGroup',
- ],
+ 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dns-example.top'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'PeriodType',
'in' => 'query',
- 'schema' => [
- 'description' => '域名在资源管理产品中所属的资源组ID。默认为空,即属于默认资源组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '******resourcegroupid',
- ],
+ 'schema' => ['description' => '备份周期,当前支持:'."\n"
+ ."\n"
+ .'- DAY:每天备份一次'."\n"
+ .'- HOUR:每小时备份一次', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'HOUR'],
],
],
'responses' => [
@@ -2458,118 +1127,69 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'GroupName' => [
- 'description' => '域名分组名称。',
- 'type' => 'string',
- 'example' => 'MyGroup',
- ],
- 'DomainId' => [
- 'description' => '域名ID。',
- 'type' => 'string',
- 'example' => 'xxxxx6615cf240c697f9f7e207xxxxxx',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'xxx508EF-00FD-xxx9-95A4-1E10BACxxxxx',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'PunyCode' => [
- 'description' => '只针对中文域名返回punycode码。',
- 'type' => 'string',
- 'example' => 'xn--fsq270a.com',
- ],
- 'DnsServers' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DnsServer' => [
- 'description' => '域名在解析系统中的DNS列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名当前设置的DNS服务器名称。',
- 'type' => 'string',
- 'example' => '{"DnsServer": ["ns1.alidns.com","ns2.alidns.com"]}',
- ],
- ],
- ],
- ],
- 'GroupId' => [
- 'description' => '域名分组ID。',
- 'type' => 'string',
- 'example' => 'defaultGroup',
- ],
+ 'PeriodType' => ['description' => '备份周期。', 'type' => 'string', 'example' => 'HOUR'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'FD552816-FCC8-4832-B4A2-2DA0C2BA1688'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'dns-example.top'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"GroupName\\": \\"MyGroup\\",\\n \\"DomainId\\": \\"xxxxx6615cf240c697f9f7e207xxxxxx\\",\\n \\"RequestId\\": \\"xxx508EF-00FD-xxx9-95A4-1E10BACxxxxx\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"PunyCode\\": \\"xn--fsq270a.com\\",\\n \\"DnsServers\\": {\\n \\"DnsServer\\": [\\n \\"{\\\\\\"DnsServer\\\\\\": [\\\\\\"ns1.alidns.com\\\\\\",\\\\\\"ns2.alidns.com\\\\\\"]}\\"\\n ]\\n },\\n \\"GroupId\\": \\"defaultGroup\\"\\n}","type":"json"}]',
- 'title' => '添加域名',
- 'description' => '域名合法性判断参见:'."\n"
- .'<props="china">[域名合法性](https://help.aliyun.com/document_detail/67788.html)。</props>'."\n"
- .'<props="intl">[域名合法性](https://www.alibabacloud.com/help/zh/doc-detail/67788.htm)。</props>',
+ 'title' => '新建域名备份',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteDomain' => [
- 'summary' => '根据传入参数删除域名。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDomainBackup'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDomainBackup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PeriodType\\": \\"HOUR\\",\\n \\"RequestId\\": \\"FD552816-FCC8-4832-B4A2-2DA0C2BA1688\\",\\n \\"DomainName\\": \\"dns-example.top\\"\\n}","errorExample":""},{"type":"xml","example":"<AddDomainBackupResponse>\\r\\n <RequestId>FD552816-FCC8-4832-B4A2-2DA0C2BA1688</RequestId>\\r\\n <DomainName>test.aliyun.com</DomainName>\\r\\n <PeriodType>DAY</PeriodType>\\r\\n</AddDomainBackupResponse>","errorExample":""}]',
+ ],
+ 'AddDomainGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'GroupName',
'in' => 'query',
- 'schema' => [
- 'description' => '云解析中已存在的域名。<props="china">可通过调用[DescribeDomains ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0) 获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '域名分组名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'MyGroup'],
],
],
'responses' => [
@@ -2577,38 +1197,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
+ 'GroupName' => ['description' => '域名分组名称。', 'type' => 'string', 'example' => 'NewName'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'GroupId' => ['description' => '域名分组ID。', 'type' => 'string', 'example' => 'd367113100944e488352f99e3c7d****'],
],
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"DomainName\\": \\"example.com\\"\\n}","type":"json"}]',
- 'title' => '删除域名',
- ],
- 'DescribeDomains' => [
- 'summary' => '根据传入参数查询该用户的域名列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '添加域名分组',
+ 'summary' => '根据传入参数添加域名分组。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDomainGroup'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDomainGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"GroupName\\": \\"NewName\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"GroupId\\": \\"d367113100944e488352f99e3c7d****\\"\\n}","errorExample":""},{"type":"xml","example":"<AddDomainGroupResponse>\\r\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\r\\n <GroupId>2223</GroupId>\\r\\n <GroupName>NewName</GroupName>\\r\\n</AddDomainGroupResponse>","errorExample":""}]',
+ ],
+ 'AddDomainRecord' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2617,122 +1242,79 @@
'BearerToken' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:zh',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n"
+ .'默认为**zh**', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'KeyWord',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '关键字,按照“%KeyWord%”模式搜索,不区分大小写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'com',
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.1'],
],
[
- 'name' => 'GroupId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '指域名分组ID。'."\n"
- ."\n"
- .'如不填或传空字符,将在全部域名下查询。'."\n"
- ."\n"
- .'如传defaultGroup,将在默认分组下查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'defaultGroup',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'RR',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '主机记录。'."\n"
+ ."\n"
+ .'如果要解析exmaple.com,主机记录要填写”@”,而不是空。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '解析记录类型,参见:'."\n"
+ ."\n\n"
+ .'<props="china">[解析记录类型格式](https://help.aliyun.com/document_detail/29805.html)</props>'."\n"
+ ."\n\n"
+ .'<props="intl">[解析记录类型格式](https://www.alibabacloud.com/help/zh/doc-detail/29805.htm)</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'A'],
],
[
- 'name' => 'SearchMode',
+ 'name' => 'Value',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索模式。取值:'."\n"
- ."\n"
- .'- **LIKE**:模糊搜索'."\n"
- .'- **EXACT**:精确搜索'."\n"
- ."\n"
- .'默认:LIKE',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LIKE',
- ],
+ 'schema' => ['description' => '记录值。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '192.168.0.1'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'TTL',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-re********',
- ],
+ 'schema' => ['description' => '解析生效时间,默认为600秒(10分钟)。参见:'."\n"
+ ."\n"
+ .'<props="china">[TTL定义说明](https://help.aliyun.com/document_detail/29806.html)</props>'."\n"
+ ."\n"
+ .'<props="intl">[TTL定义说明](https://www.alibabacloud.com/help/zh/doc-detail/29806.htm)</props>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '86400', 'minimum' => '1', 'example' => '600', 'default' => '600'],
],
[
- 'name' => 'Starmark',
+ 'name' => 'Priority',
'in' => 'query',
- 'schema' => [
- 'description' => '是否查询域名星标。取值:'."\n"
- ."\n"
- .'- **true**:是'."\n"
- ."\n"
- .'- **false**:**否**'."\n"
- ."\n"
- .'默认:true',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'MX记录的优先级,取值范围:`[1,50]`。'."\n"
+ ."\n"
+ .'记录类型为MX记录时,此参数必需,MX 优先级的数值越低,优先级别就越高。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '65535', 'minimum' => '0', 'example' => '1'],
+ ],
+ [
+ 'name' => 'Line',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析线路,默认为**default**。参见:'."\n"
+ ."\n"
+ .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
+ ."\n"
+ .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>', 'type' => 'string', 'required' => false, 'example' => 'default', 'default' => 'default'],
],
],
'responses' => [
@@ -2740,269 +1322,85 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Domains' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Domain' => [
- 'description' => '本次获取的域名列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '本次获取的域名列表。',
- 'type' => 'object',
- 'properties' => [
- 'Remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => 'remark',
- ],
- 'CreateTime' => [
- 'description' => '域名添加时间。',
- 'type' => 'string',
- 'example' => '2019-01-30T05:25Z',
- ],
- 'RecordCount' => [
- 'description' => '域名含有的解析记录条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'Tags' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Tag' => [
- 'description' => '标签键值对数组。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => '测试标签',
- ],
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => '测试标签值',
- ],
- ],
- ],
- ],
- ],
- ],
- 'InstanceId' => [
- 'description' => '云解析产品ID。',
- 'type' => 'string',
- 'example' => 'i-***',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com'."\n",
- ],
- 'DomainId' => [
- 'description' => '域名ID。',
- 'type' => 'string',
- 'example' => '00efd71a-770e-4255-*********',
- ],
- 'AliDomain' => [
- 'description' => '是否为阿里云万网域名。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'GroupId' => [
- 'description' => '域名分组ID。',
- 'type' => 'string',
- 'example' => '2***',
- ],
- 'GroupName' => [
- 'description' => '域名分组名称。',
- 'type' => 'string',
- 'example' => 'mygroup',
- ],
- 'ResourceGroupId' => [
- 'description' => '所属资源组ID。',
- 'type' => 'string',
- 'example' => 'rg***',
- ],
- 'InstanceEndTime' => [
- 'description' => '实例的到期时间。',
- 'type' => 'string',
- 'example' => '2020-03-14T16:00Z',
- ],
- 'InstanceExpired' => [
- 'description' => '实例是否过期。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'VersionName' => [
- 'description' => '云解析产品名称。',
- 'type' => 'string',
- 'example' => '企业旗舰版',
- ],
- 'DnsServers' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DnsServer' => [
- 'description' => '云解析系统分配的DNS服务器名称列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '云解析系统分配的DNS服务器名称。',
- 'type' => 'string',
- 'example' => '{"DnsServer": ["ns1.alidns.com","ns2.alidns.com"]}',
- ],
- ],
- ],
- ],
- 'VersionCode' => [
- 'description' => '云解析版本Code。',
- 'type' => 'string',
- 'example' => 'version_enterprise_basic',
- ],
- 'PunyCode' => [
- 'description' => '中文域名的punycode码,英文域名返回为空。',
- 'type' => 'string',
- 'example' => 'example.com'."\n",
- ],
- 'RegistrantEmail' => [
- 'description' => '注册人邮箱。',
- 'type' => 'string',
- 'example' => '****@example.com',
- ],
- 'CreateTimestamp' => [
- 'description' => '添加时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1660546144000',
- ],
- 'Starmark' => [
- 'description' => '是否收藏至常用域名列表。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DomainLoggingSwitchStatus' => [
- 'description' => '域名DNS流量分析开启状态:'."\n"
- ."\n"
- .'- OPEN:开启'."\n"
- ."\n"
- .'- CLOSE:关闭',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- 'SlaveDnsStatus' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'description' => '域名列表总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '68386699-8B9E-4D5B-BC4C-75A28F6C2A00',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'RecordId' => ['description' => '解析记录的ID。', 'type' => 'string', 'example' => '999******'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Domains\\": {\\n \\"Domain\\": [\\n {\\n \\"Remark\\": \\"remark\\",\\n \\"CreateTime\\": \\"2019-01-30T05:25Z\\",\\n \\"RecordCount\\": 100,\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"测试标签\\",\\n \\"Value\\": \\"测试标签值\\"\\n }\\n ]\\n },\\n \\"InstanceId\\": \\"i-***\\",\\n \\"DomainName\\": \\"example.com\\\\n\\",\\n \\"DomainId\\": \\"00efd71a-770e-4255-*********\\",\\n \\"AliDomain\\": true,\\n \\"GroupId\\": \\"2***\\",\\n \\"GroupName\\": \\"mygroup\\",\\n \\"ResourceGroupId\\": \\"rg***\\",\\n \\"InstanceEndTime\\": \\"2020-03-14T16:00Z\\",\\n \\"InstanceExpired\\": false,\\n \\"VersionName\\": \\"企业旗舰版\\",\\n \\"DnsServers\\": {\\n \\"DnsServer\\": [\\n \\"{\\\\\\"DnsServer\\\\\\": [\\\\\\"ns1.alidns.com\\\\\\",\\\\\\"ns2.alidns.com\\\\\\"]}\\"\\n ]\\n },\\n \\"VersionCode\\": \\"version_enterprise_basic\\",\\n \\"PunyCode\\": \\"example.com\\\\n\\",\\n \\"RegistrantEmail\\": \\"****@example.com\\",\\n \\"CreateTimestamp\\": 1660546144000,\\n \\"Starmark\\": true,\\n \\"DomainLoggingSwitchStatus\\": \\"OPEN\\",\\n \\"SlaveDnsStatus\\": \\"\\"\\n }\\n ]\\n },\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"68386699-8B9E-4D5B-BC4C-75A28F6C2A00\\",\\n \\"PageNumber\\": 1\\n}","type":"json"}]',
- 'title' => '获取域名列表',
- 'description' => '1. 可以指定页码(PageNumber)和每页的数量(PageSize)来获取域名列表。'."\n"
- .'2. 可以指定域名的关键字(KeyWord)来查询含有该关键字的域名列表。'."\n"
- .'3. 域名列表的默认排序方式是按照域名添加的时间从新到旧排序的。'."\n"
- .'4. 可以指定域名分组的ID(GroupId),全部域名代表所有域名、默认分组代表未设置分组的域名。',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => '添加解析记录',
+ 'summary' => '根据传入参数添加解析记录。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDomainInfo' => [
- 'summary' => '根据传入参数查询指定域名的信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDomainRecord'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDomainRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordId\\": \\"999******\\"\\n}","type":"json"}]',
+ ],
+ 'AddGtmAccessStrategy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认值:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。可通过调用[DescribeDomains ](~~2357286~~)获取',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'instance1'],
],
[
- 'name' => 'NeedDetailAttributes',
+ 'name' => 'StrategyName',
'in' => 'query',
- 'schema' => [
- 'description' => '是否返回域名详细的属性,取值范围:'."\n"
- .'- true:'."\n"
- .'- false '."\n"
- ."\n"
- .'默认值:false,不需要细节属性。'."\n"
- ."\n"
- .'当值为**true**时,则返回以下数据:lineType、minTtl、recordLineTreeJson、recordLines、lineCode、lineDisplayName、lineName、regionLines、slaveDns。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '访问策略测试'],
+ ],
+ [
+ 'name' => 'DefaultAddrPoolId',
+ 'in' => 'query',
+ 'schema' => ['description' => '主地址池集合ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hrsix'],
+ ],
+ [
+ 'name' => 'FailoverAddrPoolId',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池集合ID。'."\n"
+ ."\n"
+ .'若未设置备地址池集合,参数输入**EMPTY**。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hrsyw'],
+ ],
+ [
+ 'name' => 'AccessLines',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析请求来源。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '["default", "drpeng"]'],
],
],
'responses' => [
@@ -3010,388 +1408,179 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RecordLineTreeJson' => [
- 'description' => '树形化解析请求来源线路列表。',
- 'type' => 'string',
- 'example' => '{"default":{},"unicom":{},"telecom":{},"mobile":{},"edu":{},"oversea":{},"baidu":{},"biying":{},"google":{}}',
- ],
- 'GroupName' => [
- 'description' => '域名分组名称。',
- 'type' => 'string',
- 'example' => 'mygroup',
- ],
- 'InBlackHole' => [
- 'description' => '是否在黑洞中。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'RegionLines' => [
- 'description' => '是否是地域线路。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'SlaveDns' => [
- 'description' => '是否允许有辅助dns。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AliDomain' => [
- 'description' => '是否为阿里云万网域名。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-aek3dj3******',
- ],
- 'InstanceId' => [
- 'description' => '云解析产品ID。',
- 'type' => 'string',
- 'example' => 'i-7**',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2015-12-12T09:23Z',
- ],
- 'PunyCode' => [
- 'description' => '只针对中文域名返回punycode码。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'DnsServers' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DnsServer' => [
- 'description' => '域名在解析系统中的DNS列表',
- 'type' => 'array',
- 'items' => [
- 'description' => 'DNS信息。',
- 'type' => 'string',
- 'example' => '["vip3.alidns.com", "vip4.alidns.com"]',
- ],
- ],
- ],
- ],
- 'Remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => 'remark',
- ],
- 'GroupId' => [
- 'description' => '域名分组ID。',
- 'type' => 'string',
- 'example' => '2***',
- ],
- 'VersionCode' => [
- 'description' => '云解析版本ID。取值范围:'."\n"
- .'- version_enterprise_advanced:企业旗舰版'."\n"
- .'- version_personal 个人版'."\n"
- .'- mianfei:免费版',
- 'type' => 'string',
- 'example' => 'mianfei',
- ],
- 'RecordLines' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'RecordLine' => [
- 'description' => '解析请求来源线路数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'FatherCode' => [
- 'description' => '父线路Code,如果没有则为空。',
- 'type' => 'string',
- 'example' => 'internal',
- ],
- 'LineDisplayName' => [
- 'description' => '父线路展示名。',
- 'type' => 'string',
- 'example' => '中国地区_西北',
- ],
- 'LineCode' => [
- 'description' => '子线路Code。',
- 'type' => 'string',
- 'example' => 'cn_region_xibei',
- ],
- 'LineName' => [
- 'description' => '子线路展示名。',
- 'type' => 'string',
- 'example' => '西北',
- ],
- ],
- ],
- ],
- ],
- ],
- 'DomainId' => [
- 'description' => '域名ID。',
- 'type' => 'string',
- 'example' => '00efd71a-7************',
- ],
- 'AvailableTtls' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AvailableTtl' => [
- 'description' => '域名当前可用TTL列表。默认不返回,需要设置NeedDetailAttributes=true。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可用TTL列表。',
- 'type' => 'string',
- 'example' => '[600,1800,3600,43200,86400]',
- ],
- ],
- ],
- ],
- 'MinTtl' => [
- 'description' => '最小TTL。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'InClean' => [
- 'description' => '是否在清洗中。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'VersionName' => [
- 'description' => '云解析产品名称。',
- 'type' => 'string',
- 'example' => '企业旗舰版',
- ],
- 'LineType' => [
- 'description' => '解析请求来源线路类型。',
- 'type' => 'string',
- 'example' => 'region_province',
- ],
- 'SubDomain' => [
- 'description' => '查询的 domain 是否是托管的子域名。'."\n"
- .'取值:'."\n"
- .'- true'."\n"
- .'- false',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'DomainLoggingSwitchStatus' => [
- 'description' => '日志开关状态',
- 'type' => 'string',
- 'example' => 'CLOSE:关闭状态'."\n"
- .'OPEN:开启状态',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
+ 'StrategyId' => ['description' => '策略ID。', 'type' => 'string', 'example' => 'strategyid'],
],
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RecordLineTreeJson\\": \\"{\\\\\\"default\\\\\\":{},\\\\\\"unicom\\\\\\":{},\\\\\\"telecom\\\\\\":{},\\\\\\"mobile\\\\\\":{},\\\\\\"edu\\\\\\":{},\\\\\\"oversea\\\\\\":{},\\\\\\"baidu\\\\\\":{},\\\\\\"biying\\\\\\":{},\\\\\\"google\\\\\\":{}}\\",\\n \\"GroupName\\": \\"mygroup\\",\\n \\"InBlackHole\\": false,\\n \\"RegionLines\\": false,\\n \\"SlaveDns\\": true,\\n \\"AliDomain\\": true,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"ResourceGroupId\\": \\"rg-aek3dj3******\\",\\n \\"InstanceId\\": \\"i-7**\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"CreateTime\\": \\"2015-12-12T09:23Z\\",\\n \\"PunyCode\\": \\"example.com\\",\\n \\"DnsServers\\": {\\n \\"DnsServer\\": [\\n \\"[\\\\\\"vip3.alidns.com\\\\\\", \\\\\\"vip4.alidns.com\\\\\\"]\\"\\n ]\\n },\\n \\"Remark\\": \\"remark\\",\\n \\"GroupId\\": \\"2***\\",\\n \\"VersionCode\\": \\"mianfei\\",\\n \\"RecordLines\\": {\\n \\"RecordLine\\": [\\n {\\n \\"FatherCode\\": \\"internal\\",\\n \\"LineDisplayName\\": \\"中国地区_西北\\",\\n \\"LineCode\\": \\"cn_region_xibei\\",\\n \\"LineName\\": \\"西北\\"\\n }\\n ]\\n },\\n \\"DomainId\\": \\"00efd71a-7************\\",\\n \\"AvailableTtls\\": {\\n \\"AvailableTtl\\": [\\n \\"[600,1800,3600,43200,86400]\\"\\n ]\\n },\\n \\"MinTtl\\": 1,\\n \\"InClean\\": false,\\n \\"VersionName\\": \\"企业旗舰版\\",\\n \\"LineType\\": \\"region_province\\",\\n \\"SubDomain\\": false,\\n \\"DomainLoggingSwitchStatus\\": \\"CLOSE:关闭状态\\\\nOPEN:开启状态\\"\\n}","errorExample":""},{"type":"xml","example":"<GroupName>dns-example.com</GroupName>\\n<RecordLineTreeJson>{\\"default\\":{},\\"aliyun\\":{\\"aliyun_r_cn-hangzhou\\":[],\\"aliyun_r_cn-shanghai\\":[],\\"aliyun_r_cn-qingdao\\":[],\\"aliyun_r_cn-beijing\\":[],\\"aliyun_r_cn-zhangjiakou\\":[],\\"aliyun_r_cn-huhehaote\\":[],\\"aliyun_r_cn-wulanchabu\\":[],\\"aliyun_r_cn-shenzhen\\":[],\\"aliyun_r_cn-heyuan\\":[],\\"aliyun_r_cn-guangzhou\\":[],\\"aliyun_r_cn-chengdu\\":[],\\"aliyun_r_cn-hongkong\\":[],\\"aliyun_r_ap-southeast-1\\":[],\\"aliyun_r_ap-southeast-2\\":[],\\"aliyun_r_ap-southeast-3\\":[],\\"aliyun_r_ap-southeast-5\\":[],\\"aliyun_r_ap-northeast-1\\":[],\\"aliyun_r_eu-central-1\\":[],\\"aliyun_r_eu-west-1\\":[],\\"aliyun_r_us-west-1\\":[],\\"aliyun_r_us-east-1\\":[],\\"aliyun_r_ap-south-1\\":[],\\"aliyun_r_me-east-1\\":[]},\\"unicom\\":{\\"cn_unicom_xizang\\":[],\\"cn_unicom_jiangxi\\":[],\\"cn_unicom_hunan\\":[],\\"cn_unicom_xinjiang\\":[],\\"cn_unicom_ningxia\\":[],\\"cn_unicom_tianjin\\":[],\\"cn_unicom_sichuan\\":[],\\"cn_unicom_guangxi\\":[],\\"cn_unicom_yunnan\\":[],\\"cn_unicom_guangdong\\":[],\\"cn_unicom_anhui\\":[],\\"cn_unicom_shanghai\\":[],\\"cn_unicom_fujian\\":[],\\"cn_unicom_qinghai\\":[],\\"cn_unicom_shanxi\\":[],\\"cn_unicom_henan\\":[],\\"cn_unicom_guizhou\\":[],\\"cn_unicom_liaoning\\":[],\\"cn_unicom_gansu\\":[],\\"cn_unicom_chongqing\\":[],\\"cn_unicom_heilongjiang\\":[],\\"cn_unicom_hubei\\":[],\\"cn_unicom_jiangsu\\":[],\\"cn_unicom_jilin\\":[],\\"cn_unicom_shandong\\":[],\\"cn_unicom_beijing\\":[],\\"cn_unicom_neimenggu\\":[],\\"cn_unicom_hainan\\":[],\\"cn_unicom_shaanxi\\":[],\\"cn_unicom_hebei\\":[],\\"cn_unicom_zhejiang\\":[]},\\"telecom\\":{\\"cn_telecom_xinjiang\\":[],\\"cn_telecom_hubei\\":[],\\"cn_telecom_guizhou\\":[],\\"cn_telecom_yunnan\\":[],\\"cn_telecom_shanghai\\":[],\\"cn_telecom_shaanxi\\":[],\\"cn_telecom_beijing\\":[],\\"cn_telecom_sichuan\\":[],\\"cn_telecom_zhejiang\\":[],\\"cn_telecom_ningxia\\":[],\\"cn_telecom_jilin\\":[],\\"cn_telecom_qinghai\\":[],\\"cn_telecom_fujian\\":[],\\"cn_telecom_hunan\\":[],\\"cn_telecom_shandong\\":[],\\"cn_telecom_guangdong\\":[],\\"cn_telecom_chongqing\\":[],\\"cn_telecom_henan\\":[],\\"cn_telecom_hainan\\":[],\\"cn_telecom_anhui\\":[],\\"cn_telecom_jiangsu\\":[],\\"cn_telecom_gansu\\":[],\\"cn_telecom_guangxi\\":[],\\"cn_telecom_liaoning\\":[],\\"cn_telecom_hebei\\":[],\\"cn_telecom_jiangxi\\":[],\\"cn_telecom_neimenggu\\":[],\\"cn_telecom_tianjin\\":[],\\"cn_telecom_xizang\\":[],\\"cn_telecom_heilongjiang\\":[],\\"cn_telecom_shanxi\\":[]},\\"mobile\\":{\\"cn_mobile_sichuan\\":[],\\"cn_mobile_liaoning\\":[],\\"cn_mobile_ningxia\\":[],\\"cn_mobile_qinghai\\":[],\\"cn_mobile_shanxi\\":[],\\"cn_mobile_beijing\\":[],\\"cn_mobile_yunnan\\":[],\\"cn_mobile_heilongjiang\\":[],\\"cn_mobile_henan\\":[],\\"cn_mobile_shaanxi\\":[],\\"cn_mobile_gansu\\":[],\\"cn_mobile_jilin\\":[],\\"cn_mobile_guangxi\\":[],\\"cn_mobile_jiangxi\\":[],\\"cn_mobile_shanghai\\":[],\\"cn_mobile_xinjiang\\":[],\\"cn_mobile_xizang\\":[],\\"cn_mobile_tianjin\\":[],\\"cn_mobile_hunan\\":[],\\"cn_mobile_neimenggu\\":[],\\"cn_mobile_zhejiang\\":[],\\"cn_mobile_hebei\\":[],\\"cn_mobile_guizhou\\":[],\\"cn_mobile_jiangsu\\":[],\\"cn_mobile_guangdong\\":[],\\"cn_mobile_chongqing\\":[],\\"cn_mobile_hainan\\":[],\\"cn_mobile_fujian\\":[],\\"cn_mobile_shandong\\":[],\\"cn_mobile_anhui\\":[],\\"cn_mobile_hubei\\":[]},\\"edu\\":{\\"cn_edu_guizhou\\":[],\\"cn_edu_guangdong\\":[],\\"cn_edu_hainan\\":[],\\"cn_edu_jilin\\":[],\\"cn_edu_gansu\\":[],\\"cn_edu_tianjin\\":[],\\"cn_edu_shanxi\\":[],\\"cn_edu_jiangsu\\":[],\\"cn_edu_hunan\\":[],\\"cn_edu_shandong\\":[],\\"cn_edu_xizang\\":[],\\"cn_edu_yunnan\\":[],\\"cn_edu_shaanxi\\":[],\\"cn_edu_heilongjiang\\":[],\\"cn_edu_hubei\\":[],\\"cn_edu_xinjiang\\":[],\\"cn_edu_zhejiang\\":[],\\"cn_edu_jiangxi\\":[],\\"cn_edu_chongqing\\":[],\\"cn_edu_sichuan\\":[],\\"cn_edu_qinghai\\":[],\\"cn_edu_henan\\":[],\\"cn_edu_neimenggu\\":[],\\"cn_edu_anhui\\":[],\\"cn_edu_beijing\\":[],\\"cn_edu_guangxi\\":[],\\"cn_edu_liaoning\\":[],\\"cn_edu_ningxia\\":[],\\"cn_edu_fujian\\":[],\\"cn_edu_shanghai\\":[],\\"cn_edu_hebei\\":[]},\\"drpeng\\":{\\"cn_drpeng_qinghai\\":[],\\"cn_drpeng_shanghai\\":[],\\"cn_drpeng_jiangsu\\":[],\\"cn_drpeng_yunnan\\":[],\\"cn_drpeng_liaoning\\":[],\\"cn_drpeng_beijing\\":[],\\"cn_drpeng_fujian\\":[],\\"cn_drpeng_shanxi\\":[],\\"cn_drpeng_jiangxi\\":[],\\"cn_drpeng_gansu\\":[],\\"cn_drpeng_jilin\\":[],\\"cn_drpeng_guangdong\\":[],\\"cn_drpeng_hubei\\":[],\\"cn_drpeng_ningxia\\":[],\\"cn_drpeng_hainan\\":[],\\"cn_drpeng_hebei\\":[],\\"cn_drpeng_heilongjiang\\":[],\\"cn_drpeng_xizang\\":[],\\"cn_drpeng_anhui\\":[],\\"cn_drpeng_hunan\\":[],\\"cn_drpeng_henan\\":[],\\"cn_drpeng_neimenggu\\":[],\\"cn_drpeng_guangxi\\":[],\\"cn_drpeng_shandong\\":[],\\"cn_drpeng_xinjiang\\":[],\\"cn_drpeng_guizhou\\":[],\\"cn_drpeng_sichuan\\":[],\\"cn_drpeng_chongqing\\":[],\\"cn_drpeng_shaanxi\\":[],\\"cn_drpeng_tianjin\\":[],\\"cn_drpeng_zhejiang\\":[]},\\"btvn\\":{\\"cn_btvn_hebei\\":[],\\"cn_btvn_qinghai\\":[],\\"cn_btvn_shanxi\\":[],\\"cn_btvn_ningxia\\":[],\\"cn_btvn_guangxi\\":[],\\"cn_btvn_jiangsu\\":[],\\"cn_btvn_guangdong\\":[],\\"cn_btvn_jilin\\":[],\\"cn_btvn_shanghai\\":[],\\"cn_btvn_henan\\":[],\\"cn_btvn_tianjin\\":[],\\"cn_btvn_anhui\\":[],\\"cn_btvn_guizhou\\":[],\\"cn_btvn_chongqing\\":[],\\"cn_btvn_liaoning\\":[],\\"cn_btvn_xizang\\":[],\\"cn_btvn_zhejiang\\":[],\\"cn_btvn_xinjiang\\":[],\\"cn_btvn_yunnan\\":[],\\"cn_btvn_shandong\\":[],\\"cn_btvn_neimenggu\\":[],\\"cn_btvn_shaanxi\\":[],\\"cn_btvn_fujian\\":[],\\"cn_btvn_beijing\\":[],\\"cn_btvn_heilongjiang\\":[],\\"cn_btvn_gansu\\":[],\\"cn_btvn_sichuan\\":[],\\"cn_btvn_hubei\\":[],\\"cn_btvn_hunan\\":[],\\"cn_btvn_hainan\\":[],\\"cn_btvn_jiangxi\\":[]},\\"oversea\\":{\\"os_asia\\":[\\"os_asia_tr\\",\\"os_asia_om\\",\\"os_asia_kz\\",\\"os_asia_ae\\",\\"os_asia_kr\\",\\"os_asia_tw\\",\\"os_asia_pk\\",\\"os_asia_ir\\",\\"os_asia_uz\\",\\"os_asia_mm\\",\\"os_asia_id\\",\\"os_asia_bh\\",\\"os_asia_my\\",\\"os_asia_lb\\",\\"os_asia_kp\\",\\"os_asia_qa\\",\\"os_asia_vn\\",\\"os_asia_sy\\",\\"os_asia_ph\\",\\"os_asia_kw\\",\\"os_asia_mn\\",\\"os_asia_mo\\",\\"os_asia_kh\\",\\"os_asia_mv\\",\\"os_asia_la\\",\\"os_asia_sg\\",\\"os_asia_np\\",\\"os_asia_sa\\",\\"os_asia_iq\\",\\"os_asia_th\\",\\"os_asia_jp\\",\\"os_asia_in\\",\\"os_asia_hk\\",\\"os_asia_il\\"],\\"os_africa\\":[\\"os_africa_ao\\",\\"os_africa_gh\\",\\"os_africa_sc\\",\\"os_africa_dz\\",\\"os_africa_ng\\",\\"os_africa_sd\\",\\"os_africa_cm\\",\\"os_africa_ss\\",\\"os_africa_ci\\",\\"os_africa_sn\\",\\"os_africa_eg\\",\\"os_africa_za\\",\\"os_africa_ke\\",\\"os_africa_ma\\"],\\"os_namerica\\":[\\"os_namerica_ca\\",\\"os_namerica_us\\",\\"os_namerica_cu\\",\\"os_namerica_mx\\"],\\"os_oceanica\\":[\\"os_oceanica_nz\\",\\"os_oceanica_fj\\",\\"os_oceanica_au\\",\\"os_oceanica_pw\\"],\\"os_samerica\\":[\\"os_samerica_ec\\",\\"os_samerica_uy\\",\\"os_samerica_ar\\",\\"os_samerica_br\\",\\"os_samerica_co\\",\\"os_samerica_cl\\",\\"os_samerica_py\\",\\"os_samerica_ve\\",\\"os_samerica_bo\\",\\"os_samerica_pe\\"],\\"os_euro\\":[\\"os_euro_hr\\",\\"os_euro_es\\",\\"os_euro_pl\\",\\"os_euro_pt\\",\\"os_euro_ch\\",\\"os_euro_dk\\",\\"os_euro_ua\\",\\"os_euro_it\\",\\"os_euro_de\\",\\"os_euro_fi\\",\\"os_euro_fr\\",\\"os_euro_ro\\",\\"os_euro_ie\\",\\"os_euro_be\\",\\"os_euro_hu\\",\\"os_euro_se\\",\\"os_euro_by\\",\\"os_euro_lt\\",\\"os_euro_sk\\",\\"os_euro_cz\\",\\"os_euro_nl\\",\\"os_euro_gb\\",\\"os_euro_at\\",\\"os_euro_bg\\",\\"os_euro_is\\",\\"os_euro_si\\",\\"os_euro_ru\\"]},\\"search\\":{\\"google\\":[],\\"baidu\\":[],\\"biying\\":[],\\"youdao\\":[]},\\"hra1e0-1161\\":{},\\"hra15r-864\\":{},\\"hra15q-863\\":{},\\"hra15p-862\\":{},\\"hra15o-861\\":{},\\"hra15n-860\\":{},\\"hra14m-823\\":{}}</RecordLineTreeJson>\\n<InBlackHole>false</InBlackHole>\\n<RegionLines>true</RegionLines>\\n<RequestId>CA8F8FEE-BE0E-4DC8-AEA8-0B2EAD4CB756</RequestId>\\n<AliDomain>true</AliDomain>\\n<SlaveDns>true</SlaveDns>\\n<ResourceGroupId>rg-acfmw2vjqzvwrfi</ResourceGroupId>\\n<DomainName>dns-example.com</DomainName>\\n<InstanceId>dns-cn-st21yjlom5j</InstanceId>\\n<CreateTime>2019-01-30T05:25Z</CreateTime>\\n<PunyCode>dns-example.com</PunyCode>\\n<DnsServers>\\n <DnsServer>vip3.alidns.com</DnsServer>\\n <DnsServer>vip4.alidns.com</DnsServer>\\n</DnsServers>\\n<Remark/>\\n<GroupId>de0efd8ff83c4178946fe37fa6eafaf4</GroupId>\\n<VersionCode>version_enterprise_advanced</VersionCode>\\n<RecordLines>\\n <RecordLine>\\n <LineDisplayName>默认</LineDisplayName>\\n <LineCode>default</LineCode>\\n <LineName>默认</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>阿里云</LineDisplayName>\\n <LineCode>aliyun</LineCode>\\n <LineName>阿里云</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华东1(杭州)</LineDisplayName>\\n <LineCode>aliyun_r_cn-hangzhou</LineCode>\\n <LineName>华东1(杭州)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华东2(上海)</LineDisplayName>\\n <LineCode>aliyun_r_cn-shanghai</LineCode>\\n <LineName>华东2(上海)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华北1(青岛)</LineDisplayName>\\n <LineCode>aliyun_r_cn-qingdao</LineCode>\\n <LineName>华北1(青岛)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华北2(北京)</LineDisplayName>\\n <LineCode>aliyun_r_cn-beijing</LineCode>\\n <LineName>华北2(北京)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华北3(张家口)</LineDisplayName>\\n <LineCode>aliyun_r_cn-zhangjiakou</LineCode>\\n <LineName>华北3(张家口)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华北5(呼和浩特)</LineDisplayName>\\n <LineCode>aliyun_r_cn-huhehaote</LineCode>\\n <LineName>华北5(呼和浩特)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华北6(乌兰察布)</LineDisplayName>\\n <LineCode>aliyun_r_cn-wulanchabu</LineCode>\\n <LineName>华北6(乌兰察布)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华南1(深圳)</LineDisplayName>\\n <LineCode>aliyun_r_cn-shenzhen</LineCode>\\n <LineName>华南1(深圳)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华南2(河源)</LineDisplayName>\\n <LineCode>aliyun_r_cn-heyuan</LineCode>\\n <LineName>华南2(河源)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华南3(广州)</LineDisplayName>\\n <LineCode>aliyun_r_cn-guangzhou</LineCode>\\n <LineName>华南3(广州)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_西南1(成都)</LineDisplayName>\\n <LineCode>aliyun_r_cn-chengdu</LineCode>\\n <LineName>西南1(成都)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_中国(香港)</LineDisplayName>\\n <LineCode>aliyun_r_cn-hongkong</LineCode>\\n <LineName>中国(香港)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_新加坡</LineDisplayName>\\n <LineCode>aliyun_r_ap-southeast-1</LineCode>\\n <LineName>新加坡</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_澳大利亚(悉尼)</LineDisplayName>\\n <LineCode>aliyun_r_ap-southeast-2</LineCode>\\n <LineName>澳大利亚(悉尼)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_马来西亚(吉隆坡)</LineDisplayName>\\n <LineCode>aliyun_r_ap-southeast-3</LineCode>\\n <LineName>马来西亚(吉隆坡)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_印度尼西亚(雅加达)</LineDisplayName>\\n <LineCode>aliyun_r_ap-southeast-5</LineCode>\\n <LineName>印度尼西亚(雅加达)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_日本(东京)</LineDisplayName>\\n <LineCode>aliyun_r_ap-northeast-1</LineCode>\\n <LineName>日本(东京)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_德国(法兰克福)</LineDisplayName>\\n <LineCode>aliyun_r_eu-central-1</LineCode>\\n <LineName>德国(法兰克福)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_英国(伦敦)</LineDisplayName>\\n <LineCode>aliyun_r_eu-west-1</LineCode>\\n <LineName>英国(伦敦)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_美国(硅谷)</LineDisplayName>\\n <LineCode>aliyun_r_us-west-1</LineCode>\\n <LineName>美国(硅谷)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_美国(弗吉尼亚)</LineDisplayName>\\n <LineCode>aliyun_r_us-east-1</LineCode>\\n <LineName>美国(弗吉尼亚)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_印度(孟买)</LineDisplayName>\\n <LineCode>aliyun_r_ap-south-1</LineCode>\\n <LineName>印度(孟买)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_中东东部 1 (迪拜)</LineDisplayName>\\n <LineCode>aliyun_r_me-east-1</LineCode>\\n <LineName>中东东部 1 (迪拜)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国联通</LineDisplayName>\\n <LineCode>unicom</LineCode>\\n <LineName>中国联通</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_西藏</LineDisplayName>\\n <LineCode>cn_unicom_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_江西</LineDisplayName>\\n <LineCode>cn_unicom_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_湖南</LineDisplayName>\\n <LineCode>cn_unicom_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_新疆</LineDisplayName>\\n <LineCode>cn_unicom_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_宁夏</LineDisplayName>\\n <LineCode>cn_unicom_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_天津</LineDisplayName>\\n <LineCode>cn_unicom_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_四川</LineDisplayName>\\n <LineCode>cn_unicom_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_广西</LineDisplayName>\\n <LineCode>cn_unicom_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_云南</LineDisplayName>\\n <LineCode>cn_unicom_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_广东</LineDisplayName>\\n <LineCode>cn_unicom_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_安徽</LineDisplayName>\\n <LineCode>cn_unicom_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_上海</LineDisplayName>\\n <LineCode>cn_unicom_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_福建</LineDisplayName>\\n <LineCode>cn_unicom_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_青海</LineDisplayName>\\n <LineCode>cn_unicom_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_山西</LineDisplayName>\\n <LineCode>cn_unicom_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_河南</LineDisplayName>\\n <LineCode>cn_unicom_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_贵州</LineDisplayName>\\n <LineCode>cn_unicom_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_辽宁</LineDisplayName>\\n <LineCode>cn_unicom_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_甘肃</LineDisplayName>\\n <LineCode>cn_unicom_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_重庆</LineDisplayName>\\n <LineCode>cn_unicom_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_黑龙江</LineDisplayName>\\n <LineCode>cn_unicom_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_湖北</LineDisplayName>\\n <LineCode>cn_unicom_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_江苏</LineDisplayName>\\n <LineCode>cn_unicom_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_吉林</LineDisplayName>\\n <LineCode>cn_unicom_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_山东</LineDisplayName>\\n <LineCode>cn_unicom_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_北京</LineDisplayName>\\n <LineCode>cn_unicom_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_内蒙古</LineDisplayName>\\n <LineCode>cn_unicom_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_海南</LineDisplayName>\\n <LineCode>cn_unicom_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_陕西</LineDisplayName>\\n <LineCode>cn_unicom_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_河北</LineDisplayName>\\n <LineCode>cn_unicom_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_浙江</LineDisplayName>\\n <LineCode>cn_unicom_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国电信</LineDisplayName>\\n <LineCode>telecom</LineCode>\\n <LineName>中国电信</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_新疆</LineDisplayName>\\n <LineCode>cn_telecom_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_湖北</LineDisplayName>\\n <LineCode>cn_telecom_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_贵州</LineDisplayName>\\n <LineCode>cn_telecom_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_云南</LineDisplayName>\\n <LineCode>cn_telecom_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_上海</LineDisplayName>\\n <LineCode>cn_telecom_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_陕西</LineDisplayName>\\n <LineCode>cn_telecom_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_北京</LineDisplayName>\\n <LineCode>cn_telecom_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_四川</LineDisplayName>\\n <LineCode>cn_telecom_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_浙江</LineDisplayName>\\n <LineCode>cn_telecom_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_宁夏</LineDisplayName>\\n <LineCode>cn_telecom_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_吉林</LineDisplayName>\\n <LineCode>cn_telecom_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_青海</LineDisplayName>\\n <LineCode>cn_telecom_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_福建</LineDisplayName>\\n <LineCode>cn_telecom_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_湖南</LineDisplayName>\\n <LineCode>cn_telecom_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_山东</LineDisplayName>\\n <LineCode>cn_telecom_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_广东</LineDisplayName>\\n <LineCode>cn_telecom_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_重庆</LineDisplayName>\\n <LineCode>cn_telecom_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_河南</LineDisplayName>\\n <LineCode>cn_telecom_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_海南</LineDisplayName>\\n <LineCode>cn_telecom_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_安徽</LineDisplayName>\\n <LineCode>cn_telecom_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_江苏</LineDisplayName>\\n <LineCode>cn_telecom_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_甘肃</LineDisplayName>\\n <LineCode>cn_telecom_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_广西</LineDisplayName>\\n <LineCode>cn_telecom_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_辽宁</LineDisplayName>\\n <LineCode>cn_telecom_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_河北</LineDisplayName>\\n <LineCode>cn_telecom_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_江西</LineDisplayName>\\n <LineCode>cn_telecom_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_内蒙古</LineDisplayName>\\n <LineCode>cn_telecom_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_天津</LineDisplayName>\\n <LineCode>cn_telecom_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_西藏</LineDisplayName>\\n <LineCode>cn_telecom_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_黑龙江</LineDisplayName>\\n <LineCode>cn_telecom_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_山西</LineDisplayName>\\n <LineCode>cn_telecom_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国移动</LineDisplayName>\\n <LineCode>mobile</LineCode>\\n <LineName>中国移动</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_四川</LineDisplayName>\\n <LineCode>cn_mobile_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_辽宁</LineDisplayName>\\n <LineCode>cn_mobile_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_宁夏</LineDisplayName>\\n <LineCode>cn_mobile_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_青海</LineDisplayName>\\n <LineCode>cn_mobile_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_山西</LineDisplayName>\\n <LineCode>cn_mobile_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_北京</LineDisplayName>\\n <LineCode>cn_mobile_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_云南</LineDisplayName>\\n <LineCode>cn_mobile_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_黑龙江</LineDisplayName>\\n <LineCode>cn_mobile_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_河南</LineDisplayName>\\n <LineCode>cn_mobile_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_陕西</LineDisplayName>\\n <LineCode>cn_mobile_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_甘肃</LineDisplayName>\\n <LineCode>cn_mobile_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_吉林</LineDisplayName>\\n <LineCode>cn_mobile_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_广西</LineDisplayName>\\n <LineCode>cn_mobile_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_江西</LineDisplayName>\\n <LineCode>cn_mobile_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_上海</LineDisplayName>\\n <LineCode>cn_mobile_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_新疆</LineDisplayName>\\n <LineCode>cn_mobile_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_西藏</LineDisplayName>\\n <LineCode>cn_mobile_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_天津</LineDisplayName>\\n <LineCode>cn_mobile_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_湖南</LineDisplayName>\\n <LineCode>cn_mobile_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_内蒙古</LineDisplayName>\\n <LineCode>cn_mobile_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_浙江</LineDisplayName>\\n <LineCode>cn_mobile_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_河北</LineDisplayName>\\n <LineCode>cn_mobile_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_贵州</LineDisplayName>\\n <LineCode>cn_mobile_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_江苏</LineDisplayName>\\n <LineCode>cn_mobile_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_广东</LineDisplayName>\\n <LineCode>cn_mobile_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_重庆</LineDisplayName>\\n <LineCode>cn_mobile_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_海南</LineDisplayName>\\n <LineCode>cn_mobile_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_福建</LineDisplayName>\\n <LineCode>cn_mobile_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_山东</LineDisplayName>\\n <LineCode>cn_mobile_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_安徽</LineDisplayName>\\n <LineCode>cn_mobile_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_湖北</LineDisplayName>\\n <LineCode>cn_mobile_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国教育网</LineDisplayName>\\n <LineCode>edu</LineCode>\\n <LineName>中国教育网</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_贵州</LineDisplayName>\\n <LineCode>cn_edu_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_广东</LineDisplayName>\\n <LineCode>cn_edu_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_海南</LineDisplayName>\\n <LineCode>cn_edu_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_吉林</LineDisplayName>\\n <LineCode>cn_edu_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_甘肃</LineDisplayName>\\n <LineCode>cn_edu_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_天津</LineDisplayName>\\n <LineCode>cn_edu_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_山西</LineDisplayName>\\n <LineCode>cn_edu_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_江苏</LineDisplayName>\\n <LineCode>cn_edu_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_湖南</LineDisplayName>\\n <LineCode>cn_edu_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_山东</LineDisplayName>\\n <LineCode>cn_edu_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_西藏</LineDisplayName>\\n <LineCode>cn_edu_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_云南</LineDisplayName>\\n <LineCode>cn_edu_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_陕西</LineDisplayName>\\n <LineCode>cn_edu_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_黑龙江</LineDisplayName>\\n <LineCode>cn_edu_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_湖北</LineDisplayName>\\n <LineCode>cn_edu_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_新疆</LineDisplayName>\\n <LineCode>cn_edu_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_浙江</LineDisplayName>\\n <LineCode>cn_edu_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_江西</LineDisplayName>\\n <LineCode>cn_edu_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_重庆</LineDisplayName>\\n <LineCode>cn_edu_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_四川</LineDisplayName>\\n <LineCode>cn_edu_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_青海</LineDisplayName>\\n <LineCode>cn_edu_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_河南</LineDisplayName>\\n <LineCode>cn_edu_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_内蒙古</LineDisplayName>\\n <LineCode>cn_edu_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_安徽</LineDisplayName>\\n <LineCode>cn_edu_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_北京</LineDisplayName>\\n <LineCode>cn_edu_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_广西</LineDisplayName>\\n <LineCode>cn_edu_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_辽宁</LineDisplayName>\\n <LineCode>cn_edu_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_宁夏</LineDisplayName>\\n <LineCode>cn_edu_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_福建</LineDisplayName>\\n <LineCode>cn_edu_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_上海</LineDisplayName>\\n <LineCode>cn_edu_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_河北</LineDisplayName>\\n <LineCode>cn_edu_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国鹏博士</LineDisplayName>\\n <LineCode>drpeng</LineCode>\\n <LineName>中国鹏博士</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_青海</LineDisplayName>\\n <LineCode>cn_drpeng_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_上海</LineDisplayName>\\n <LineCode>cn_drpeng_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_江苏</LineDisplayName>\\n <LineCode>cn_drpeng_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_云南</LineDisplayName>\\n <LineCode>cn_drpeng_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_辽宁</LineDisplayName>\\n <LineCode>cn_drpeng_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_北京</LineDisplayName>\\n <LineCode>cn_drpeng_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_福建</LineDisplayName>\\n <LineCode>cn_drpeng_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_山西</LineDisplayName>\\n <LineCode>cn_drpeng_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_江西</LineDisplayName>\\n <LineCode>cn_drpeng_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_甘肃</LineDisplayName>\\n <LineCode>cn_drpeng_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_吉林</LineDisplayName>\\n <LineCode>cn_drpeng_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_广东</LineDisplayName>\\n <LineCode>cn_drpeng_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_湖北</LineDisplayName>\\n <LineCode>cn_drpeng_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_宁夏</LineDisplayName>\\n <LineCode>cn_drpeng_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_海南</LineDisplayName>\\n <LineCode>cn_drpeng_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_河北</LineDisplayName>\\n <LineCode>cn_drpeng_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_黑龙江</LineDisplayName>\\n <LineCode>cn_drpeng_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_西藏</LineDisplayName>\\n <LineCode>cn_drpeng_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_安徽</LineDisplayName>\\n <LineCode>cn_drpeng_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_湖南</LineDisplayName>\\n <LineCode>cn_drpeng_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_河南</LineDisplayName>\\n <LineCode>cn_drpeng_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_内蒙古</LineDisplayName>\\n <LineCode>cn_drpeng_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_广西</LineDisplayName>\\n <LineCode>cn_drpeng_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_山东</LineDisplayName>\\n <LineCode>cn_drpeng_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_新疆</LineDisplayName>\\n <LineCode>cn_drpeng_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_贵州</LineDisplayName>\\n <LineCode>cn_drpeng_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_四川</LineDisplayName>\\n <LineCode>cn_drpeng_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_重庆</LineDisplayName>\\n <LineCode>cn_drpeng_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_陕西</LineDisplayName>\\n <LineCode>cn_drpeng_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_天津</LineDisplayName>\\n <LineCode>cn_drpeng_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_浙江</LineDisplayName>\\n <LineCode>cn_drpeng_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国广电网</LineDisplayName>\\n <LineCode>btvn</LineCode>\\n <LineName>中国广电网</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_河北</LineDisplayName>\\n <LineCode>cn_btvn_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_青海</LineDisplayName>\\n <LineCode>cn_btvn_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_山西</LineDisplayName>\\n <LineCode>cn_btvn_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_宁夏</LineDisplayName>\\n <LineCode>cn_btvn_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_广西</LineDisplayName>\\n <LineCode>cn_btvn_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_江苏</LineDisplayName>\\n <LineCode>cn_btvn_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_广东</LineDisplayName>\\n <LineCode>cn_btvn_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_吉林</LineDisplayName>\\n <LineCode>cn_btvn_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_上海</LineDisplayName>\\n <LineCode>cn_btvn_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_河南</LineDisplayName>\\n <LineCode>cn_btvn_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_天津</LineDisplayName>\\n <LineCode>cn_btvn_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_安徽</LineDisplayName>\\n <LineCode>cn_btvn_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_贵州</LineDisplayName>\\n <LineCode>cn_btvn_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_重庆</LineDisplayName>\\n <LineCode>cn_btvn_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_辽宁</LineDisplayName>\\n <LineCode>cn_btvn_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_西藏</LineDisplayName>\\n <LineCode>cn_btvn_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_浙江</LineDisplayName>\\n <LineCode>cn_btvn_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_新疆</LineDisplayName>\\n <LineCode>cn_btvn_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_云南</LineDisplayName>\\n <LineCode>cn_btvn_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_山东</LineDisplayName>\\n <LineCode>cn_btvn_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_内蒙古</LineDisplayName>\\n <LineCode>cn_btvn_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_陕西</LineDisplayName>\\n <LineCode>cn_btvn_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_福建</LineDisplayName>\\n <LineCode>cn_btvn_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_北京</LineDisplayName>\\n <LineCode>cn_btvn_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_黑龙江</LineDisplayName>\\n <LineCode>cn_btvn_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_甘肃</LineDisplayName>\\n <LineCode>cn_btvn_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_四川</LineDisplayName>\\n <LineCode>cn_btvn_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_湖北</LineDisplayName>\\n <LineCode>cn_btvn_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国��电网_湖南</LineDisplayName>\\n <LineCode>cn_btvn_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_海南</LineDisplayName>\\n <LineCode>cn_btvn_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_江西</LineDisplayName>\\n <LineCode>cn_btvn_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>境外</LineDisplayName>\\n <LineCode>oversea</LineCode>\\n <LineName>境外</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_亚洲</LineDisplayName>\\n <LineCode>os_asia</LineCode>\\n <LineName>亚洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_土耳其</LineDisplayName>\\n <LineCode>os_asia_tr</LineCode>\\n <LineName>土耳其</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_阿曼</LineDisplayName>\\n <LineCode>os_asia_om</LineCode>\\n <LineName>阿曼</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_哈萨克斯坦</LineDisplayName>\\n <LineCode>os_asia_kz</LineCode>\\n <LineName>哈萨克斯坦</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_阿联酋</LineDisplayName>\\n <LineCode>os_asia_ae</LineCode>\\n <LineName>阿联酋</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_韩国</LineDisplayName>\\n <LineCode>os_asia_kr</LineCode>\\n <LineName>韩国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_中国台湾</LineDisplayName>\\n <LineCode>os_asia_tw</LineCode>\\n <LineName>中国台湾</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_巴基斯坦</LineDisplayName>\\n <LineCode>os_asia_pk</LineCode>\\n <LineName>巴基斯坦</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_伊朗</LineDisplayName>\\n <LineCode>os_asia_ir</LineCode>\\n <LineName>伊朗</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_乌兹别克斯坦</LineDisplayName>\\n <LineCode>os_asia_uz</LineCode>\\n <LineName>乌兹别克斯坦</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_缅甸</LineDisplayName>\\n <LineCode>os_asia_mm</LineCode>\\n <LineName>缅甸</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_印尼</LineDisplayName>\\n <LineCode>os_asia_id</LineCode>\\n <LineName>印尼</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_巴林</LineDisplayName>\\n <LineCode>os_asia_bh</LineCode>\\n <LineName>巴林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_马来西亚</LineDisplayName>\\n <LineCode>os_asia_my</LineCode>\\n <LineName>马来西亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_黎巴嫩</LineDisplayName>\\n <LineCode>os_asia_lb</LineCode>\\n <LineName>黎巴嫩</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_朝鲜</LineDisplayName>\\n <LineCode>os_asia_kp</LineCode>\\n <LineName>朝鲜</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_卡塔尔</LineDisplayName>\\n <LineCode>os_asia_qa</LineCode>\\n <LineName>卡塔尔</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_越南</LineDisplayName>\\n <LineCode>os_asia_vn</LineCode>\\n <LineName>越南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_叙利亚</LineDisplayName>\\n <LineCode>os_asia_sy</LineCode>\\n <LineName>叙利亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_菲律宾</LineDisplayName>\\n <LineCode>os_asia_ph</LineCode>\\n <LineName>菲律宾</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_科威特</LineDisplayName>\\n <LineCode>os_asia_kw</LineCode>\\n <LineName>科威特</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_蒙古</LineDisplayName>\\n <LineCode>os_asia_mn</LineCode>\\n <LineName>蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_中国澳门</LineDisplayName>\\n <LineCode>os_asia_mo</LineCode>\\n <LineName>中国澳门</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_柬埔寨</LineDisplayName>\\n <LineCode>os_asia_kh</LineCode>\\n <LineName>柬埔寨</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_马尔代夫</LineDisplayName>\\n <LineCode>os_asia_mv</LineCode>\\n <LineName>马尔代夫</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_老挝</LineDisplayName>\\n <LineCode>os_asia_la</LineCode>\\n <LineName>老挝</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_新加坡</LineDisplayName>\\n <LineCode>os_asia_sg</LineCode>\\n <LineName>新加坡</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_尼泊尔</LineDisplayName>\\n <LineCode>os_asia_np</LineCode>\\n <LineName>尼泊尔</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_沙特</LineDisplayName>\\n <LineCode>os_asia_sa</LineCode>\\n <LineName>沙特</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_伊拉克</LineDisplayName>\\n <LineCode>os_asia_iq</LineCode>\\n <LineName>伊拉克</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_泰国</LineDisplayName>\\n <LineCode>os_asia_th</LineCode>\\n <LineName>泰国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_日本</LineDisplayName>\\n <LineCode>os_asia_jp</LineCode>\\n <LineName>日本</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_印度</LineDisplayName>\\n <LineCode>os_asia_in</LineCode>\\n <LineName>印度</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_中国香港</LineDisplayName>\\n <LineCode>os_asia_hk</LineCode>\\n <LineName>中国香港</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_以色列</LineDisplayName>\\n <LineCode>os_asia_il</LineCode>\\n <LineName>以色列</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_非洲</LineDisplayName>\\n <LineCode>os_africa</LineCode>\\n <LineName>非洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_安哥拉</LineDisplayName>\\n <LineCode>os_africa_ao</LineCode>\\n <LineName>安哥拉</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_加纳</LineDisplayName>\\n <LineCode>os_africa_gh</LineCode>\\n <LineName>加纳</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_塞舌尔</LineDisplayName>\\n <LineCode>os_africa_sc</LineCode>\\n <LineName>塞舌尔</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_阿尔及利亚</LineDisplayName>\\n <LineCode>os_africa_dz</LineCode>\\n <LineName>阿尔及利亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_尼日利亚</LineDisplayName>\\n <LineCode>os_africa_ng</LineCode>\\n <LineName>尼日利亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_苏丹</LineDisplayName>\\n <LineCode>os_africa_sd</LineCode>\\n <LineName>苏丹</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_喀麦隆</LineDisplayName>\\n <LineCode>os_africa_cm</LineCode>\\n <LineName>喀麦隆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_南苏丹</LineDisplayName>\\n <LineCode>os_africa_ss</LineCode>\\n <LineName>南苏丹</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_科特迪瓦</LineDisplayName>\\n <LineCode>os_africa_ci</LineCode>\\n <LineName>科特迪瓦</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_塞内加尔</LineDisplayName>\\n <LineCode>os_africa_sn</LineCode>\\n <LineName>塞内加尔</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_埃及</LineDisplayName>\\n <LineCode>os_africa_eg</LineCode>\\n <LineName>埃及</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_南非</LineDisplayName>\\n <LineCode>os_africa_za</LineCode>\\n <LineName>南非</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_肯尼亚</LineDisplayName>\\n <LineCode>os_africa_ke</LineCode>\\n <LineName>肯尼亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_摩洛哥</LineDisplayName>\\n <LineCode>os_africa_ma</LineCode>\\n <LineName>摩洛哥</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_北美洲</LineDisplayName>\\n <LineCode>os_namerica</LineCode>\\n <LineName>北美洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_namerica</FatherCode>\\n <LineDisplayName>北美洲_加拿大</LineDisplayName>\\n <LineCode>os_namerica_ca</LineCode>\\n <LineName>加拿大</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_namerica</FatherCode>\\n <LineDisplayName>北美洲_美国</LineDisplayName>\\n <LineCode>os_namerica_us</LineCode>\\n <LineName>美国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_namerica</FatherCode>\\n <LineDisplayName>北美洲_古巴</LineDisplayName>\\n <LineCode>os_namerica_cu</LineCode>\\n <LineName>古巴</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_namerica</FatherCode>\\n <LineDisplayName>北美洲_墨西哥</LineDisplayName>\\n <LineCode>os_namerica_mx</LineCode>\\n <LineName>墨西哥</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_大洋洲</LineDisplayName>\\n <LineCode>os_oceanica</LineCode>\\n <LineName>大洋洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_oceanica</FatherCode>\\n <LineDisplayName>大洋洲_新西兰</LineDisplayName>\\n <LineCode>os_oceanica_nz</LineCode>\\n <LineName>新西兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_oceanica</FatherCode>\\n <LineDisplayName>大洋洲_斐济</LineDisplayName>\\n <LineCode>os_oceanica_fj</LineCode>\\n <LineName>斐济</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_oceanica</FatherCode>\\n <LineDisplayName>大洋洲_澳大利亚</LineDisplayName>\\n <LineCode>os_oceanica_au</LineCode>\\n <LineName>澳大利亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_oceanica</FatherCode>\\n <LineDisplayName>大洋洲_帕劳</LineDisplayName>\\n <LineCode>os_oceanica_pw</LineCode>\\n <LineName>帕劳</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_南美洲</LineDisplayName>\\n <LineCode>os_samerica</LineCode>\\n <LineName>南美洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_厄瓜多尔</LineDisplayName>\\n <LineCode>os_samerica_ec</LineCode>\\n <LineName>厄瓜多尔</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_乌拉圭</LineDisplayName>\\n <LineCode>os_samerica_uy</LineCode>\\n <LineName>乌拉圭</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_阿根廷</LineDisplayName>\\n <LineCode>os_samerica_ar</LineCode>\\n <LineName>阿根廷</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_巴西</LineDisplayName>\\n <LineCode>os_samerica_br</LineCode>\\n <LineName>巴西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_哥伦比亚</LineDisplayName>\\n <LineCode>os_samerica_co</LineCode>\\n <LineName>哥伦比亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_智利</LineDisplayName>\\n <LineCode>os_samerica_cl</LineCode>\\n <LineName>智利</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_巴拉圭</LineDisplayName>\\n <LineCode>os_samerica_py</LineCode>\\n <LineName>巴拉圭</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_委内瑞拉</LineDisplayName>\\n <LineCode>os_samerica_ve</LineCode>\\n <LineName>委内瑞拉</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_玻利维亚</LineDisplayName>\\n <LineCode>os_samerica_bo</LineCode>\\n <LineName>玻利维亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_秘鲁</LineDisplayName>\\n <LineCode>os_samerica_pe</LineCode>\\n <LineName>秘鲁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_欧洲</LineDisplayName>\\n <LineCode>os_euro</LineCode>\\n <LineName>欧洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_克罗地亚</LineDisplayName>\\n <LineCode>os_euro_hr</LineCode>\\n <LineName>克罗地亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_西班牙</LineDisplayName>\\n <LineCode>os_euro_es</LineCode>\\n <LineName>西班牙</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_波兰</LineDisplayName>\\n <LineCode>os_euro_pl</LineCode>\\n <LineName>波兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_葡萄牙</LineDisplayName>\\n <LineCode>os_euro_pt</LineCode>\\n <LineName>葡萄牙</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_瑞士</LineDisplayName>\\n <LineCode>os_euro_ch</LineCode>\\n <LineName>瑞士</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_丹麦</LineDisplayName>\\n <LineCode>os_euro_dk</LineCode>\\n <LineName>丹麦</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_乌克兰</LineDisplayName>\\n <LineCode>os_euro_ua</LineCode>\\n <LineName>乌克兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_意大利</LineDisplayName>\\n <LineCode>os_euro_it</LineCode>\\n <LineName>意大利</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_德国</LineDisplayName>\\n <LineCode>os_euro_de</LineCode>\\n <LineName>德国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_芬兰</LineDisplayName>\\n <LineCode>os_euro_fi</LineCode>\\n <LineName>芬兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_法国</LineDisplayName>\\n <LineCode>os_euro_fr</LineCode>\\n <LineName>法国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_罗马尼亚</LineDisplayName>\\n <LineCode>os_euro_ro</LineCode>\\n <LineName>罗马尼亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_爱尔兰</LineDisplayName>\\n <LineCode>os_euro_ie</LineCode>\\n <LineName>爱尔兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_比利时</LineDisplayName>\\n <LineCode>os_euro_be</LineCode>\\n <LineName>比利时</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_匈牙利</LineDisplayName>\\n <LineCode>os_euro_hu</LineCode>\\n <LineName>匈牙利</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_瑞典</LineDisplayName>\\n <LineCode>os_euro_se</LineCode>\\n <LineName>瑞典</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_白俄罗斯</LineDisplayName>\\n <LineCode>os_euro_by</LineCode>\\n <LineName>白俄罗斯</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_立陶宛</LineDisplayName>\\n <LineCode>os_euro_lt</LineCode>\\n <LineName>立陶宛</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_斯洛伐克</LineDisplayName>\\n <LineCode>os_euro_sk</LineCode>\\n <LineName>斯洛伐克</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_捷克</LineDisplayName>\\n <LineCode>os_euro_cz</LineCode>\\n <LineName>捷克</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_荷兰</LineDisplayName>\\n <LineCode>os_euro_nl</LineCode>\\n <LineName>荷兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_英国</LineDisplayName>\\n <LineCode>os_euro_gb</LineCode>\\n <LineName>英国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_奥地利</LineDisplayName>\\n <LineCode>os_euro_at</LineCode>\\n <LineName>奥地利</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_保加利亚</LineDisplayName>\\n <LineCode>os_euro_bg</LineCode>\\n <LineName>保加利亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_冰岛</LineDisplayName>\\n <LineCode>os_euro_is</LineCode>\\n <LineName>冰岛</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_斯洛文尼亚</LineDisplayName>\\n <LineCode>os_euro_si</LineCode>\\n <LineName>斯洛文尼亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_俄罗斯</LineDisplayName>\\n <LineCode>os_euro_ru</LineCode>\\n <LineName>俄罗斯</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>搜索引擎</LineDisplayName>\\n <LineCode>search</LineCode>\\n <LineName>搜索引擎</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>search</FatherCode>\\n <LineDisplayName>谷歌</LineDisplayName>\\n <LineCode>google</LineCode>\\n <LineName>谷歌</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>search</FatherCode>\\n <LineDisplayName>百度</LineDisplayName>\\n <LineCode>baidu</LineCode>\\n <LineName>百度</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>search</FatherCode>\\n <LineDisplayName>必应</LineDisplayName>\\n <LineCode>biying</LineCode>\\n <LineName>必应</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>search</FatherCode>\\n <LineDisplayName>有道</LineDisplayName>\\n <LineCode>youdao</LineCode>\\n <LineName>有道</LineName>\\n </RecordLine>\\n</RecordLines>\\n<DomainId>f8f8cd88-f253-48f5-a0ba-befcd5d0dc03</DomainId>\\n<AvailableTtls>\\n <AvailableTtl>1</AvailableTtl>\\n <AvailableTtl>5</AvailableTtl>\\n <AvailableTtl>10</AvailableTtl>\\n <AvailableTtl>60</AvailableTtl>\\n <AvailableTtl>120</AvailableTtl>\\n <AvailableTtl>600</AvailableTtl>\\n <AvailableTtl>1800</AvailableTtl>\\n <AvailableTtl>3600</AvailableTtl>\\n <AvailableTtl>43200</AvailableTtl>\\n <AvailableTtl>86400</AvailableTtl>\\n</AvailableTtls>\\n<VersionName>Alibaba Cloud DNS</VersionName>\\n<MinTtl>1</MinTtl>\\n<InClean>false</InClean>\\n<LineType>isp</LineType>","errorExample":""}]',
- 'title' => '获取域名信息',
- 'description' => '本示例中域名绑定的实例为企业旗舰版。线路枚举信息可以参考RecordLines的返回值。',
+ 'errorCodes' => [],
+ 'title' => '新增访问策略(旧版)',
+ 'summary' => '根据传入参数新增访问策略。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'AddDomainBackup' => [
- 'summary' => '根据传入的域名名称和备份周期给该域名建立备份。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddGtmAccessStrategy'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#gtminstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"StrategyId\\": \\"strategyid\\"\\n}","errorExample":""},{"type":"xml","example":"<AddGtmAccessStrategyResponse>\\r\\n <StrategyId>xxxx</StrategyId>\\r\\n\\t<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n</AddGtmAccessStrategyResponse>","errorExample":""}]',
+ ],
+ 'AddGtmAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '用户语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'dns-example.top',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-xxxxxxx'],
],
[
- 'name' => 'PeriodType',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '备份周期,当前支持:'."\n"
- ."\n"
- .'- DAY:每天备份一次'."\n"
- .'- HOUR:每小时备份一次',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'HOUR',
- ],
+ 'schema' => ['description' => '地址池名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '测试'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'PeriodType' => [
- 'description' => '备份周期。',
- 'type' => 'string',
- 'example' => 'HOUR',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'FD552816-FCC8-4832-B4A2-2DA0C2BA1688',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'dns-example.top',
- ],
- ],
- ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池类型。取值:'."\n"
+ ."\n"
+ .'- **IP**:IPv4地址'."\n"
+ .'- **DOMAIN**:域名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'IP'],
],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PeriodType\\": \\"HOUR\\",\\n \\"RequestId\\": \\"FD552816-FCC8-4832-B4A2-2DA0C2BA1688\\",\\n \\"DomainName\\": \\"dns-example.top\\"\\n}","errorExample":""},{"type":"xml","example":"<AddDomainBackupResponse>\\r\\n <RequestId>FD552816-FCC8-4832-B4A2-2DA0C2BA1688</RequestId>\\r\\n <DomainName>test.aliyun.com</DomainName>\\r\\n <PeriodType>DAY</PeriodType>\\r\\n</AddDomainBackupResponse>","errorExample":""}]',
- 'title' => '新建域名备份',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ChangeDomainOfDnsProduct' => [
- 'summary' => '更换云解析产品绑定的域名。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'MinAvailableAddrNum',
+ 'in' => 'query',
+ 'schema' => ['description' => '最小可用地址数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1'],
],
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsT5OPHE',
+ [
+ 'name' => 'MonitorStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '健康检查开启状态。取值:'."\n"
+ ."\n"
+ .'- **OPEN**:开启'."\n"
+ .'- **CLOSE**(默认):关闭', 'type' => 'string', 'required' => false, 'example' => 'OPEN'],
],
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ProtocolType',
'in' => 'query',
- 'schema' => [
- 'description' => '请求和接收消息的语言类型。'."\n"
- .'取值:'."\n"
- ."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n"
- ."\n"
- .'默认值为**zh**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '检查协议。取值:'."\n"
+ ."\n"
+ .'- HTTP'."\n"
+ .'- HTTPS'."\n"
+ .'- Ping'."\n"
+ .'- TCP', 'type' => 'string', 'required' => false, 'example' => 'TCP'],
],
[
- 'name' => 'UserClientIp',
+ 'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.XX.XX',
- ],
+ 'schema' => ['description' => '检查间隔,单位:秒,取值范围:60。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'EvaluationCount',
'in' => 'query',
- 'schema' => [
- 'description' => '云解析产品ID。'."\n"
- .'<props="china">可通过调用 [ListCloudGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_14_34.14ce3409EfbfOE) 获取。</props>'."\n"
- .'<props="intl">可通过调用 [ListCloudGtmInstances ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取。</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'i-7XX',
- ],
+ 'schema' => ['description' => '连续失败次数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
- 'name' => 'NewDomain',
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => ['description' => '超时时间,单位:毫秒,取值范围:2000、3000、5000、10000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5000'],
+ ],
+ [
+ 'name' => 'MonitorExtendInfo',
'in' => 'query',
+ 'schema' => ['description' => '扩展信息。根据不同协议,进行传参:'."\n"
+ ."\n"
+ .'HTTP、HTTPS:'."\n"
+ .' '."\n"
+ .'- port:检查端口'."\n"
+ .'- failureRate:失败比例'."\n"
+ .'- code:返回码(大于此值会被判定为异常)。取值:400、500。'."\n"
+ .'- host:Host设置'."\n"
+ .'- path:URL路径'."\n"
+ ."\n"
+ .'PING:'."\n"
+ ."\n"
+ .'- packetNum:ping包数目'."\n"
+ .'- packetLossRate:丢包率'."\n"
+ .'- failureRate:失败比例'."\n"
+ ."\n"
+ .'TCP:'."\n"
+ ."\n"
+ .'- port:检查端口'."\n"
+ .'- failureRate:失败比例', 'type' => 'string', 'required' => false, 'example' => '{"host":"aliyun.com","port":80}'],
+ ],
+ [
+ 'name' => 'Addr',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '目标绑定域名,如不填写,则为解绑。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
+ 'description' => '地址池列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['description' => '地址池地址。', 'type' => 'string', 'required' => false, 'example' => '1.1.XX.XX'],
+ 'LbaWeight' => ['description' => '地址池权重。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'Mode' => ['description' => '地址池模式。取值:'."\n"
+ ."\n"
+ .'- **SMART**:智能返回'."\n"
+ .'- **ONLINE**:永远在线'."\n"
+ .'- **OFFLINE**:永远离线', 'type' => 'string', 'required' => false, 'example' => 'SMART'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 50,
],
],
[
- 'name' => 'Force',
+ 'name' => 'IspCityNode',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '是否强制绑定。'."\n"
- .'取值:'."\n"
- ."\n"
- .'- **false**:**否**'."\n"
- .'- **true**:**是**'."\n"
- ."\n"
- .'默认值为**false**。',
- 'type' => 'boolean',
+ 'description' => '监控城市节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '监控节点的城市Code。具体取值请参考DescribeGtmMonitorAvailableConfig的返回值。', 'type' => 'string', 'required' => false, 'example' => '546'],
+ 'IspCode' => ['description' => '- 具体取值可参考:DescribeGtmMonitorAvailableConfig接口返回数据。'."\n"
+ .'- GroupType为BGP或Overseas时,IspCityNode.N.IspCode为非必传值,默认为465。'."\n"
+ .'- GroupType为非BGP或Overseas时,IspCityNode.N.IspCode为必传值。并与IspCityNode.N.CityCode匹配使用。', 'type' => 'string', 'required' => false, 'example' => '465'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => 'false',
- 'default' => 'false',
+ 'maxItems' => 20,
],
],
],
@@ -3400,89 +1589,134 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'OriginalDomain' => [
- 'description' => '原始绑定的域名,如果为空,则为第一次绑定。',
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'AddrPoolId' => ['description' => '地址池ID。', 'type' => 'string', 'example' => 'hraf3x'],
+ 'MonitorConfigId' => ['description' => '健康检查配置ID。', 'type' => 'string', 'example' => 'hraf14'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"OriginalDomain\\": \\"www.example.com\\"\\n}","errorExample":""},{"type":"xml","example":"<ChangeDomainOfDnsProductResponse>\\r\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\r\\n <OriginalDomain>originaldomain.com</OriginalDomain>\\r\\n</ChangeDomainOfDnsProductResponse>","errorExample":""}]',
- 'title' => '更换云解析产品绑定的域名',
- 'description' => '- **无论当前云解析产品是否绑定域名,都调用此接口。从云解析产品中解绑域名,也调用此接口,即NewDomain为空。**'."\n"
- ."\n"
- .'- **本接口适用于老版本实例,如果是新版本套餐,例如个人版、企业标准版、企业旗舰版实例,请调用BindInstanceDomains接口。**',
+ 'title' => '新增地址池(旧版)',
+ 'summary' => '新增地址池。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ModifyHichinaDomainDNS' => [
- 'summary' => '变更域名绑定的DNS服务器名称,从其他服务商的DNS服务器名称,修改为阿里云解析DNS提供的DNS服务器名称。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddGtmAddressPool'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#gtminstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"AddrPoolId\\": \\"hraf3x\\",\\n \\"MonitorConfigId\\": \\"hraf14\\"\\n}","errorExample":""},{"type":"xml","example":"<AddGtmAddressPoolResponse>\\r\\n <RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<AddrPoolId>hraf3x</AddrPoolId>\\r\\n\\t<MonitorConfigId>hraf14</MonitorConfigId>\\r\\n</AddGtmAddressPoolResponse>","errorExample":""}]',
+ ],
+ 'AddGtmMonitor' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'UserClientIp',
+ 'name' => 'AddrPoolId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.0',
- ],
+ 'schema' => ['description' => '地址池ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'xxxx'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'ProtocolType',
+ 'in' => 'query',
+ 'schema' => ['description' => '检查协议。取值:'."\n"
+ ."\n"
+ .'- HTTP'."\n"
+ .'- HTTPS'."\n"
+ .'- PING'."\n"
+ .'- TCP', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'HTTP'],
+ ],
+ [
+ 'name' => 'Interval',
'in' => 'query',
+ 'schema' => ['description' => '检查间隔,单位:秒,取值范围:60。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '60'],
+ ],
+ [
+ 'name' => 'EvaluationCount',
+ 'in' => 'query',
+ 'schema' => ['description' => '连续失败次数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3'],
+ ],
+ [
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => ['description' => '超时时间,单位:毫秒,取值范围:2000、3000、5000、10000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '3000'],
+ ],
+ [
+ 'name' => 'MonitorExtendInfo',
+ 'in' => 'query',
+ 'schema' => ['description' => '扩展信息。根据不同协议,进行传参:'."\n"
+ ."\n"
+ .'HTTP、HTTPS:'."\n"
+ ."\n"
+ .'- port:检查端口'."\n"
+ .'- failureRate:失败比例'."\n"
+ .'- code:返回码(大于此值会被判定为异常)。取值:400、500。'."\n"
+ .'- host:Host设置'."\n"
+ .'- path:URL路径'."\n"
+ ."\n"
+ .'PING:'."\n"
+ ."\n"
+ .'- packetNum:ping包数'."\n"
+ .'- packetLossRate:丢包率'."\n"
+ .'- failureRate:失败比例'."\n"
+ ."\n"
+ .'TCP:'."\n"
+ ."\n"
+ .'- port:检查端口'."\n"
+ .'- failureRate:失败比例', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{\\"code\\":200,\\"path\\":\\"/index.htm\\",\\"host\\":\\"aliyun.com\\"}'],
+ ],
+ [
+ 'name' => 'IspCityNode',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '域名名称。',
- 'type' => 'string',
+ 'description' => '监控城市节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '监控城市节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '城市Code。'."\n"
+ ."\n"
+ .'具体取值可参考:DescribeGtmMonitorAvailableConfig接口返回数据。', 'type' => 'string', 'required' => false, 'example' => '503'],
+ 'IspCode' => ['description' => '具体取值可参考:DescribeGtmMonitorAvailableConfig接口返回数据。'."\n"
+ ."\n"
+ .'- GroupType为BGP或Overseas时,IspCityNode.N.IspCode为非必传值,默认为465。'."\n"
+ .'- GroupType为非BGP或Overseas时,IspCityNode.N.IspCode为必传值。并与IspCityNode.N.CityCode匹配使用。', 'type' => 'string', 'required' => false, 'example' => '465'],
+ ],
+ 'required' => false,
+ ],
'required' => true,
- 'docRequired' => true,
- 'example' => 'dns-example.top',
+ 'maxItems' => 20,
],
],
],
@@ -3491,117 +1725,70 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'NewDnsServers' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DnsServer' => [
- 'description' => '域名修改后的DNS服务器列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名修改后的DNS服务器。',
- 'type' => 'string',
- 'example' => '{"DnsServer": ["dns9.hichina.com","dns10.hichina.com"]}',
- ],
- ],
- ],
- ],
- 'OriginalDnsServers' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DnsServer' => [
- 'description' => '域名修改前的DNS服务器列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名修改前的DNS服务器。',
- 'type' => 'string',
- 'example' => '{"DnsServer": ["NS3.DNSV5.COM","NS4.DNSV5.COM"]}',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'MonitorConfigId' => ['description' => '健康检查配置ID', 'type' => 'string', 'example' => '1234abc'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"NewDnsServers\\": {\\n \\"DnsServer\\": [\\n \\"{\\\\\\"DnsServer\\\\\\": [\\\\\\"dns9.hichina.com\\\\\\",\\\\\\"dns10.hichina.com\\\\\\"]}\\"\\n ]\\n },\\n \\"OriginalDnsServers\\": {\\n \\"DnsServer\\": [\\n \\"{\\\\\\"DnsServer\\\\\\": [\\\\\\"NS3.DNSV5.COM\\\\\\",\\\\\\"NS4.DNSV5.COM\\\\\\"]}\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ModifyHichinaDomainDNSResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <NewDnsServers>{\\"DnsServer\\": [\\"dns9.hichina.com\\",\\"dns10.hichina.com\\"]}</NewDnsServers>\\n <OriginalDnsServers>{\\"DnsServer\\": [\\"NS3.DNSV5.COM\\",\\"NS4.DNSV5.COM\\"]}</OriginalDnsServers>\\n</ModifyHichinaDomainDNSResponse>","errorExample":""}]',
- 'title' => '修改域名DNS服务器名称',
- 'description' => '修改成功后,DNS会被修改为云解析DNS(hichina.com结尾的DNS)。'."\n"
- .'> **使用前提:适用于阿里云注册域名,且当前DNS服务器是第三方DNS的域名使用。**',
+ 'title' => '添加健康检查(旧版)',
+ 'summary' => '创建健康检查。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateDomainRemark' => [
- 'summary' => '根据传入参数修改域名的备注。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddGtmMonitor'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddGtmMonitor',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#gtminstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"MonitorConfigId\\": \\"1234abc\\"\\n}","errorExample":""},{"type":"xml","example":"<AddGtmMonitorResponse>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<MonitorConfigId>1234abc</MonitorConfigId>\\r\\n</AddGtmMonitorResponse>","errorExample":""}]',
+ ],
+ 'AddGtmRecoveryPlan' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn',
- ],
+ 'schema' => ['description' => '用户语言', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '云解析中已存在的域名。<props="china">可通过调用[DescribeDomains ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '容灾预案名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'name-example'],
],
[
'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '域名的备注信息。'."\n"
- ."\n"
- .'不超过50个字符,可以包含数字、中文、英文和特殊字符:_ - , . ,。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是我在阿里云解析的第一个域名',
- ],
+ 'schema' => ['description' => '备注', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'remark'],
+ ],
+ [
+ 'name' => 'FaultAddrPool',
+ 'in' => 'query',
+ 'schema' => ['description' => '故障地址池ID列表', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '["hra0or"]'],
],
],
'responses' => [
@@ -3609,70 +1796,117 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
+ 'RecoveryPlanId' => ['description' => '容灾预案ID', 'type' => 'string', 'example' => '100'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateDomainRemarkResponse>\\n<RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n</UpdateDomainRemarkResponse>","errorExample":""}]',
- 'title' => '修改域名的备注',
+ 'errorCodes' => [],
+ 'title' => '新增容灾预案',
+ 'summary' => '新增容灾预案。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'GetMainDomainName' => [
- 'summary' => '通过输入的参数,获取主域名名称。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddGtmRecoveryPlan'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RecoveryPlanId\\": \\"100\\",\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<AddGtmRecoveryPlanResponse>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<RecoveryPlanId>100</RecoveryPlanId>\\r\\n</AddGtmRecoveryPlanResponse>","errorExample":""}]',
+ ],
+ 'AddRecursionRecord' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
+ 'abilityTreeCode' => '243563',
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:zh',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.168.0.1'],
],
[
- 'name' => 'InputString',
+ 'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => 'Zone ID。', 'type' => 'string', 'required' => true, 'example' => '173671468000011', 'pattern' => '^\\d+$'],
+ ],
+ [
+ 'name' => 'Rr',
+ 'in' => 'query',
+ 'schema' => ['description' => '主机记录。主机记录就是域名前缀,常见用法有www、@、*(泛解析)、mail(常用于邮箱)。'."\n"
+ ."\n"
+ .'例如要解析@.exmaple.com,主机记录要填写"@”,而不是空。', 'type' => 'string', 'required' => false, 'example' => 'www'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析记录类型,目前支持如下: A:IPV4记录,支持将域名映射到IPv4地址使用 AAAA:IPV6记录,支持将域名映射到IPv6地址使用 CNAME:别名记录,支持将域名指向另外一个域名 MX:电邮交互记录,支持将域名指向邮件服务器地址 TXT:文本记录,是任意可读的文本DNS记录 SRV:服务器资源记录,用来标识某台服务器使用了某个服务,常见于微软系统的目录管理 NS:名称服务器记录,支持将子域名委托给其他DNS服务商解析 CAA:CAA资源记录,可以限定域名颁发证书和CA(证书颁发机构)之间的联系 URL:将域名指向另外一个已经存在的站点 SVCB:服务绑定记录,主要用于服务发现,以DNS记录的方式披露服务支持的协议和服务参数信息 HTTPS:针对HTTPS服务的特定记录类型,使用HTTPS记录,可约定安全的HTTPS建连协议,以及最优的服务站点地址', 'type' => 'string', 'required' => false, 'example' => 'A'],
+ ],
+ [
+ 'name' => 'RequestSource',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析线路,默认为**default**。参见:'."\n"
+ ."\n"
+ .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
+ ."\n"
+ .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>', 'type' => 'string', 'required' => false, 'example' => 'default'],
+ ],
+ [
+ 'name' => 'Weight',
+ 'in' => 'query',
+ 'schema' => ['description' => '权重值(1-100 内的整数,包括 1 和 100,默认为1),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
+ ],
+ [
+ 'name' => 'Priority',
+ 'in' => 'query',
+ 'schema' => ['description' => 'MX记录的优先级。取值越小,优先级越高,取值范围:[1,99]。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'Ttl',
+ 'in' => 'query',
+ 'schema' => ['description' => '本地缓存时间。目前取值仅支持5、30、60、3600(1小时)、43200(12小时)、86400(24小时),单位秒(s),默认60。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'],
+ ],
+ [
+ 'name' => 'Value',
+ 'in' => 'query',
+ 'schema' => ['description' => '记录值。根据不同解析记录类型,填写相应的记录值。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '6447728c8578e66aacf062d2df4446dc'."\n"],
],
],
'responses' => [
@@ -3680,91 +1914,81 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RR' => [
- 'description' => '主机记录信息。',
- 'type' => 'string',
- 'example' => 'www',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'DomainLevel' => [
- 'description' => '输入域名的级别。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
+ 'Success' => ['description' => '本次操作是否成功:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'RecordId' => ['description' => '解析记录的ID。', 'type' => 'string', 'example' => '173671468000010'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RR\\": \\"www\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DomainLevel\\": 2\\n}","type":"json"}]',
- 'title' => '获取主域名名称',
- 'description' => '关于主域名和子域名级别,参见:'."\n"
- .'<props="china">[域名级别](https://help.aliyun.com/document_detail/39803.html?spm=a2c4g.2357293.0.0.211f41ffUR1cPb)。 如输入`www.abc.com`,则输出abc.com。</props>'."\n"
- .'<props="intl">[域名级别](https://www.alibabacloud.com/help/zh/faq-detail/39803.htm)。 如输入`www.abc.com`,则输出abc.com。</props>',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDomainNs' => [
- 'summary' => '根据传入域名获取域名当前的NS服务器列表,以及NS是否属于阿里云解析管理。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '新增HTTPDNS内置权威解析记录',
+ 'summary' => '新增递归解析内置权威解析记录。',
+ 'description' => '- 查询可以指定域名(DomainName)、页码(PageNumber)和每页的数量(PageSize)来获取域名的解析列表。'."\n"
+ .'- 查询可以指定解析记录的主机记录关键字(RRKeyWord)、解析类型关键字(TypeKeyWord)或者记录值的关键字(ValueKeyWord)来查询含有该关键字的解析列表。'."\n"
+ .'- 解析列表的默认排序方式是按照解析添加的时间从新到旧排序的。'."\n"
+ .'- 可以指定域名分组的ID(GroupId),全部域名代表所有域名、默认分组代表未设置分组的域名。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'pubdns:AddRecursionRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"Success\\": true,\\n \\"RecordId\\": \\"173671468000010\\"\\n}","type":"json"}]',
+ ],
+ 'AddRecursionZone' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns379HH9'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ZoneName',
'in' => 'query',
- 'schema' => [
- 'description' => '请求和接收消息的语言类型。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'zh:中文 '."\n"
- .'en:英文 '."\n"
- ."\n"
- .'默认取值为**zh**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '域名(Zone)名称。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'ProxyPattern',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调取[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取</props>'."\n"
- .'<props="intl">可通过调取[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '是否开启子域名递归代理。取值:'."\n"
+ ."\n"
+ .'zone: 关闭(当解析本域名下不存在的子域名时,直接返回NXDOMAIN,表示子域名不存在)'."\n"
+ .'record: 开启(当解析本域名下不存在的子域名时,会依次查询“转发”和“递归”模块,并以最终查询到的解析结果来应答解析请求)', 'type' => 'string', 'required' => false, 'example' => 'record'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22'],
],
],
'responses' => [
@@ -3772,80 +1996,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'AllAliDns' => [
- 'description' => '是否全部为阿里云解析DNS。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '16C7DC7A-2FA7-4D14-8B12-88A2BB6373DB',
- ],
- 'ExpectDnsServers' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'ExpectDnsServer' => [
- 'description' => '云解析DNS分配的域名DNS服务器名称。',
- 'type' => 'array',
- 'items' => [
- 'description' => '云解析DNS分配的域名DNS服务器名称。',
- 'type' => 'string',
- 'example' => 'x1.alidns.com,x2.alidns.com',
- ],
- ],
- ],
- ],
- 'DnsServers' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DnsServer' => [
- 'description' => '域名当前设置的DNS服务器名称。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名当前设置的DNS服务器名称。',
- 'type' => 'string',
- 'example' => 'vip1.alidns.com,vip2.alidns.com',
- ],
- ],
- ],
- ],
- 'IncludeAliDns' => [
- 'description' => '是否包含阿里云解析DNS。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DetectFailedReasonCode' => [
- 'description' => '检测失败原因编码。',
- 'type' => 'string',
- 'example' => 'DnsCheck.Failed',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '51899B6F-04A5-5B96-977D-340673091ACA'],
+ 'Success' => ['description' => '本次操作是否成功,取值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'ZoneId' => ['description' => 'Zone ID。', 'type' => 'string', 'example' => '173671468000011'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"AllAliDns\\": true,\\n \\"RequestId\\": \\"16C7DC7A-2FA7-4D14-8B12-88A2BB6373DB\\",\\n \\"ExpectDnsServers\\": {\\n \\"ExpectDnsServer\\": [\\n \\"x1.alidns.com,x2.alidns.com\\"\\n ]\\n },\\n \\"DnsServers\\": {\\n \\"DnsServer\\": [\\n \\"vip1.alidns.com,vip2.alidns.com\\"\\n ]\\n },\\n \\"IncludeAliDns\\": true,\\n \\"DetectFailedReasonCode\\": \\"DnsCheck.Failed\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainNsResponse>\\r\\n <RequestId>16C7DC7A-2FA7-4D14-8B12-88A2BB6373DB</RequestId>\\r\\n <AllAliDns>true</AllAliDns>\\r\\n <DnsServers>\\r\\n <DnsServer>vip1.alidns.com</DnsServer>\\r\\n <DnsServer>vip2.alidns.com</DnsServer>\\r\\n </DnsServers>\\r\\n <IncludeAliDns>true</IncludeAliDns>\\r\\n</DescribeDomainNsResponse>","errorExample":""}]',
- 'title' => '获取域名NS服务器列表',
- 'description' => '> 此接口通过直接查询注册局权威服务器来获取域名DNS服务器名称,如果域名处于未生效状态(例如:serverHold、clientHold、未实名认证),可能会返回异常。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'SetDomainDnssecStatus' => [
- 'summary' => '开启/关闭域名的DNSSEC服务,仅支持付费版DNS用户。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '新增HTTPDNS内置权威域名zone',
+ 'summary' => '新增递归解析内置权威域名zone',
+ 'description' => '每个IP段的IP地址必须满足: EndIp >=StartIp。<br>'."\n"
+ .'域名下所有自定义线路中的所有IP段,IP范围都不能交叉重叠。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'pubdns:AddRecursionZone',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51899B6F-04A5-5B96-977D-340673091ACA\\",\\n \\"Success\\": true,\\n \\"ZoneId\\": \\"173671468000011\\"\\n}","type":"json"}]',
+ ],
+ 'AddRspDomainServerHoldStatusForGateway' => [
+ 'summary' => '用于添加特定域名的serverHold状态信息。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于添加指定域名的serverHold属性。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3857,78 +2047,89 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '幂等参数', 'description' => '幂等参数', 'type' => 'string', 'required' => true, 'example' => 'token123'],
],
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '要开启DNSSEC服务的DNS域名,仅支持付费版DNS用户。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '域名名称', 'type' => 'string', 'required' => true, 'example' => 'dns-example.top'],
],
[
- 'name' => 'Status',
+ 'name' => 'StatusMsg',
'in' => 'query',
- 'schema' => [
- 'description' => 'Dnssec状态:'."\n"
- ."\n"
- .'- ON 开启'."\n"
- .'- OFF 关闭',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ON',
- ],
+ 'schema' => ['description' => '状态描述信息', 'type' => 'string', 'required' => true, 'example' => '实名认证通过,解除serverHold状态'],
],
],
'responses' => [
200 => [
+ 'description' => '请求成功',
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
+ 'RequestId' => ['title' => '请求唯一标识'."\n", 'description' => '请求唯一标识'."\n", 'type' => 'string', 'example' => '0629502C-XXXX-5DC9-XXXX-2ED73A2E3931'],
+ 'Success' => ['title' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'RecoverableError' => ['title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'Data' => [
+ 'description' => '返回数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ ],
+ ],
+ 'AccessDeniedDetail' => [
+ 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AuthAction' => ['description' => '尝试执行的未授权操作。', 'type' => 'string', 'example' => 'AddRspDomainServerHoldStatusForGateway'],
+ 'AuthPrincipalDisplayName' => ['description' => '授权主体显示名称。', 'type' => 'string', 'example' => '2015555733387XXXX'],
+ 'AuthPrincipalOwnerId' => ['description' => '授权主体所有者ID。', 'type' => 'string', 'example' => '1046973331XXXX'],
+ 'AuthPrincipalType' => ['description' => '身份类型', 'type' => 'string', 'example' => 'SubUser'],
+ 'EncodedDiagnosticMessage' => ['description' => '加密后的完整诊断信息。', 'type' => 'string', 'example' => 'AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng=='],
+ 'NoPermissionType' => ['description' => '导致鉴权失败的原因。具体取值为:'."\n"
+ .'- ExplicitDeny:显示拒绝'."\n"
+ .'- ImplicitDeny:隐式拒绝', 'type' => 'string', 'example' => 'ImplicitDeny'],
+ 'PolicyType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DlpSend'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>","errorExample":""}]',
- 'title' => '设置域名DNSSEC状态',
- ],
- 'DescribeDomainDnssecInfo' => [
- 'summary' => '根据传入参数查询指定域名的DNSSEC信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '添加域名serverHold状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:AddRspDomainServerHoldStatusForGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-XXXX-5DC9-XXXX-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\"\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"AddRspDomainServerHoldStatusForGateway\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"1046973331XXXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'AddRspDomainServerHoldStatusForGatewayOte' => [
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3937,120 +2138,94 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,取值:'."\n"
- ."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n"
- ."\n"
- .'默认为**zh**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '幂等参数', 'description' => '幂等参数', 'type' => 'string', 'required' => true, 'example' => 'qwoefasdf'],
],
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '域名名称', 'type' => 'string', 'required' => true, 'example' => 'dns-example.top'],
+ ],
+ [
+ 'name' => 'StatusMsg',
+ 'in' => 'query',
+ 'schema' => ['description' => '状态描述信息', 'type' => 'string', 'required' => true, 'example' => '实名认证通过,解除serverHold状态'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => 'Dnssec状态:'."\n"
- ."\n"
- .'- ON:开启'."\n"
- .'- OFF:关闭',
- 'type' => 'string',
- 'example' => 'ON',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Digest' => [
- 'description' => '摘要(如果Dnssec开启则返回)。',
- 'type' => 'string',
- 'example' => 'C1A0424B97A049F1F9B2EA139CC298533219668164E343BD21203ABC4608C02A',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'PublicKey' => [
- 'description' => '公钥(如果Dnssec开启则返回)。',
- 'type' => 'string',
- 'example' => 'mdsswUyr3DPW132m******************',
- ],
- 'DigestType' => [
- 'description' => '摘要类型(如果Dnssec开启则返回)。',
- 'type' => 'string',
- 'example' => 'SHA256',
- ],
- 'DsRecord' => [
- 'description' => 'DS记录(如果Dnssec开启则返回)。',
- 'type' => 'string',
- 'example' => 'example.com. 3600 IN DS 2371 13 2 C1A0424B97A049F1F9B2EA139CC29853321966816***************',
- ],
- 'KeyTag' => [
- 'description' => '密钥标签(如果Dnssec开启则返回)。',
- 'type' => 'string',
- 'example' => '54931',
- ],
- 'Flags' => [
- 'description' => '标志(如果Dnssec开启则返回)。',
- 'type' => 'string',
- 'example' => '257 (KSK)',
+ 'RequestId' => ['title' => '请求唯一标识'."\n", 'description' => '请求唯一标识'."\n", 'type' => 'string', 'example' => '0629502C-6224-5DC9-A8ED-2ED73A2E3931'],
+ 'Success' => ['title' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'RecoverableError' => ['title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'Data' => [
+ 'description' => '返回数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ ],
],
- 'Algorithm' => [
- 'description' => '算法类型(如果Dnssec开启则返回)。',
- 'type' => 'string',
- 'example' => '13',
+ 'AccessDeniedDetail' => [
+ 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AuthAction' => ['description' => '尝试执行的未授权操作。', 'type' => 'string', 'example' => 'AddRspDomainServerHoldStatusForGatewayOte'],
+ 'AuthPrincipalDisplayName' => ['description' => '授权主体显示名称。', 'type' => 'string', 'example' => '2015555733387XXXX'],
+ 'AuthPrincipalOwnerId' => ['description' => '授权主体所有者ID。', 'type' => 'string', 'example' => '10469733312XXX'],
+ 'AuthPrincipalType' => ['description' => '身份类型', 'type' => 'string', 'example' => 'SubUser'],
+ 'EncodedDiagnosticMessage' => ['description' => '加密后的完整诊断信息。', 'type' => 'string', 'example' => 'AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ=='],
+ 'NoPermissionType' => ['description' => '导致鉴权失败的原因。具体取值为:'."\n"
+ .'- ExplicitDeny:显示拒绝'."\n"
+ .'- ImplicitDeny:隐式拒绝', 'type' => 'string', 'example' => 'ImplicitDeny'],
+ 'PolicyType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DlpSend'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"ON\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Digest\\": \\"C1A0424B97A049F1F9B2EA139CC298533219668164E343BD21203ABC4608C02A\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"PublicKey\\": \\"mdsswUyr3DPW132m******************\\",\\n \\"DigestType\\": \\"SHA256\\",\\n \\"DsRecord\\": \\"example.com. 3600 IN DS 2371 13 2 C1A0424B97A049F1F9B2EA139CC29853321966816***************\\",\\n \\"KeyTag\\": \\"54931\\",\\n \\"Flags\\": \\"257 (KSK)\\",\\n \\"Algorithm\\": \\"13\\"\\n}","errorExample":""},{"type":"xml","example":"<Status>ON</Status>\\n<RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n<Digest>C1A0424B97A049F1F9B2EA139CC298533219668164E343BD21203ABC4608C02A</Digest>\\n<DomainName>example.com</DomainName>\\n<PublicKey>mdsswUyr3DPW132mOi8V9xESWE8jTo0dxCjjnopKl+GqJxpVXckHAeF+KkxLbxILfDLUT0rAK9iUzy1L53eKGQ==</PublicKey>\\n<DigestType>SHA256</DigestType>\\n<DsRecord>example.com. 3600 IN DS 2371 13 2 C1A0424B97A049F1F9B2EA139CC298533219668164E343BD21203ABC4608C02A</DsRecord>\\n<KeyTag>54931</KeyTag>\\n<Flags>257 (KSK)</Flags>\\n<Algorithm>13</Algorithm>","errorExample":""}]',
- 'title' => '查询域名的DNSSEC信息',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '添加ServerHold状态',
+ 'summary' => '用于添加特定域名的serverHold状态信息。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于添加指定域名的serverHold状态信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:AddRspDomainServerHoldStatusForGatewayOte',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-6224-5DC9-A8ED-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\"\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"AddRspDomainServerHoldStatusForGatewayOte\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"10469733312XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
],
'BindInstanceDomains' => [
'summary' => '绑定付费版DNS域名到实例ID。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4062,49 +2237,30 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsT5OPHE',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsT5OPHE'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:zh',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:zh', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '权威域名实例ID(域名绑定的产品实例ID)。<props="china">可通过调用[ListCloudGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[ListCloudGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 's********',
- ],
+ 'schema' => ['description' => '权威域名实例ID(域名绑定的产品实例ID)。<props="china">可通过调用[ListCloudGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[ListCloudGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 's********'],
],
[
'name' => 'DomainNames',
'in' => 'query',
- 'schema' => [
- 'description' => '域名列表。'."\n"
- ."\n"
- .'>英文 " , ” 号隔开多个域名,最多100个域名。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com,example.net',
- ],
+ 'schema' => ['description' => '域名列表。'."\n"
+ ."\n"
+ .'>英文 " , ” 号隔开多个域名,最多100个域名。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com,example.net'],
],
],
'responses' => [
@@ -4112,45 +2268,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'FailedCount' => [
- 'description' => '绑定失败个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'SuccessCount' => [
- 'description' => '绑定成功个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'FailedCount' => ['description' => '绑定失败个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'SuccessCount' => ['description' => '绑定成功个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"FailedCount\\": 0,\\n \\"SuccessCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<BindInstanceDomainsResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <FailedCount>0</FailedCount>\\n <SuccessCount>2</SuccessCount>\\n</BindInstanceDomainsResponse>","errorExample":""}]',
'title' => '绑定付费版DNS域名',
'description' => '实例ID以”dns-“开头的实例为新版实例,支持绑定多个域名,调用接口直接绑定到实例,如果域名个数超过实例的配置,则会报错。<br>'."\n"
.'实例ID以非”dns-“开头的实例为旧版实例,只支持绑定一个域名,因此调用此接口,如果实例已经绑定域名,则会执行域名换绑操作。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UnbindInstanceDomains' => [
- 'summary' => '根据实例ID解绑付费版DNS的域名。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindInstanceDomains'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:BindInstanceDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"FailedCount\\": 0,\\n \\"SuccessCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<BindInstanceDomainsResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <FailedCount>0</FailedCount>\\n <SuccessCount>2</SuccessCount>\\n</BindInstanceDomainsResponse>","errorExample":""}]',
+ ],
+ 'ChangeDomainGroup' => [
+ 'summary' => '根据传入参数将域名从原分组更换到新分组。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4162,49 +2318,33 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsT5OPHE',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- ."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'DomainNames',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '域名列表。'."\n"
- ."\n"
- .'使用英文“ , ”号隔开多个域名,最多100个域名。<props="china">域名名称可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">域名名称可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com,example.net',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '权威域名产品实例ID。<props="china">可通过调用[ListCloudGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[ListCloudGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'dns-cn-9lb38ldq9**',
- ],
+ 'schema' => ['description' => '目标域名分组ID。'."\n"
+ ."\n"
+ .'- 如不传GroupId,则指将域名放到默认分组下。'."\n"
+ .'- 如GroupId为空字符"",则指将域名放到默认分组下。'."\n"
+ .'- 如GroupId为defaultGroup,则指将域名放到默认分组下。'."\n"
+ .'- 如GroupId不符合上述条件,传入的GroupId验证结果为存在,则更新目标域名的GroupId,不存在则不更新。', 'type' => 'string', 'required' => false, 'example' => '60bb3ef15ace449082cf914ed3ea****'],
],
],
'responses' => [
@@ -4212,180 +2352,93 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '123',
- ],
- 'FailedCount' => [
- 'description' => '域名解绑失败个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'SuccessCount' => [
- 'description' => '域名解绑成功个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'GroupName' => ['description' => '目标域名分组名称。', 'type' => 'string', 'example' => 'MyGroup'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'GroupId' => ['description' => '目标域名分组ID。', 'type' => 'string', 'example' => '60bb3ef15ace449082cf914ed3ea****'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"123\\",\\n \\"FailedCount\\": 0,\\n \\"SuccessCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<UnbindInstanceDomainsResponse>\\n <RequestId>123</RequestId>\\n <FailedCount>0</FailedCount>\\n <SuccessCount>2</SuccessCount>\\n</UnbindInstanceDomainsResponse>","errorExample":""}]',
- 'title' => '解绑付费版DNS域名',
- 'description' => '实例ID以”dns-“开头的实例为新版实例,支持绑定多个域名,调用接口直接绑定到实例,如果域名个数超过实例的配置,则会报错。<br>'."\n"
- .'实例ID以非”dns-“开头的实例为旧版实例,只支持绑定一个域名,因此调用此接口,如果实例已经绑定域名,则会执行域名换绑操作。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'OperateBatchDomain' => [
- 'summary' => '进行批量操作以添加或删除域名和解析记录。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '将域名从原分组更换到新分组',
+ 'description' => '可以指定域名分组的ID(GroupId),全部域名代表所有域名、默认分组代表未设置分组的域名。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeDomainGroup'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:ChangeDomainGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'group', 'arn' => 'acs:alidns::{#accountId}:group/{#groupId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"GroupName\\": \\"MyGroup\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"GroupId\\": \\"60bb3ef15ace449082cf914ed3ea****\\"\\n}","type":"json"}]',
+ ],
+ 'ChangeDomainOfDnsProduct' => [
+ 'summary' => '更换云解析产品绑定的域名。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsT5OPHE'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:zh',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '请求和接收消息的语言类型。'."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n"
+ ."\n"
+ .'默认值为**zh**。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Type',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '批量操作类型,取值:'."\n"
- ."\n"
- .'- **DOMAIN_ADD**:批量添加域名'."\n"
- .'- **DOMAIN_DEL**:批量删除域名'."\n"
- .'- **RR_ADD**:批量添加解析'."\n"
- .'- **RR_DEL**:批量删除解析(删除满足N.RR、N.VALUE、N.RR&amp;N.VALUE条件的解析记录。如果无N.RR&&N.VALUE则清空参数DomainRecordInfo.N.Domain下的解析记录)',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'RR_ADD',
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '1.1.XX.XX'],
],
[
- 'name' => 'DomainRecordInfo',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '用户提交的数据(POPAPI确认size,最大1000条数据)。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => '记录类型。例如:A、AAAA、TXT、MX、CNAME等。'."\n"
- ."\n"
- .'> 批量操作类型为**RR_ADD**、**RR_DEL**时必需。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MX',
- ],
- 'Value' => [
- 'description' => '记录值。'."\n"
- ."\n"
- .'> 批量操作类型为**RR_ADD**、**RR_DEL**时必需。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'fd87da3c4528844d45af39200155a905',
- ],
- 'Ttl' => [
- 'description' => '生效时间(单位:秒),默认***600***。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '600',
- ],
- 'Domain' => [
- 'description' => '域名名称。'."\n"
- ."\n"
- .'> 用户提交的数据, N 从 1 开始,最多 1000 条数据。由于HTTP请求头限制,超过 1000 条的数据会被忽略,不予处理。请勿超过1000条数据。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
- ],
- 'Line' => [
- 'description' => '解析请求来源。默认:default。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
- 'NewRr' => [
- 'description' => '新的主机记录(仅修改操作时使用,外部用户不支持)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mail',
- ],
- 'Rr' => [
- 'description' => '主机记录。'."\n"
- ."\n"
- .'> 批量操作类型为**RR_ADD**、**RR_DEL**时必需。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zhaohui',
- ],
- 'Priority' => [
- 'description' => 'MX优先级。'."\n"
- ."\n"
- .'记录类型为MX时必需。默认:10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
- 'NewType' => [
- 'description' => '新的记录类型代码(仅修改操作时使用,外部用户不支持)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAA',
- ],
- 'NewValue' => [
- 'description' => '新的记录值(仅修改操作时使用,外部用户不支持)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '114.92.XX.XX',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 1000,
- ],
+ 'schema' => ['description' => '云解析产品ID。'."\n"
+ .'<props="china">可通过调用 [ListCloudGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_14_34.14ce3409EfbfOE) 获取。</props>'."\n"
+ .'<props="intl">可通过调用 [ListCloudGtmInstances ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取。</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i-7XX'],
+ ],
+ [
+ 'name' => 'NewDomain',
+ 'in' => 'query',
+ 'schema' => ['description' => '目标绑定域名,如不填写,则为解绑。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'Force',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否强制绑定。'."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- **false**:**否**'."\n"
+ .'- **true**:**是**'."\n"
+ ."\n"
+ .'默认值为**false**。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
],
'responses' => [
@@ -4393,39 +2446,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '34****',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'OriginalDomain' => ['description' => '原始绑定的域名,如果为空,则为第一次绑定。', 'type' => 'string', 'example' => 'www.example.com'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": 0,\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\"\\n}","type":"json"}]',
- 'title' => '批量管理域名和解析记录',
- 'description' => '使用场景:有大量需要执行的解析操作任务,但是对任务生效效率没有高需求。',
+ 'title' => '更换云解析产品绑定的域名',
+ 'description' => '- **无论当前云解析产品是否绑定域名,都调用此接口。从云解析产品中解绑域名,也调用此接口,即NewDomain为空。**'."\n"
+ ."\n"
+ .'- **本接口适用于老版本实例,如果是新版本套餐,例如个人版、企业标准版、企业旗舰版实例,请调用BindInstanceDomains接口。**',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'AddDomainGroup' => [
- 'summary' => '根据传入参数添加域名分组。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeDomainOfDnsProduct'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:ChangeDomainOfDnsProduct',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"OriginalDomain\\": \\"www.example.com\\"\\n}","errorExample":""},{"type":"xml","example":"<ChangeDomainOfDnsProductResponse>\\r\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\r\\n <OriginalDomain>originaldomain.com</OriginalDomain>\\r\\n</ChangeDomainOfDnsProductResponse>","errorExample":""}]',
+ ],
+ 'CopyGtmConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4433,39 +2492,27 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => [],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'GroupName',
+ 'name' => 'SourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名分组名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'MyGroup',
- ],
+ 'schema' => ['description' => '源对象Id,目前仅支持实例id。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-0pp1j84v60d'],
+ ],
+ [
+ 'name' => 'TargetId',
+ 'in' => 'query',
+ 'schema' => ['description' => '目标对象Id,目前仅支持实例id。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-v0h1gaujg06'],
+ ],
+ [
+ 'name' => 'CopyType',
+ 'in' => 'query',
+ 'schema' => ['description' => '复制类型,目前仅支持INSTANCE。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'INSTANCE'],
],
],
'responses' => [
@@ -4473,225 +2520,160 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'GroupName' => [
- 'description' => '域名分组名称。',
- 'type' => 'string',
- 'example' => 'NewName',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'GroupId' => [
- 'description' => '域名分组ID。',
- 'type' => 'string',
- 'example' => 'd367113100944e488352f99e3c7d****',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"GroupName\\": \\"NewName\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"GroupId\\": \\"d367113100944e488352f99e3c7d****\\"\\n}","errorExample":""},{"type":"xml","example":"<AddDomainGroupResponse>\\r\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\r\\n <GroupId>2223</GroupId>\\r\\n <GroupName>NewName</GroupName>\\r\\n</AddDomainGroupResponse>","errorExample":""}]',
- 'title' => '添加域名分组',
+ 'errorCodes' => [],
+ 'title' => '复制GTM配置',
+ 'summary' => '复制GTM配置。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDomainGroups' => [
- 'summary' => '根据传入参数获取域名分组的列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CopyGtmConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:CopyGtmConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA</RequestId>","errorExample":""}]',
+ ],
+ 'CreateCloudGtmAddress' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsFCVP0L'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:zh',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认):英文。', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
],
[
- 'name' => 'KeyWord',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '组名关键字,按照“%KeyWord%”模式搜索,不区分大小写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Group',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['title' => '地址名称', 'description' => '地址名称。', 'type' => 'string', 'required' => true, 'example' => 'Address-1'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '110',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['title' => '地址类型(IPv4, IPv6, DOMAIN)', 'description' => '地址类型:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'required' => true, 'example' => 'IPv4'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'DomainGroups' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DomainGroup' => [
- 'description' => '域名分组结构列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'GroupId' => [
- 'description' => '域名分组ID。'."\n"
- ."\n"
- .'- 默认分组GroupId:"defaultGroup",代表未设置分组的域名。'."\n"
- .'- 全部域名GroupId:"",代表所有域名。',
- 'type' => 'string',
- 'example' => 'defaultGroup',
- ],
- 'GroupName' => [
- 'description' => '域名分组名称。',
- 'type' => 'string',
- 'example' => 'MyGroup',
- ],
- 'DomainCount' => [
- 'description' => '域名分组数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- ],
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'description' => '域名分组总数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- ],
- ],
+ [
+ 'name' => 'Address',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址', 'description' => 'IP地址或者域名。', 'type' => 'string', 'required' => true, 'example' => '223.5.XX.XX'],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DomainGroups\\": {\\n \\"DomainGroup\\": [\\n {\\n \\"GroupId\\": \\"defaultGroup\\",\\n \\"GroupName\\": \\"MyGroup\\",\\n \\"DomainCount\\": 2\\n }\\n ]\\n },\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1\\n}","type":"json"}]',
- 'title' => '获取域名分组列表',
- ],
- 'DeleteDomainGroup' => [
- 'summary' => '删除域名分组,分组下的域名会被移动到默认分组。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'AttributeInfo',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址归属信息', 'description' => '地址归属信息。', 'type' => 'string', 'required' => false, 'example' => '当前版本不支持传入此参数,请不要传入参数。'],
],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['title' => '备注', 'description' => '备注。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'EnableStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['title' => '启用状态 enable: 可用, disable:不可用', 'description' => '表示该地址当前启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'required' => true, 'example' => 'enable'],
],
[
- 'name' => 'GroupId',
+ 'name' => 'AvailableMode',
+ 'in' => 'query',
+ 'schema' => ['title' => '可用状态设置模式', 'description' => '地址探测异常切换方式:'."\n"
+ ."\n"
+ .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
+ ."\n"
+ .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。', 'type' => 'string', 'required' => true, 'example' => 'auto'],
+ ],
+ [
+ 'name' => 'ManualAvailableStatus',
+ 'in' => 'query',
+ 'schema' => ['title' => '手动设置的可用状态', 'description' => '当地址探测异常切换模式为**manual**时,地址设置的可用状态:'."\n"
+ ."\n"
+ .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
+ ."\n"
+ .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。', 'type' => 'string', 'required' => false, 'example' => 'available'],
+ ],
+ [
+ 'name' => 'HealthJudgement',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址健康状态判定为ok 的方式:', 'description' => '地址健康状态判定条件(HealthTasks 不为空时必填):'."\n"
+ ."\n"
+ .'- any_ok:所有探测模板至少一个探测正常。'."\n"
+ ."\n"
+ .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
+ ."\n"
+ .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
+ ."\n"
+ .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
+ ."\n"
+ .'- all_ok:所有探测模板全部探测正常。', 'type' => 'string', 'required' => true, 'example' => 'p50_ok'],
+ ],
+ [
+ 'name' => 'HealthTasks',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '域名分组ID。<props="china">可通过调取[DescribeDomainGroups](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调取[DescribeDomainGroups](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'd367113100944e488352f99e3c7d****',
+ 'title' => '健康检查配置',
+ 'description' => '地址关联的健康探测任务列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址关联的健康探测模板。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Port' => ['title' => '服务端口', 'description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80'],
+ 'TemplateId' => ['title' => '探测模板', 'description' => '地址关联的健康探测模板ID。', 'type' => 'string', 'required' => false, 'example' => 'mtp-89518052425100****'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
],
],
],
@@ -4700,37 +2682,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'GroupName' => [
- 'description' => '域名分组名称。',
- 'type' => 'string',
- 'example' => 'MyGroup',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '46973D4C-E3E4-4ABA-9190-9A9DE406C7E'],
+ 'Success' => ['description' => '创建地址操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
+ 'AddressId' => ['description' => '生成的地址ID,地址唯一标识码。', 'type' => 'string', 'example' => 'addr-8951821811436****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"GroupName\\": \\"MyGroup\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteDomainGroupResponse>\\r\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\r\\n <GroupName>MyGroup</GroupName>\\r\\n</DeleteDomainGroupResponse>","errorExample":""}]',
- 'title' => '删除域名分组',
- 'description' => '> 默认分组无法删除。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'UpdateDomainGroup' => [
- 'summary' => '根据传入参数修改域名分组名称。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建地址',
+ 'summary' => '根据传入参数创建地址。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCloudGtmAddress'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:CreateCloudGtmAddress',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46973D4C-E3E4-4ABA-9190-9A9DE406C7E\\",\\n \\"Success\\": true,\\n \\"AddressId\\": \\"addr-8951821811436****\\"\\n}","type":"json"}]',
+ ],
+ 'CreateCloudGtmAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4738,51 +2729,64 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'GroupId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '要修改名称的域名分组ID。<props="china">可通过调用[DescribeDomainGroups ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomainGroups ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '60bb3ef15ace449082cf914ed3ea****',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'GroupName',
+ 'name' => 'AddressPoolName',
'in' => 'query',
- 'schema' => [
- 'description' => '域名分组修改后的新名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'NewName',
- ],
+ 'schema' => ['description' => '地址池名称,方便用户区分地址池的用途。', 'type' => 'string', 'required' => false, 'example' => 'Address pool-1'],
+ ],
+ [
+ 'name' => 'AddressPoolType',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPv4:表示要解析的服务地址是IPv4地址。'."\n"
+ ."\n"
+ .'- IPv6:表示要解析的服务地址是IPv6地址。'."\n"
+ ."\n"
+ .'- domain:表示要解析的服务地址是域名。', 'type' => 'string', 'required' => false, 'example' => 'IPv4'],
+ ],
+ [
+ 'name' => 'HealthJudgement',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
+ ."\n"
+ .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
+ ."\n"
+ .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
+ ."\n"
+ .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
+ ."\n"
+ .'- all_ok:地址池内地址全部可用。', 'type' => 'string', 'required' => false, 'example' => 'any_ok'],
+ ],
+ [
+ 'name' => 'EnableStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池的启用状态:'."\n"
+ .'- enable:启用,当前地址池在健康检查正常的情况下可参与解析。'."\n"
+ .'- disable: 禁用,当前地址池不管健康检查是否正常,均不可参与解析。', 'type' => 'string', 'required' => false, 'example' => 'enable'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池的备注说明,方便用户区分地址池的使用场景。', 'type' => 'string', 'required' => false, 'example' => 'app'],
],
],
'responses' => [
@@ -4790,42 +2794,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'GroupName' => [
- 'description' => '域名分组新名称。',
- 'type' => 'string',
- 'example' => 'NewName',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'GroupId' => [
- 'description' => '域名分组ID。',
- 'type' => 'string',
- 'example' => '60bb3ef15ace449082cf914ed3ea****',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '46973D4C-E3E4-4ABA-9190-9A9DE406C7E'],
+ 'Success' => ['description' => '创建地址池操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
+ 'AddressPoolId' => ['description' => '生成的地址池ID,地址池的唯一识别码。', 'type' => 'string', 'example' => 'pool-89528023225442****'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"GroupName\\": \\"NewName\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"GroupId\\": \\"60bb3ef15ace449082cf914ed3ea****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateDomainGroupResponse>\\r\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\r\\n <GroupId>2223</GroupId>\\r\\n <GroupName>NewName</GroupName>\\r\\n</UpdateDomainGroupResponse>","errorExample":""}]',
- 'title' => '修改域名分组的名称',
- 'description' => '将已创建的域名分组,修改名称',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ChangeDomainGroup' => [
- 'summary' => '根据传入参数将域名从原分组更换到新分组。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建地址池',
+ 'summary' => '根据传入参数创建地址池。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCloudGtmAddressPool'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:CreateCloudGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46973D4C-E3E4-4ABA-9190-9A9DE406C7E\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
+ ],
+ 'CreateCloudGtmInstanceConfig' => [
+ 'summary' => '创建gtm实例配置',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4834,156 +2841,88 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREdnsBCOB1Q'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US:英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22'],
],
[
- 'name' => 'GroupId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '目标域名分组ID。'."\n"
- ."\n"
- .'- 如不传GroupId,则指将域名放到默认分组下。'."\n"
- .'- 如GroupId为空字符"",则指将域名放到默认分组下。'."\n"
- .'- 如GroupId为defaultGroup,则指将域名放到默认分组下。'."\n"
- .'- 如GroupId不符合上述条件,传入的GroupId验证结果为存在,则更新目标域名的GroupId,不存在则不更新。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '60bb3ef15ace449082cf914ed3ea****',
- ],
+ 'schema' => ['title' => '调度实例id', 'description' => '全局流量管理3.0实例ID,唯一标识产品实例。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-jmp3qnw**03'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'GroupName' => [
- 'description' => '目标域名分组名称。',
- 'type' => 'string',
- 'example' => 'MyGroup',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'GroupId' => [
- 'description' => '目标域名分组ID。',
- 'type' => 'string',
- 'example' => '60bb3ef15ace449082cf914ed3ea****',
- ],
- ],
- ],
+ [
+ 'name' => 'ScheduleZoneMode',
+ 'in' => 'query',
+ 'schema' => ['title' => '接入zone分配模式', 'description' => '接入域名配置模式:'."\n"
+ ."\n"
+ .'- sys_assign:系统分配(此模式已不支持)'."\n"
+ ."\n"
+ .'- custom:自定义,用户需选择实例所在账号下的域名进行关联,并输入主机记录以生成接入域名', 'type' => 'string', 'required' => false, 'example' => 'custom'],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"GroupName\\": \\"MyGroup\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"GroupId\\": \\"60bb3ef15ace449082cf914ed3ea****\\"\\n}","type":"json"}]',
- 'title' => '将域名从原分组更换到新分组',
- 'description' => '可以指定域名分组的ID(GroupId),全部域名代表所有域名、默认分组代表未设置分组的域名。',
- ],
- 'TransferDomain' => [
- 'summary' => '根据传入参数批量跨账号转移DNS权限至目标账户。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'ScheduleZoneName',
+ 'in' => 'query',
+ 'schema' => ['title' => 'zone名称', 'description' => 'zone名称,即GTM接入域名的父Zone。一般为GTM实例所在账号下,在云解析DNS控制台的托管域名,支持主域和子域。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
+ [
+ 'name' => 'ScheduleHostname',
+ 'in' => 'query',
+ 'schema' => ['title' => '主机记录', 'description' => 'GTM接入域名的主机记录。', 'type' => 'string', 'required' => false, 'example' => 'www'],
],
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ScheduleRrType',
'in' => 'query',
- 'schema' => [
- 'description' => '请求值,返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:zh',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['title' => '调度解析记录类型', 'description' => '接入域名的解析记录类型:'."\n"
+ ."\n"
+ .'- A:IPv4地址'."\n"
+ ."\n"
+ .'- AAAA:IPv6地址'."\n"
+ ."\n"
+ .'- CNAME:域名', 'type' => 'string', 'required' => false, 'example' => 'A'],
],
[
- 'name' => 'DomainNames',
+ 'name' => 'Ttl',
'in' => 'query',
- 'schema' => [
- 'description' => '域名列表,英文逗号隔开;仅支持阿里云注册的域名。<props="china">域名名称可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">域名名称可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com,example.net',
- ],
+ 'schema' => ['title' => '调度调度实例的TTL', 'description' => '全局TTL,单位是秒。接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'],
],
[
'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test domain transfer',
- ],
+ 'schema' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'TargetUserId',
+ 'name' => 'EnableStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '将云解析列表中的域名和解析记录转移到目标用户ID下。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '12*******',
- ],
+ 'schema' => ['description' => '域名实例的启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态,GTM实例智能调度策略生效;'."\n"
+ ."\n"
+ .'- disable:禁用状态,GTM实例智能调度策略不可用;', 'type' => 'string', 'required' => false, 'example' => 'enable'],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => ['title' => '实例配置的付费类型,不填默认为预付费', 'description' => '实例配置的付费类型:'."\n"
+ ."\n"
+ .'- 预付费:prepay (传入空值默认是prepay)'."\n"
+ ."\n"
+ .'- 后付费:postpay', 'type' => 'string', 'required' => false, 'example' => 'postpay'],
],
],
'responses' => [
@@ -4991,213 +2930,189 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TaskId' => [
- 'description' => '任务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '112233',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Success' => ['description' => '本次操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
+ 'ConfigId' => ['description' => '域名实例配置id,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。', 'type' => 'boolean', 'example' => 'config-000**1'],
+ 'InstanceId' => ['title' => '返回实例Id', 'description' => '返回实例Id', 'type' => 'string', 'example' => 'gtm-cn-xxxxx'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskId\\": 112233,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<TransferDomainResponse>\\n<RequestId>92901A84-B317-43BE-9610-76B1C7B7ADC7</RequestId>\\n<TaskId>180839</TaskId>\\n</TransferDomainResponse>","errorExample":""}]',
- 'title' => '跨账号转移DNS权限',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'RetrieveDomain' => [
- 'summary' => '执行找回域名操作。',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true,\\n \\"ConfigId\\": true,\\n \\"InstanceId\\": \\"gtm-cn-xxxxx\\"\\n}","type":"json"}]',
+ 'title' => '创建域名实例配置',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCloudGtmInstanceConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:CreateCloudGtmInstanceConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateCloudGtmMonitorTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:zh',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '9CC0D642-49D4-48DE-A1A5-9F218652E4A7',
- ],
- ],
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9CC0D642-49D4-48DE-A1A5-9F218652E4A7\\"\\n}","errorExample":""},{"type":"xml","example":"<RetrieveDomainResponse>\\n <RequestId>9CC0D642-49D4-48DE-A1A5-9F218652E4A7</RequestId>\\n</RetrieveDomainResponse>","errorExample":""}]',
- 'title' => '找回域名',
- 'description' => '域名找回时需要做txt记录验证,请配合<props="china">[生成txt记录](https://help.aliyun.com/document_detail/145533.html)</props> <props="intl">[生成txt记录](https://www.alibabacloud.com/help/zh/alibaba-cloud-dns/latest/generating-a-txt-record)</props>接口使用。',
- ],
- 'DescribeTransferDomains' => [
- 'summary' => '根据传入参数获取跨账号转移DNS列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['title' => '模板名', 'description' => '健康检查探测模板的名称。为了方便区分和记忆,建议名称可以区分健康检查协议。', 'type' => 'string', 'required' => true, 'example' => 'Ping-IPv4'],
],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
+ [
+ 'name' => 'IpVersion',
+ 'in' => 'query',
+ 'schema' => ['title' => '探测的网络环境 IP 版本', 'description' => '探测节点IP地址的类型:'."\n"
+ ."\n"
+ .'- IPv4:当探测的目标地址类型为IPv4地址时适用。'."\n"
+ ."\n"
+ .'- IPv6:当探测的目标地址类型为IPv6地址时适用。', 'type' => 'string', 'required' => true, 'example' => 'IPv4'],
],
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'Protocol',
'in' => 'query',
- 'schema' => [
- 'description' => '请求和接收消息的语言类型。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'zh:中文 '."\n"
- ."\n"
- .'en:英文'."\n"
- ."\n"
- .' 默认取值为zh。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['title' => '探测协议', 'description' => '对目标IP地址发起探测的协议类型:'."\n"
+ ."\n"
+ .'- ping'."\n"
+ ."\n"
+ .'- tcp'."\n"
+ ."\n"
+ .'- http'."\n"
+ ."\n"
+ .'- https', 'type' => 'string', 'required' => true, 'example' => 'ping'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['title' => '探测间隔(秒)', 'description' => '每次检查的时间间隔(秒),默认每间隔1分钟探测一次,健康检查间隔最小支持15秒(面向旗舰版实例开放)。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '60'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Timeout',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['title' => '探测超时时间(毫秒)', 'description' => '探测超时时间(毫秒),大于超时时间未返回的数据包即判断为健康检查超时:'."\n"
+ ."\n"
+ .'- 2000'."\n"
+ ."\n"
+ .'- 3000'."\n"
+ ."\n"
+ .'- 5000'."\n"
+ ."\n"
+ .'- 10000', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5000'],
],
[
- 'name' => 'TransferType',
+ 'name' => 'EvaluationCount',
'in' => 'query',
- 'schema' => [
- 'description' => '转移类型。取值范围:'."\n"
- ."\n"
- .'- IN:转入到本账号的列表'."\n"
- .'- OUT:本账号转出的列表',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'IN',
- ],
+ 'schema' => ['title' => '探测连续次数', 'description' => '重试次数,连续多次监控出现异常,系统才将应用服务判断为异常,以防止因为一些网络瞬间抖动等其他原因影响监控准确率。重试次数可选值为:'."\n"
+ ."\n"
+ .'- 1'."\n"
+ ."\n"
+ .'- 2'."\n"
+ ."\n"
+ .'- 3', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'FailureRate',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称,查询指定域名的转移记录。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.top',
- ],
+ 'schema' => ['title' => '告警失败率', 'description' => '所选节点探测失败比例(%),即健康检查异常的探测点占探测点总数的百分比,当失败比例超过设置的阈值时,将服务地址判断为异常。可设置的失败比例阈值为:'."\n"
+ ."\n"
+ .'- 20'."\n"
+ ."\n"
+ .'- 50'."\n"
+ ."\n"
+ .'- 80'."\n"
+ ."\n"
+ .'- 100', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '50'],
],
[
- 'name' => 'FromUserId',
+ 'name' => 'ExtendInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '域名来源账号ID,查看从该ID账号转移给本账号的域名列表',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1*******',
- ],
+ 'schema' => ['description' => 'Json 字符串扩展信息,各协议检查所需参数:'."\n"
+ ."\n"
+ .'- http(s):'."\n"
+ ."\n"
+ .' **host**:执行HTTP(S)监控时,指定HTTP(S)请求头部信息中携带的Host字段,用于标识需要访问的具体HTTP网站,默认为主域名,如果目标网站的host有特殊要求,请自行修改;'."\n"
+ ."\n"
+ .' **path**:HTTP路径,用户HTTP(S)健康检查的URL路径配置,系统默认填写“/”;'."\n"
+ ."\n"
+ .' **code**:当执行HTTP(S)监控时,根据Web服务器的返回码判断Web服务器是否正常工作,大于返回码报警阈值时,系统认为应用服务出现异常:'."\n"
+ ."\n"
+ .' - 400:Bad Request,即如果HTTP(S)请求携带了错误的请求参数,Web服务器将返回大于400的返回码,如果校验内容设置为“异常码大于400”,请务必在URL路径中填写精确的URL访问路径参数;'."\n"
+ ."\n"
+ .' - 500:Server Error,即如果Web服务器出现了某些异常,将返回大于500的异常码,系统默认使用大于500的异常码作为报警阈值;'."\n"
+ ."\n"
+ .' **sni**:是否开启sni,仅在HTTPS协议时使用。SNI(Server Name Indication)是TLS协议的一个扩展,它允许客户端在发起TLS握手时指定想要连接的主机名。由于TLS握手发生在HTTP请求的任何数据被发送之前,SNI允许服务器在发送证书之前知道客户端试图访问的服务,这使得服务器可以选择正确的证书来呈现给客户端。'."\n"
+ ."\n"
+ .' - true-开启'."\n"
+ .' '."\n"
+ .' - false-未开启'."\n"
+ .' '."\n"
+ .' **followRedirect**:是否跟随3XX重定向'."\n"
+ ."\n"
+ .' - true:监控点获取的状态码为3XX (301,302,303, 307,308) 时,跟随跳转;'."\n"
+ ."\n"
+ .' - false:不跳转;'."\n"
+ ."\n\n"
+ .'- ping:'."\n"
+ ."\n"
+ .' **packetNum**:每次Ping监控,同时发出多少个ICMP数据包,可选20、50、100'."\n"
+ ."\n"
+ .' **packetLossRate**:异常时丢包率,每次ping监控,对发出的ICMP数据包,计算丢包率(%)。丢包率=(丢失数据包/发送的总ICMP数据包数目)* 100%,达到丢包率阈值时,异常报警。丢包率可选值为:10、30、40、80、90、100', 'type' => 'string', 'required' => false, 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}'],
],
[
- 'name' => 'TargetUserId',
+ 'name' => 'IspCityNodes',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '域名去处账号ID,查看从本账号转移给该ID账号的域名列表',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1*******',
+ 'title' => '探测节点列表',
+ 'description' => '探测节点列表,具体信息可通过调用 [ListCloudGtmMonitorNodes](~~2797349~~) 获取',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '探测节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['title' => '探测节点 城市 code', 'description' => '探测节点-城市编码。', 'type' => 'string', 'required' => false, 'example' => '503'],
+ 'IspCode' => ['title' => '探测节点 isp code', 'description' => '探测节点-运营商编码。', 'type' => 'string', 'required' => false, 'example' => '465'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
],
],
],
@@ -5206,177 +3121,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '列表总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'DomainTransfers' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DomainTransfer' => [
- 'description' => '跨账号转移DNS列表。'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'FromUserId' => [
- 'description' => '域名转出的原始用户ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2*******',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2019-10-30T07:16Z',
- ],
- 'TargetUserId' => [
- 'description' => '转移到的目标用户ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1*******',
- ],
- 'DomainName' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'example' => 'example.top',
- ],
- 'Id' => [
- 'description' => '转移记录的ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1*******',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1572419764000',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
+ 'Success' => ['description' => '本次操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
+ 'TemplateId' => ['description' => '健康探测模板ID,唯一标识健康探测模板。', 'type' => 'string', 'example' => 'mtp-89518052425100****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"DomainTransfers\\": {\\n \\"DomainTransfer\\": [\\n {\\n \\"FromUserId\\": 0,\\n \\"CreateTime\\": \\"2019-10-30T07:16Z\\",\\n \\"TargetUserId\\": 0,\\n \\"DomainName\\": \\"example.top\\",\\n \\"Id\\": 0,\\n \\"CreateTimestamp\\": 1572419764000\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeTransferDomainsResponse>\\n<DomainTransfers>\\n <DomainTransfer>\\n <CreateTimestamp>1574304668000</CreateTimestamp>\\n <CreateTime>2019-11-21T02:51Z</CreateTime>\\n <DomainName>test.com</DomainName>\\n <Id>1</Id>\\n <TargetUserId>1111</TargetUserId>\\n <FromUserId>2222</FromUserId>\\n </DomainTransfer>\\n</DomainTransfers>\\n<PageNumber>1</PageNumber>\\n<TotalCount>1</TotalCount>\\n<PageSize>20</PageSize>\\n<RequestId>A54C2B66-E857-434D-B77F-BE5B45C89458</RequestId>\\n</DescribeTransferDomainsResponse>","errorExample":""}]',
- 'title' => '获取跨账号转移DNS权限列表',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDomainStatistics' => [
- 'summary' => '查询指定主域名请求量的实时数据。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建健康探测模板',
+ 'summary' => '根据传入参数创建健康探测模板。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCloudGtmMonitorTemplate'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:CreateCloudGtmMonitorTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\"\\n}","type":"json"}]',
+ ],
+ 'CreatePdnsAppKey' => [
+ 'summary' => '创建公共DNS密钥 AccessKey。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '请求和接收消息的语言类型。'."\n"
- .'- **zh**(默认):中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调取[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取</props>'."\n"
- .'<props="intl">可通过调取[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取</props>',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
- ],
- [
- 'name' => 'StartDate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间,格式:**YYYY-MM-DD**。'."\n"
- ."\n"
- .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2019-07-04',
- ],
- ],
- [
- 'name' => 'EndDate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间,格式:**YYYY-MM-DD**。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2019-07-04',
- ],
- ],
- [
- 'name' => 'DomainType',
+ 'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '域名类型,取值:'."\n"
- ."\n"
- .'- PUBLIC:权威托管域名(默认值)'."\n"
- ."\n"
- .'- CACHE:权威代理域名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PUBLIC',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -5384,178 +3187,131 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF',
- ],
- 'Statistics' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Statistic' => [
- 'description' => '请求量数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Timestamp' => [
- 'description' => '统计时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1556640000000',
- ],
- 'Count' => [
- 'description' => '请求量(次)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15292887',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF\\",\\n \\"Statistics\\": {\\n \\"Statistic\\": [\\n {\\n \\"Timestamp\\": 1556640000000,\\n \\"Count\\": 15292887,\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainStatisticsResponse>\\n <RequestId>6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF</RequestId>\\n <Statistics>\\n <Timestamp>1556640000000</Timestamp>\\n <Count>15292887</Count>\\n </Statistics>\\n</DescribeDomainStatisticsResponse>","errorExample":""}]',
- 'title' => '获取主域名请求量实时统计',
- 'description' => '实时数据的统计维度是按小时。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDomainStatisticsSummary' => [
- 'summary' => '查询用户账号下所有付费域名的请求量列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建公共DNS密钥AccessKey ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePdnsAppKey'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'pubdns:CreatePdnsAppKey',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'CreatePdnsUdpIpSegment' => [
+ 'summary' => '创建公共DNS Udp Ip地址段',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsG5IRRX',
- ],
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,取值:'."\n"
- ."\n"
- .'- **zh(默认)**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,最小值为**1**,默认值为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'StartDate',
+ 'name' => 'IpToken',
'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '查询的开始时间,格式:**YYYY-MM-DD**。'."\n"
- ."\n"
- .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2019-07-04',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['type' => 'string'],
+ 'ValidMessage' => ['type' => 'string'],
+ ],
],
],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePdnsUdpIpSegment'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'EndDate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间,格式:**YYYY-MM-DD**。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-07-04',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'pubdns:CreatePdnsUdpIpSegment',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\",\\n \\"ValidMessage\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteCloudGtmAddress' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'SearchMode',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'delete'],
+ 'parameters' => [
+ [
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词的搜索模式。取值:'."\n"
- ."\n"
- .'- 模糊搜索(默认):**LIKE**'."\n"
- .'- 精确搜索:**EXACT**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LIKE',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'Keyword',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词,按照“%KeyWord%”模式搜索,不区分大小写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'."\n"],
],
[
- 'name' => 'Threshold',
+ 'name' => 'AddressId',
'in' => 'query',
- 'schema' => [
- 'description' => '查询总量阈值,也可查询相应请求量不大于threshold的数据。例如,如果您将该参数设置为100,可查询出请求量小于100次的域名。为空时查全部的域名',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '0',
- 'example' => '12',
- ],
+ 'schema' => ['title' => '地址 ID', 'description' => '地址ID,地址的唯一识别码。', 'type' => 'string', 'required' => true, 'example' => 'addr-89518218114368****'],
],
],
'responses' => [
@@ -5563,191 +3319,71 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'CC625C21-8832-4683-BF10-C3CFB1A4FA13',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '数据分页后总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '14',
- ],
- 'TotalItems' => [
- 'description' => '数据总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '68',
- ],
- 'Statistics' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Statistic' => [
- 'description' => '请求量数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'Count' => [
- 'description' => '请求量(次)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '35509014',
- ],
- 'DomainType' => [
- 'description' => '域名类型,大小写不敏感。取值:'."\n"
- ."\n"
- .'PUBLIC:权威托管域名(默认值)'."\n"
- ."\n"
- .'CACHE:权威代理域名',
- 'type' => 'string',
- 'example' => 'PUBLIC',
- ],
- 'resolveAnalysisStatus' => [
- 'description' => '域名DNS流量分析开启状态:'."\n"
- ."\n"
- .'- OPEN:开启'."\n"
- ."\n"
- .'- CLOSE:关闭',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'Success' => ['description' => '删除地址操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 5,\\n \\"RequestId\\": \\"CC625C21-8832-4683-BF10-C3CFB1A4FA13\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 14,\\n \\"TotalItems\\": 68,\\n \\"Statistics\\": {\\n \\"Statistic\\": [\\n {\\n \\"DomainName\\": \\"example.com\\",\\n \\"Count\\": 35509014,\\n \\"DomainType\\": \\"PUBLIC\\",\\n \\"resolveAnalysisStatus\\": \\"OPEN\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainStatisticsSummaryResponse>\\r\\n <PageNumber>1</PageNumber>\\r\\n <Statistics>\\r\\n <Statistic>\\r\\n <Count>837871652</Count>\\r\\n <DomainName>alitest2.com</DomainName>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>50205934</Count>\\r\\n <DomainName>dns-example.com</DomainName>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>35509014</Count>\\r\\n <DomainName>ali-gslb.com</DomainName>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>31397370</Count>\\r\\n <DomainName>dns-example.cn</DomainName>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>3896503</Count>\\r\\n <DomainName>mydomi.cn</DomainName>\\r\\n </Statistic>\\r\\n </Statistics>\\r\\n <PageSize>5</PageSize>\\r\\n <RequestId>CC625C21-8832-4683-BF10-C3CFB1A4FA13</RequestId>\\r\\n <TotalItems>68</TotalItems>\\r\\n <TotalPages>14</TotalPages>\\r\\n</DescribeDomainStatisticsSummaryResponse>","errorExample":""}]',
- 'title' => '获取全部域名的请求量统计列表',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeRecordStatistics' => [
- 'summary' => '查询指定子域名请求量的实时数据。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除地址',
+ 'summary' => '根据传入参数删除地址。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCloudGtmAddress'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteCloudGtmAddress',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DeleteCloudGtmAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsG5IRRX',
- ],
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh(默认):中文'."\n"
- .'- en:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'StartDate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间,格式:**YYYY-MM-DD**。'."\n"
- ."\n"
- .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。'."\n"
- ."\n"
- .'若查询时间小于等于7天,按照`维度:小时`返回数据,即:`StartDate <= Now - 7`。'."\n"
- ."\n"
- .'若查询时间大于7天,按照`维度:天`返回数据,即:`StartDate > Now - 7`。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2019-07-04',
- ],
- ],
- [
- 'name' => 'EndDate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间,格式:**YYYY-MM-DD**。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-07-04',
- ],
- ],
- [
- 'name' => 'DomainName',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '主域名名称。域名名称。<props="china">可通过调取[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取</props>'."\n"
- .'<props="intl">可通过调取[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'exmaple.com',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'Rr',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '指主机记录,如果要解析www.exmaple.com,主机记录要填写www。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'www',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'DomainType',
+ 'name' => 'AddressPoolId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名类型,大小写不敏感。取值:'."\n"
- ."\n"
- .'- PUBLIC:权威域名(默认值)'."\n"
- ."\n"
- .'- CACHE:权威代理域名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PUBLIC',
- ],
+ 'schema' => ['description' => '地址池ID,地址池的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => 'pool-89528023225442****'],
],
],
'responses' => [
@@ -5755,202 +3391,150 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF',
- ],
- 'Statistics' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Statistic' => [
- 'description' => '请求量数据列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '统计数据列表。',
- 'type' => 'object',
- 'properties' => [
- 'Timestamp' => [
- 'description' => '统计时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1556640000000',
- ],
- 'Count' => [
- 'description' => '请求量(次)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15292887',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Success' => ['description' => '删除地址池操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
+ 'AddressPoolId' => ['description' => '地址池ID,地址池的唯一识别码。', 'type' => 'string', 'example' => 'pool-89528023225442****'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF\\",\\n \\"Statistics\\": {\\n \\"Statistic\\": [\\n {\\n \\"Timestamp\\": 1556640000000,\\n \\"Count\\": 15292887\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取子域名请求量实时统计',
- 'description' => '实时数据的统计维度是按小时。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeRecordStatisticsSummary' => [
- 'summary' => '查询指定域名下的全部子域名的请求量统计。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除地址池',
+ 'summary' => '根据传入参数删除地址池。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCloudGtmAddressPool'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteCloudGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteCloudGtmInstanceConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsG5IRRX',
- ],
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,最小值为**1**,默认值为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '删除指定GTM 3.0实例配置的接入域名,仅支持删除单个。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-jmp3qnw****'],
],
[
- 'name' => 'StartDate',
+ 'name' => 'ConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间,格式:**YYYY-MM-DD**。'."\n"
- ."\n"
- .'只能查询最近90天的记录,即:`StartDate >= Now - 90。`',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2019-07-04',
- ],
+ 'schema' => ['description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。'."\n"
+ .'调用[ListCloudGtmInstanceConfigs](~~2797349~~) 接口可查询域名实例对应的 ConfigId 值。', 'type' => 'string', 'required' => false, 'example' => 'config-00****'],
],
- [
- 'name' => 'EndDate',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '查询的结束时间。格式:**YYYY-MM-DD**。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-07-04',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'Success' => ['description' => '删除域名实例配置操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
+ ],
],
],
+ ],
+ 'title' => '删除接入域名',
+ 'summary' => '根据传入参数删除GTM 3.0实例配置的接入域名。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCloudGtmInstanceConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.top',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteCloudGtmInstanceConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DeleteCloudGtmMonitorTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'SearchMode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '关键词的搜索模式。取值:'."\n"
- ."\n"
- .'- 模糊搜索(默认):**LIKE**'."\n"
- .'- 精确搜索:**EXACT**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'EXACT',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'delete'],
+ 'parameters' => [
[
- 'name' => 'Keyword',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '关键词,按照“%KeyWord%”模式搜索,不区分大小写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'Threshold',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询解析请求量不大于threshold的域名数据。取值为任意大于等于threshold值的整数。例如:'."\n"
- .'- 为100时,查询对应时间段内有解析请求量且小于等于100次的域名。'."\n"
- .'- 为空时,查询对应时间段内有解析请求量的全部域名。'."\n"
- .'- 为0时,查询对应时间段内无解析请求量的域名,如果是当天添加的域名且没有任何请求量,需要第二天才能查询到。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '12',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'DomainType',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名类型,大小写不敏感。取值: '."\n"
- ."\n"
- .'- PUBLIC:权威托管域名(默认值)'."\n"
- ."\n"
- .'- CACHE:权威代理域名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PUBLIC',
- ],
+ 'schema' => ['description' => '健康探测模板ID,唯一标识健康探测模板。', 'type' => 'string', 'required' => true, 'example' => 'mtp-89518052425100****'],
],
],
'responses' => [
@@ -5958,160 +3542,69 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'E49F0023-4A98-486F-8BA3-6003D5664105',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '数据分页后总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '数据总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'Statistics' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Statistic' => [
- 'description' => '请求量数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SubDomain' => [
- 'description' => '子域名。',
- 'type' => 'string',
- 'example' => 'example.top',
- ],
- 'Count' => [
- 'description' => '请求量(次)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '838711553',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Success' => ['description' => '删除健康探测模板操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"E49F0023-4A98-486F-8BA3-6003D5664105\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 3,\\n \\"Statistics\\": {\\n \\"Statistic\\": [\\n {\\n \\"SubDomain\\": \\"example.top\\",\\n \\"Count\\": 838711553\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeRecordStatisticsSummaryResponse>\\r\\n <PageNumber>1</PageNumber>\\r\\n <Statistics>\\r\\n <Statistic>\\r\\n <Count>838711553</Count>\\r\\n <SubDomain>t1.alitest2.com</SubDomain>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>3467</Count>\\r\\n <SubDomain>alitest2.com</SubDomain>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>487</Count>\\r\\n <SubDomain>txt.alitest2.com</SubDomain>\\r\\n </Statistic>\\r\\n </Statistics>\\r\\n <PageSize>20</PageSize>\\r\\n <RequestId>E49F0023-4A98-486F-8BA3-6003D5664105</RequestId>\\r\\n <TotalItems>3</TotalItems>\\r\\n <TotalPages>1</TotalPages>\\r\\n</DescribeRecordStatisticsSummaryResponse>","errorExample":""}]',
- 'title' => '获取全部子域名的请求量统计',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDNSSLBSubDomains' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除健康探测模板',
+ 'summary' => '根据传入参数删除健康探测模板。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCloudGtmMonitorTemplate'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteCloudGtmMonitorTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DeleteCustomLines' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns3O7H9R'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '接收消息的语言类型。取值:'."\n"
- ."\n"
- .'- **zh**(默认):中文。'."\n"
- .'- **en**:英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'UserClientIp',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户账号IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.XX.XX',
- ],
- ],
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'example' => '20',
- 'default' => '20',
- ],
- ],
- [
- 'name' => 'Rr',
+ 'name' => 'LineIds',
'in' => 'query',
- 'schema' => [
- 'description' => '主机记录。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '自定义线路唯一ID列表,用 “,” 号隔开唯一ID。<props="china">自定义线路唯一ID可通过调用[DescribeCustomLines](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describecustomlines?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">自定义线路唯一ID可通过调用[DescribeCustomLines](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describecustomlines?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1*******,2*********'],
],
],
'responses' => [
@@ -6119,225 +3612,196 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '域名分组数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'SlbSubDomains' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'SlbSubDomain' => [
- 'description' => '权重配置子域名列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => '描述:支持设置权重配置的记录类型,取值为:A、AAAA、CNAME。',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'RecordCount' => [
- 'description' => '解析记录数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'Open' => [
- 'description' => '权重配置的状态。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SubDomain' => [
- 'description' => '子域名名称。',
- 'type' => 'string',
- 'example' => 'test.example.com'."\n",
- ],
- 'LineAlgorithms' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'LineAlgorithm' => [
- 'description' => '权重线路列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Line' => [
- 'description' => '指解析线路,如电信、移动、联通等。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'Open' => [
- 'description' => '是否开启权重配置。取值:'."\n"
- ."\n"
- .'- **true**(默认):开启'."\n"
- .'- **false**:关闭',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 1,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"SlbSubDomains\\": {\\n \\"SlbSubDomain\\": [\\n {\\n \\"Type\\": \\"A\\",\\n \\"RecordCount\\": 3,\\n \\"Open\\": true,\\n \\"SubDomain\\": \\"test.example.com\\\\n\\",\\n \\"LineAlgorithms\\": {\\n \\"LineAlgorithm\\": [\\n {\\n \\"Line\\": \\"default\\",\\n \\"Open\\": true\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDNSSLBSubDomainsResponse>\\n <TotalCount>1</TotalCount>\\n <PageSize>1</PageSize>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <PageNumber>1</PageNumber>\\n <SlbSubDomains>\\n <Type>A</Type>\\n <RecordCount>3</RecordCount>\\n <Open>true</Open>\\n <SubDomain>www.example.com</SubDomain>\\n <LineAlgorithms/>\\n </SlbSubDomains>\\n</DescribeDNSSLBSubDomainsResponse>","errorExample":""}]',
- 'title' => '获取权重配置子域名列表',
- 'summary' => '根据传入参数获取权重配置子域名列表。',
+ 'title' => '批量删除自定义线路',
+ 'summary' => '通过自定义线路唯一ID批量删除自定义线路。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDomainLogs' => [
- 'summary' => '根据传入参数获取域名的操作日志。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCustomLines'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteCustomLines',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\"\\n}","errorExample":""},{"type":"xml","example":"</DeleteCustomLinesResponse>\\n<requestId>2BC218C5-F8A7-4ED8-BC04-A962CD5493B2</requestId>\\n</DeleteCustomLinesResponse>","errorExample":""}]',
+ ],
+ 'DeleteDnsCacheDomain' => [
+ 'summary' => '删除指定的DNS权威代理域名。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsB25P4Z'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '请求和接收消息的语言类型。'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n"
- ."\n"
- .'默认为**zh**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n"
+ .'默认为**zh**', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'KeyWord',
+ 'name' => 'DomainName',
'in' => 'query',
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '关键字,按照“%KeyWord%”模式搜索,不区分大小写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ ],
],
],
+ ],
+ 'title' => '删除 DNS 权威代理域名',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDnsCacheDomain'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'GroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名分组ID。为空时,查询所有分组',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2****',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDnsCacheDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/{#DomainName}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteDnsGtmAccessStrategy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageNumber',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'delete'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'StrategyId',
'in' => 'query',
+ 'schema' => ['description' => '策略id。可通过调用[DescribeDnsGtmAccessStrategies](~~2357191~~)获取', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'testSt******'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
+ ],
],
],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'DnsGtmSystemBusyness', 'errorMessage' => ' ', 'description' => ''],
+ ],
+ ],
+ 'title' => '删除访问策略',
+ 'summary' => '通过策略ID删除访问策略。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDnsGtmAccessStrategy'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'StartDate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。格式:**YYYY-MM-DD**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-07-04',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDnsGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>","errorExample":""}]',
+ ],
+ 'DeleteDnsGtmAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'endDate',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'delete'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。格式:**YYYY-MM-DD**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-07-04',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Type',
+ 'name' => 'AddrPoolId',
'in' => 'query',
- 'schema' => [
- 'description' => '查询内容类型。'."\n"
- ."\n"
- .'- domain:域名'."\n"
- .'- slavedns:辅助DNS'."\n"
- ."\n"
- .'为空时,查询所有类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'domain',
- ],
+ 'schema' => ['description' => '地址池id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_7.1cee430dbd1I3y)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'testp******'],
],
],
'responses' => [
@@ -6345,100 +3809,47 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '日志列表中日志的数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'PageSize' => [
- 'description' => '本次查询获取的日志数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'DomainLogs' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DomainLog' => [
- 'description' => '域名操作日志列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Action' => [
- 'description' => '操作行为。',
- 'type' => 'string',
- 'example' => '添加',
- ],
- 'ActionTimestamp' => [
- 'description' => '操作时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '143562300000',
- ],
- 'ZoneId' => [
- 'description' => 'Zone ID。',
- 'type' => 'string',
- 'example' => 'cxfd3******',
- ],
- 'ClientIp' => [
- 'description' => '操作者IP。',
- 'type' => 'string',
- 'example' => '182.92.XX.XX',
- ],
- 'Message' => [
- 'description' => '操作消息。',
- 'type' => 'string',
- 'example' => '添加到域名解析列表',
- ],
- 'ActionTime' => [
- 'description' => '操作时间。',
- 'type' => 'string',
- 'example' => '2015-12-12T09:23Z',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"DomainLogs\\": {\\n \\"DomainLog\\": [\\n {\\n \\"Action\\": \\"添加\\",\\n \\"ActionTimestamp\\": 143562300000,\\n \\"ZoneId\\": \\"cxfd3******\\",\\n \\"ClientIp\\": \\"182.92.XX.XX\\",\\n \\"Message\\": \\"添加到域名解析列表\\",\\n \\"ActionTime\\": \\"2015-12-12T09:23Z\\",\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainLogsResponse>\\r\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\r\\n <TotalCount>2</TotalCount>\\r\\n <PageNumber>1</PageNumber>\\r\\n <PageSize>2</PageSize>\\r\\n <DomainLogs>\\r\\n <DomainLog>\\r\\n <ActionTime>2015-12-12T09:23Z</ActionTime>\\r\\n <DomainName>abc.com</DomainName>\\r\\n <Action>添加</Action>\\r\\n <Message>到域名解析列表</Message>\\r\\n <ClientIp>182.92.253.20</ClientIp>\\r\\n </DomainLog>\\r\\n <DomainLog>\\r\\n <ActionTime>2015-12-12T09:23Z</ActionTime>\\r\\n <DomainName>example.com</DomainName>\\r\\n <Action>找回成功</Action>\\r\\n <Message>并添加到域名解析列表</Message>\\r\\n <ClientIp>182.92.253.20</ClientIp>\\r\\n </DomainLog>\\r\\n </DomainLogs>\\r\\n</DescribeDomainLogsResponse>","errorExample":""}]',
- 'title' => '获取域名操作日志',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'DnsGtmSystemBusyness', 'errorMessage' => ' ', 'description' => ''],
+ ],
+ ],
+ 'title' => '删除 DNS 地址池',
+ 'summary' => '通过地址池ID删除地址池。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'AddDomainRecord' => [
- 'summary' => '根据传入参数添加解析记录。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDnsGtmAddressPool'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDnsGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>","errorExample":""}]',
+ ],
+ 'DeleteDomain' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6450,135 +3861,100 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n"
- .'默认为**zh**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'UserClientIp',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.1',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '云解析中已存在的域名。<props="china">可通过调用[DescribeDomains ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0) 获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
- [
- 'name' => 'RR',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '主机记录。'."\n"
- ."\n"
- .'如果要解析exmaple.com,主机记录要填写”@”,而不是空。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'www',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ ],
],
],
- [
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '解析记录类型,参见:'."\n"
- ."\n\n"
- .'<props="china">[解析记录类型格式](https://help.aliyun.com/document_detail/29805.html)</props>'."\n"
- ."\n\n"
- .'<props="intl">[解析记录类型格式](https://www.alibabacloud.com/help/zh/doc-detail/29805.htm)</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'A',
- ],
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => '删除域名',
+ 'summary' => '根据传入参数删除域名。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDomain'],
],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Value',
- 'in' => 'query',
- 'schema' => [
- 'description' => '记录值。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '192.168.0.1',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"DomainName\\": \\"example.com\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteDomainGroup' => [
+ 'summary' => '删除域名分组,分组下的域名会被移动到默认分组。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'TTL',
- 'in' => 'query',
- 'schema' => [
- 'description' => '解析生效时间,默认为600秒(10分钟)。参见:'."\n"
- ."\n"
- .'<props="china">[TTL定义说明](https://help.aliyun.com/document_detail/29806.html)</props>'."\n"
- ."\n"
- .'<props="intl">[TTL定义说明](https://www.alibabacloud.com/help/zh/doc-detail/29806.htm)</props>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '86400',
- 'minimum' => '1',
- 'example' => '600',
- 'default' => '600',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
+ ],
+ 'parameters' => [
[
- 'name' => 'Priority',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => 'MX记录的优先级,取值范围:`[1,50]`。'."\n"
- ."\n"
- .'记录类型为MX记录时,此参数必需,MX 优先级的数值越低,优先级别就越高。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '65535',
- 'minimum' => '0',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Line',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '解析线路,默认为**default**。参见:'."\n"
- ."\n"
- .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
- ."\n"
- .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- 'default' => 'default',
- ],
+ 'schema' => ['description' => '域名分组ID。<props="china">可通过调取[DescribeDomainGroups](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调取[DescribeDomainGroups](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'd367113100944e488352f99e3c7d****'],
],
],
'responses' => [
@@ -6586,40 +3962,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'RecordId' => [
- 'description' => '解析记录的ID。',
- 'type' => 'string',
- 'example' => '999******',
- ],
+ 'GroupName' => ['description' => '域名分组名称。', 'type' => 'string', 'example' => 'MyGroup'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
],
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordId\\": \\"999******\\"\\n}","type":"json"}]',
- 'title' => '添加解析记录',
+ 'title' => '删除域名分组',
+ 'description' => '> 默认分组无法删除。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDomainGroup'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDomainGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'group', 'arn' => 'acs:alidns::{#accountId}:group/{#groupId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"GroupName\\": \\"MyGroup\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteDomainGroupResponse>\\r\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\r\\n <GroupName>MyGroup</GroupName>\\r\\n</DeleteDomainGroupResponse>","errorExample":""}]',
],
'DeleteDomainRecord' => [
'summary' => '根据传入参数删除解析记录。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6634,45 +4013,27 @@
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- ."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ ."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.1'."\n",
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.1'."\n"],
],
[
'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录的ID。<props="china">可通过调取[DescribeDomainRecords](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取。</props>'."\n"
- .'<props="intl">可通过调取[DescribeDomainRecords](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取。</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '99******',
- ],
+ 'schema' => ['description' => '解析记录的ID。<props="china">可通过调取[DescribeDomainRecords](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取。</props>'."\n"
+ .'<props="intl">可通过调取[DescribeDomainRecords](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取。</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '99******'],
],
],
'responses' => [
@@ -6680,16 +4041,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'RecordId' => [
- 'description' => '解析记录的ID。',
- 'type' => 'string',
- 'example' => '99******',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'RecordId' => ['description' => '解析记录的ID。', 'type' => 'string', 'example' => '99******'],
],
],
],
@@ -6698,93 +4051,109 @@
'enable' => false,
'eventNames' => [],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordId\\": \\"99******\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteDomainRecordResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <RecordId>9999985</RecordId>\\n</DeleteDomainRecordResponse>","errorExample":""}]',
'title' => '删除解析记录',
- ],
- 'DeleteSubDomainRecords' => [
- 'summary' => '根据传入参数删除主机记录对应的解析记录。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDomainRecord'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDomainRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordId\\": \\"99******\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteDomainRecordResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <RecordId>9999985</RecordId>\\n</DeleteDomainRecordResponse>","errorExample":""}]',
+ ],
+ 'DeleteGtmAccessStrategy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsQIXAM1',
- ],
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'UserClientIp',
+ 'name' => 'StrategyId',
'in' => 'query',
+ 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => false, 'example' => 'hrskc'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.1',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求标识。', 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
+ ],
],
],
+ ],
+ 'errorCodes' => [],
+ 'title' => '删除访问策略(旧版)',
+ 'summary' => '根据传入参数删除访问策略。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGtmAccessStrategy'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteGtmAccessStrategyResponse>\\r\\n<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n</DeleteGtmAccessStrategyResponse>","errorExample":""}]',
+ ],
+ 'DeleteGtmAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'RR',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'delete'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '主机记录。'."\n"
- ."\n"
- .'如果要解析@.exmaple.com,主机记录要填写”@”,而不是空。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'www',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Type',
+ 'name' => 'AddrPoolId',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录类型。如果不填写,则返回子域名对应的全部解析记录类型。'."\n"
- ."\n"
- .'解析类型包括(不区分大小写):**A、MX、CNAME、TXT、REDIRECT_URL、FORWORD_URL、NS、AAAA、SRV**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'A',
- ],
+ 'schema' => ['description' => '地址池ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1234'],
],
],
'responses' => [
@@ -6792,173 +4161,131 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RR' => [
- 'description' => '主机记录。',
- 'type' => 'string',
- 'example' => 'www',
- ],
- 'TotalCount' => [
- 'description' => '被删除的解析记录总数。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RR\\": \\"www\\",\\n \\"TotalCount\\": \\"1\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteSubDomainRecordsResponse>\\n <RR>www</RR>\\n <TotalCount>1</TotalCount>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n</DeleteSubDomainRecordsResponse>","errorExample":""}]',
- 'title' => '删除主机记录对应的解析记录',
- 'description' => '如果被删除的解析记录中存在锁定解析,则该锁定解析不会被删除。',
- ],
- 'UpdateDomainRecord' => [
- 'summary' => '根据传入参数修改解析记录。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除地址池(旧版)',
+ 'summary' => '删除地址池。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGtmAddressPool'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteGtmAddressPoolResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n</DeleteGtmAddressPoolResponse>","errorExample":""}]',
+ ],
+ 'DeleteGtmRecoveryPlan' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'UserClientIp',
+ 'name' => 'RecoveryPlanId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.1',
- ],
+ 'schema' => ['description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '10********'],
],
- [
- 'name' => 'RecordId',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '解析记录的ID。可通过调取[DescribeDomainRecords](~~2357159~~)接口获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '99*******',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ ],
],
],
- [
- 'name' => 'RR',
- 'in' => 'query',
- 'schema' => [
- 'description' => '主机记录。'."\n"
- .'当设置主域名解析(如example.com)时,主机记录应填写"@"符号。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '@',
- ],
+ ],
+ 'errorCodes' => [],
+ 'title' => '删除容灾预案',
+ 'summary' => '删除容灾预案。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGtmRecoveryPlan'],
],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '解析记录类型,参见:'."\n"
- .'<props="china">[解析记录类型格式](https://help.aliyun.com/document_detail/29805.html)。</props>'."\n"
- .'<props="intl">[解析记录类型格式](https://www.alibabacloud.com/help/zh/doc-detail/29805.htm)。</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'A',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteGtmRecoveryPlanResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n</DeleteGtmRecoveryPlanResponse>","errorExample":""}]',
+ ],
+ 'DeleteRecursionRecord' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'Value',
- 'in' => 'query',
- 'schema' => [
- 'description' => '记录值。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '192.0.2.1',
- ],
+ 'AK' => [],
],
[
- 'name' => 'TTL',
- 'in' => 'query',
- 'schema' => [
- 'description' => '解析生效时间,默认为600秒(10分钟)。'."\n"
- .'参见:'."\n"
- .'<props="china">[TTL定义说明](https://help.aliyun.com/document_detail/29806.html)。</props>'."\n"
- .'<props="intl">[TTL定义说明](https://www.alibabacloud.com/help/zh/doc-detail/29806.htm)。</props>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '86400',
- 'minimum' => '1',
- 'example' => '600',
- 'default' => '600',
- ],
+ 'BearerToken' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
+ ],
+ 'parameters' => [
[
- 'name' => 'Priority',
+ 'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'description' => 'MX记录的优先级,取值范围:`[1,50]`。'."\n"
- ."\n"
- .'记录类型为MX记录时,此参数必填。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '65535',
- 'minimum' => '0',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '解析记录id,解析记录的唯一标识', 'type' => 'string', 'required' => true, 'example' => '17432432424', 'pattern' => '^\\d+$'],
],
[
- 'name' => 'Line',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '解析线路,默认为**default**。'."\n"
- .'参见:'."\n"
- .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)。</props>'."\n"
- .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)。</props>',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- 'default' => 'default',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '21079fa016944979537637959d09bc'],
],
],
'responses' => [
@@ -6966,96 +4293,66 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'RecordId' => [
- 'description' => '解析记录的ID。',
- 'type' => 'string',
- 'example' => '99******',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'."\n"],
],
+ 'description' => '',
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordId\\": \\"99******\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateDomainRecordResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <RecordId>9999985</RecordId>\\n</UpdateDomainRecordResponse>","errorExample":""}]',
- 'title' => '修改域名解析记录',
- ],
- 'UpdateDomainRecordRemark' => [
- 'summary' => '根据传入参数修改解析记录的备注。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除HTTPDNS内置权威解析记录',
+ 'summary' => '删除递归解析内置权威解析记录',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'pubdns:DeleteRecursionRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteRecursionZone' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns379HH9'],
],
'parameters' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'UserClientIp',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.1',
- ],
- ],
- [
- 'name' => 'RecordId',
+ 'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录的ID。<props="china">可通过调取[DescribeDomainRecords](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取。</props>'."\n"
- .'<props="intl">可通过调取[DescribeDomainRecords](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取。</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '12*****',
- ],
+ 'schema' => ['description' => 'Zone ID。Zone ID,Zone的唯一识别码。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '169783221000012', 'pattern' => '^\\d+$'],
],
[
- 'name' => 'Remark',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '您的解析记录的备注信息。默认为空,为空时删除原备注信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => '我的第一个解析记录',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '21079fa016944979537637959d09bc'],
],
],
'responses' => [
@@ -7063,31 +4360,38 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateDomainRecordRemarkResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n</UpdateDomainRecordRemarkResponse>","errorExample":""}]',
- 'title' => '修改解析记录的备注',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'SetDomainRecordStatus' => [
- 'summary' => '根据传入参数设置解析记录状态。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除HTTPDNS内置权威域名zone',
+ 'summary' => '删除递归解析内置权威域名zone',
+ 'description' => '如果被删除的解析记录中存在锁定解析,则该锁定解析不会被删除。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'pubdns:DeleteRecursionZone',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteSubDomainRecords' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7096,61 +4400,43 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsQIXAM1'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.1',
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.1'],
],
[
- 'name' => 'RecordId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录的ID。<props="china">可通过调取[DescribeDomainRecords](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取。</props>'."\n"
- .'<props="intl">可通过调取[DescribeDomainRecords](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取。</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9********',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'Status',
+ 'name' => 'RR',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录状态。取值:'."\n"
- ."\n"
- .'- **Enable**: 启用解析 '."\n"
- .'- **Disable**: 暂停解析',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Disable',
- ],
+ 'schema' => ['description' => '主机记录。'."\n"
+ ."\n"
+ .'如果要解析@.exmaple.com,主机记录要填写”@”,而不是空。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析记录类型。如果不填写,则返回子域名对应的全部解析记录类型。'."\n"
+ ."\n"
+ .'解析类型包括(不区分大小写):**A、MX、CNAME、TXT、REDIRECT_URL、FORWORD_URL、NS、AAAA、SRV**。', 'type' => 'string', 'required' => false, 'example' => 'A'],
],
],
'responses' => [
@@ -7158,49 +4444,47 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '当前解析记录状态。',
- 'type' => 'string',
- 'example' => 'Disable',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'RecordId' => [
- 'description' => '解析记录的ID。',
- 'type' => 'string',
- 'example' => '9*******',
- ],
+ 'RR' => ['description' => '主机记录。', 'type' => 'string', 'example' => 'www'],
+ 'TotalCount' => ['description' => '被删除的解析记录总数。', 'type' => 'string', 'example' => '1'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
],
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Disable\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordId\\": \\"9*******\\"\\n}","errorExample":""},{"type":"xml","example":"<SetDomainRecordStatusResponse>\\n <Status>Disable</Status>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <RecordId>9999985</RecordId>\\n</SetDomainRecordStatusResponse>","errorExample":""}]',
- 'title' => '设置解析记录状态',
- ],
- 'DescribeDomainRecordInfo' => [
- 'summary' => '通过解析记录的ID获取解析记录的详细信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '删除主机记录对应的解析记录',
+ 'summary' => '根据传入参数删除主机记录对应的解析记录。',
+ 'description' => '如果被删除的解析记录中存在锁定解析,则该锁定解析不会被删除。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSubDomainRecords'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteSubDomainRecords',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RR\\": \\"www\\",\\n \\"TotalCount\\": \\"1\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteSubDomainRecordsResponse>\\n <RR>www</RR>\\n <TotalCount>1</TotalCount>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n</DeleteSubDomainRecordsResponse>","errorExample":""}]',
+ ],
+ 'DescribeBatchResultCount' => [
+ 'summary' => '根据任务ID查询其批量操作任务的执行结果,如果任务ID为空,返回最后一次批量操作任务的执行结果。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
@@ -7208,44 +4492,33 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'UserClientIp',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.1',
- ],
+ 'schema' => ['description' => '任务ID。'."\n"
+ ."\n"
+ .'> 如果TaskId不为空,返回TaskId对应任务的执行结果;如果TaskId为空,返回最后一次任务的执行结果。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1****'],
],
[
- 'name' => 'RecordId',
+ 'name' => 'BatchType',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录的ID。<props="china">可通过调取[DescribeDomainRecords](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取。</props>'."\n"
- .'<props="intl">可通过调取[DescribeDomainRecords](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取。</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9*********',
- ],
+ 'schema' => ['description' => '批量操作类型,取值:'."\n"
+ ."\n"
+ .'- **DOMAIN_ADD**:批量添加域名'."\n"
+ .'- **DOMAIN_DEL**:批量删除域名'."\n"
+ .'- **RR_ADD**:批量添加解析'."\n"
+ .'- **RR_DEL**:批量删除解析'."\n"
+ .'> 为空时不做筛选', 'type' => 'string', 'required' => false, 'example' => 'DOMAIN_ADD'],
],
],
'responses' => [
@@ -7253,120 +4526,54 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '解析记录状态。取值:'."\n"
- ."\n"
- .'Enable: 启用解析'."\n"
- ."\n"
- .'Disable: 暂停解析',
- 'type' => 'string',
- 'example' => 'Enable',
- ],
- 'RR' => [
- 'description' => '解析类型。',
- 'type' => 'string',
- 'example' => '@',
- ],
- 'GroupName' => [
- 'description' => '域名分组名称。',
- 'type' => 'string',
- 'example' => 'MyGroup',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'Priority' => [
- 'description' => 'MX记录的优先级。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'PunyCode' => [
- 'description' => '只针对中文域名返回punycode码。',
- 'type' => 'string',
- 'example' => 'xn--fsq270a.com',
- ],
- 'TTL' => [
- 'description' => '指解析结果在Local DNS中的缓存时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '600',
- ],
- 'GroupId' => [
- 'description' => '域名分组ID。',
- 'type' => 'string',
- 'example' => '2****',
- ],
- 'Line' => [
- 'description' => '解析线路。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'Locked' => [
- 'description' => '解析记录锁定状态,取值:**true/false**。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Type' => [
- 'description' => '记录类型。',
- 'type' => 'string',
- 'example' => 'MX',
- ],
- 'DomainId' => [
- 'description' => '域名ID。',
- 'type' => 'string',
- 'example' => '00efd71a-7************',
- ],
- 'Value' => [
- 'description' => '记录值。',
- 'type' => 'string',
- 'example' => '1.1.XX.XX',
- ],
- 'RecordId' => [
- 'description' => '解析记录的ID。',
- 'type' => 'string',
- 'example' => '9******',
- ],
- 'Remark' => [
- 'description' => '您的解析记录的备注信息。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'Status' => ['description' => '任务状态,取值:'."\n"
+ ."\n"
+ .'- **-1**:无已提交的导入域名或解析任务'."\n"
+ .'- **0**:处理中'."\n"
+ .'- **1**:已完成'."\n"
+ .'- **2**:已失败', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'TotalCount' => ['description' => '批量处理的记录总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'TaskId' => ['description' => '最后一次任务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1******'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D'],
+ 'FailedCount' => ['description' => '处理失败的域名或解析记录总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'SuccessCount' => ['description' => '处理成功的域名或解析记录总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'BatchType' => ['description' => '批量操作类型。', 'type' => 'string', 'example' => 'DOMAIN_ADD'],
+ 'Reason' => ['description' => '处理失败的原因。', 'type' => 'string', 'example' => 'No match is found for the domain name specified in the file.'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Enable\\",\\n \\"RR\\": \\"@\\",\\n \\"GroupName\\": \\"MyGroup\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"Priority\\": 5,\\n \\"PunyCode\\": \\"xn--fsq270a.com\\",\\n \\"TTL\\": 600,\\n \\"GroupId\\": \\"2****\\",\\n \\"Line\\": \\"default\\",\\n \\"Locked\\": true,\\n \\"Type\\": \\"MX\\",\\n \\"DomainId\\": \\"00efd71a-7************\\",\\n \\"Value\\": \\"1.1.XX.XX\\",\\n \\"RecordId\\": \\"9******\\",\\n \\"Remark\\": \\"test\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainRecordInfoResponse>\\n <Status>Enable</Status>\\n <RR>@</RR>\\n <GroupName>MyGroup</GroupName>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <DomainName>example.com</DomainName>\\n <Priority>5</Priority>\\n <PunyCode>xn--fsq270a.com</PunyCode>\\n <TTL>600</TTL>\\n <GroupId>2223</GroupId>\\n <Line>default</Line>\\n <Locked>true</Locked>\\n <Type>MX</Type>\\n <DomainId>00efd71a-770e-4255-b54e-6fe5659baffe</DomainId>\\n <Value>192.0.2.254</Value>\\n <RecordId>9999985</RecordId>\\n</DescribeDomainRecordInfoResponse>","errorExample":""}]',
- 'title' => '获取解析记录的详细信息',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDomainRecords' => [
- 'summary' => '根据传入参数获取指定主域名的所有解析记录列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询某次批量操作任务的执行结果',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBatchResultCount'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeBatchResultCount',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": 0,\\n \\"TotalCount\\": 4,\\n \\"TaskId\\": 0,\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\",\\n \\"FailedCount\\": 2,\\n \\"SuccessCount\\": 2,\\n \\"BatchType\\": \\"DOMAIN_ADD\\",\\n \\"Reason\\": \\"No match is found for the domain name specified in the file.\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeBatchResultCountResponse>\\n <Status>0</Status>\\n <TotalCount>4</TotalCount>\\n <TaskId>123456</TaskId>\\n <RequestId>75446CC1-FC9A-4595-8D96-089D73D7A63D</RequestId>\\n <FailedCount>2</FailedCount>\\n <SuccessCount>2</SuccessCount>\\n <BatchType>DOMAIN_ADD</BatchType>\\n <Reason>failed_reason</Reason>\\n</DescribeBatchResultCountResponse>","errorExample":""}]',
+ ],
+ 'DescribeBatchResultDetail' => [
+ 'summary' => '查询批量处理结果的详细信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
@@ -7374,202 +4581,297 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsL5Z2KT'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '当前页码,默认值为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**500**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '500',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '分页查询时每页设置的大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'KeyWord',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '关键字。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '8*******'],
],
[
- 'name' => 'RRKeyWord',
+ 'name' => 'BatchType',
'in' => 'query',
- 'schema' => [
- 'description' => '主机记录的关键字,按照 RRKeyWord(前后模糊匹配)模式搜索,不区分大小写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www',
- ],
+ 'schema' => ['description' => '批量操作类型。取值:'."\n"
+ ."\n"
+ .'- **DOMAIN_ADD**:批量添加域名'."\n"
+ .'- **DOMAIN_DEL**:批量删除域名'."\n"
+ .'- **RR_ADD**:批量添加解析'."\n"
+ .'- **RR_DEL**:批量删除解析'."\n"
+ .'> 为空时不做筛选', 'type' => 'string', 'required' => false, 'example' => 'DOMAIN_ADD'],
],
[
- 'name' => 'TypeKeyWord',
+ 'name' => 'Status',
'in' => 'query',
+ 'schema' => ['description' => '获取指定状态结果详情,不传入则获取所有。', 'type' => 'string', 'required' => false, 'example' => 'SUCCESS'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '解析类型的关键字,按照全匹配搜索,不区分大小写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MX',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => ['description' => '记录总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'BatchResultDetails' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'BatchResultDetail' => [
+ 'description' => '批量处理结果的详细信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '执行结果。**true**代表成功,**false**代表失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'Type' => ['description' => '域名解析类型。', 'type' => 'string', 'example' => 'A'],
+ 'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com'],
+ 'Remark' => ['description' => '解析记录备注。', 'type' => 'string', 'example' => 'remark'],
+ 'RecordId' => ['description' => '解析记录的ID。', 'type' => 'string', 'example' => '1*********'],
+ 'Rr' => ['description' => '主机记录。', 'type' => 'string', 'example' => 'www'],
+ 'Priority' => ['description' => 'MX优先级。', 'type' => 'string', 'example' => '10'],
+ 'RrStatus' => ['description' => '解析记录状态。', 'type' => 'string', 'example' => '暂停'],
+ 'OperateDateStr' => ['description' => '处理时间。', 'type' => 'string', 'example' => '2019-08-22 18:02:58'],
+ 'NewValue' => ['description' => '新的记录值。', 'type' => 'string', 'example' => '192.0.2.1'],
+ 'Value' => ['description' => '记录值。', 'type' => 'string', 'example' => '198.51.100.1'],
+ 'Ttl' => ['description' => '生效时间。', 'type' => 'string', 'example' => '600'],
+ 'BatchType' => ['description' => '批量操作类型。', 'type' => 'string', 'example' => 'DOMAIN_ADD'],
+ 'Line' => ['description' => '线路代码。', 'type' => 'string', 'example' => 'default'],
+ 'NewRr' => ['description' => '新的主机记录。', 'type' => 'string', 'example' => 'demo-batch-7'],
+ 'Reason' => ['description' => '执行失败的原因。', 'type' => 'string', 'example' => '内部异常'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D'],
+ 'PageNumber' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ ],
],
],
+ ],
+ 'title' => '查询批量处理结果的详细信息',
+ 'description' => '**前提条件:请在批量任务执行完成后,再调用此接口。**',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBatchResultDetail'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ValueKeyWord',
- 'in' => 'query',
- 'schema' => [
- 'description' => '记录值的关键字,按照 ValueKeyWord(前后模糊匹配)模式搜索,不区分大小写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'com',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeBatchResultDetail',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"BatchResultDetails\\": {\\n \\"BatchResultDetail\\": [\\n {\\n \\"Status\\": true,\\n \\"Type\\": \\"A\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"Remark\\": \\"remark\\",\\n \\"RecordId\\": \\"1*********\\",\\n \\"Rr\\": \\"www\\",\\n \\"Priority\\": \\"10\\",\\n \\"RrStatus\\": \\"暂停\\",\\n \\"OperateDateStr\\": \\"2019-08-22 18:02:58\\",\\n \\"NewValue\\": \\"192.0.2.1\\",\\n \\"Value\\": \\"198.51.100.1\\",\\n \\"Ttl\\": \\"600\\",\\n \\"BatchType\\": \\"DOMAIN_ADD\\",\\n \\"Line\\": \\"default\\",\\n \\"NewRr\\": \\"demo-batch-7\\",\\n \\"Reason\\": \\"内部异常\\"\\n }\\n ]\\n },\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\",\\n \\"PageNumber\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeBatchResultDetailResponse>\\n <TotalCount>1</TotalCount>\\n <BatchResultDetails>\\n <Status>true</Status>\\n <Type>A</Type>\\n <Domain>example.com</Domain>\\n <Remark>remark</Remark>\\n <RecordId>123456789</RecordId>\\n <Rr>www</Rr>\\n <Priority>10</Priority>\\n <RrStatus>暂停</RrStatus>\\n <OperateDateStr>2019-08-22 18:02:58</OperateDateStr>\\n <NewValue>192.0.2.254</NewValue>\\n <Value>192.0.2.0</Value>\\n <Ttl>600</Ttl>\\n <BatchType>DOMAIN_ADD</BatchType>\\n <Line>default</Line>\\n <NewRr>demo-batch-7</NewRr>\\n <Reason>内部异常</Reason>\\n </BatchResultDetails>\\n <PageSize>10</PageSize>\\n <RequestId>75446CC1-FC9A-4595-8D96-089D73D7A63D</RequestId>\\n <PageNumber>1</PageNumber>\\n</DescribeBatchResultDetailResponse>","errorExample":""}]',
+ ],
+ 'DescribeCloudGtmAddress' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'OrderBy',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '排序方式。按照解析添加的时间从新到旧排序。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'Direction',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '排序方向。取值范围:DESC、ASC。默认为:DESC。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DESC',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'SearchMode',
+ 'name' => 'AddressId',
'in' => 'query',
+ 'schema' => ['description' => '地址ID,地址唯一标识码。', 'type' => 'string', 'required' => true, 'example' => 'addr-89518218114368****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '搜索模式,取值:**LIKE/EXACT/ADVANCED/COMBINATION。**'."\n"
- .'- 填入LIKE或EXACT时,请使用KeyWord参数。(传入RRKeyWord、TypeKeyWord、ValueKeyWord、Type、Line、Status参数无效)'."\n"
- .'- 填入ADVANCED时,请使用RRKeyWord、TypeKeyWord、ValueKeyWord、Type、Line、Status,其中RRKeyWord、ValueKeyWord为模糊匹配'."\n"
- .'- 填入COMBINATION,请使用RRKeyWord、TypeKeyWord、ValueKeyWord、Type、Line、Status参数,所有参数均为精确匹配。'."\n"
- .'- 不传值:'."\n"
- .' - keyWord传值,搜索模式取”LIKE“值。'."\n"
- .' - keyWord不传值,RRKeyWord和ValueKeyWord支持模糊查询,TypeKeyWord和Type、Line、Status支持精确查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LIKE',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
+ 'AddressId' => ['title' => '地址 ID', 'description' => '地址ID,地址唯一标识码。', 'type' => 'string', 'example' => 'addr-89518218114368****'."\n"],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '地址创建时间。', 'type' => 'string', 'example' => '2024-03-23T13:09Z'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '地址配置的最后修改时间。', 'type' => 'string', 'example' => '2024-03-29T13:20Z'],
+ 'UpdateTimestamp' => ['description' => '修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'Name' => ['title' => '地址名称', 'description' => '地址名称。', 'type' => 'string', 'example' => 'test'],
+ 'Type' => ['title' => '地址类型', 'description' => '地址类型:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'example' => 'IPv4'],
+ 'Address' => ['title' => '地址', 'description' => 'IP地址或者域名。', 'type' => 'string', 'example' => '223.5.XX.XX'],
+ 'AttributeInfo' => ['title' => '地址归属信息', 'description' => '地址归属信息。', 'type' => 'string', 'example' => '当前版本不支持此参数,不会返回地址归属信息。'],
+ 'Remark' => ['title' => '备注', 'description' => '备注。', 'type' => 'string', 'example' => 'test1'],
+ 'EnableStatus' => ['title' => '启用状态 enable: 可用, disable:不可用', 'description' => '表示该地址当前启用状态:'."\n"
+ ."\n"
+ .'enable:启用状态'."\n"
+ ."\n"
+ .'disable:禁用状态', 'type' => 'string', 'example' => 'enable'],
+ 'AvailableMode' => ['title' => '可用状态设置模式', 'description' => '地址探测异常切换方式:'."\n"
+ ."\n"
+ .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
+ ."\n"
+ .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。', 'type' => 'string', 'example' => 'auto'],
+ 'ManualAvailableStatus' => ['title' => '手动设置的可用状态', 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
+ ."\n"
+ .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
+ ."\n"
+ .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。', 'type' => 'string', 'example' => 'available'],
+ 'AvailableStatus' => ['title' => '地址可用状态', 'description' => '地址可用状态:'."\n"
+ ."\n"
+ .'- available:可用'."\n"
+ ."\n"
+ .'- unavailable:不可用', 'type' => 'string', 'example' => 'available'],
+ 'HealthStatus' => ['title' => '地址的健康状态:', 'description' => '地址健康检查探测结果:'."\n"
+ ."\n"
+ .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
+ ."\n"
+ .' - ok_alert:地址引用的健康探测模板探测任务部分异常,地址判定为正常状态。'."\n"
+ ."\n"
+ .' - ok_no_monitor:地址没有引用任何健康探测模板。'."\n"
+ ."\n"
+ .' - exceptional:地址引用的健康探测模板探测任务部分或全部异常,但地址判定为异常状态。', 'type' => 'string', 'example' => 'ok'],
+ 'HealthJudgement' => ['title' => '地址健康状态判定为ok 的方式:', 'description' => '地址健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:所有探测模板至少一个探测正常。'."\n"
+ ."\n"
+ .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
+ ."\n"
+ .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
+ ."\n"
+ .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
+ ."\n"
+ .'- all_ok:所有探测模板全部探测正常。', 'type' => 'string', 'example' => 'p50_ok'],
+ 'HealthTasks' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'HealthTask' => [
+ 'title' => '健康探测任务列表',
+ 'description' => '健康探测任务列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址引用的健康探测任务列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Port' => ['description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'TemplateId' => ['description' => '地址关联的健康探测模板ID。', 'type' => 'string', 'example' => 'mtp-89518052425100****'],
+ 'TemplateName' => ['description' => '健康探测模板名称。', 'type' => 'string', 'example' => 'Ping-IPv4'],
+ 'MonitorStatus' => ['description' => '健康探测模板探测任务状态:'."\n"
+ .'- ok:正常。'."\n"
+ ."\n"
+ .'- alert:告警。'."\n"
+ ."\n"
+ .'- no_data:无数据,一般是健康探测任务刚创建,探测任务数据暂未采集到。', 'type' => 'string', 'example' => 'ok'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ ],
+ 'title' => '获取地址配置信息',
+ 'summary' => '根据传入参数获取地址配置信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmAddress'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'GroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '指域名分组ID'."\n"
- ."\n"
- .'- 如不传GroupId,则在全部域名下查询。'."\n"
- ."\n"
- .'- 如GroupId为0,则返回空数据。'."\n"
- ."\n"
- .'- 如GroupId为-1,则在默认分组(指未设置分组的域名)下查询。'."\n"
- ."\n"
- .'- 如GroupId为-2,则在全部域名下查询。'."\n"
- ."\n"
- .'- 如GroupId不符合上述条件,则按GroupId查询并返回结果。'."\n"
- .'<props="china">可通过调用[DescribeDomainGroups ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomainGroups ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2****',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmAddress',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"AddressId\\": \\"addr-89518218114368****\\\\n\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"Name\\": \\"test\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持此参数,不会返回地址归属信息。\\",\\n \\"Remark\\": \\"test1\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"p50_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"TemplateName\\": \\"Ping-IPv4\\",\\n \\"MonitorStatus\\": \\"ok\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeCloudGtmAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Type',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录类型,参见:'."\n"
- ."\n"
- .'<props="china">[解析记录类型格式](https://help.aliyun.com/document_detail/29805.html)</props>'."\n"
- .'<props="intl">[解析记录类型格式](https://www.alibabacloud.com/help/zh/doc-detail/29805.htm)</props>'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'A',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
],
[
- 'name' => 'Line',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '解析线路,默认为**default**。'."\n"
- ."\n"
- .'参见:'."\n"
- .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)。</props>'."\n"
- ."\n"
- .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn_mobile_anhui',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'Status',
+ 'name' => 'AddressPoolId',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录状态。取值:'."\n"
- ."\n"
- .'Enable: 启用解析'."\n"
- ."\n"
- .'Disable: 暂停解析',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Enable',
- ],
+ 'schema' => ['description' => '地址池ID,地址池的唯一标识码。', 'type' => 'string', 'required' => false, 'example' => 'pool-89564674533755****'],
],
],
'responses' => [
@@ -7577,147 +4879,204 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '解析记录总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'PageSize' => [
- 'description' => '本次查询获取的解析数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'DomainRecords' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '地址池创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '地址池创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '地址池最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '地址池最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'AddressPoolId' => ['title' => '地址池Id', 'description' => '地址池Id,地址池的唯一标识码。', 'type' => 'string', 'example' => 'pool-89564674533755****'],
+ 'AddressPoolName' => ['title' => '地址池名称', 'description' => '地址池名称。', 'type' => 'string', 'example' => 'AddressPool-1'],
+ 'AddressPoolType' => ['title' => '地址池类型ipv4、ipv6、domain', 'description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'example' => 'IPv4'],
+ 'AddressLbStrategy' => ['title' => '地址负载策略', 'description' => '地址池中地址间负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['title' => '顺序负载策略模式(抢占式、非抢占式)', 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。', 'type' => 'string', 'example' => 'preemptive'],
+ 'EnableStatus' => ['title' => '启用状态', 'description' => '地址池启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'example' => 'enable'],
+ 'HealthJudgement' => ['title' => '健康判定', 'description' => '地址池健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
+ ."\n"
+ .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
+ ."\n"
+ .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
+ ."\n"
+ .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
+ ."\n"
+ .'- all_ok:地址池内地址全部可用。', 'type' => 'string', 'example' => 'any_ok'],
+ 'HealthStatus' => ['title' => '健康状态', 'description' => '地址池健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。', 'type' => 'string', 'example' => 'ok'],
+ 'AvailableStatus' => ['title' => '可用性状态', 'description' => '地址池可用性状态:'."\n"
+ ."\n"
+ .'- available:可用'."\n"
+ ."\n"
+ .'- unavailable:不可用', 'type' => 'string', 'example' => 'available'],
+ 'Addresses' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Record' => [
- 'description' => '解析记录列表。',
+ 'Address' => [
+ 'description' => '地址列表。',
'type' => 'array',
'items' => [
+ 'description' => '地址信息。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '当前的解析记录状态。',
- 'type' => 'string',
- 'example' => 'Enable',
- ],
- 'Type' => [
- 'description' => '记录类型。',
- 'type' => 'string',
- 'example' => 'MX',
- ],
- 'Remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'TTL' => [
- 'description' => '缓存时间设置。单位:秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '600',
- ],
- 'RecordId' => [
- 'description' => '解析记录ID。',
- 'type' => 'string',
- 'example' => '9*******',
- ],
- 'Priority' => [
- 'description' => 'mx记录的优先级。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'RR' => [
- 'description' => '主机记录。',
- 'type' => 'string',
- 'example' => 'www',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'Weight' => [
- 'description' => '负载均衡权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Value' => [
- 'description' => '记录值。',
- 'type' => 'string',
- 'example' => 'mail1.hichina.com',
- ],
- 'Line' => [
- 'description' => '解析线路。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'Locked' => [
- 'description' => '当前解析记录锁定状态。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1666501957000',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1676872961000',
+ 'CreateTime' => ['title' => '创建时间', 'description' => '地址创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'."\n"],
+ 'CreateTimestamp' => ['description' => '地址创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '地址最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'."\n"],
+ 'UpdateTimestamp' => ['description' => '地址的最后一次的修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'AddressId' => ['title' => '地址 ID', 'description' => '地址 ID,地址的唯一标识码。', 'type' => 'string', 'example' => 'addr-89518218114368****'],
+ 'WeightValue' => ['title' => '权重', 'description' => '权重值(1-100内的整数,包括1和100),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SerialNumber' => ['title' => '序号', 'description' => '顺序号,标识地址返回的优先级,越小优先级越高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestSource' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RequestSource' => [
+ 'description' => '解析请求来源列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。', 'type' => 'string', 'example' => '["default"]'],
+ ],
+ ],
],
- 'LbaStatus' => [
- 'description' => '是否配置了负载均衡策略。'."\n"
- .'* true: 权重'."\n"
- .'* false: 轮询',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'Name' => ['title' => '地址名称', 'description' => '地址名称。', 'type' => 'string', 'example' => 'Address-1'],
+ 'Type' => ['title' => '地址类型', 'description' => '地址类型:'."\n"
+ ."\n"
+ .'- IPv4:IPv4地址'."\n"
+ ."\n"
+ .'- IPv6:IPv6地址'."\n"
+ ."\n"
+ .'- domain:域名', 'type' => 'string', 'example' => 'IPv4'],
+ 'Address' => ['description' => 'IP地址或域名。', 'type' => 'string', 'example' => '223.5.XX.XX'],
+ 'AttributeInfo' => ['title' => '地址归属信息', 'description' => '地址归属信息,当前版本不支持返回此参数。', 'type' => 'string', 'example' => '当前版本不支持返回此参数。'],
+ 'Remark' => ['title' => '备注', 'description' => '地址的备注。', 'type' => 'string', 'example' => 'test'],
+ 'EnableStatus' => ['title' => '启用状态 enable: 可用, disable:不可用', 'description' => '地址启用状态,表示地址当前是否可用:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'example' => 'enable'],
+ 'AvailableMode' => ['title' => '可用状态设置模式', 'description' => '地址探测异常切换方式:'."\n"
+ ."\n"
+ .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
+ ."\n"
+ .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。', 'type' => 'string', 'example' => 'auto'],
+ 'ManualAvailableStatus' => ['title' => '手动设置的可用状态', 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
+ ."\n"
+ .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
+ ."\n"
+ .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。', 'type' => 'string', 'example' => 'available'],
+ 'AvailableStatus' => ['title' => '地址可用状态', 'description' => '地址可用状态:'."\n"
+ ."\n"
+ .'- available:地址可用'."\n"
+ ."\n"
+ .'- unavailable:地址不可用', 'type' => 'string', 'example' => 'available'],
+ 'HealthStatus' => ['title' => '地址的健康状态:', 'description' => '地址健康探测状态:'."\n"
+ ."\n"
+ .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
+ ."\n"
+ .'- ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
+ ."\n"
+ .'- ok_no_monitor:地址没有引用任何健康探测模板,状态正常。'."\n"
+ ."\n"
+ .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。', 'type' => 'string', 'example' => 'ok'],
+ 'HealthJudgement' => ['title' => '地址健康状态判定为ok 的方式:', 'description' => '地址健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:所有探测模板至少一个探测正常。'."\n"
+ ."\n"
+ .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
+ ."\n"
+ .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
+ ."\n"
+ .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
+ ."\n"
+ .'- all_ok:所有探测模板全部探测正常。', 'type' => 'string', 'example' => 'any_ok'],
+ 'HealthTasks' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'HealthTask' => [
+ 'title' => '健康探测任务列表',
+ 'description' => '健康探测任务列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '健康探测任务配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Port' => ['description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'TemplateId' => ['description' => '地址关联的健康探测模板ID。', 'type' => 'string', 'example' => 'mtp-89518052425100**80'."\n"],
+ 'TemplateName' => ['description' => '健康探测模板名称。', 'type' => 'string', 'example' => 'IPv4-Ping'],
+ ],
+ ],
+ ],
+ ],
],
+ 'SeqNonPreemptiveSchedule' => ['description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
+ ."\n"
+ .'- true:是'."\n"
+ ."\n"
+ .'- false:不是', 'type' => 'boolean', 'example' => 'false'],
],
],
],
],
],
- 'PageNumber' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'Remark' => ['description' => '地址的备注。', 'type' => 'string', 'example' => 'test'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"DomainRecords\\": {\\n \\"Record\\": [\\n {\\n \\"Status\\": \\"Enable\\",\\n \\"Type\\": \\"MX\\",\\n \\"Remark\\": \\"备注\\",\\n \\"TTL\\": 600,\\n \\"RecordId\\": \\"9*******\\",\\n \\"Priority\\": 5,\\n \\"RR\\": \\"www\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"Weight\\": 2,\\n \\"Value\\": \\"mail1.hichina.com\\",\\n \\"Line\\": \\"default\\",\\n \\"Locked\\": false,\\n \\"CreateTimestamp\\": 1666501957000,\\n \\"UpdateTimestamp\\": 1676872961000,\\n \\"LbaStatus\\": true\\n }\\n ]\\n },\\n \\"PageNumber\\": 1\\n}","type":"json"}]',
- 'title' => '获取解析记录列表',
- 'description' => '- 查询可以指定域名(DomainName)、页码(PageNumber)和每页的数量(PageSize)来获取域名的解析列表。'."\n"
- .'- 查询可以指定解析记录的主机记录关键字(RRKeyWord)、解析类型关键字(TypeKeyWord)或者记录值的关键字(ValueKeyWord)来查询含有该关键字的解析列表。'."\n"
- .'- 解析列表的默认排序方式是按照解析添加的时间从新到旧排序的。'."\n"
- .'- 可以指定域名分组的ID(GroupId),全部域名代表所有域名、默认分组代表未设置分组的域名。',
- ],
- 'DescribeRecordLogs' => [
- 'summary' => '根据传入参数获取域名的解析操作日志。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取地址池配置信息',
+ 'summary' => '根据传入参数获取指定地址池配置信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmAddressPool'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89564674533755****\\",\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\\\n\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\\\n\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressId\\": \\"addr-89518218114368****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持返回此参数。\\",\\n \\"Remark\\": \\"test\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100**80\\\\n\\",\\n \\"TemplateName\\": \\"IPv4-Ping\\"\\n }\\n ]\\n },\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeCloudGtmAddressPoolReference' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7725,105 +5084,162 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsI154TB',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'UserClientIp',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.1',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'."\n"],
],
[
- 'name' => 'DomainName',
+ 'name' => 'AddressPoolId',
'in' => 'query',
+ 'schema' => ['description' => '地址池ID,地址池的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => 'pool-89528023225442****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '853805EA-3D47-47D5-9A1A-A45C24313ABD'],
+ 'AddressPoolId' => ['title' => '地址池 ID', 'description' => '地址池ID,地址池的唯一识别码。', 'type' => 'string', 'example' => 'pool-89528023225442****'],
+ 'AddressPoolName' => ['title' => '地址池名称', 'description' => '地址池名称。', 'type' => 'string', 'example' => 'app'],
+ 'InstanceConfigs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'InstanceConfig' => [
+ 'description' => '引用地址池的实例列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '引用地址池的实例。',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => ['title' => '实例id', 'description' => '全局流量管理3.0实例ID。', 'type' => 'string', 'example' => 'gtm-cn-jmp3qnw****'],
+ 'ConfigId' => ['title' => '实例id', 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。', 'type' => 'string', 'example' => 'config-00****'],
+ 'VersionCode' => ['title' => '实例id', 'description' => '全局流量管理3.0实例版本:'."\n"
+ ."\n"
+ .'- standard:标准版'."\n"
+ ."\n"
+ .'- ultimate:旗舰版', 'type' => 'string', 'example' => 'ultimate'],
+ 'InstanceName' => ['title' => '调度实例名称', 'description' => '实例名称。', 'type' => 'string', 'example' => 'test'],
+ 'ScheduleZoneName' => ['title' => 'zone名称', 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。', 'type' => 'string', 'example' => 'example.com'],
+ 'ScheduleHostname' => ['title' => '主机记录', 'description' => 'GTM接入域名的主机记录。', 'type' => 'string', 'example' => 'www'],
+ 'ScheduleDomainName' => ['title' => '域名,主机记录+zoneNamne', 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)。', 'type' => 'string', 'example' => 'www.example.com'],
+ 'ScheduleRrType' => ['description' => '调度域名的解析记录类型:'."\n"
+ ."\n"
+ .'- A:IPv4地址'."\n"
+ ."\n"
+ .'- AAAA:IPv6地址'."\n"
+ ."\n"
+ .'- CNAME:域名', 'type' => 'string', 'example' => 'A'],
+ 'Ttl' => ['description' => '全局TTL,接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'AddressPoolLbStrategy' => ['description' => '地址池之间的负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。', 'type' => 'string', 'example' => 'preemptive'],
+ 'AvailableStatus' => ['description' => '域名实例服务可用状态:'."\n"
+ ."\n"
+ .'- available:可用,域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
+ ."\n"
+ .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。', 'type' => 'string', 'example' => 'available'],
+ 'EnableStatus' => ['description' => '域名实例的启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
+ ."\n"
+ .'- disable:禁用状态,GTM实例智能调度策略不可用。', 'type' => 'string', 'example' => 'enable'],
+ 'HealthStatus' => ['description' => '域名实例健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。', 'type' => 'string', 'example' => 'ok'],
+ 'Remark' => ['description' => '备注。', 'type' => 'string', 'example' => 'test'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ ],
+ 'title' => '获取地址池被实例引用的信息',
+ 'summary' => '根据传入参数获取地址池被实例引用的信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmAddressPoolReference'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmAddressPoolReference',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"853805EA-3D47-47D5-9A1A-A45C24313ABD\\",\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\",\\n \\"AddressPoolName\\": \\"app\\",\\n \\"InstanceConfigs\\": {\\n \\"InstanceConfig\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-jmp3qnw****\\",\\n \\"ConfigId\\": \\"config-00****\\",\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"ScheduleZoneName\\": \\"example.com\\",\\n \\"ScheduleHostname\\": \\"www\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"ScheduleRrType\\": \\"A\\",\\n \\"Ttl\\": 30,\\n \\"AddressPoolLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeCloudGtmAddressReference' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'KeyWord',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '关键字,按照“%KeyWord%”模式搜索,不区分大小写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '返回信息的语言类型:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
],
[
- 'name' => 'StartDate',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间,格式:**YYYY-MM-DD**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2015-12-12',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'endDate',
+ 'name' => 'AddressId',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间,格式:**YYYY-MM-DD**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2015-12-12',
- ],
+ 'schema' => ['description' => '地址ID,唯一标识地址。', 'type' => 'string', 'required' => false, 'example' => 'addr-89518218114368****'],
],
],
'responses' => [
@@ -7831,65 +5247,141 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '日志列表总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'PageSize' => [
- 'description' => '本次查询获取的日志数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'RecordLogs' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'AddressId' => ['title' => '地址 ID', 'description' => '地址ID,唯一标识地址。', 'type' => 'string', 'example' => 'addr-89564584963974****'],
+ 'Name' => ['title' => '地址名称', 'description' => '地址名称。', 'type' => 'string', 'example' => 'Address-1'],
+ 'Address' => ['title' => '地址', 'description' => 'IP地址或域名。', 'type' => 'string', 'example' => '223.5.XX.XX'],
+ 'AddressPools' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'RecordLog' => [
- 'description' => '域名操作日志列表。',
+ 'AddressPool' => [
+ 'description' => '地址池列表。',
'type' => 'array',
'items' => [
+ 'description' => '地址池信息。',
'type' => 'object',
'properties' => [
- 'Action' => [
- 'description' => '操作行为',
- 'type' => 'string',
- 'example' => '暂停解析记录',
- ],
- 'ActionTimestamp' => [
- 'description' => '操作时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '134514540000',
- ],
- 'ClientIp' => [
- 'description' => '操作者IP',
- 'type' => 'string',
- 'example' => '192.0.2.1',
- ],
- 'Message' => [
- 'description' => '操作消息',
- 'type' => 'string',
- 'example' => 'MX记录 mail 默认 xxxx.top. ( TTL: 600)',
- ],
- 'ActionTime' => [
- 'description' => '操作时间',
- 'type' => 'string',
- 'example' => '2015-12-12T09:23Z',
+ 'AddressPoolId' => ['title' => '地址池Id', 'description' => '地址池ID。', 'type' => 'string', 'example' => 'pool-89528023225442****'],
+ 'AddressPoolName' => ['title' => '地址池名称', 'description' => '地址池名称。', 'type' => 'string', 'example' => 'AddressPool-1'],
+ 'InstanceConfigs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'InstanceConfig' => [
+ 'description' => '引用地址池的实例列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '引用地址池的实例配置信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => ['title' => '实例id', 'description' => '全局流量管理3.0实例ID。', 'type' => 'string', 'example' => 'gtm-cn-zz11t58****'],
+ 'InstanceName' => ['title' => '调度实例名称', 'description' => '实例名称。', 'type' => 'string', 'example' => 'test'],
+ 'ConfigId' => ['title' => '调度实例名称', 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。', 'type' => 'string', 'example' => 'config-00****'],
+ 'VersionCode' => ['title' => '调度实例名称', 'description' => '全局流量管理3.0实例版本:'."\n"
+ ."\n"
+ .'- standard:标准版'."\n"
+ ."\n"
+ .'- ultimate:旗舰版', 'type' => 'string', 'example' => 'ultimate'],
+ 'ScheduleZoneName' => ['title' => 'zone名称', 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。', 'type' => 'string', 'example' => 'example.com'."\n"],
+ 'ScheduleHostname' => ['title' => '主机记录', 'description' => 'GTM接入域名的主机记录。', 'type' => 'string', 'example' => 'www'],
+ 'ScheduleDomainName' => ['title' => '域名,主机记录+zoneNamne', 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)', 'type' => 'string', 'example' => 'www.example.com'],
+ 'ScheduleRrType' => ['description' => '调度域名的解析记录类型:'."\n"
+ ."\n"
+ .'- A:IPv4地址'."\n"
+ ."\n"
+ .'- AAAA:IPv6地址'."\n"
+ ."\n"
+ .'- CNAME:域名', 'type' => 'string', 'example' => 'A'],
+ 'Ttl' => ['description' => '全局TTL(单位:秒),接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'AddressPoolLbStrategy' => ['description' => '地址池之间的负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。', 'type' => 'string', 'example' => ' preemptive'],
+ 'AvailableStatus' => ['description' => '域名实例服务可用状态:'."\n"
+ ."\n"
+ .'- available:可用,域名**启用**且健康状态为“正常”,接入域名的服务可用状态为**可用**。'."\n"
+ ."\n"
+ .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。', 'type' => 'string', 'example' => 'available'],
+ 'EnableStatus' => ['description' => '域名实例的启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
+ ."\n"
+ .'- disable:禁用状态,GTM实例智能调度策略不可用。', 'type' => 'string', 'example' => 'enable'],
+ 'HealthStatus' => ['description' => '域名实例健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。', 'type' => 'string', 'example' => 'ok'],
+ 'Remark' => ['description' => '备注。', 'type' => 'string', 'example' => 'test'],
+ ],
+ ],
+ ],
+ ],
],
+ 'AddressPoolType' => ['description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'example' => 'IPv4'],
+ 'AddressLbStrategy' => ['description' => '地址池中地址间负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址;'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址;', 'type' => 'string', 'example' => 'preemptive'],
+ 'EnableStatus' => ['description' => '地址池启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'example' => 'enable'],
+ 'HealthJudgement' => ['description' => '地址池健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
+ ."\n"
+ .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
+ ."\n"
+ .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
+ ."\n"
+ .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
+ ."\n"
+ .'- all_ok:地址池内地址全部可用。', 'type' => 'string', 'example' => 'any_ok'],
+ 'HealthStatus' => ['description' => '地址池健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。', 'type' => 'string', 'example' => 'ok'],
+ 'AvailableStatus' => ['description' => '地址池可用性状态:'."\n"
+ ."\n"
+ .'- available:可用'."\n"
+ ."\n"
+ .'- unavailable:不可用', 'type' => 'string', 'example' => 'available'],
+ 'Remark' => ['description' => '地址池的备注。', 'type' => 'string', 'example' => 'pool-1'],
],
],
],
@@ -7899,22 +5391,34 @@
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"RecordLogs\\": {\\n \\"RecordLog\\": [\\n {\\n \\"Action\\": \\"暂停解析记录\\",\\n \\"ActionTimestamp\\": 134514540000,\\n \\"ClientIp\\": \\"192.0.2.1\\",\\n \\"Message\\": \\"MX记录 mail 默认 xxxx.top. ( TTL: 600)\\",\\n \\"ActionTime\\": \\"2015-12-12T09:23Z\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeRecordLogsResponse>\\n <TotalCount>2</TotalCount>\\n <PageSize>2</PageSize>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <PageNumber>1</PageNumber>\\n <RecordLogs>\\n <Action>暂停解析记录</Action>\\n <ActionTimestamp>134514540000</ActionTimestamp>\\n <ClientIp>192.0.2.0</ClientIp>\\n <Message>MX记录 mail 默认 xxxx.top. ( TTL: 600)</Message>\\n <ActionTime>2015-12-12T09:23Z</ActionTime>\\n </RecordLogs>\\n</DescribeRecordLogsResponse>","errorExample":""}]',
- 'title' => '获取解析记录操作日志',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeSubDomainRecords' => [
- 'summary' => '根据传入参数获取某个固定子域名的所有解析记录列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取地址被引用的信息',
+ 'summary' => '根据传入参数获取地址被引用的地址池、GTM3.0实例信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '45', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmAddressReference'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmAddressReference',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"AddressId\\": \\"addr-89564584963974****\\",\\n \\"Name\\": \\"Address-1\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\",\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"InstanceConfigs\\": {\\n \\"InstanceConfig\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-zz11t58****\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"ConfigId\\": \\"config-00****\\",\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"ScheduleZoneName\\": \\"example.com\\\\n\\",\\n \\"ScheduleHostname\\": \\"www\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"ScheduleRrType\\": \\"A\\",\\n \\"Ttl\\": 30,\\n \\"AddressPoolLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\" preemptive\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n },\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"Remark\\": \\"pool-1\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeCloudGtmGlobalAlert' => [
+ 'summary' => '查询全局流量管理告警配置',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7926,106 +5430,22 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsQIXAM1',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns6GP3X5'],
],
'parameters' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'UserClientIp',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.0',
- ],
- ],
- [
- 'name' => 'SubDomain',
- 'in' => 'query',
- 'schema' => [
- 'description' => '`例如参数SubDomain为"a.www.example.com"为例:`'."\n"
- ."\n"
- .'`如果参数DomainName为空,则查询域名为example.com、主机名为”a.www“的解析记录。`'."\n"
- .'`如果参数DomainName为"www.example.com",则查询域名为"www.example.com"、主机名为"a"的解析记录。`'."\n"
- .'`如果参数DomainName为"a.www.example.com",则查询域名为"a.www.example.com"、主机名为"@"的解析记录。`',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'a.www.example.com',
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '500',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
- ],
- [
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '解析记录类型。若不传值,则返回子域名对应的全部解析记录类型。'."\n"
- ."\n"
- .'解析类型包括(不区分大小写):**A、MX、CNAME、TXT、REDIRECT_URL、FORWORD_URL、NS、AAAA、SRV**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MX',
- ],
- ],
- [
- 'name' => 'Line',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '解析线路。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '返回信息的语言类型:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US:英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22'],
],
],
'responses' => [
@@ -8033,184 +5453,128 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '解析记录总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'PageSize' => [
- 'description' => '本次查询获取的解析数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
+ 'AlertGroup' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AlertGroup' => [
+ 'description' => '告警通知组列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '告警通知组。', 'type' => 'string', 'example' => '[\\"云账号报警联系人\\"]'],
+ ],
+ ],
+ 'description' => '',
],
- 'DomainRecords' => [
+ 'AlertConfig' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Record' => [
- 'description' => '解析记录列表。',
+ 'AlertConfig' => [
+ 'description' => '报警配置列表。',
'type' => 'array',
'items' => [
+ 'description' => '报警规则配置信息。',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '解析记录状态。',
- 'type' => 'string',
- 'example' => 'Enable',
- ],
- 'Type' => [
- 'description' => '记录类型。',
- 'type' => 'string',
- 'example' => 'CNAME',
- ],
- 'Weight' => [
- 'description' => '解析记录的权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Value' => [
- 'description' => '记录值。',
- 'type' => 'string',
- 'example' => 'example.net',
- ],
- 'TTL' => [
- 'description' => '生存时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '600',
- ],
- 'Line' => [
- 'description' => '解析线路。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'RecordId' => [
- 'description' => '解析记录ID。',
- 'type' => 'string',
- 'example' => '99******',
- ],
- 'Priority' => [
- 'description' => 'MX记录的优先级。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'RR' => [
- 'description' => '主机记录。',
- 'type' => 'string',
- 'example' => 'www',
- ],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'Locked' => [
- 'description' => '解析记录锁定状态。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Remark' => [
- 'description' => '备注信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'NoticeType' => ['description' => '报警事件类型:'."\n"
+ ."\n"
+ .'- addr_alert:地址不可用'."\n"
+ ."\n"
+ .'- addr_resume:地址恢复可用'."\n"
+ ."\n"
+ .'- addr_pool_unavailable:地址池不可用'."\n"
+ ."\n"
+ .'- addr_pool_available:地址池恢复可用', 'type' => 'string', 'example' => 'addr_alert'],
+ 'SmsNotice' => ['description' => '是否配置短信报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送短信通知'."\n"
+ ."\n"
+ .'- false:未配置'."\n"
+ ."\n"
+ .'仅中国站支持短信通知,国际站不支持短信通知。', 'type' => 'boolean', 'example' => 'true'],
+ 'EmailNotice' => ['description' => '是否配置邮件报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送邮件通知'."\n"
+ ."\n"
+ .'- false:未配置', 'type' => 'boolean', 'example' => 'true'],
+ 'DingtalkNotice' => ['description' => '是否配置钉钉报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送钉钉通知'."\n"
+ ."\n"
+ .'- false:未配置', 'type' => 'boolean', 'example' => 'false'],
+ 'Threshold' => ['title' => '阈值,仅突增突降类指标支持', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'default' => '50'],
+ 'QpsThreshold' => ['title' => 'qps阈值', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
],
],
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"DomainRecords\\": {\\n \\"Record\\": [\\n {\\n \\"Status\\": \\"Enable\\",\\n \\"Type\\": \\"CNAME\\",\\n \\"Weight\\": 10,\\n \\"Value\\": \\"example.net\\",\\n \\"TTL\\": 600,\\n \\"Line\\": \\"default\\",\\n \\"RecordId\\": \\"99******\\",\\n \\"Priority\\": 2,\\n \\"RR\\": \\"www\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"Locked\\": false,\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n },\\n \\"PageNumber\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeSubDomainRecordsResponse>\\n <TotalCount>2</TotalCount>\\n <PageSize>2</PageSize>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <DomainRecords>\\n <Status>Enable</Status>\\n <Type>CNAME</Type>\\n <Weight>10</Weight>\\n <Value>example.net</Value>\\n <TTL>600</TTL>\\n <Line>default</Line>\\n <RecordId>9999985</RecordId>\\n <Priority>2</Priority>\\n <RR>www</RR>\\n <DomainName>example.com</DomainName>\\n <Locked>false</Locked>\\n </DomainRecords>\\n <PageNumber>1</PageNumber>\\n</DescribeSubDomainRecordsResponse>","errorExample":""}]',
- 'title' => '获取子域名解析记录列表',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'GetTxtRecordForVerify' => [
- 'summary' => '生成txt记录。用于域名、子域名找回、添加子域名验证、批量找回等功能。',
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"AlertGroup\\": {\\n \\"AlertGroup\\": [\\n \\"[\\\\\\\\\\\\\\"云账号报警联系人\\\\\\\\\\\\\\"]\\"\\n ]\\n },\\n \\"AlertConfig\\": {\\n \\"AlertConfig\\": [\\n {\\n \\"NoticeType\\": \\"addr_alert\\",\\n \\"SmsNotice\\": true,\\n \\"EmailNotice\\": true,\\n \\"DingtalkNotice\\": false,\\n \\"Threshold\\": 50,\\n \\"QpsThreshold\\": 10\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取全局告警配置',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmGlobalAlert'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmGlobalAlert',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeCloudGtmInstanceConfigAlert' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值: '."\n"
+ .' '."\n"
+ .'- **zh-CN**:中文。'."\n"
+ ."\n"
+ .'- **en-US**:英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符,且该参数值中不能包含非ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22'],
],
[
- 'name' => 'Type',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'txt验证的功能。取值:'."\n"
- ."\n"
- .'- 添加子域验证 : ADD_SUB_DOMAIN'."\n"
- .'- 其他验证:RETRIEVAL',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ADD_SUB_DOMAIN',
- ],
+ 'schema' => ['description' => '全局流量管理3.0实例id。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3hbz**'],
+ ],
+ [
+ 'name' => 'ConfigId',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名实例配置id,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。', 'type' => 'string', 'required' => false, 'example' => 'Config-000**11'],
],
],
'responses' => [
@@ -8218,134 +5582,137 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RR' => [
- 'description' => '主机记录。',
- 'type' => 'string',
- 'example' => 'aliyun******',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '9CC0D642-49D4-48DE-A1A5-9F218652E4A7',
- ],
- 'DomainName' => [
- 'description' => '域名名称。'."\n"
- ."\n"
- .'> 若传入为空,则不返回该字段。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'Value' => [
- 'description' => '记录值。'."\n"
- ."\n"
- .'> 有效期为三天。',
- 'type' => 'string',
- 'example' => 'c99419e6997f41daaa3e*****',
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '0F32959D-417B-4D66-8463-68606605E3E2'],
+ 'InstanceId' => ['title' => '实例id', 'description' => '全局流量管理3.0实例id。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**'],
+ 'ConfigId' => ['title' => '实例id', 'description' => '域名实例配置id,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。', 'type' => 'string', 'example' => 'Config-000**11'."\n"],
+ 'AlertMode' => ['title' => '备注', 'description' => '实例告警配置模式:'."\n"
+ ."\n"
+ .'- global:继承全局报警配置,即实例采用全局告警配置'."\n"
+ ."\n"
+ .'- instance_config:自定义报警配置', 'type' => 'string', 'example' => 'global'],
+ 'AlertGroup' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AlertGroup' => [
+ 'description' => '告警通知组列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '告警通知组。', 'type' => 'string', 'example' => '[\\"云账号报警联系人\\"]'],
+ ],
+ ],
],
- 'ParentDomainName' => [
- 'description' => '顶级域',
- 'type' => 'string',
- 'example' => 'com',
+ 'AlertConfig' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AlertConfig' => [
+ 'description' => '报警配置列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '报警规则配置信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'NoticeType' => ['description' => '报警事件类型:'."\n"
+ ."\n"
+ .'- addr_alert:地址不可用'."\n"
+ ."\n"
+ .'- addr_resume:地址恢复可用'."\n"
+ ."\n"
+ .'- addr_pool_unavailable:地址池不可用'."\n"
+ ."\n"
+ .'- addr_pool_available:地址池恢复可用', 'type' => 'string', 'example' => 'addr_alert'],
+ 'SmsNotice' => ['description' => '是否配置短信报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送短信通知'."\n"
+ ."\n"
+ .'- false:未配置'."\n"
+ ."\n"
+ .'仅中国站支持短信通知,国际站不支持短信通知。', 'type' => 'boolean', 'example' => 'true'],
+ 'EmailNotice' => ['description' => '是否配置邮件报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送邮件通知'."\n"
+ ."\n"
+ .'- false:未配置', 'type' => 'boolean', 'example' => 'true'],
+ 'DingtalkNotice' => ['description' => '是否配置钉钉报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送钉钉通知'."\n"
+ ."\n"
+ .'- false:未配置', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RR\\": \\"aliyun******\\",\\n \\"RequestId\\": \\"9CC0D642-49D4-48DE-A1A5-9F218652E4A7\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"Value\\": \\"c99419e6997f41daaa3e*****\\",\\n \\"ParentDomainName\\": \\"com\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTxtRecordForVerifyResponse>\\r\\n <RequestId>9CC0D642-49D4-48DE-A1A5-9F218652E4A7</RequestId>\\r\\n <DomainName>example.com</DomainName>\\r\\n <RR>aliyunRetrieval</RR>\\r\\n <Value>c99419e6997f41daaa3eS*****</Value>\\r\\n</GetTxtRecordForVerifyResponse>","errorExample":""}]',
- 'title' => '生成txt记录',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'AddCustomLine' => [
- 'summary' => '给域名添加自定义线路。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取实例配置的告警配置',
+ 'summary' => '获取实例配置的告警配置',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmInstanceConfigAlert'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmInstanceConfigAlert',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"ConfigId\\": \\"Config-000**11\\\\n\\",\\n \\"AlertMode\\": \\"global\\",\\n \\"AlertGroup\\": {\\n \\"AlertGroup\\": [\\n \\"[\\\\\\\\\\\\\\"云账号报警联系人\\\\\\\\\\\\\\"]\\"\\n ]\\n },\\n \\"AlertConfig\\": {\\n \\"AlertConfig\\": [\\n {\\n \\"NoticeType\\": \\"addr_alert\\",\\n \\"SmsNotice\\": true,\\n \\"EmailNotice\\": true,\\n \\"DingtalkNotice\\": true\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeCloudGtmInstanceConfigFullInfo' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns3O7H9R',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsBCOB1Q'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回信息的语言类型:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'LineName',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义线路名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '北京线路',
- ],
+ 'schema' => ['description' => '全局流量管理3.0实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3h****'],
],
[
- 'name' => 'IpSegment',
+ 'name' => 'ConfigId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'IP段列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EndIp' => [
- 'description' => 'Ip段的结束IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.254',
- ],
- 'StartIp' => [
- 'description' => 'IP段的开始IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.0',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 500,
- ],
+ 'schema' => ['description' => '域名实例配置ID。相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。'."\n"
+ ."\n"
+ .'调用[ListCloudGtmInstanceConfigs](~~2797349~~)接口可查询域名实例对应的ConfigId值。', 'type' => 'string', 'required' => false, 'example' => 'Config-000****'],
],
],
'responses' => [
@@ -8353,83 +5720,309 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'LineId' => [
- 'description' => '自定义线路唯一ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5*****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
- ],
- 'LineCode' => [
- 'description' => '自定义线路Code。',
- 'type' => 'string',
- 'example' => 'hra0yc-5******',
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
+ 'InstanceId' => ['title' => '实例id', 'description' => '全局流量管理3.0实例ID。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3h****'],
+ 'ConfigId' => ['title' => '实例id', 'description' => '域名实例配置ID。'."\n"
+ .'相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。', 'type' => 'string', 'example' => 'Config-000****'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '实例创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '实例创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'VersionCode' => ['title' => '版本code', 'description' => '全局流量管理3.0实例版本:'."\n"
+ ."\n"
+ .'- standard:标准版'."\n"
+ ."\n"
+ .'- ultimate:旗舰版', 'type' => 'string', 'example' => 'ultimate'],
+ 'CommodityCode' => ['title' => '商品code', 'description' => '商品编码:'."\n"
+ ."\n"
+ .'- dns_gtm_public_cn:中国站商品编码。'."\n"
+ ."\n"
+ .'- dns_gtm_public_intl:国际站商品编码。', 'type' => 'string', 'example' => 'dns_gtm_public_cn'],
+ 'InstanceName' => ['title' => '调度实例名称', 'description' => '调度实例名称。', 'type' => 'string', 'example' => 'test'],
+ 'ScheduleZoneMode' => ['title' => '接入zone分配模式', 'description' => '接入域名分配模式:'."\n"
+ ."\n"
+ .'- custom:自定义接入域名,用户自定义主机记录,并关联GTM实例所在账号下的主域或子域,生成接入域名。'."\n"
+ ."\n"
+ .'- sys_assign:系统默认分配接入域名,本功能已经不支持,请勿选择此模式。', 'type' => 'string', 'example' => 'custom'],
+ 'ScheduleZoneName' => ['title' => 'zone名称', 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。', 'type' => 'string', 'example' => 'example.com'],
+ 'ScheduleHostname' => ['title' => '主机记录', 'description' => 'GTM接入域名的主机记录。', 'type' => 'string', 'example' => 'www'],
+ 'ScheduleDomainName' => ['title' => '域名,主机记录+zoneNamne', 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)', 'type' => 'string', 'example' => 'www.example.com'],
+ 'ScheduleRrType' => ['title' => '调度解析记录类型', 'description' => '调度域名的解析记录类型:'."\n"
+ ."\n"
+ .'- A:IPv4地址'."\n"
+ ."\n"
+ .'- AAAA:IPv6地址'."\n"
+ ."\n"
+ .'- CNAME:域名', 'type' => 'string', 'example' => 'A'],
+ 'Ttl' => ['title' => '调度调度实例的TTL', 'description' => '全局TTL(单位:秒),接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'AddressPoolLbStrategy' => ['title' => '地址池的负载均衡策略', 'description' => '地址池之间的负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序;'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['title' => '顺序负载策略模式(抢占式、非抢占式)', 'description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。', 'type' => 'string', 'example' => 'preemptive'],
+ 'AvailableStatus' => ['description' => '域名实例服务可用状态:'."\n"
+ ."\n"
+ .'- available:可用,域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
+ ."\n"
+ .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。', 'type' => 'string', 'example' => 'available'],
+ 'EnableStatus' => ['title' => '启用状态', 'description' => '域名实例的启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
+ ."\n"
+ .'- disable:禁用状态,GTM实例智能调度策略不可用。', 'type' => 'string', 'example' => 'enable'],
+ 'HealthStatus' => ['title' => '监控状态', 'description' => '域名实例健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。', 'type' => 'string', 'example' => 'ok'],
+ 'AlertGroup' => ['title' => '告警通知组', 'description' => '告警通知组。', 'type' => 'string', 'example' => '[\\"云账号报警联系人\\"]'],
+ 'AlertConfig' => ['title' => '告警通知配置', 'description' => '告警通知配置。', 'type' => 'string', 'example' => '[{\\"NoticeType\\":\\"addr_alert\\",\\"SmsNotice\\":true,\\"EmailNotice\\":true,\\"DingtalkNotice\\":true},{\\"NoticeType\\":\\"addr_resume\\",\\"SmsNotice\\":true,\\"EmailNotice\\":true,\\"DingtalkNotice\\":true},{\\"NoticeType\\":\\"addr_pool_unavailable\\",\\"SmsNotice\\":true,\\"EmailNotice\\":true,\\"DingtalkNotice\\":true},{\\"NoticeType\\":\\"addr_pool_available\\",\\"SmsNotice\\":true,\\"EmailNotice\\":true,\\"DingtalkNotice\\":true}]"'],
+ 'Remark' => ['title' => '备注', 'description' => '域名实例配置的备注。', 'type' => 'string', 'example' => 'test'],
+ 'AddressPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AddressPool' => [
+ 'description' => '地址池列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址池配置信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '地址池创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '地址池创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['description' => '地址池最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '地址池最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'."\n"],
+ 'AddressPoolId' => ['title' => '地址池Id', 'description' => '地址池ID,地址池的唯一标识码。', 'type' => 'string', 'example' => 'pool-89528023225442****'],
+ 'WeightValue' => ['title' => '权重值', 'description' => '权重值(1-100之间的整数,包括1和100),支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SerialNumber' => ['title' => '序号', 'description' => '顺序号,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestSource' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RequestSource' => [
+ 'description' => '解析请求来源列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。', 'type' => 'string', 'example' => '["default"]'],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'AddressPoolName' => ['title' => '地址池名称', 'description' => '地址池名称。', 'type' => 'string', 'example' => 'AddressPool-1'],
+ 'AddressPoolType' => ['title' => '地址池类型ipv4、ipv6、domain', 'description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'example' => 'IPv4'],
+ 'AddressLbStrategy' => ['title' => '地址负载策略', 'description' => '地址池中地址间负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['title' => '顺序负载策略模式(抢占式、非抢占式)', 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。', 'type' => 'string', 'example' => 'preemptive'],
+ 'EnableStatus' => ['title' => '启用状态', 'description' => '地址池启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态。'."\n"
+ .'- disable:禁用状态。', 'type' => 'string', 'example' => 'enable'],
+ 'HealthJudgement' => ['title' => '健康判定', 'description' => '地址池健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
+ ."\n"
+ .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
+ ."\n"
+ .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
+ ."\n"
+ .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
+ ."\n"
+ .'- all_ok:地址池内地址全部可用。', 'type' => 'string', 'example' => 'any_ok'],
+ 'HealthStatus' => ['title' => '健康状态', 'description' => '地址池健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析'."\n"
+ ."\n"
+ .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。', 'type' => 'string', 'example' => 'ok'],
+ 'AvailableStatus' => ['title' => '可用性状态', 'description' => '地址池可用性状态:'."\n"
+ ."\n"
+ .'- available:可用。'."\n"
+ ."\n"
+ .'- unavailable:不可用。', 'type' => 'string', 'example' => 'available'],
+ 'Addresses' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Address' => [
+ 'description' => '地址列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['title' => '创建时间', 'description' => '地址创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '地址创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '地址最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '地址最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'."\n"],
+ 'AddressId' => ['title' => '地址 ID', 'description' => '地址ID,唯一标识地址。', 'type' => 'string', 'example' => 'addr-89564712295703****'],
+ 'WeightValue' => ['title' => '权重', 'description' => '权重值(1-100内的整数,包括1和100),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SerialNumber' => ['title' => '序号', 'description' => '顺序号,标识地址返回的优先级,越小优先级越高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestSource' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RequestSource' => [
+ 'description' => '解析请求来源列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。', 'type' => 'string', 'example' => '["default"]'],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'Name' => ['title' => '地址名称', 'description' => '地址名称。', 'type' => 'string', 'example' => 'Address-1'],
+ 'Type' => ['title' => '地址类型', 'description' => '地址类型:'."\n"
+ ."\n"
+ .'- IPv4: IPv4地址'."\n"
+ ."\n"
+ .'- IPv6: IPv6地址'."\n"
+ ."\n"
+ .'- domain:域名', 'type' => 'string', 'example' => 'IPv4'],
+ 'Address' => ['title' => '地址', 'description' => 'IP地址或者域名。', 'type' => 'string', 'example' => '223.5.XX.XX'],
+ 'AttributeInfo' => ['title' => '地址归属信息', 'description' => '地址归属信息,当前版本不支持返回此参数。', 'type' => 'string', 'example' => '当前版本不支持返回此参数。'],
+ 'Remark' => ['title' => '备注', 'description' => '地址备注信息。', 'type' => 'string', 'example' => 'test'],
+ 'EnableStatus' => ['title' => '启用状态 enable: 可用, disable:不可用', 'description' => '地址启用状态,表示地址当前是否可用:'."\n"
+ ."\n"
+ .'- enable:启用状态。'."\n"
+ ."\n"
+ .'- disable:禁用状态。', 'type' => 'string', 'example' => 'enable'],
+ 'AvailableMode' => ['title' => '可用状态设置模式', 'description' => '地址探测异常切换方式:'."\n"
+ ."\n"
+ .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
+ ."\n"
+ .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。', 'type' => 'string', 'example' => 'auto'],
+ 'ManualAvailableStatus' => ['title' => '手动设置的可用状态', 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
+ ."\n"
+ .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
+ ."\n"
+ .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。', 'type' => 'string', 'example' => 'available'],
+ 'AvailableStatus' => ['title' => '地址可用状态', 'description' => '地址可用状态:'."\n"
+ ."\n"
+ .'- available:地址可用。'."\n"
+ ."\n"
+ .'- unavailable:地址不可用。', 'type' => 'string', 'example' => 'available'],
+ 'HealthStatus' => ['title' => '地址的健康状态:', 'description' => '地址健康探测状态:'."\n"
+ ."\n"
+ .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
+ ."\n"
+ .'- ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
+ ."\n"
+ .'- ok_no_monitor:地址没有引用任何健康探测模板,状态正常。'."\n"
+ ."\n"
+ .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。', 'type' => 'string', 'example' => 'ok'],
+ 'HealthJudgement' => ['title' => '地址健康状态判定为ok 的方式:', 'description' => '地址健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:所有探测模板至少一个探测正常。'."\n"
+ ."\n"
+ .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
+ ."\n"
+ .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
+ ."\n"
+ .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
+ ."\n"
+ .'- all_ok:所有探测模板全部探测正常。', 'type' => 'string', 'example' => 'any_ok'],
+ 'SeqNonPreemptiveSchedule' => ['description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
+ ."\n"
+ .'- true:是'."\n"
+ ."\n"
+ .'- false:不是', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'SeqNonPreemptiveSchedule' => ['description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
+ ."\n"
+ .'- true:是'."\n"
+ ."\n"
+ .'- false:不是', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"LineId\\": 0,\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"LineCode\\": \\"hra0yc-5******\\"\\n}","errorExample":""},{"type":"xml","example":"<AddCustomLineResponse>\\n <LineId>597</LineId>\\n <RequestId>B57C121B-A45F-44D8-A9B2-13E5A5044195</RequestId>\\n <LineCode>hra0yc-597</LineCode>\\n</AddCustomLineResponse>","errorExample":""}]',
- 'title' => '添加自定义线路',
- 'description' => '每个IP段的IP地址必须满足: EndIp >=StartIp。<br>'."\n"
- .'域名下所有自定义线路中的所有IP段,IP范围都不能交叉重叠。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeleteCustomLines' => [
- 'summary' => '通过自定义线路唯一ID批量删除自定义线路。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取实例配置完整信息',
+ 'summary' => '获取全局流量管理实例配置的完整信息,包括接入域名、告警通知、地址池、地址详细信息等。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmInstanceConfigFullInfo'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmInstanceConfigFullInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3h****\\",\\n \\"ConfigId\\": \\"Config-000****\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"CommodityCode\\": \\"dns_gtm_public_cn\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"ScheduleZoneMode\\": \\"custom\\",\\n \\"ScheduleZoneName\\": \\"example.com\\",\\n \\"ScheduleHostname\\": \\"www\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"ScheduleRrType\\": \\"A\\",\\n \\"Ttl\\": 60,\\n \\"AddressPoolLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AlertGroup\\": \\"[\\\\\\\\\\\\\\"云账号报警联系人\\\\\\\\\\\\\\"]\\",\\n \\"AlertConfig\\": \\"[{\\\\\\\\\\\\\\"NoticeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addr_alert\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SmsNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"EmailNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"DingtalkNotice\\\\\\\\\\\\\\":true},{\\\\\\\\\\\\\\"NoticeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addr_resume\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SmsNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"EmailNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"DingtalkNotice\\\\\\\\\\\\\\":true},{\\\\\\\\\\\\\\"NoticeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addr_pool_unavailable\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SmsNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"EmailNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"DingtalkNotice\\\\\\\\\\\\\\":true},{\\\\\\\\\\\\\\"NoticeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addr_pool_available\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SmsNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"EmailNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"DingtalkNotice\\\\\\\\\\\\\\":true}]\\\\\\"\\",\\n \\"Remark\\": \\"test\\",\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressId\\": \\"addr-89564712295703****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持返回此参数。\\",\\n \\"Remark\\": \\"test\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n },\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeCloudGtmMonitorTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns3O7H9R',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置返回后可用区名称的语言,取值:'."\n"
+ .'* **zh-CN**:中文。'."\n"
+ .'* **en-US**(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
],
[
- 'name' => 'LineIds',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义线路唯一ID列表,用 “,” 号隔开唯一ID。<props="china">自定义线路唯一ID可通过调用[DescribeCustomLines](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describecustomlines?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">自定义线路唯一ID可通过调用[DescribeCustomLines](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describecustomlines?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1*******,2*********',
- ],
+ 'schema' => ['description' => '要查询的健康探测模板ID,唯一标识健康探测模板。', 'type' => 'string', 'required' => true, 'example' => 'mtp-89518052425100****'],
],
],
'responses' => [
@@ -8437,145 +6030,279 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF'],
+ 'TemplateId' => ['title' => '模板 ID ,全局唯一', 'description' => '健康探测模板ID,唯一标识健康探测模板。', 'type' => 'string', 'example' => 'mtp-89518052425100****'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '健康探测模板创建时间。', 'type' => 'string', 'example' => '2024-03-23T13:09Z'],
+ 'CreateTimestamp' => ['description' => '健康探测模板创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '健康检查模板配置修改时间。', 'type' => 'string', 'example' => '2024-03-29T13:20Z'],
+ 'UpdateTimestamp' => ['description' => '健康检查模板配置修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'Name' => ['title' => '探测模板名称', 'description' => '健康检查探测模板的名称,一般为了方便配置人员区分和记忆,建议名称可以区分健康检查协议。', 'type' => 'string', 'example' => 'Ping-IPv4'],
+ 'IpVersion' => ['title' => '探测的网络环境 IP 版本', 'description' => '探测节点IP地址的类型:'."\n"
+ ."\n"
+ .'- IPv4:当探测的目标地址类型为IPv4地址时适用;'."\n"
+ ."\n"
+ .'- IPv6:当探测的目标地址类型为IPv6地址时适用;', 'type' => 'string', 'example' => 'IPv4'],
+ 'Protocol' => ['title' => '探测协议', 'description' => '对目标IP地址发起探测的协议类型:'."\n"
+ ."\n"
+ .'- ping'."\n"
+ ."\n"
+ .'- tcp'."\n"
+ ."\n"
+ .'- http'."\n"
+ ."\n"
+ .'- https', 'type' => 'string', 'example' => 'ping'],
+ 'Interval' => ['title' => '探测间隔(秒)', 'description' => '每次检查的时间间隔(秒),默认每间隔1分钟探测一次,健康检查间隔最小支持15秒(面向旗舰版实例开放)。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Timeout' => ['title' => '探测超时时间', 'description' => '探测超时时间(毫秒),大于超时时间未返回的数据包即判断为健康检查超时:'."\n"
+ ."\n"
+ .'- 2000'."\n"
+ ."\n"
+ .'- 3000'."\n"
+ ."\n"
+ .'- 5000'."\n"
+ ."\n"
+ .'- 10000', 'type' => 'integer', 'format' => 'int32', 'example' => '5000'],
+ 'EvaluationCount' => ['title' => '探测连续次数', 'description' => '重试次数,连续多次监控出现异常,系统才将应用服务判断为异常,以防止因为一些网络瞬间抖动等其他原因影响监控准确率。重试次数可选值为:'."\n"
+ ."\n"
+ .'- 1'."\n"
+ ."\n"
+ .'- 2'."\n"
+ ."\n"
+ .'- 3', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'FailureRate' => ['title' => '告警失败率', 'description' => '所选节点探测失败比例(%),即健康检查异常的探测点占探测点总数的百分比,当失败比例超过设置的阈值时,将服务地址判断为异常。可设置的失败比例阈值为:'."\n"
+ ."\n"
+ .'- 20'."\n"
+ ."\n"
+ .'- 50'."\n"
+ ."\n"
+ .'- 80'."\n"
+ ."\n"
+ .'- 100', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'ExtendInfo' => ['description' => 'Json 字符串扩展信息,各协议检查所需参数:'."\n"
+ ."\n"
+ .'- http(s):'."\n"
+ ."\n"
+ .' **host**:执行HTTP(S)监控时,指定HTTP(S)请求头部信息中携带的Host字段,用于标识需要访问的具体HTTP网站,默认为主域名,如果目标网站的host有特殊要求,请自行修改;'."\n"
+ ."\n"
+ .' **path**:HTTP路径,用户HTTP(S)健康检查的URL路径配置,系统默认填写“/”;'."\n"
+ ."\n"
+ .' **code**:当执行HTTP(S)监控时,根据Web服务器的返回码判断Web服务器是否正常工作,大于返回码报警阈值时,系统认为应用服务出现异常:'."\n"
+ ."\n"
+ .' - 400:Bad Request,即如果HTTP(S)请求携带了错误的请求参数,Web服务器将返回大于400的返回码,如果校验内容设置为“异常码大于400”,请务必在URL路径中填写精确的URL访问路径参数;'."\n"
+ ."\n"
+ .' - 500:Server Error,即如果Web服务器出现了某些异常,将返回大于500的异常码,系统默认使用大于500的异常码作为报警阈值;'."\n"
+ ."\n"
+ .' **sni**:是否开启sni,仅在HTTPS协议时使用。SNI(Server Name Indication)是TLS协议的一个扩展,它允许客户端在发起TLS握手时指定想要连接的主机名。由于TLS握手发生在HTTP请求的任何数据被发送之前,SNI允许服务器在发送证书之前知道客户端试图访问的服务,这使得服务器可以选择正确的证书来呈现给客户端。'."\n"
+ ."\n"
+ .' - true-开启'."\n"
+ .' '."\n"
+ .' - false-未开启'."\n"
+ .' '."\n"
+ .' **followRedirect**:是否跟随3XX重定向'."\n"
+ ."\n"
+ .' - true:监控点获取的状态码为3XX (301,302,303, 307,308) 时,跟随跳转;'."\n"
+ ."\n"
+ .' - false:不跳转;'."\n"
+ ."\n\n"
+ .'- ping:'."\n"
+ ."\n"
+ .' **packetNum**:每次Ping监控,同时发出多少个ICMP数据包,可选20、50、100'."\n"
+ ."\n"
+ .' **packetLossRate**:异常时丢包率,每次ping监控,对发出的ICMP数据包,计算丢包率(%)。丢包率=(丢失数据包/发送的总ICMP数据包数目)* 100%,达到丢包率阈值时,异常报警。丢包率可选值为:10、30、40、80、90、100', 'type' => 'string', 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}'],
+ 'IspCityNodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'IspCityNode' => [
+ 'title' => '探点信息',
+ 'description' => '探测节点列表,具体信息可通过调用 ListCloudGtmMonitorNodes 获取。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '探测节点',
+ 'type' => 'object',
+ 'properties' => [
+ 'CountryCode' => ['title' => '国家 Code', 'description' => '国家编码', 'type' => 'string', 'example' => '001'],
+ 'CountryName' => ['title' => '国家名称', 'description' => '国家名称', 'type' => 'string', 'example' => '中国'],
+ 'CityCode' => ['title' => '城市 Code', 'description' => '城市编码', 'type' => 'string', 'example' => '503'],
+ 'CityName' => ['title' => '城市名称', 'description' => '城市名称', 'type' => 'string', 'example' => '张家口市'],
+ 'GroupType' => ['title' => '监控探点分组类型', 'description' => '探测节点分组类型:'."\n"
+ ."\n"
+ .'- BGP:BGP节点'."\n"
+ ."\n"
+ .'- OVERSEAS:国际节点'."\n"
+ ."\n"
+ .'- ISP:运营商节点', 'type' => 'string', 'example' => 'BGP'],
+ 'GroupName' => ['title' => '监控探点分组类型名称', 'description' => '探测节点分组类型名称', 'type' => 'string', 'example' => 'BGP节点'],
+ 'IspCode' => ['title' => 'ISP Code', 'description' => '运营商编码', 'type' => 'string', 'example' => '465'],
+ 'IspName' => ['title' => 'ISP 名称', 'description' => '运营商名称', 'type' => 'string', 'example' => '阿里巴巴'],
+ ],
+ ],
+ ],
+ ],
],
+ 'Remark' => ['description' => '健康探测模板的备注。', 'type' => 'string', 'example' => 'test'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\"\\n}","errorExample":""},{"type":"xml","example":"</DeleteCustomLinesResponse>\\n<requestId>2BC218C5-F8A7-4ED8-BC04-A962CD5493B2</requestId>\\n</DeleteCustomLinesResponse>","errorExample":""}]',
- 'title' => '批量删除自定义线路',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'UpdateCustomLine' => [
- 'summary' => '通过自定义线路唯一ID编辑自定义线路。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取指定健康探测模板配置',
+ 'summary' => '根据传入参数获取指定健康探测模板配置。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmMonitorTemplate'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmMonitorTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF\\",\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"Name\\": \\"Ping-IPv4\\",\\n \\"IpVersion\\": \\"IPv4\\",\\n \\"Protocol\\": \\"ping\\",\\n \\"Interval\\": 60,\\n \\"Timeout\\": 5000,\\n \\"EvaluationCount\\": 2,\\n \\"FailureRate\\": 50,\\n \\"ExtendInfo\\": \\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":200,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\index.htm\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aliyun.com\\\\\\\\\\\\\\"}\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CountryCode\\": \\"001\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityCode\\": \\"503\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"IspName\\": \\"阿里巴巴\\"\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeCloudGtmSummary' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns3O7H9R',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US:英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
- [
- 'name' => 'LineName',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '自定义线路名称,长度限制为1-20个字符,允许包含中文、字母、数字、\'-\'、\'_\'这些字符。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '望京线路',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '199C3699-9A7B-41A1-BB5A-F1E862D3CB38'],
+ 'InstanceTotalCount' => ['description' => '当前账户下实例总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'MonitorTaskTotalQuota' => ['description' => '用户探测任务数配额。', 'type' => 'integer', 'format' => 'int32', 'example' => '101'],
+ 'MonitorTaskTotalCount' => ['description' => '用户已配置的探测任务总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ ],
],
],
- [
- 'name' => 'LineId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '自定义线路唯一ID。可通过调用[DescribeCustomLines](~~2355671~~)获取。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1*******',
- ],
+ ],
+ 'title' => '获取实例概要信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmSummary'],
],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'IpSegment',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'IP段列表。IP与IP之间用中横线“-”间隔; 每行一个IP段,最少1行最多50行;只有一个IP填写IP1-IP1,不同IP段不能交叉。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'ip段列表。',
- 'type' => 'object',
- 'properties' => [
- 'EndIp' => [
- 'description' => 'IP段的结束IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2.2.XX.XX',
- ],
- 'StartIp' => [
- 'description' => 'IP段的开始IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.XX.XX',
- ],
- ],
- 'required' => false,
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'required' => false,
- 'maxItems' => 500,
],
],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"199C3699-9A7B-41A1-BB5A-F1E862D3CB38\\",\\n \\"InstanceTotalCount\\": 10,\\n \\"MonitorTaskTotalQuota\\": 101,\\n \\"MonitorTaskTotalCount\\": 20\\n}","type":"json"}]',
+ ],
+ 'DescribeCloudGtmSystemLines' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'list'],
+ 'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
+ 'SystemLines' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'SystemLine' => [
+ 'description' => '系统线路列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '系统线路信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => ['description' => '线路code。', 'type' => 'string', 'example' => 'aliyun_r_ap-south-1'],
+ 'ParentCode' => ['description' => '线路父级code。', 'type' => 'string', 'example' => 'String aliyun'],
+ 'IsAvailable' => ['description' => '线路是否可以作为解析请求来源被选中:'."\n"
+ ."\n"
+ .'- true:可被选中;'."\n"
+ ."\n"
+ .'- false:不可被选中;', 'type' => 'boolean', 'example' => 'true'],
+ 'DisplayName' => ['description' => '线路展示名称。', 'type' => 'string', 'example' => '华北_河北'],
+ 'Name' => ['description' => '线路名称。', 'type' => 'string', 'example' => '河北'],
+ ],
+ ],
+ ],
+ ],
],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA'],
+ 'SystemLinesTree' => ['description' => '系统线路树状结构数据,线路很多,此处不一一列举。', 'type' => 'string', 'example' => '"SystemLinesTree":"[{\\"displayName\\":\\"默认\\",\\"id\\":\\"default\\",\\"isAvailable\\":true,\\"name\\":\\"默认\\",\\"parentId\\":\\"\\"}'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateCustomLineResponse>\\n <RequestId>B57C121B-A45F-44D8-A9B2-13E5A5044195</RequestId>\\n</UpdateCustomLineResponse>","errorExample":""}]',
- 'title' => '编辑自定义线路',
- 'description' => '每个IP段的IP地址必须满足: EndIp >=StartIp。<br>'."\n"
- .'域名下所有自定义线路中的所有IP段,IP范围都不能交叉重叠。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'title' => '查询GTM支持的系统线路',
+ 'summary' => '查询GTM支持的系统线路',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmSystemLines'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmSystemLines',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SystemLines\\": {\\n \\"SystemLine\\": [\\n {\\n \\"Code\\": \\"aliyun_r_ap-south-1\\",\\n \\"ParentCode\\": \\"String\\\\taliyun\\",\\n \\"IsAvailable\\": true,\\n \\"DisplayName\\": \\"华北_河北\\",\\n \\"Name\\": \\"河北\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\",\\n \\"SystemLinesTree\\": \\"\\\\\\"SystemLinesTree\\\\\\":\\\\\\"[{\\\\\\\\\\\\\\"displayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"默认\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"isAvailable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"默认\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"}\\"\\n}","type":"json"}]',
],
'DescribeCustomLine' => [
'summary' => '通过自定义线路唯一ID查询自定义线路。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8587,34 +6314,21 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns3O7H9R',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns3O7H9R'],
],
'parameters' => [
[
'name' => 'LineId',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义线路唯一ID。<props="china">可通过调用[DescribeCustomLines](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describecustomlines?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeCustomLines](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describecustomlines?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '5*****',
- ],
+ 'schema' => ['description' => '自定义线路唯一ID。<props="china">可通过调用[DescribeCustomLines](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describecustomlines?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeCustomLines](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describecustomlines?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5*****'],
],
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
],
'responses' => [
@@ -8622,11 +6336,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
'IpSegmentList' => [
'description' => 'IP段列表。IP与IP之间用中横线“-”间隔; 每行一个IP段,最少1行最多50行;只有一个IP填写IP1-IP1,不同IP段不能交叉。',
'type' => 'array',
@@ -8634,60 +6344,49 @@
'description' => 'IP段列表。',
'type' => 'object',
'properties' => [
- 'EndIp' => [
- 'description' => 'IP段的结束IP。',
- 'type' => 'string',
- 'example' => '1.1.XX.XX',
- ],
- 'StartIp' => [
- 'description' => 'IP段的开始IP。',
- 'type' => 'string',
- 'example' => '1.2.XX.XX',
- ],
+ 'EndIp' => ['description' => 'IP段的结束IP。', 'type' => 'string', 'example' => '1.1.XX.XX'],
+ 'StartIp' => ['description' => 'IP段的开始IP。', 'type' => 'string', 'example' => '1.2.XX.XX'],
],
],
],
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'Id' => [
- 'description' => '自定义线路名称ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5*******',
- ],
- 'Code' => [
- 'description' => '自定义线路Code。',
- 'type' => 'string',
- 'example' => 'hra0yc-*********',
- ],
- 'Name' => [
- 'description' => '自定义线路名称。',
- 'type' => 'string',
- 'example' => '测试线路',
- ],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'Id' => ['description' => '自定义线路名称ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '5*******'],
+ 'Code' => ['description' => '自定义线路Code。', 'type' => 'string', 'example' => 'hra0yc-*********'],
+ 'Name' => ['description' => '自定义线路名称。', 'type' => 'string', 'example' => '测试线路'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"IpSegmentList\\": [\\n {\\n \\"EndIp\\": \\"1.1.XX.XX\\",\\n \\"StartIp\\": \\"1.2.XX.XX\\"\\n }\\n ],\\n \\"DomainName\\": \\"example.com\\",\\n \\"Id\\": 0,\\n \\"Code\\": \\"hra0yc-*********\\",\\n \\"Name\\": \\"测试线路\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCustomLineResponse>\\n<domainName>customline.taobao</domainName>\\n<id>598</id>\\n<code>hra0yc-597</code>\\n<ipSegmentList>\\n <endIp>12.2.2.3</endIp>\\n <startIp>11.1.1.2</startIp>\\n</ipSegmentList>\\n<name>secLine</name>\\n<requestId>B57C121B-A45F-44D8-A9B2-13E5A5044195</requestId>\\n</DescribeCustomLineResponse>\\n","errorExample":""}]',
'title' => '查询自定义线路',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCustomLine'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCustomLine',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"IpSegmentList\\": [\\n {\\n \\"EndIp\\": \\"1.1.XX.XX\\",\\n \\"StartIp\\": \\"1.2.XX.XX\\"\\n }\\n ],\\n \\"DomainName\\": \\"example.com\\",\\n \\"Id\\": 0,\\n \\"Code\\": \\"hra0yc-*********\\",\\n \\"Name\\": \\"测试线路\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeCustomLineResponse>\\n<domainName>customline.taobao</domainName>\\n<id>598</id>\\n<code>hra0yc-597</code>\\n<ipSegmentList>\\n <endIp>12.2.2.3</endIp>\\n <startIp>11.1.1.2</startIp>\\n</ipSegmentList>\\n<name>secLine</name>\\n<requestId>B57C121B-A45F-44D8-A9B2-13E5A5044195</requestId>\\n</DescribeCustomLineResponse>\\n","errorExample":""}]',
],
'DescribeCustomLines' => [
'summary' => '通过域名名称查询自定义线路列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8699,58 +6398,33 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns3O7H9R',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns3O7H9R'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页个数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '云解析中已存在的域名。<props="china">可通过调用[DescribeDomains ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '云解析中已存在的域名。<props="china">可通过调用[DescribeDomains ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
],
'responses' => [
@@ -8758,51 +6432,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '每页个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
- ],
- 'PageNumber' => [
- 'description' => '页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'PageSize' => ['description' => '每页个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
+ 'PageNumber' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'CustomLines' => [
'description' => '自定义线路列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'description' => '自定义线路Code。',
- 'type' => 'string',
- 'example' => 'hra0yc-5********',
- ],
- 'Name' => [
- 'description' => '线路名称。',
- 'type' => 'string',
- 'example' => 'hra0yd-5********',
- ],
- 'Id' => [
- 'description' => '自定义线路唯一ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5*********',
- ],
+ 'Code' => ['description' => '自定义线路Code。', 'type' => 'string', 'example' => 'hra0yc-5********'],
+ 'Name' => ['description' => '线路名称。', 'type' => 'string', 'example' => 'hra0yd-5********'],
+ 'Id' => ['description' => '自定义线路唯一ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '5*********'],
'IpSegmentList' => [
'description' => 'IP段列表。IP与IP之间用中横线“-”间隔; 每行一个IP段,最少1行最多50行;只有一个IP填写IP1-IP1,不同IP段不能交叉。',
'type' => 'array',
@@ -8810,48 +6452,48 @@
'description' => 'IP段列表。',
'type' => 'object',
'properties' => [
- 'EndIp' => [
- 'description' => 'IP段的结束IP。',
- 'type' => 'string',
- 'example' => '1.1.XX.XX',
- ],
- 'StartIp' => [
- 'description' => 'IP段的开始IP。',
- 'type' => 'string',
- 'example' => '1.2.XX.XX',
- ],
+ 'EndIp' => ['description' => 'IP段的结束IP。', 'type' => 'string', 'example' => '1.1.XX.XX'],
+ 'StartIp' => ['description' => 'IP段的开始IP。', 'type' => 'string', 'example' => '1.2.XX.XX'],
],
],
],
],
],
],
- 'TotalItems' => [
- 'description' => '自定义线路总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'TotalItems' => ['description' => '自定义线路总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"CustomLines\\": [\\n {\\n \\"Code\\": \\"hra0yc-5********\\",\\n \\"Name\\": \\"hra0yd-5********\\",\\n \\"Id\\": 0,\\n \\"IpSegmentList\\": [\\n {\\n \\"EndIp\\": \\"1.1.XX.XX\\",\\n \\"StartIp\\": \\"1.2.XX.XX\\"\\n }\\n ]\\n }\\n ],\\n \\"TotalItems\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeCustomLinesResponse>\\n<customLines>\\n <code>hra0yd-598</code>\\n <id>598</id>\\n <name>secLine</name>\\n</customLines>\\n<pageNumber>1</pageNumber>\\n<pageSize>2</pageSize>\\n<requestId>39AC4D3A-3B1E-4DC7-ACDB-B1A1E6A9C59C</requestId>\\n<totalItems>1</totalItems>\\n<totalPages>1</totalPages>\\n</DescribeCustomLinesResponse>","errorExample":""}]',
'title' => '查询自定义线路列表',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeSupportLines' => [
- 'summary' => '查询云解析支持的所有线路列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCustomLines'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCustomLines',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"CustomLines\\": [\\n {\\n \\"Code\\": \\"hra0yc-5********\\",\\n \\"Name\\": \\"hra0yd-5********\\",\\n \\"Id\\": 0,\\n \\"IpSegmentList\\": [\\n {\\n \\"EndIp\\": \\"1.1.XX.XX\\",\\n \\"StartIp\\": \\"1.2.XX.XX\\"\\n }\\n ]\\n }\\n ],\\n \\"TotalItems\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeCustomLinesResponse>\\n<customLines>\\n <code>hra0yd-598</code>\\n <id>598</id>\\n <name>secLine</name>\\n</customLines>\\n<pageNumber>1</pageNumber>\\n<pageSize>2</pageSize>\\n<requestId>39AC4D3A-3B1E-4DC7-ACDB-B1A1E6A9C59C</requestId>\\n<totalItems>1</totalItems>\\n<totalPages>1</totalPages>\\n</DescribeCustomLinesResponse>","errorExample":""}]',
+ ],
+ 'DescribeDNSSLBSubDomains' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8859,46 +6501,41 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '接收消息的语言类型。取值:'."\n"
+ ."\n"
+ .'- **zh**(默认):中文。'."\n"
+ .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.*.*',
- ],
+ 'schema' => ['description' => '用户账号IP。', 'type' => 'string', 'required' => false, 'example' => '1.1.XX.XX'],
],
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'example' => '20', 'default' => '20'],
+ ],
+ [
+ 'name' => 'Rr',
+ 'in' => 'query',
+ 'schema' => ['description' => '主机记录。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
],
'responses' => [
@@ -8906,162 +6543,122 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RecordLines' => [
+ 'TotalCount' => ['description' => '域名分组数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'SlbSubDomains' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'RecordLine' => [
- 'description' => '云解析线路列表。',
+ 'SlbSubDomain' => [
+ 'description' => '权重配置子域名列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'FatherCode' => [
- 'description' => '父线路Code,暂时不支持返回。',
- 'type' => 'string',
- 'example' => 'unicom',
- ],
- 'LineDisplayName' => [
- 'description' => '线路展示名称。',
- 'type' => 'string',
- 'example' => '中国联通_海南',
- ],
- 'LineCode' => [
- 'description' => '线路Code。',
- 'type' => 'string',
- 'example' => 'cn_unicom_hainan',
- ],
- 'LineName' => [
- 'description' => '子线路名称。',
- 'type' => 'string',
- 'example' => '海南',
+ 'Type' => ['description' => '描述:支持设置权重配置的记录类型,取值为:A、AAAA、CNAME。', 'type' => 'string', 'example' => 'A'],
+ 'RecordCount' => ['description' => '解析记录数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'Open' => ['description' => '权重配置的状态。', 'type' => 'boolean', 'example' => 'true'],
+ 'SubDomain' => ['description' => '子域名名称。', 'type' => 'string', 'example' => 'test.example.com'."\n"],
+ 'LineAlgorithms' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'LineAlgorithm' => [
+ 'description' => '权重线路列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Line' => ['description' => '指解析线路,如电信、移动、联通等。', 'type' => 'string', 'example' => 'default'],
+ 'Open' => ['description' => '是否开启权重配置。取值:'."\n"
+ ."\n"
+ .'- **true**(默认):开启'."\n"
+ .'- **false**:关闭', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'CFDA0830-7D6E-4C13-8632-B57C7EDCF079',
- ],
],
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RecordLines\\": {\\n \\"RecordLine\\": [\\n {\\n \\"FatherCode\\": \\"unicom\\",\\n \\"LineDisplayName\\": \\"中国联通_海南\\",\\n \\"LineCode\\": \\"cn_unicom_hainan\\",\\n \\"LineName\\": \\"海南\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"CFDA0830-7D6E-4C13-8632-B57C7EDCF079\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeSupportLinesResponse>\\n <RecordLines>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>联通_山西</LineDisplayName>\\n <LineCode>cn_unicom_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLines>\\n <RequestId>CFDA0830-7D6E-4C13-8632-B57C7EDCF079</RequestId>\\n</DescribeSupportLinesResponse>","errorExample":""}]',
- 'title' => '获取解析线路列表',
+ 'title' => '获取权重配置子域名列表',
+ 'summary' => '根据传入参数获取权重配置子域名列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'SetDNSSLBStatus' => [
- 'summary' => '根据传入参数开启关闭权重配置。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDNSSLBSubDomains'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDNSSLBSubDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 1,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"SlbSubDomains\\": {\\n \\"SlbSubDomain\\": [\\n {\\n \\"Type\\": \\"A\\",\\n \\"RecordCount\\": 3,\\n \\"Open\\": true,\\n \\"SubDomain\\": \\"test.example.com\\\\n\\",\\n \\"LineAlgorithms\\": {\\n \\"LineAlgorithm\\": [\\n {\\n \\"Line\\": \\"default\\",\\n \\"Open\\": true\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDNSSLBSubDomainsResponse>\\n <TotalCount>1</TotalCount>\\n <PageSize>1</PageSize>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <PageNumber>1</PageNumber>\\n <SlbSubDomains>\\n <Type>A</Type>\\n <RecordCount>3</RecordCount>\\n <Open>true</Open>\\n <SubDomain>www.example.com</SubDomain>\\n <LineAlgorithms/>\\n </SlbSubDomains>\\n</DescribeDNSSLBSubDomainsResponse>","errorExample":""}]',
+ ],
+ 'DescribeDnsCacheDomains' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsQIXAM1',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsB25P4Z'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'UserClientIp',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.1',
- ],
- ],
- [
- 'name' => 'SubDomain',
- 'in' => 'query',
- 'schema' => [
- 'description' => '需要权重配置的子域名,其中example.com为主域名是错误参数,请使用@.example.com',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'www.example.com',
- ],
- ],
- [
- 'name' => 'Open',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否开启权重配置。取值:'."\n"
- ."\n"
- .'- **true**(默认):开启'."\n"
- .'- **false**:关闭',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'true',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n"
+ .'默认为**zh**', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '关键字,按照”%Keyword%”模式搜索,不区分大小写', 'type' => 'string', 'required' => false, 'example' => 'a'],
],
[
- 'name' => 'Type',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '记录类型,取值范围:A、AAAA,默认为A。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'A',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'Line',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '解析线路:例如默认、电信、移动等',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'telecom',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
],
'responses' => [
@@ -9069,42 +6666,78 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'RecordCount' => [
- 'description' => '符合规则的A记录数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8',
- ],
- 'Open' => [
- 'description' => '权重配置的最新状态。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'Domains' => [
+ 'description' => '本次获取的域名列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '域名名称',
+ 'type' => 'object',
+ 'properties' => [
+ 'SourceProtocol' => ['description' => '回源协议,TCP、UDP。默认值为UDP', 'type' => 'string', 'example' => 'UDP'],
+ 'UpdateTime' => ['description' => '最后更新时间', 'type' => 'string', 'example' => '2023-05-22T03:40Z'],
+ 'Remark' => ['description' => '备注', 'type' => 'string', 'example' => 'remark'],
+ 'ExpireTime' => ['description' => '实例过期时间', 'type' => 'string', 'example' => '2022-12-02T16:00Z'],
+ 'CreateTime' => ['description' => '添加时间', 'type' => 'string', 'example' => '2022-10-17T06:13Z'],
+ 'InstanceId' => ['description' => '权威代理域名实例ID', 'type' => 'string', 'example' => 'i-7***'],
+ 'SourceEdns' => ['description' => '源站是否支持edns。NOT_SUPPORT:不支持,SUPPORT:支持', 'type' => 'string', 'example' => 'SUPPORT'],
+ 'DomainName' => ['description' => '权威代理域名名称', 'type' => 'string', 'example' => 'example.com'],
+ 'DomainId' => ['description' => '权威代理域名ID', 'type' => 'string', 'example' => '00efd71a-770e-*****************'],
+ 'UpdateTimestamp' => ['description' => '最后更新时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1671690491000'],
+ 'ExpireTimestamp' => ['description' => '实例过期时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1692374400000'],
+ 'CacheTtlMax' => ['description' => '回源缓存数据TTL(最大值),取值范围为30 - 86400', 'type' => 'integer', 'format' => 'int32', 'example' => '86400'],
+ 'CacheTtlMin' => ['description' => '回源缓存数据TTL(最小值),取值范围为30 - 86400', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'VersionCode' => ['description' => '云解析版本Code', 'type' => 'string', 'example' => 'ultimate'],
+ 'SourceDnsServers' => [
+ 'description' => '源站DNS服务器列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '源站DNS服务器',
+ 'type' => 'object',
+ 'properties' => [
+ 'Host' => ['description' => '源站服务器的域名或IP地址', 'type' => 'string', 'example' => 'ns8.alidns.com'],
+ 'Port' => ['description' => '源站DNS服务器端口', 'type' => 'string', 'example' => '53'],
+ ],
+ ],
+ ],
+ 'CreateTimestamp' => ['description' => '添加时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1660546144000'],
+ ],
+ ],
],
+ 'TotalCount' => ['description' => '域名列表总数', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '唯一请求识别码', 'type' => 'string', 'example' => '57121A9C-CDCF-541F-AD39-275D89099420'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordCount\\": 8,\\n \\"Open\\": true\\n}","errorExample":""},{"type":"xml","example":"<SetDNSSLBStatusResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <RecordCount>8</RecordCount>\\n <Open>true</Open>\\n</SetDNSSLBStatusResponse>","errorExample":""}]',
- 'title' => '开启关闭权重配置',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'UpdateDNSSLBWeight' => [
- 'summary' => '根据传入参数修改解析记录的权重。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取 DNS 权威代理域名',
+ 'summary' => '根据传入参数查询该用户的权威代理域名列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsCacheDomains'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsCacheDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Domains\\": [\\n {\\n \\"SourceProtocol\\": \\"UDP\\",\\n \\"UpdateTime\\": \\"2023-05-22T03:40Z\\",\\n \\"Remark\\": \\"remark\\",\\n \\"ExpireTime\\": \\"2022-12-02T16:00Z\\",\\n \\"CreateTime\\": \\"2022-10-17T06:13Z\\",\\n \\"InstanceId\\": \\"i-7***\\",\\n \\"SourceEdns\\": \\"SUPPORT\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DomainId\\": \\"00efd71a-770e-*****************\\",\\n \\"UpdateTimestamp\\": 1671690491000,\\n \\"ExpireTimestamp\\": 1692374400000,\\n \\"CacheTtlMax\\": 86400,\\n \\"CacheTtlMin\\": 30,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"SourceDnsServers\\": [\\n {\\n \\"Host\\": \\"ns8.alidns.com\\",\\n \\"Port\\": \\"53\\"\\n }\\n ],\\n \\"CreateTimestamp\\": 1660546144000\\n }\\n ],\\n \\"TotalCount\\": 3,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"57121A9C-CDCF-541F-AD39-275D89099420\\",\\n \\"PageNumber\\": 1\\n}","type":"json"}]',
+ ],
+ 'DescribeDnsGtmAccessStrategies' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9112,59 +6745,36 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsKT3CVU',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'UserClientIp',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.0.2.1',
- ],
+ 'schema' => ['description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
],
[
- 'name' => 'RecordId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录ID。<props="china">可通过调取[DescribeDomainRecords](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取。</props><props="intl">可通过调取[DescribeDomainRecords](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取。</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '9********',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1'],
],
[
- 'name' => 'Weight',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '要修改的权重值`[1-100]`。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '1'],
+ ],
+ [
+ 'name' => 'StrategyMode',
+ 'in' => 'query',
+ 'schema' => ['description' => '访问策略类型:'."\n"
+ ."\n"
+ .'- GEO:基于地理位置的访问策略'."\n"
+ .'- LATENCY:基于访问延时的访问策略', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GEO'],
],
],
'responses' => [
@@ -9172,172 +6782,120 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'RecordId' => [
- 'description' => '解析记录ID。',
- 'type' => 'string',
- 'example' => '9*******',
- ],
- 'Weight' => [
- 'description' => '修改后的权重值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '0CCC9971-CEC9-4132-824B-4AE611C07623'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Strategies' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Strategy' => [
+ 'description' => '策略列表。'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EffectiveLbaStrategy' => ['description' => '当前生效地址池集合均衡策略(StrategyMode为GEO有返回值):'."\n"
+ ."\n"
+ .'- ALL_RR: 返回全部地址'."\n"
+ .'- RATIO:按权重返回地址', 'type' => 'string', 'example' => 'ALL_RR'],
+ 'StrategyId' => ['description' => '访问策略id。', 'type' => 'string', 'example' => 'hr***'],
+ 'StrategyName' => ['description' => '访问策略名称。', 'type' => 'string', 'example' => 'strategname1'],
+ 'EffectiveAddrPoolGroupType' => ['description' => '当前生效地址池集合类型:'."\n"
+ ."\n"
+ .'- DEFAULT:主地址池集合'."\n"
+ .'- FAILOVER: 备地址池集合', 'type' => 'string', 'example' => 'DEFAULT'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2018-08-09T00:10Z'],
+ 'EffectiveAddrPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EffectiveAddrPool' => [
+ 'description' => '当前生效地址池集合列表。'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前生效地址池集合。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LbaWeight' => ['description' => '权重。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Name' => ['description' => '地址池名称。', 'type' => 'string', 'example' => 'test'],
+ 'AddrCount' => ['description' => '地址数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Id' => ['description' => '地址池id。', 'type' => 'string', 'example' => 'po***'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1533773400000'],
+ 'EffectiveAddrPoolType' => ['description' => '当前生效地址池类型:'."\n"
+ ."\n"
+ .'- IPV4'."\n"
+ .'- IPV6'."\n"
+ .'- DOMAIN', 'type' => 'string', 'example' => 'IPV4'],
+ 'Lines' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Line' => [
+ 'description' => '解析请求来源列表(StrategyMode为GEO有返回值)。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupName' => ['description' => '解析请求来源分组名称。', 'type' => 'string', 'example' => 'Global'],
+ 'LineCode' => ['description' => '解析请求来源编码。', 'type' => 'string', 'example' => 'default'],
+ 'LineName' => ['description' => '解析请求来源名称。', 'type' => 'string', 'example' => 'Global'],
+ 'GroupCode' => ['description' => '解析请求来源分组编码。', 'type' => 'string', 'example' => 'DEFAULT'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'TotalItems' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordId\\": \\"9*******\\",\\n \\"Weight\\": 2\\n}","errorExample":""},{"type":"xml","example":"<UpdateDNSSLBWeightResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <RecordId>9999985</RecordId>\\n <Weight>2</Weight>\\n</UpdateDNSSLBWeightResponse>","errorExample":""}]',
- 'title' => '修改权重',
+ 'errorCodes' => [],
+ 'title' => '获取实例访问策略列表',
+ 'summary' => '通过实例ID获取实例访问策略列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeBatchResultCount' => [
- 'summary' => '根据任务ID查询其批量操作任务的执行结果,如果任务ID为空,返回最后一次批量操作任务的执行结果。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAccessStrategies'],
],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'TaskId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '任务ID。'."\n"
- ."\n"
- .'> 如果TaskId不为空,返回TaskId对应任务的执行结果;如果TaskId为空,返回最后一次任务的执行结果。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1****',
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'BatchType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '批量操作类型,取值:'."\n"
- ."\n"
- .'- **DOMAIN_ADD**:批量添加域名'."\n"
- .'- **DOMAIN_DEL**:批量删除域名'."\n"
- .'- **RR_ADD**:批量添加解析'."\n"
- .'- **RR_DEL**:批量删除解析'."\n"
- .'> 为空时不做筛选',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DOMAIN_ADD',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '任务状态,取值:'."\n"
- ."\n"
- .'- **-1**:无已提交的导入域名或解析任务'."\n"
- .'- **0**:处理中'."\n"
- .'- **1**:已完成'."\n"
- .'- **2**:已失败',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'TotalCount' => [
- 'description' => '批量处理的记录总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'TaskId' => [
- 'description' => '最后一次任务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1******',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D',
- ],
- 'FailedCount' => [
- 'description' => '处理失败的域名或解析记录总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'SuccessCount' => [
- 'description' => '处理成功的域名或解析记录总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'BatchType' => [
- 'description' => '批量操作类型。',
- 'type' => 'string',
- 'example' => 'DOMAIN_ADD',
- ],
- 'Reason' => [
- 'description' => '处理失败的原因。',
- 'type' => 'string',
- 'example' => 'No match is found for the domain name specified in the file.',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAccessStrategies',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": 0,\\n \\"TotalCount\\": 4,\\n \\"TaskId\\": 0,\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\",\\n \\"FailedCount\\": 2,\\n \\"SuccessCount\\": 2,\\n \\"BatchType\\": \\"DOMAIN_ADD\\",\\n \\"Reason\\": \\"No match is found for the domain name specified in the file.\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeBatchResultCountResponse>\\n <Status>0</Status>\\n <TotalCount>4</TotalCount>\\n <TaskId>123456</TaskId>\\n <RequestId>75446CC1-FC9A-4595-8D96-089D73D7A63D</RequestId>\\n <FailedCount>2</FailedCount>\\n <SuccessCount>2</SuccessCount>\\n <BatchType>DOMAIN_ADD</BatchType>\\n <Reason>failed_reason</Reason>\\n</DescribeBatchResultCountResponse>","errorExample":""}]',
- 'title' => '查询某次批量操作任务的执行结果',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 1,\\n \\"RequestId\\": \\"0CCC9971-CEC9-4132-824B-4AE611C07623\\",\\n \\"PageNumber\\": 1,\\n \\"Strategies\\": {\\n \\"Strategy\\": [\\n {\\n \\"EffectiveLbaStrategy\\": \\"ALL_RR\\",\\n \\"StrategyId\\": \\"hr***\\",\\n \\"StrategyName\\": \\"strategname1\\",\\n \\"EffectiveAddrPoolGroupType\\": \\"DEFAULT\\",\\n \\"CreateTime\\": \\"2018-08-09T00:10Z\\",\\n \\"EffectiveAddrPools\\": {\\n \\"EffectiveAddrPool\\": [\\n {\\n \\"LbaWeight\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"AddrCount\\": 3,\\n \\"Id\\": \\"po***\\"\\n }\\n ]\\n },\\n \\"CreateTimestamp\\": 1533773400000,\\n \\"EffectiveAddrPoolType\\": \\"IPV4\\",\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"TotalPages\\": 11,\\n \\"TotalItems\\": 11\\n}","errorExample":""},{"type":"xml","example":"<PageSize>1</PageSize>\\n<RequestId>0CCC9971-CEC9-4132-824B-4AE611C07623</RequestId>\\n<PageNumber>1</PageNumber>\\n<Strategies>\\n <Strategy>\\n <StrategyName>strategname1</StrategyName>\\n <EffectiveAddrPoolType>ipv4</EffectiveAddrPoolType>\\n <EffectiveAddrPoolGroupType>default</EffectiveAddrPoolGroupType>\\n <CreateTime>2018-08-09T00:10Z</CreateTime>\\n <StrategyId>strategyid1</StrategyId>\\n <CreateTimestamp>1533773400000</CreateTimestamp>\\n <EffectiveLbaStrategy>all_rr</EffectiveLbaStrategy>\\n </Strategy>\\n <Strategy>\\n <EffectiveAddrPools>\\n <EffectiveAddrPool>\\n <Id>pool1</Id>\\n <LbaWeight>1</LbaWeight>\\n <AddrCount>3</AddrCount>\\n <Name>test</Name>\\n </EffectiveAddrPool>\\n </EffectiveAddrPools>\\n <Lines>\\n <Line>\\n <GroupName>global</GroupName>\\n <GroupCode>default</GroupCode>\\n <LineCode>default</LineCode>\\n <LineName>global</LineName>\\n </Line>\\n </Lines>\\n </Strategy>\\n</Strategies>\\n<TotalPages>11</TotalPages>\\n<TotalItems>11</TotalItems>","errorExample":""}]',
],
- 'DescribeBatchResultDetail' => [
- 'summary' => '查询批量处理结果的详细信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeDnsGtmAccessStrategy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9345,85 +6903,17 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsL5Z2KT',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码,默认值为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时每页设置的大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
- ],
- [
- 'name' => 'TaskId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '任务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '8*******',
- ],
- ],
- [
- 'name' => 'BatchType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '批量操作类型。取值:'."\n"
- ."\n"
- .'- **DOMAIN_ADD**:批量添加域名'."\n"
- .'- **DOMAIN_DEL**:批量删除域名'."\n"
- .'- **RR_ADD**:批量添加解析'."\n"
- .'- **RR_DEL**:批量删除解析'."\n"
- .'> 为空时不做筛选',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DOMAIN_ADD',
- ],
- ],
- [
- 'name' => 'Status',
+ 'name' => 'StrategyId',
'in' => 'query',
- 'schema' => [
- 'description' => '获取指定状态结果详情,不传入则获取所有。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SUCCESS',
- ],
+ 'schema' => ['description' => '访问策略id。可通过调用[DescribeDnsGtmAccessStrategies](~~2357191~~)获取', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hr****'],
],
],
'responses' => [
@@ -9431,204 +6921,191 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '记录总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'BatchResultDetails' => [
+ 'FailoverMinAvailableAddrNum' => ['description' => '备地址池集合最小可用地址数量。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DefaultAddrPoolType' => ['description' => '主地址池类型:'."\n"
+ ."\n"
+ .'- IPV4'."\n"
+ .'- IPV6'."\n"
+ .'- DOMAIN', 'type' => 'string', 'example' => 'IPV4'],
+ 'DefaultAvailableAddrNum' => ['description' => '主地址池当前可用地址数量。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'StrategyId' => ['description' => '访问策略id。', 'type' => 'string', 'example' => 'hr***'],
+ 'FailoverAddrPoolGroupStatus' => ['description' => '备地址池集合状态:'."\n"
+ ."\n"
+ .'- AVAILABLE:可用'."\n"
+ .'- NOT_AVAILABLE:不可用', 'type' => 'string', 'example' => 'AVAILABLE'],
+ 'FailoverAvailableAddrNum' => ['description' => '备地址池当前可用地址数量。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'FailoverLbaStrategy' => ['description' => '备地址池集合均衡策略:'."\n"
+ ."\n"
+ .'- ALL_RR: 返回全部地址'."\n"
+ .'- RATIO:按权重返回地址', 'type' => 'string', 'example' => 'ALL_RR'],
+ 'DefaultMaxReturnAddrNum' => ['description' => '主地址池集合最多返回地址数量。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'StrategyMode' => ['description' => '访问策略类型:'."\n"
+ ."\n"
+ .'- GEO:基于地理位置的访问策略'."\n"
+ .'- LATENCY:基于访问延时的访问策略', 'type' => 'string', 'example' => 'GEO'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1533773400000'],
+ 'DefaultLbaStrategy' => ['description' => '主地址池集合均衡策略:'."\n"
+ ."\n"
+ .'- ALL_RR: 返回全部地址'."\n"
+ .'- RATIO:按权重返回地址', 'type' => 'string', 'example' => 'ALL_RR'],
+ 'DefaultAddrPoolGroupStatus' => ['description' => '主地址池集合状态:'."\n"
+ ."\n"
+ .'- AVAILABLE:可用'."\n"
+ .'- NOT_AVAILABLE:不可用', 'type' => 'string', 'example' => 'AVAILABLE'],
+ 'FailoverAddrPoolType' => ['description' => '备地址池类型:'."\n"
+ ."\n"
+ .'- IPV4'."\n"
+ .'- IPV6'."\n"
+ .'- DOMAIN', 'type' => 'string', 'example' => 'IPV4'],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'BA1608CA-834C-4E63-8682-8AF0B11ED72D'],
+ 'InstanceId' => ['description' => '关联的GTM实例Id。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**'],
+ 'FailoverAddrPools' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'BatchResultDetail' => [
- 'description' => '批量处理结果的详细信息。',
+ 'FailoverAddrPool' => [
+ 'description' => '备地址池集合列表。'."\n"
+ ."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '执行结果。**true**代表成功,**false**代表失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Type' => [
- 'description' => '域名解析类型。',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Domain' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'Remark' => [
- 'description' => '解析记录备注。',
- 'type' => 'string',
- 'example' => 'remark',
- ],
- 'RecordId' => [
- 'description' => '解析记录的ID。',
- 'type' => 'string',
- 'example' => '1*********',
- ],
- 'Rr' => [
- 'description' => '主机记录。',
- 'type' => 'string',
- 'example' => 'www',
- ],
- 'Priority' => [
- 'description' => 'MX优先级。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'RrStatus' => [
- 'description' => '解析记录状态。',
- 'type' => 'string',
- 'example' => '暂停',
- ],
- 'OperateDateStr' => [
- 'description' => '处理时间。',
- 'type' => 'string',
- 'example' => '2019-08-22 18:02:58',
- ],
- 'NewValue' => [
- 'description' => '新的记录值。',
- 'type' => 'string',
- 'example' => '192.0.2.1',
- ],
- 'Value' => [
- 'description' => '记录值。',
- 'type' => 'string',
- 'example' => '198.51.100.1',
- ],
- 'Ttl' => [
- 'description' => '生效时间。',
- 'type' => 'string',
- 'example' => '600',
- ],
- 'BatchType' => [
- 'description' => '批量操作类型。',
- 'type' => 'string',
- 'example' => 'DOMAIN_ADD',
- ],
- 'Line' => [
- 'description' => '线路代码。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'NewRr' => [
- 'description' => '新的主机记录。',
- 'type' => 'string',
- 'example' => 'demo-batch-7',
- ],
- 'Reason' => [
- 'description' => '执行失败的原因。',
- 'type' => 'string',
- 'example' => '内部异常',
- ],
+ 'LbaWeight' => ['description' => '权重。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Name' => ['description' => '地址池名称。', 'type' => 'string', 'example' => 'test'],
+ 'AddrCount' => ['description' => '地址数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Id' => ['description' => '地址池id。', 'type' => 'string', 'example' => 'po**'],
],
],
],
],
],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D',
+ 'DefaultLatencyOptimization' => ['description' => '主地址池集合延时解析调度优化:'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ .'- CLOSE:关闭', 'type' => 'string', 'example' => 'OPEN'],
+ 'EffectiveAddrPoolGroupType' => ['description' => '当前生效地址池集合类型:'."\n"
+ ."\n"
+ .'- DEFAULT:主地址池集合'."\n"
+ .'- FAILOVER: 备地址池集合', 'type' => 'string', 'example' => 'DEFAULT'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2018-08-09T00:10Z'],
+ 'DefaultAddrPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DefaultAddrPool' => [
+ 'description' => '主地址池集合列表。'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'LbaWeight' => ['description' => '权重。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Name' => ['description' => '地址池名称。', 'type' => 'string', 'example' => 'test'],
+ 'AddrCount' => ['description' => '地址数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Id' => ['description' => '地址池id。', 'type' => 'string', 'example' => 'po***'],
+ ],
+ ],
+ ],
+ ],
],
- 'PageNumber' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ 'DefaultMinAvailableAddrNum' => ['description' => '主地址池集合最小可用地址数量。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'FailoverLatencyOptimization' => ['description' => '备地址池集合延时解析调度优化:'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ .'- CLOSE:关闭', 'type' => 'string', 'example' => 'OPEN'],
+ 'StrategyName' => ['description' => '访问策略名称。', 'type' => 'string', 'example' => 'strategyName1'],
+ 'FailoverMaxReturnAddrNum' => ['description' => '备地址池集合最多返回地址数量。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'AccessMode' => ['description' => '地址池集合切换策略:'."\n"
+ ."\n"
+ .'- AUTO:自动切换'."\n"
+ .'- DEFAULT:主地址池集合'."\n"
+ .'- FAILOVER: 备地址池集合', 'type' => 'string', 'example' => 'AUTO'],
+ 'Lines' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Line' => [
+ 'description' => '解析请求来源列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupName' => ['description' => '解析请求来源分组名称。', 'type' => 'string', 'example' => 'Global'],
+ 'LineCode' => ['description' => '解析请求来源编码。', 'type' => 'string', 'example' => 'default'],
+ 'LineName' => ['description' => '解析请求来源名称。', 'type' => 'string', 'example' => 'Global'],
+ 'GroupCode' => ['description' => '解析请求来源分组编码。', 'type' => 'string', 'example' => 'DEFAULT'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"BatchResultDetails\\": {\\n \\"BatchResultDetail\\": [\\n {\\n \\"Status\\": true,\\n \\"Type\\": \\"A\\",\\n \\"Domain\\": \\"example.com\\",\\n \\"Remark\\": \\"remark\\",\\n \\"RecordId\\": \\"1*********\\",\\n \\"Rr\\": \\"www\\",\\n \\"Priority\\": \\"10\\",\\n \\"RrStatus\\": \\"暂停\\",\\n \\"OperateDateStr\\": \\"2019-08-22 18:02:58\\",\\n \\"NewValue\\": \\"192.0.2.1\\",\\n \\"Value\\": \\"198.51.100.1\\",\\n \\"Ttl\\": \\"600\\",\\n \\"BatchType\\": \\"DOMAIN_ADD\\",\\n \\"Line\\": \\"default\\",\\n \\"NewRr\\": \\"demo-batch-7\\",\\n \\"Reason\\": \\"内部异常\\"\\n }\\n ]\\n },\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\",\\n \\"PageNumber\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeBatchResultDetailResponse>\\n <TotalCount>1</TotalCount>\\n <BatchResultDetails>\\n <Status>true</Status>\\n <Type>A</Type>\\n <Domain>example.com</Domain>\\n <Remark>remark</Remark>\\n <RecordId>123456789</RecordId>\\n <Rr>www</Rr>\\n <Priority>10</Priority>\\n <RrStatus>暂停</RrStatus>\\n <OperateDateStr>2019-08-22 18:02:58</OperateDateStr>\\n <NewValue>192.0.2.254</NewValue>\\n <Value>192.0.2.0</Value>\\n <Ttl>600</Ttl>\\n <BatchType>DOMAIN_ADD</BatchType>\\n <Line>default</Line>\\n <NewRr>demo-batch-7</NewRr>\\n <Reason>内部异常</Reason>\\n </BatchResultDetails>\\n <PageSize>10</PageSize>\\n <RequestId>75446CC1-FC9A-4595-8D96-089D73D7A63D</RequestId>\\n <PageNumber>1</PageNumber>\\n</DescribeBatchResultDetailResponse>","errorExample":""}]',
- 'title' => '查询批量处理结果的详细信息',
- 'description' => '**前提条件:请在批量任务执行完成后,再调用此接口。**',
+ 'errorCodes' => [],
+ 'title' => '获取访问策略详细信息',
+ 'summary' => '通过访问策略ID获取访问策略详细信息。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeTags' => [
- 'summary' => '查询已有标签。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAccessStrategy'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"FailoverMinAvailableAddrNum\\": 1,\\n \\"DefaultAddrPoolType\\": \\"IPV4\\",\\n \\"DefaultAvailableAddrNum\\": 1,\\n \\"StrategyId\\": \\"hr***\\",\\n \\"FailoverAddrPoolGroupStatus\\": \\"AVAILABLE\\",\\n \\"FailoverAvailableAddrNum\\": 1,\\n \\"FailoverLbaStrategy\\": \\"ALL_RR\\",\\n \\"DefaultMaxReturnAddrNum\\": 1,\\n \\"StrategyMode\\": \\"GEO\\",\\n \\"CreateTimestamp\\": 1533773400000,\\n \\"DefaultLbaStrategy\\": \\"ALL_RR\\",\\n \\"DefaultAddrPoolGroupStatus\\": \\"AVAILABLE\\",\\n \\"FailoverAddrPoolType\\": \\"IPV4\\",\\n \\"RequestId\\": \\"BA1608CA-834C-4E63-8682-8AF0B11ED72D\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"FailoverAddrPools\\": {\\n \\"FailoverAddrPool\\": [\\n {\\n \\"LbaWeight\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"AddrCount\\": 1,\\n \\"Id\\": \\"po**\\"\\n }\\n ]\\n },\\n \\"DefaultLatencyOptimization\\": \\"OPEN\\",\\n \\"EffectiveAddrPoolGroupType\\": \\"DEFAULT\\",\\n \\"CreateTime\\": \\"2018-08-09T00:10Z\\",\\n \\"DefaultAddrPools\\": {\\n \\"DefaultAddrPool\\": [\\n {\\n \\"LbaWeight\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"AddrCount\\": 1,\\n \\"Id\\": \\"po***\\"\\n }\\n ]\\n },\\n \\"DefaultMinAvailableAddrNum\\": 1,\\n \\"FailoverLatencyOptimization\\": \\"OPEN\\",\\n \\"StrategyName\\": \\"strategyName1\\",\\n \\"FailoverMaxReturnAddrNum\\": 1,\\n \\"AccessMode\\": \\"AUTO\\",\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<FailoverMinAvailableAddrNum>1</FailoverMinAvailableAddrNum>\\n<DefaultAddrPoolType>ipv4</DefaultAddrPoolType>\\n<DefaultAvailableAddrNum>1</DefaultAvailableAddrNum>\\n<FailoverAddrPoolGroupStatus>AVAILABLE</FailoverAddrPoolGroupStatus>\\n<StrategyId>strategyId1</StrategyId>\\n<FailoverAvailableAddrNum>1</FailoverAvailableAddrNum>\\n<FailoverLbaStrategy>all_rr</FailoverLbaStrategy>\\n<DefaultMaxReturnAddrNum>1</DefaultMaxReturnAddrNum>\\n<StrategyMode>geo</StrategyMode>\\n<CreateTimestamp>1533773400000</CreateTimestamp>\\n<DefaultAddrPoolGroupStatus>AVAILABLE</DefaultAddrPoolGroupStatus>\\n<DefaultLbaStrategy>all_rr</DefaultLbaStrategy>\\n<FailoverAddrPoolType>ipv4</FailoverAddrPoolType>\\n<RequestId>BA1608CA-834C-4E63-8682-8AF0B11ED72D</RequestId>\\n<InstanceId>instance1</InstanceId>\\n<FailoverAddrPools>\\n <FailoverAddrPool>\\n <Id>pool1</Id>\\n <LbaWeight>1</LbaWeight>\\n <AddrCount>1</AddrCount>\\n <Name>test</Name>\\n </FailoverAddrPool>\\n</FailoverAddrPools>\\n<DefaultLatencyOptimization>open</DefaultLatencyOptimization>\\n<CreateTime>2018-08-09T00:10Z</CreateTime>\\n<EffectiveAddrPoolGroupType>DEFAULT</EffectiveAddrPoolGroupType>\\n<DefaultAddrPools>\\n <DefaultAddrPool>\\n <Id>pool1</Id>\\n <LbaWeight>1</LbaWeight>\\n <AddrCount>1</AddrCount>\\n <Name>test</Name>\\n </DefaultAddrPool>\\n</DefaultAddrPools>\\n<DefaultMinAvailableAddrNum>1</DefaultMinAvailableAddrNum>\\n<FailoverLatencyOptimization>open</FailoverLatencyOptimization>\\n<StrategyName>strategyName1</StrategyName>\\n<FailoverMaxReturnAddrNum>1</FailoverMaxReturnAddrNum>\\n<AccessMode>auto</AccessMode>\\n<Lines>\\n <Line>\\n <GroupName>global</GroupName>\\n <GroupCode>default</GroupCode>\\n <LineCode>default</LineCode>\\n <LineName>global</LineName>\\n </Line>\\n</Lines>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmAccessStrategyAvailableConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。取值:'."\n"
- .'- **DOMAIN**:域名',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'DOMAIN',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'StrategyMode',
'in' => 'query',
- 'schema' => [
- 'description' => '分页数,默认值:200。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '200',
- ],
+ 'schema' => ['description' => '调度模式:'."\n"
+ ."\n"
+ .'- GEO:基于地理位置'."\n"
+ .'- LATENCY:基于延时', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GEO'],
],
],
'responses' => [
@@ -9636,47 +7113,116 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总计数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
+ 'SelectedDomainLines' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'SelectedDomainLine' => [
+ 'description' => '主地址池集合已选择域名区域列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '主地址池集合已选择域名区域。', 'type' => 'string', 'example' => 'telecom'],
+ ],
+ ],
],
- 'PageSize' => [
- 'description' => '分页数,默认值:200。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
+ 'DomainAddrPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DomainAddrPool' => [
+ 'description' => '域名类型可用地址池列表。'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '地址池名称。', 'type' => 'string', 'example' => 'testpool'],
+ 'AddrCount' => ['description' => '地址数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Id' => ['description' => '地址池id。', 'type' => 'string', 'example' => 'po***'],
+ ],
+ ],
+ ],
+ ],
],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '89184F33-48A1-4401-9C0F-40E45DB091AB',
+ 'Ipv4AddrPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ipv4AddrPool' => [
+ 'description' => 'Ipv4类型可用地址池列表。'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '地址池名称。', 'type' => 'string', 'example' => 'test****'],
+ 'AddrCount' => ['description' => '地址数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Id' => ['description' => '地址池id。', 'type' => 'string', 'example' => 'po***'],
+ ],
+ ],
+ ],
+ ],
],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'C2851BA9-CE56-49AF-8D12-4FC6A49EE688'],
+ 'SelectedIpv4Lines' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'SelectedIpv4Line' => [
+ 'description' => '主地址池集合已选择Ipv4区域列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '主地址池集合已选择Ipv4区域。', 'type' => 'string', 'example' => 'telecom'],
+ ],
+ ],
],
- 'Tags' => [
- 'description' => '标签列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'abc',
+ 'Ipv6AddrPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ipv6AddrPool' => [
+ 'description' => 'Ipv6类型可用地址池列表。'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '地址池名称。', 'type' => 'string', 'example' => 'testpool'],
+ 'AddrCount' => ['description' => '地址数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Id' => ['description' => '地址池id。', 'type' => 'string', 'example' => 'po***'],
+ ],
],
- 'Values' => [
- 'description' => '标签值列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => '11111',
+ ],
+ ],
+ ],
+ 'SuggestSetDefaultLine' => ['description' => '建议设置全局线路。'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'SelectedIpv6Lines' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'SelectedIpv6Line' => [
+ 'description' => '主地址池集合已选择Ipv6区域列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '主地址池集合已选择Ipv6区域。', 'type' => 'string', 'example' => 'telecom'],
+ ],
+ ],
+ ],
+ 'Lines' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Line' => [
+ 'description' => '解析请求来源列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FatherCode' => ['description' => '父线路的code,如果没有则为空。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'telecom'],
+ 'GroupName' => ['description' => '解析请求来源分组名称。', 'type' => 'string', 'example' => 'Global'],
+ 'LineCode' => ['description' => '解析请求来源编码。', 'type' => 'string', 'example' => 'default'],
+ 'LineName' => ['description' => '解析请求来源名称。', 'type' => 'string', 'example' => 'Global'],
+ 'GroupCode' => ['description' => '解析请求来源分组编号。', 'type' => 'string', 'example' => 'DEFAULT'],
],
],
],
@@ -9686,117 +7232,67 @@
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 5,\\n \\"PageSize\\": 200,\\n \\"RequestId\\": \\"89184F33-48A1-4401-9C0F-40E45DB091AB\\",\\n \\"PageNumber\\": 1,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"abc\\",\\n \\"Values\\": [\\n \\"11111\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<TotalCount>6</TotalCount>\\n<RequestId>89184F33-48A1-4401-9C0F-40E45DB091AB</RequestId>\\n<PageSize>1</PageSize>\\n<PageNumber>1</PageNumber>\\n<Tags>\\n <Values>1</Values>\\n <Key>a</Key>\\n</Tags>\\n<Tags>\\n <Values>123</Values>\\n <Key>123</Key>\\n</Tags>\\n<Tags>\\n <Values>001</Values>\\n <Key>abc</Key>\\n</Tags>\\n<Tags>\\n <Values>1111</Values>\\n <Key>1111</Key>\\n</Tags>\\n<Tags>\\n <Values>abcd</Values>\\n <Key>abcd</Key>\\n</Tags>\\n<Tags>\\n <Key>testtag</Key>\\n</Tags>","errorExample":""}]',
- 'title' => '查询已有标签列表',
+ 'errorCodes' => [],
+ 'title' => '获取访问策略可设置的配置',
+ 'summary' => '通过实例ID获取访问策略可设置的配置。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListTagResources' => [
- 'summary' => '按照标签查询资源。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAccessStrategyAvailableConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAccessStrategyAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"SelectedDomainLines\\": {\\n \\"SelectedDomainLine\\": [\\n \\"telecom\\"\\n ]\\n },\\n \\"DomainAddrPools\\": {\\n \\"DomainAddrPool\\": [\\n {\\n \\"Name\\": \\"testpool\\",\\n \\"AddrCount\\": 1,\\n \\"Id\\": \\"po***\\"\\n }\\n ]\\n },\\n \\"Ipv4AddrPools\\": {\\n \\"Ipv4AddrPool\\": [\\n {\\n \\"Name\\": \\"test****\\",\\n \\"AddrCount\\": 1,\\n \\"Id\\": \\"po***\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"C2851BA9-CE56-49AF-8D12-4FC6A49EE688\\",\\n \\"SelectedIpv4Lines\\": {\\n \\"SelectedIpv4Line\\": [\\n \\"telecom\\"\\n ]\\n },\\n \\"Ipv6AddrPools\\": {\\n \\"Ipv6AddrPool\\": [\\n {\\n \\"Name\\": \\"testpool\\",\\n \\"AddrCount\\": 1,\\n \\"Id\\": \\"po***\\"\\n }\\n ]\\n },\\n \\"SuggestSetDefaultLine\\": true,\\n \\"SelectedIpv6Lines\\": {\\n \\"SelectedIpv6Line\\": [\\n \\"telecom\\"\\n ]\\n },\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"FatherCode\\": \\"telecom\\",\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Ipv4AddrPools>\\n <Ipv4AddrPool>\\n <Id>pool1</Id>\\n <AddrCount>1</AddrCount>\\n <Name>testpool</Name>\\n </Ipv4AddrPool>\\n</Ipv4AddrPools>\\n<DomainAddrPools>\\n <DomainAddrPool>\\n <Id>pool1</Id>\\n <AddrCount>1</AddrCount>\\n <Name>testpool</Name>\\n </DomainAddrPool>\\n</DomainAddrPools>\\n<RequestId>C2851BA9-CE56-49AF-8D12-4FC6A49EE688</RequestId>\\n<Ipv6AddrPools>\\n <Ipv6AddrPool>\\n <Id>pool1</Id>\\n <AddrCount>1</AddrCount>\\n <Name>testpool</Name>\\n </Ipv6AddrPool>\\n</Ipv6AddrPools>\\n<SuggestSetDefaultLine>true</SuggestSetDefaultLine>\\n<Lines>\\n <Line>\\n <GroupName>global</GroupName>\\n <GroupCode>default</GroupCode>\\n <FatherCode>telecom</FatherCode>\\n <LineCode>default</LineCode>\\n <LineName>global</LineName>\\n </Line>\\n</Lines>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmAddrAttributeInfo' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。取值:'."\n"
- .'- **DOMAIN**:域名',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'DOMAIN',
- ],
- ],
- [
- 'name' => 'NextToken',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '下一个查询开始Token。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4698691',
- ],
+ 'schema' => ['description' => '地址类型:'."\n"
+ ."\n"
+ .'- IPV4:ipv4地址'."\n"
+ .'- IPV6: ipv6地址'."\n"
+ .'- DOMAIN:域名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'IPV4'],
],
[
- 'name' => 'Tag',
+ 'name' => 'Addrs',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '标签键值对数组。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abcd',
- ],
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abcd',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 21,
- ],
- ],
- [
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '资源id。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名,当Tag数组传空值时,ResourceId为必传。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
- 'required' => false,
- 'maxItems' => 51,
- ],
+ 'schema' => ['description' => '地址列表。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '['."\n"
+ .' "1.1.XX.XX"'."\n"
+ .']'],
],
],
'responses' => [
@@ -9804,41 +7300,33 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '下一个查询开始token,nexttoken为空说明没有下一个。',
- 'type' => 'string',
- 'example' => '4698691',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '61092C8D-6AEB-4310-B74D-C632F89BF4FB',
- ],
- 'TagResources' => [
- 'description' => '由资源及其标签组成的集合,包含了资源ID、资源类型和标签键值等信息。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ResourceType' => [
- 'description' => '资源类型。取值:DOMAIN。',
- 'type' => 'string',
- 'example' => 'DOMAIN',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'abcd',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'abcd',
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'Addr' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Addr' => [
+ 'description' => '地址池地址。'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeInfo' => [
+ 'description' => '地址归属信息。'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'FatherCode' => ['description' => '父线路的code。', 'type' => 'string', 'example' => 'telecom'],
+ 'GroupName' => ['description' => '地址归属区域分组名称。', 'type' => 'string', 'example' => 'Global'],
+ 'LineCode' => ['description' => '归属线路code。', 'type' => 'string', 'example' => 'default'],
+ 'LineName' => ['description' => '地址归属线路名称。', 'type' => 'string', 'example' => 'Global'],
+ 'GroupCode' => ['description' => '地址归属区域分组code。', 'type' => 'string', 'example' => 'DEFAULT'],
+ ],
+ ],
+ 'Addr' => ['description' => '地址。', 'type' => 'string', 'example' => '1.1.XX.XX'],
+ ],
],
],
],
@@ -9847,24 +7335,36 @@
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"4698691\\",\\n \\"RequestId\\": \\"61092C8D-6AEB-4310-B74D-C632F89BF4FB\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"DOMAIN\\",\\n \\"TagValue\\": \\"abcd\\",\\n \\"ResourceId\\": \\"example.com\\",\\n \\"TagKey\\": \\"abcd\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '标签查询资源',
- 'description' => '- 请求中至少指定参数ResourceId.N或Tag.N(Tag.N.Key与Tag.N.Value),以确定检索对象。'."\n"
- .'- Tag.N是资源的标签,由一个键值对组成。仅指定Tag.N.Key时,则返回该标签键关联的所有标签值。仅指定Tag.N.Value会报错。'."\n"
- .'- 如果您同时指定Tag.N和ResourceId.N筛选标签,则ResourceId.N必须满足所有输入的标签键值对。'."\n"
- .'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。',
- ],
- 'TagResources' => [
- 'summary' => '通过进行添加、修改资源的标签。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询地址归属区域信息',
+ 'summary' => '查询地址归属区域。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAddrAttributeInfo'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAddrAttributeInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Addr\\": {\\n \\"Addr\\": [\\n {\\n \\"AttributeInfo\\": {\\n \\"FatherCode\\": \\"telecom\\",\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n },\\n \\"Addr\\": \\"1.1.XX.XX\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<Addr>\\n <Addr>\\n <Addr>1.1.1.1</Addr>\\n <AttributeInfo>\\n <GroupName>Global</GroupName>\\n <GroupCode>DEFAULT</GroupCode>\\n <FatherCode>telecom</FatherCode>\\n <LineCode>default</LineCode>\\n <LineName>Global</LineName>\\n </AttributeInfo>\\n </Addr>\\n</Addr>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmAddressPoolAvailableConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9872,85 +7372,18 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。取值:'."\n"
- .'- **DOMAIN**:域名',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'DOMAIN',
- ],
- ],
- [
- 'name' => 'Tag',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '标签键值对数组。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => '标签键。不能以`acs:`或`aliyun`开头,长度不能超过20字节。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abcd',
- ],
- 'Value' => [
- 'description' => '标签值。长度不能超过20字节。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abcd',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 21,
- ],
- ],
- [
- 'name' => 'ResourceId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '资源id。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com'."\n",
- ],
- 'required' => true,
- 'example' => 'dns-example.com',
- 'maxItems' => 51,
- ],
+ 'schema' => ['description' => '实例ID。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
],
],
'responses' => [
@@ -9958,31 +7391,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '635B0CCD-15A7-48C9-B4D6-628FF57FF4B8',
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '199C3699-9A7B-41A1-BB5A-F1E862D3CB38'],
+ 'AttributeInfos' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AttributeInfo' => [
+ 'description' => '支持的地址归属区域列表。'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FatherCode' => ['description' => '地址归属区域父节点线路Code。', 'type' => 'string', 'example' => 'telecom'],
+ 'GroupName' => ['description' => '地址归属区域分组名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'ISP'],
+ 'LineCode' => ['description' => '地址归属区域线路Code。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'cn_telecom_jiangxi'],
+ 'LineName' => ['description' => '地址归属区域线路名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'ChinaTelecom_jiangxi'],
+ 'GroupCode' => ['description' => '地址归属区域分组Code。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'ISP'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"635B0CCD-15A7-48C9-B4D6-628FF57FF4B8\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>635B0CCD-15A7-48C9-B4D6-628FF57FF4B8</RequestId>","errorExample":""}]',
- 'title' => '添加修改资源标签',
+ 'errorCodes' => [],
+ 'title' => '获取地址池可设置配置信息',
+ 'summary' => '通过GTM实例ID获取地址池可设置配置。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UntagResources' => [
- 'summary' => '进行删除资源的标签。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAddressPoolAvailableConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAddressPoolAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"199C3699-9A7B-41A1-BB5A-F1E862D3CB38\\",\\n \\"AttributeInfos\\": {\\n \\"AttributeInfo\\": [\\n {\\n \\"FatherCode\\": \\"telecom\\",\\n \\"GroupName\\": \\"ISP\\",\\n \\"LineCode\\": \\"cn_telecom_jiangxi\\",\\n \\"LineName\\": \\"ChinaTelecom_jiangxi\\",\\n \\"GroupCode\\": \\"ISP\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>199C3699-9A7B-41A1-BB5A-F1E862D3CB38</RequestId>\\n<AttributeInfos>\\n <AttributeInfo>\\n <GroupName>global</GroupName>\\n <GroupCode>default</GroupCode>\\n <FatherCode>telecom</FatherCode>\\n <LineCode>default</LineCode>\\n <LineName>global</LineName>\\n </AttributeInfo>\\n</AttributeInfos>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmAvailableAlertGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9990,83 +7460,12 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。取值:'."\n"
- .'- **DOMAIN**:域名',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'DOMAIN',
- ],
- ],
- [
- 'name' => 'All',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否全部删除,默认是false。只针对tagkey数组为空时有效。取值范围:-true-false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
- ],
- [
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '资源id。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名,当Tag数组传空值时,ResourceId为必传。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
- 'required' => true,
- 'maxItems' => 51,
- ],
- ],
- [
- 'name' => 'TagKey',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '标签数组。',
- 'type' => 'array',
- 'items' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abcd',
- ],
- 'required' => false,
- 'maxItems' => 21,
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
],
'responses' => [
@@ -10074,76 +7473,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求标识。',
- 'type' => 'string',
- 'example' => 'F152A869-DF77-4DF1-9A00-4E06978FE6A1',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'AvailableAlertGroup' => ['description' => '可设置的报警组。', 'type' => 'string', 'example' => '[\\"测试报警组\\",\\"研发报警组\\"]'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F152A869-DF77-4DF1-9A00-4E06978FE6A1\\"\\n}","type":"json"}]',
- 'title' => '删除资源标签',
- ],
- 'MoveDomainResourceGroup' => [
- 'summary' => '更换资源组。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取GTM实例可用的报警组列表',
+ 'summary' => '获取可设置的报警组。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAvailableAlertGroup'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAvailableAlertGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"AvailableAlertGroup\\": \\"[\\\\\\\\\\\\\\"测试报警组\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"研发报警组\\\\\\\\\\\\\\"]\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<AvailableAlertGroup>[\\"测试报警组\\",\\"研发报警组\\"]</AvailableAlertGroup>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmInstance' => [
+ 'summary' => '通过实例ID获取实例详情。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns7SH50L',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsYSO7XZ'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
- ],
- [
- 'name' => 'NewResourceGroupId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '新资源组ID。'."\n"
- ."\n"
- .'您可以通过[资源管理控制台](https://resourcemanager.console.aliyun.com/resource-groups?)查看资源组ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'rg-aek*******',
- ],
+ 'schema' => ['description' => '实例ID。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
],
],
'responses' => [
@@ -10151,177 +7542,153 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
+ 'ExpireTimestamp' => ['description' => '实例到期时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1602656937000'],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '84314904-D047-4176-A0EC-256D7F68C7F5'],
+ 'ResourceGroupId' => ['description' => '资源组id。', 'type' => 'string', 'example' => 'resourc*****'],
+ 'InstanceId' => ['description' => '实例id。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**'],
+ 'TaskQuota' => ['description' => '探测任务总数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Config' => [
+ 'description' => '实例配置信息。'."\n"
."\n",
- 'type' => 'string',
- 'example' => 'C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB',
+ 'type' => 'object',
+ 'properties' => [
+ 'Ttl' => ['description' => '全局TTL。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'AlertGroup' => ['description' => '报警组(List<String>的JSON格式)。', 'type' => 'string', 'example' => '["test1","test2"]'],
+ 'CnameType' => ['description' => 'cname接入域名类型:'."\n"
+ ."\n"
+ .'- PUBLIC: 公网型', 'type' => 'string', 'example' => 'PUBLIC'],
+ 'StrategyMode' => ['description' => '访问策略模式:'."\n"
+ ."\n"
+ .'- LATENCY:基于延时'."\n"
+ .'- GEO:基于地理位置', 'type' => 'string', 'example' => 'GEO'],
+ 'InstanceName' => ['description' => '实例名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'test'],
+ 'PublicCnameMode' => ['description' => '公网cname接入方式:'."\n"
+ ."\n"
+ .'- CUSTOM: 自定义'."\n"
+ .'- SYSTEM_ASSIGN: 系统分配(此功能已关闭)', 'type' => 'string', 'example' => 'CUSTOM'],
+ 'AlertConfig' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AlertConfig' => [
+ 'description' => '报警通知方式。'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SmsNotice' => ['description' => '是否配置短信通知:'."\n"
+ ."\n"
+ .'- true:已配置'."\n"
+ .'- false|null : 未配置', 'type' => 'boolean', 'example' => 'true'],
+ 'NoticeType' => ['description' => '报警事件类型:'."\n"
+ ."\n"
+ .'- ADDR_ALERT:地址不可用'."\n"
+ .'- ADDR_RESUME:地址恢复可用'."\n"
+ .'- ADDR_POOL_GROUP_UNAVAILABLE:地址池集合不可用'."\n"
+ .'- ADDR_POOL_GROUP_AVAILABLE:地址池集合恢复可用'."\n"
+ .'- ACCESS_STRATEGY_POOL_GROUP_SWITCH:主备地址池切换'."\n"
+ .'- MONITOR_NODE_IP_CHANGE:监控节点IP地址变更', 'type' => 'string', 'example' => 'ADDR_ALERT'],
+ 'EmailNotice' => ['description' => '是否配置邮件通知:'."\n"
+ ."\n"
+ .'- true:已配置'."\n"
+ .'- false|null : 未配置', 'type' => 'boolean', 'example' => 'true'],
+ 'DingtalkNotice' => ['description' => '是否配置钉钉通知:'."\n"
+ ."\n"
+ .'- true:已配置'."\n"
+ .'- false|null :未配置', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'PublicUserDomainName' => ['description' => '公网用户业务域名。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'example.com'],
+ 'PubicZoneName' => ['description' => '公网接入域名。'."\n"
+ ."\n", 'type' => 'string', 'example' => "\n"
+ .'gtm-cn-wwo3a3hbz**.example.com'],
+ 'PublicRr' => ['description' => '公网接入主机名'."\n"
+ ."\n", 'type' => 'string', 'example' => 'test.rr'],
+ ],
+ ],
+ 'CreateTime' => ['description' => '实例创建时间。', 'type' => 'string', 'example' => '2020-10-14T06:58Z'],
+ 'SmsQuota' => ['description' => '短信通知总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'VersionCode' => ['description' => '实例版本。', 'type' => 'string', 'example' => 'standard'],
+ 'PaymentType' => ['description' => '付费类型'."\n"
+ ."\n"
+ .'- Subscription:预付费', 'type' => 'string', 'example' => 'Subscription'],
+ 'ExpireTime' => ['description' => '到期日。', 'type' => 'string', 'example' => '2020-10-14T06:58Z'],
+ 'CreateTimestamp' => ['description' => '实例创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1602656937000'],
+ 'UsedQuota' => [
+ 'description' => '已使用的配额。'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EmailUsedCount' => ['description' => '已发送邮件总数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '123'],
+ 'TaskUsedCount' => ['description' => '已创建探测任务数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '123'],
+ 'SmsUsedCount' => ['description' => '已发送短信总数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '123'],
+ 'DingtalkUsedCount' => ['description' => '已发送钉钉总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '123'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB</RequestId>","errorExample":""}]',
- 'title' => '更换域名资源组',
+ 'title' => '获取GTM实例详情',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'AddDnsCacheDomain' => [
- 'summary' => '根据传入参数添加 DNS 权威代理域名。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstance'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExpireTimestamp\\": 1602656937000,\\n \\"RequestId\\": \\"84314904-D047-4176-A0EC-256D7F68C7F5\\",\\n \\"ResourceGroupId\\": \\"resourc*****\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"TaskQuota\\": 100,\\n \\"Config\\": {\\n \\"Ttl\\": 60,\\n \\"AlertGroup\\": \\"[\\\\\\"test1\\\\\\",\\\\\\"test2\\\\\\"]\\",\\n \\"CnameType\\": \\"PUBLIC\\",\\n \\"StrategyMode\\": \\"GEO\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"PublicCnameMode\\": \\"CUSTOM\\",\\n \\"AlertConfig\\": {\\n \\"AlertConfig\\": [\\n {\\n \\"SmsNotice\\": true,\\n \\"NoticeType\\": \\"ADDR_ALERT\\",\\n \\"EmailNotice\\": true,\\n \\"DingtalkNotice\\": true\\n }\\n ]\\n },\\n \\"PublicUserDomainName\\": \\"example.com\\",\\n \\"PubicZoneName\\": \\"\\\\ngtm-cn-wwo3a3hbz**.example.com\\",\\n \\"PublicRr\\": \\"test.rr\\"\\n },\\n \\"CreateTime\\": \\"2020-10-14T06:58Z\\",\\n \\"SmsQuota\\": 100,\\n \\"VersionCode\\": \\"standard\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"ExpireTime\\": \\"2020-10-14T06:58Z\\",\\n \\"CreateTimestamp\\": 1602656937000,\\n \\"UsedQuota\\": {\\n \\"EmailUsedCount\\": 123,\\n \\"TaskUsedCount\\": 123,\\n \\"SmsUsedCount\\": 123,\\n \\"DingtalkUsedCount\\": 123\\n }\\n}","errorExample":""},{"type":"xml","example":"<ExpireTimestamp>1602656937000</ExpireTimestamp>\\n<ResourceGroupId>resourcegroupid1</ResourceGroupId>\\n<RequestId>84314904-D047-4176-A0EC-256D7F68C7F5</RequestId>\\n<InstanceId>instanceid1</InstanceId>\\n<TaskQuota>100</TaskQuota>\\n<Config>\\n <InstanceName>instancetest1</InstanceName>\\n <PubicZoneName>test.rr.gtm-003.com</PubicZoneName>\\n <AlertGroup>[\\"test1\\",\\"test2\\"]</AlertGroup>\\n <CnameType>public</CnameType>\\n <PublicUserDomainName>example.com</PublicUserDomainName>\\n <PublicRr>test.rr</PublicRr>\\n <StrategyMode>GEO</StrategyMode>\\n <Ttl>1</Ttl>\\n <PublicCnameMode>custom</PublicCnameMode>\\n <AlertConfig>\\n <AlertConfig>\\n <EmailNotice>true</EmailNotice>\\n <NoticeType>ADDR_ALERT</NoticeType>\\n <SmsNotice>true</SmsNotice>\\n <DingtalkNotice>true</DingtalkNotice>\\n </AlertConfig>\\n </AlertConfig>\\n</Config>\\n<CreateTime>2020-10-14T06:58Z</CreateTime>\\n<SmsQuota>100</SmsQuota>\\n<VersionCode>versioncode1</VersionCode>\\n<PaymentType>Subscription</PaymentType>\\n<ExpireTime>2020-10-14T06:58Z</ExpireTime>\\n<CreateTimestamp>1602656937000</CreateTimestamp>\\n<UsedQuota>\\n <TaskUsedCount>123</TaskUsedCount>\\n <DingtalkUsedCount>123</DingtalkUsedCount>\\n <SmsUsedCount>123</SmsUsedCount>\\n <EmailUsedCount>123</EmailUsedCount>\\n</UsedQuota>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmInstanceAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsB25P4Z',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n"
- .'默认为**zh**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
- ],
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '权威代理域名实例ID。<props="china">可通过调用[ListCloudGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[ListCloudGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'dns-cn-*****',
- ],
- ],
- [
- 'name' => 'CacheTtlMin',
- 'in' => 'query',
- 'schema' => [
- 'description' => '回源缓存数据TTL(最小值),取值范围为30 - 86400',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '86400',
- 'minimum' => '30',
- 'example' => '30',
- ],
- ],
- [
- 'name' => 'CacheTtlMax',
- 'in' => 'query',
- 'schema' => [
- 'description' => '回源缓存数据TTL(最大值),取值范围为30 - 86400',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '86400',
- 'minimum' => '30',
- 'example' => '86400',
- ],
- ],
- [
- 'name' => 'SourceProtocol',
- 'in' => 'query',
- 'schema' => [
- 'description' => '回源协议,TCP、UDP。默认值为UDP',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'UDP',
- ],
- ],
- [
- 'name' => 'SourceEdns',
- 'in' => 'query',
- 'schema' => [
- 'description' => '源站是否支持edns。NOT_SUPPORT:不支持,SUPPORT:支持',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'SUPPORT',
- ],
- ],
- [
- 'name' => 'Remark',
- 'in' => 'query',
- 'schema' => [
- 'description' => '备注',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'SourceDnsServer',
+ 'name' => 'AddrPoolId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '源站DNS服务器列表,最多支持10条记录',
- 'type' => 'array',
- 'items' => [
- 'description' => '源站DNS服务器',
- 'type' => 'object',
- 'properties' => [
- 'Host' => [
- 'description' => '源站服务器的域名或IP地址',
- 'type' => 'string',
- 'required' => true,
- 'example' => '192.168.0.1',
- ],
- 'Port' => [
- 'description' => '源站DNS服务器端口',
- 'type' => 'string',
- 'required' => true,
- 'example' => '53',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => '地址池id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_7.1cee430dbd1I3y)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test*****'],
],
],
'responses' => [
@@ -10329,164 +7696,137 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码',
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-XXXXXXX',
+ 'Addrs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Addr' => [
+ 'description' => '地址池地址。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'AttributeInfo' => ['description' => '地址归属信息。'."\n"
+ ."\n"
+ .'- LineCode:归属线路code。(已废弃,以LineCodes数据为准)'."\n"
+ .'- LineName:归属线路名称。(已废弃)'."\n"
+ .'- LineCodes:归属线路列表。'."\n"
+ ."\n\n"
+ ."\n\n"
+ ."\n\n"
+ ."\n", 'type' => 'string', 'example' => '"LineCode":"aliyun_r_cn-zhangjiakou", "LineName": "阿里云_华北3(张家口)",“LineCodes”:["aliyun_r_cn-zhangjiakou"]'],
+ 'UpdateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'AlertStatus' => ['description' => '健康检查状态:'."\n"
+ ."\n"
+ .'- OK:正常'."\n"
+ .'- ALERT:报警', 'type' => 'string', 'example' => 'OK'],
+ 'Remark' => ['description' => '备注。', 'type' => 'string', 'example' => 'test'],
+ 'LbaWeight' => ['description' => '权重。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Addr' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '1.1.XX.XX'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'Mode' => ['description' => '模式:'."\n"
+ ."\n"
+ .'- SMART:智能返回'."\n"
+ .'- ONLINE:永远在线'."\n"
+ .'- OFFLINE:永远离线', 'type' => 'string', 'example' => 'SMART'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ ],
+ ],
+ ],
+ ],
],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'LbaStrategy' => ['description' => '负载均衡策略:'."\n"
+ ."\n"
+ .'- ALL_RR: 返回全部地址'."\n"
+ .'- RATIO:按权重返回地址', 'type' => 'string', 'example' => 'ALL_RR'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'AddrCount' => ['description' => '地址池数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Name' => ['description' => '地址池名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'test'],
+ 'Type' => ['description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPV4:ipv4地址'."\n"
+ .'- IPV6: ipv6地址'."\n"
+ .'- DOMAIN:域名', 'type' => 'string', 'example' => 'IPV4'],
+ 'UpdateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'AddrPoolId' => ['description' => '地址池id。', 'type' => 'string', 'example' => 'test*****'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'MonitorConfigId' => ['description' => '监控配置id。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'test1'],
+ 'MonitorStatus' => ['description' => '监控状态:'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ .'- CLOSE:关闭'."\n"
+ .'- UNCONFIGURED:未配置', 'type' => 'string', 'example' => 'OPEN'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-XXXXXXX\\"\\n}","type":"json"}]',
- 'title' => '添加 DNS 权威代理域名',
- ],
- 'UpdateDnsCacheDomain' => [
- 'summary' => '根据传入参数更新 DNS 权威代理域名。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取地址池详情',
+ 'summary' => '通过地址池ID获取地址池详情。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstanceAddressPool'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstanceAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Addrs\\": {\\n \\"Addr\\": [\\n {\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AttributeInfo\\": \\"\\\\\\"LineCode\\\\\\":\\\\\\"aliyun_r_cn-zhangjiakou\\\\\\", \\\\\\"LineName\\\\\\": \\\\\\"阿里云_华北3(张家口)\\\\\\",“LineCodes”:[\\\\\\"aliyun_r_cn-zhangjiakou\\\\\\"]\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AlertStatus\\": \\"OK\\",\\n \\"Remark\\": \\"test\\",\\n \\"LbaWeight\\": 1,\\n \\"Addr\\": \\"1.1.XX.XX\\",\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"Mode\\": \\"SMART\\",\\n \\"CreateTimestamp\\": 1527690629357\\n }\\n ]\\n },\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"LbaStrategy\\": \\"ALL_RR\\",\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrCount\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Type\\": \\"IPV4\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrPoolId\\": \\"test*****\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorConfigId\\": \\"test1\\",\\n \\"MonitorStatus\\": \\"OPEN\\",\\n \\"CreateTimestamp\\": 1527690629357\\n}","errorExample":""},{"type":"xml","example":"<Addrs>\\n <Addr>\\n <AttributeInfo>\\"LineCode\\":\\"aliyun_r_cn-zhangjiakou\\", \\"LineName\\": \\"阿里云_华北3(张家口)\\",“LineCodes”:[\\"aliyun_r_cn-zhangjiakou\\"]</AttributeInfo>\\n <LbaWeight>1</LbaWeight>\\n <AlertStatus>ok</AlertStatus>\\n <Mode>online</Mode>\\n <CreateTime>2017-12-28T13:08Z</CreateTime>\\n <UpdateTime>2017-12-28T13:08Z</UpdateTime>\\n <UpdateTimestamp>1527690629357</UpdateTimestamp>\\n <CreateTimestamp>1527690629357</CreateTimestamp>\\n <Addr>1.1.1.1</Addr>\\n <Remark>test</Remark>\\n </Addr>\\n</Addrs>\\n<LbaStrategy>all_rr</LbaStrategy>\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<CreateTime>2017-12-28T13:08Z</CreateTime>\\n<Name>test</Name>\\n<AddrCount>1</AddrCount>\\n<Type>ipv4</Type>\\n<UpdateTime>2017-12-28T13:08Z</UpdateTime>\\n<AddrPoolId>testpool1</AddrPoolId>\\n<UpdateTimestamp>1527690629357</UpdateTimestamp>\\n<MonitorConfigId>test1</MonitorConfigId>\\n<MonitorStatus>open</MonitorStatus>\\n<CreateTimestamp>1527690629357</CreateTimestamp>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmInstanceAddressPools' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsB25P4Z',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n"
- .'默认为**zh**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '权威代理域名实例ID。<props="china">可通过调用[ListCloudGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[ListCloudGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'dns-sg-l*******',
- ],
+ 'schema' => ['description' => '实例ID。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
],
[
- 'name' => 'CacheTtlMin',
- 'in' => 'query',
- 'schema' => [
- 'description' => '回源缓存数据TTL(最小值),取值范围为30 - 86400',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'maximum' => '86400',
- 'minimum' => '30',
- 'example' => '30',
- ],
- ],
- [
- 'name' => 'CacheTtlMax',
- 'in' => 'query',
- 'schema' => [
- 'description' => '回源缓存数据TTL(最大值),取值范围为30 - 86400',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'maximum' => '86400',
- 'minimum' => '30',
- 'example' => '86400',
- ],
- ],
- [
- 'name' => 'SourceProtocol',
- 'in' => 'query',
- 'schema' => [
- 'description' => '回源协议,TCP、UDP,默认值为UDP',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'UDP',
- ],
- ],
- [
- 'name' => 'SourceEdns',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '源站是否支持edns。'."\n"
- .'NOT_SUPPORT:不支持,SUPPORT:支持',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'SUPPORT',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9999999', 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'SourceDnsServer',
+ 'name' => 'PageSize',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '源站DNS服务器列表,最多支持添加10条记录',
- 'type' => 'array',
- 'items' => [
- 'description' => '源站DNS服务器',
- 'type' => 'object',
- 'properties' => [
- 'Host' => [
- 'description' => '源站服务器的域名或IP地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.168.0.1'."\n",
- ],
- 'Port' => [
- 'description' => '源站DNS服务器端口',
- 'type' => 'string',
- 'required' => false,
- 'example' => '53',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
],
'responses' => [
@@ -10494,87 +7834,109 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '总页数。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'AddrPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AddrPool' => [
+ 'description' => '地址池列表。'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPV4:ipv4地址'."\n"
+ .'- IPV6:ipv6地址'."\n"
+ .'- DOMAIN:域名', 'type' => 'string', 'example' => 'IPV4'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'MonitorStatus' => ['description' => '监控状态:'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ .'- CLOSE:关闭'."\n"
+ .'- UNCONFIGURED:未配置', 'type' => 'string', 'example' => 'OPEN'],
+ 'UpdateTime' => ['description' => '更新时间。'."\n"
+ ."\n", 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'AddrPoolId' => ['description' => '地址池id。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'hr****'],
+ 'LbaStrategy' => ['description' => '负载均衡策略'."\n"
+ ."\n"
+ .'- ALL_RR: 返回全部地址'."\n"
+ .'- RATIO:按权重返回地址', 'type' => 'string', 'example' => 'ALL_RR'],
+ 'Name' => ['description' => '地址池名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'testpool'],
+ 'AddrCount' => ['description' => '地址数量。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'MonitorConfigId' => ['description' => '监控配置id。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'abc****'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","type":"json"}]',
- 'title' => '更新 DNS 权威代理域名',
- ],
- 'UpdateDnsCacheDomainRemark' => [
- 'summary' => '更新目标域名的DNS 权威代理域名备注。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取地址池列表',
+ 'summary' => '通过GTM实例ID获取地址池列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstanceAddressPools'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstanceAddressPools',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 1,\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"AddrPools\\": {\\n \\"AddrPool\\": [\\n {\\n \\"Type\\": \\"IPV4\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorStatus\\": \\"OPEN\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrPoolId\\": \\"hr****\\",\\n \\"LbaStrategy\\": \\"ALL_RR\\",\\n \\"Name\\": \\"testpool\\",\\n \\"AddrCount\\": 1,\\n \\"MonitorConfigId\\": \\"abc****\\",\\n \\"CreateTimestamp\\": 1527690629357\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<PageSize>1</PageSize>\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<PageNumber>1</PageNumber>\\n<TotalPages>1</TotalPages>\\n<TotalItems>1</TotalItems>\\n<AddrPools>\\n <AddrPool>\\n <Type>ipv4</Type>\\n <LbaStrategy>all_rr</LbaStrategy>\\n <CreateTime>2017-12-28T13:08Z</CreateTime>\\n <UpdateTime>2017-12-28T13:08Z</UpdateTime>\\n <AddrPoolId>pool-1</AddrPoolId>\\n <UpdateTimestamp>1527690629357</UpdateTimestamp>\\n <MonitorConfigId>abc123</MonitorConfigId>\\n <MonitorStatus>open</MonitorStatus>\\n <CreateTimestamp>1527690629357</CreateTimestamp>\\n <Name>testpool</Name>\\n <AddrCount>1</AddrCount>\\n </AddrPool>\\n</AddrPools>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmInstanceStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsB25P4Z',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,取值:'."\n"
- ."\n"
- .'- **zh**:中文'."\n"
- ."\n"
- .'- **en**:英文'."\n"
- ."\n"
- .'默认为**zh**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Remark',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '备注,长度限制50个字符,只可包含中英文数字以及 . 、_、- '."\n"
- ."\n"
- .'为空时删除原有备注',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
],
],
'responses' => [
@@ -10582,71 +7944,70 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
+ 'StrategyNotAvailableNum' => ['description' => '当前生效地址池集合不可用的访问策略个数。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'AddrAvailableNum' => ['description' => '正常地址个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA'],
+ 'SwitchToFailoverStrategyNum' => ['description' => '切换到备用地址池集合的访问策略个数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'AddrNotAvailableNum' => ['description' => '故障地址个数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'AddrPoolGroupNotAvailableNum' => ['description' => '不可用地址池集合个数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","type":"json"}]',
- 'title' => '更新 DNS 权威代理域名备注',
- ],
- 'DeleteDnsCacheDomain' => [
- 'summary' => '删除指定的DNS权威代理域名。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取GTM实例状态',
+ 'summary' => '通过实例ID获取实例当前状态。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstanceStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstanceStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"StrategyNotAvailableNum\\": 1,\\n \\"AddrAvailableNum\\": 1,\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\",\\n \\"SwitchToFailoverStrategyNum\\": 1,\\n \\"AddrNotAvailableNum\\": 1,\\n \\"AddrPoolGroupNotAvailableNum\\": 1\\n}","errorExample":""},{"type":"xml","example":"<AddrAvailableNum>1</AddrAvailableNum>\\n<StrategyNotAvailableNum>1</StrategyNotAvailableNum>\\n<RequestId>389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA</RequestId>\\n<SwitchToFailoverStrategyNum>1</SwitchToFailoverStrategyNum>\\n<AddrNotAvailableNum>1</AddrNotAvailableNum>\\n<AddrPoolGroupNotAvailableNum>1</AddrPoolGroupNotAvailableNum>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmInstanceSystemCname' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsB25P4Z',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n"
- .'默认为**zh**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
],
],
'responses' => [
@@ -10654,97 +8015,82 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
+ 'SystemCname' => ['description' => '系统分配cname域名。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'gtm-cn-mp91004xxxx.gtm-a2**.com'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","type":"json"}]',
- 'title' => '删除 DNS 权威代理域名',
- ],
- 'DescribeDnsCacheDomains' => [
- 'summary' => '根据传入参数查询该用户的权威代理域名列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取系统分配的CNAME域名',
+ 'summary' => '通过实例ID获取系统分配的CNAME域名。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstanceSystemCname'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstanceSystemCname',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"SystemCname\\": \\"gtm-cn-mp91004xxxx.gtm-a2**.com\\",\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<SystemCname>gtminstance.com</SystemCname>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmInstances' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsB25P4Z',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsBCOB1Q'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n"
- .'默认为**zh**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en,zh,ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Keyword',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '关键字,按照”%Keyword%”模式搜索,不区分大小写',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'a',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9999999', 'minimum' => '1', 'example' => '1'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '1'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '查询关键字,支持实例ID、实例名称模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-testgroupid'],
],
],
'responses' => [
@@ -10752,156 +8098,132 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Domains' => [
- 'description' => '本次获取的域名列表。',
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '84314904-D047-4176-A0EC-256D7F68C7F5'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'GtmInstances' => [
+ 'description' => 'GTM实例列表。',
'type' => 'array',
'items' => [
- 'description' => '域名名称',
'type' => 'object',
'properties' => [
- 'SourceProtocol' => [
- 'description' => '回源协议,TCP、UDP。默认值为UDP',
- 'type' => 'string',
- 'example' => 'UDP',
- ],
- 'UpdateTime' => [
- 'description' => '最后更新时间',
- 'type' => 'string',
- 'example' => '2023-05-22T03:40Z',
- ],
- 'Remark' => [
- 'description' => '备注',
- 'type' => 'string',
- 'example' => 'remark',
- ],
- 'ExpireTime' => [
- 'description' => '实例过期时间',
- 'type' => 'string',
- 'example' => '2022-12-02T16:00Z',
- ],
- 'CreateTime' => [
- 'description' => '添加时间',
- 'type' => 'string',
- 'example' => '2022-10-17T06:13Z',
- ],
- 'InstanceId' => [
- 'description' => '权威代理域名实例ID',
- 'type' => 'string',
- 'example' => 'i-7***',
- ],
- 'SourceEdns' => [
- 'description' => '源站是否支持edns。NOT_SUPPORT:不支持,SUPPORT:支持',
- 'type' => 'string',
- 'example' => 'SUPPORT',
- ],
- 'DomainName' => [
- 'description' => '权威代理域名名称',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'DomainId' => [
- 'description' => '权威代理域名ID',
- 'type' => 'string',
- 'example' => '00efd71a-770e-*****************',
- ],
- 'UpdateTimestamp' => [
- 'description' => '最后更新时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1671690491000',
- ],
- 'ExpireTimestamp' => [
- 'description' => '实例过期时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1692374400000',
- ],
- 'CacheTtlMax' => [
- 'description' => '回源缓存数据TTL(最大值),取值范围为30 - 86400',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '86400',
- ],
- 'CacheTtlMin' => [
- 'description' => '回源缓存数据TTL(最小值),取值范围为30 - 86400',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'VersionCode' => [
- 'description' => '云解析版本Code',
- 'type' => 'string',
- 'example' => 'ultimate',
- ],
- 'SourceDnsServers' => [
- 'description' => '源站DNS服务器列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '源站DNS服务器',
- 'type' => 'object',
- 'properties' => [
- 'Host' => [
- 'description' => '源站服务器的域名或IP地址',
- 'type' => 'string',
- 'example' => 'ns8.alidns.com',
- ],
- 'Port' => [
- 'description' => '源站DNS服务器端口',
- 'type' => 'string',
- 'example' => '53',
+ 'PaymentType' => ['description' => '付费类型:'."\n"
+ ."\n"
+ .'- Subscription:预付费', 'type' => 'string', 'example' => 'Subscription'],
+ 'ExpireTime' => ['description' => '实例到期时间。', 'type' => 'string', 'example' => '2020-10-14T06:58Z'],
+ 'CreateTime' => ['description' => '实例创建时间。', 'type' => 'string', 'example' => '2020-10-14T06:58Z'],
+ 'SmsQuota' => ['description' => '短信通知总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InstanceId' => ['description' => '实例id。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**'],
+ 'Config' => [
+ 'description' => '实例配置信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Ttl' => ['description' => '全局TTL。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'AlertGroup' => ['description' => '报警组(List<String>的JSON格式)。', 'type' => 'string', 'example' => '["test1","test2"]'],
+ 'PublicZoneName' => ['description' => '公网接入域名。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**.dns-example.top'],
+ 'CnameType' => ['description' => 'cname接入域名类型:'."\n"
+ ."\n"
+ .'- PUBLIC:公网型', 'type' => 'string', 'example' => 'PUBLIC'],
+ 'StrategyMode' => ['description' => '访问策略模式:'."\n"
+ ."\n"
+ .'- LATENCY:基于延时'."\n"
+ .'- GEO:基于地理位置', 'type' => 'string', 'example' => 'GEO'],
+ 'InstanceName' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'instanceTest'],
+ 'PublicCnameMode' => ['description' => '公网cname接入方式:'."\n"
+ ."\n"
+ .'- CUSTOM:自定义'."\n"
+ .'- SYSTEM_ASSIGN:系统分配(此功能已关闭)', 'type' => 'string', 'example' => 'CUSTOM'],
+ 'AlertConfig' => [
+ 'description' => '报警通知方式。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SmsNotice' => ['description' => '是否配置短信通知:'."\n"
+ ."\n"
+ .'- true:已配置'."\n"
+ .'- false|null: 未配置', 'type' => 'string', 'example' => 'true'],
+ 'NoticeType' => ['description' => '报警事件类型:'."\n"
+ ."\n"
+ .'- ADDR_ALERT:地址不可用'."\n"
+ .'- ADDR_RESUME:地址恢复可用'."\n"
+ .'- ADDR_POOL_GROUP_UNAVAILABLE:地址池集合不可用'."\n"
+ .'- ADDR_POOL_GROUP_AVAILABLE:地址池集合恢复可用'."\n"
+ .'- ACCESS_STRATEGY_POOL_GROUP_SWITCH:主备地址池切换', 'type' => 'string', 'example' => 'ADDR_ALERT'],
+ 'EmailNotice' => ['description' => '是否配置邮件通知:'."\n"
+ ."\n"
+ .'- true:已配置'."\n"
+ .'- false|null:未配置', 'type' => 'string', 'example' => 'true'],
+ 'DingtalkNotice' => ['description' => '是否配置钉钉报警通知:'."\n"
+ ."\n"
+ .'- true:已配置'."\n"
+ .'- false|null:未配置', 'type' => 'string', 'example' => 'true'],
+ ],
],
],
+ 'PublicUserDomainName' => ['description' => '公网用户业务域名。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'dns-example.top'],
+ 'PublicRr' => ['description' => '公网接入主机名'."\n", 'type' => 'string', 'example' => 'test.rr'],
],
],
- 'CreateTimestamp' => [
- 'description' => '添加时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1660546144000',
+ 'ExpireTimestamp' => ['description' => '实例到期时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1602658709000'],
+ 'ResourceGroupId' => ['description' => '资源组Id。', 'type' => 'string', 'example' => 'resourceGroupid123'],
+ 'VersionCode' => ['description' => '实例版本。', 'type' => 'string', 'example' => 'standard'],
+ 'UsedQuota' => [
+ 'description' => '已使用的配额。'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EmailUsedCount' => ['description' => '已发送邮件总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'TaskUsedCount' => ['description' => '已创建探测任务数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'SmsUsedCount' => ['description' => '已发送短信总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'DingtalkUsedCount' => ['description' => '已发送钉钉总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ ],
],
+ 'TaskQuota' => ['description' => '探测任务总数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'CreateTimestamp' => ['description' => '创建时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1602658709000'],
],
],
],
- 'TotalCount' => [
- 'description' => '域名列表总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码',
- 'type' => 'string',
- 'example' => '57121A9C-CDCF-541F-AD39-275D89099420',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '123'],
+ 'TotalItems' => ['description' => '总个数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Domains\\": [\\n {\\n \\"SourceProtocol\\": \\"UDP\\",\\n \\"UpdateTime\\": \\"2023-05-22T03:40Z\\",\\n \\"Remark\\": \\"remark\\",\\n \\"ExpireTime\\": \\"2022-12-02T16:00Z\\",\\n \\"CreateTime\\": \\"2022-10-17T06:13Z\\",\\n \\"InstanceId\\": \\"i-7***\\",\\n \\"SourceEdns\\": \\"SUPPORT\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DomainId\\": \\"00efd71a-770e-*****************\\",\\n \\"UpdateTimestamp\\": 1671690491000,\\n \\"ExpireTimestamp\\": 1692374400000,\\n \\"CacheTtlMax\\": 86400,\\n \\"CacheTtlMin\\": 30,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"SourceDnsServers\\": [\\n {\\n \\"Host\\": \\"ns8.alidns.com\\",\\n \\"Port\\": \\"53\\"\\n }\\n ],\\n \\"CreateTimestamp\\": 1660546144000\\n }\\n ],\\n \\"TotalCount\\": 3,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"57121A9C-CDCF-541F-AD39-275D89099420\\",\\n \\"PageNumber\\": 1\\n}","type":"json"}]',
- 'title' => '获取 DNS 权威代理域名',
- ],
- 'CreateCloudGtmInstanceConfig' => [
- 'summary' => '创建gtm实例配置。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取GTM实例列表',
+ 'summary' => '获取实例列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstances'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 1,\\n \\"RequestId\\": \\"84314904-D047-4176-A0EC-256D7F68C7F5\\",\\n \\"PageNumber\\": 1,\\n \\"GtmInstances\\": [\\n {\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"ExpireTime\\": \\"2020-10-14T06:58Z\\",\\n \\"CreateTime\\": \\"2020-10-14T06:58Z\\",\\n \\"SmsQuota\\": 1,\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"Config\\": {\\n \\"Ttl\\": 60,\\n \\"AlertGroup\\": \\"[\\\\\\"test1\\\\\\",\\\\\\"test2\\\\\\"]\\",\\n \\"PublicZoneName\\": \\"gtm-cn-wwo3a3hbz**.dns-example.top\\",\\n \\"CnameType\\": \\"PUBLIC\\",\\n \\"StrategyMode\\": \\"GEO\\",\\n \\"InstanceName\\": \\"instanceTest\\",\\n \\"PublicCnameMode\\": \\"CUSTOM\\",\\n \\"AlertConfig\\": [\\n {\\n \\"SmsNotice\\": \\"true\\",\\n \\"NoticeType\\": \\"ADDR_ALERT\\",\\n \\"EmailNotice\\": \\"true\\",\\n \\"DingtalkNotice\\": \\"true\\"\\n }\\n ],\\n \\"PublicUserDomainName\\": \\"dns-example.top\\",\\n \\"PublicRr\\": \\"test.rr\\"\\n },\\n \\"ExpireTimestamp\\": 1602658709000,\\n \\"ResourceGroupId\\": \\"resourceGroupid123\\",\\n \\"VersionCode\\": \\"standard\\",\\n \\"UsedQuota\\": {\\n \\"EmailUsedCount\\": 100,\\n \\"TaskUsedCount\\": 100,\\n \\"SmsUsedCount\\": 100,\\n \\"DingtalkUsedCount\\": 100\\n },\\n \\"TaskQuota\\": 1,\\n \\"CreateTimestamp\\": 1602658709000\\n }\\n ],\\n \\"TotalPages\\": 123,\\n \\"TotalItems\\": 100\\n}","errorExample":""},{"type":"xml","example":"<RequestId>84314904-D047-4176-A0EC-256D7F68C7F5</RequestId>\\n<PageSize>1</PageSize>\\n<PageNumber>1</PageNumber>\\n<GtmInstances>\\n <VersionCode>testVersion1</VersionCode>\\n <ExpireTimestamp>1602658709000</ExpireTimestamp>\\n <ResourceGroupId>resourceGroupid123</ResourceGroupId>\\n <InstanceId>instance1</InstanceId>\\n <TaskQuota>1</TaskQuota>\\n <CreateTime>2020-10-14T06:58Z</CreateTime>\\n <PaymentType>Subscription</PaymentType>\\n <ExpireTime>2020-10-14T06:58Z</ExpireTime>\\n <CreateTimestamp>1602658709000</CreateTimestamp>\\n <SmsQuota>1</SmsQuota>\\n <Config>\\n <InstanceName>instanceTest</InstanceName>\\n <AlertGroup>[\\"test1\\",\\"test2\\"]</AlertGroup>\\n <CnameType>public</CnameType>\\n <PublicUserDomainName>example.com</PublicUserDomainName>\\n <PublicZoneName>test.rr.gtm-003.com</PublicZoneName>\\n <PublicRr>test.rr</PublicRr>\\n <StrategyMode>geo</StrategyMode>\\n <Ttl>1</Ttl>\\n <PublicCnameMode>custom</PublicCnameMode>\\n <AlertConfig>\\n <EmailNotice>true</EmailNotice>\\n <NoticeType>ADDR_ALERT</NoticeType>\\n <SmsNotice>true</SmsNotice>\\n <DingtalkNotice>true</DingtalkNotice>\\n </AlertConfig>\\n </Config>\\n <UsedQuota>\\n <TaskUsedCount>100</TaskUsedCount>\\n <DingtalkUsedCount>100</DingtalkUsedCount>\\n <SmsUsedCount>100</SmsUsedCount>\\n <EmailUsedCount>100</EmailUsedCount>\\n </UsedQuota>\\n</GtmInstances>\\n<TotalPages>123</TotalPages>\\n<TotalItems>100</TotalItems>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmLogs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10909,154 +8231,44 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeNodes' => [
- 'FEATUREdnsBCOB1Q',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US:英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
- ],
- [
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'title' => '调度实例id',
- 'description' => '全局流量管理3.0实例ID,唯一标识产品实例。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-jmp3qnw**03',
- ],
- ],
- [
- 'name' => 'ScheduleZoneMode',
- 'in' => 'query',
- 'schema' => [
- 'title' => '接入zone分配模式',
- 'description' => '接入域名配置模式:'."\n"
- ."\n"
- .'- sys_assign:系统分配(此模式已不支持)'."\n"
- ."\n"
- .'- custom:自定义,用户需选择实例所在账号下的域名进行关联,并输入主机记录以生成接入域名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'custom',
- ],
+ 'schema' => ['description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
],
[
- 'name' => 'ScheduleZoneName',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'title' => 'zone名称',
- 'description' => 'zone名称,即GTM接入域名的父Zone。一般为GTM实例所在账号下,在云解析DNS控制台的托管域名,支持主域和子域。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '关键字,按照”%KeyWord%”模式搜索,不区分大小写。', 'type' => 'string', 'required' => false, 'example' => 'demo'],
],
[
- 'name' => 'ScheduleHostname',
- 'in' => 'query',
- 'schema' => [
- 'title' => '主机记录',
- 'description' => 'GTM接入域名的主机记录。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www',
- ],
- ],
- [
- 'name' => 'ScheduleRrType',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => '调度解析记录类型',
- 'description' => '接入域名的解析记录类型:'."\n"
- ."\n"
- .'- A:IPv4地址'."\n"
- ."\n"
- .'- AAAA:IPv6地址'."\n"
- ."\n"
- .'- CNAME:域名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'A',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9999999', 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'Ttl',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'title' => '调度调度实例的TTL',
- 'description' => '全局TTL,单位是秒。接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '30',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
[
- 'name' => 'Remark',
- 'in' => 'query',
- 'schema' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- ],
- [
- 'name' => 'EnableStatus',
+ 'name' => 'StartTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '域名实例的启用状态:'."\n"
- ."\n"
- .'- enable:启用状态,GTM实例智能调度策略生效;'."\n"
- ."\n"
- .'- disable:禁用状态,GTM实例智能调度策略不可用;',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '查询的开始时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '999999999999999', 'minimum' => '1', 'example' => '1516779348000'],
],
[
- 'name' => 'ChargeType',
+ 'name' => 'EndTimestamp',
'in' => 'query',
- 'schema' => [
- 'title' => '实例配置的付费类型,不填默认为预付费',
- 'description' => '实例配置的付费类型:'."\n"
- ."\n"
- .'- 预付费:prepay (传入空值默认是prepay)'."\n"
- ."\n"
- .'- 后付费:postpay',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'postpay',
- ],
+ 'schema' => ['description' => '查询的结束时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '999999999999999', 'minimum' => '1', 'example' => '1516779348000'],
],
],
'responses' => [
@@ -11064,47 +8276,79 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ConfigId' => [
- 'description' => '域名实例配置id,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。',
- 'type' => 'boolean',
- 'example' => 'config-000**1',
- ],
- 'InstanceId' => [
- 'title' => '返回实例Id',
- 'description' => '返回实例Id',
- 'type' => 'string',
- 'example' => 'gtm-cn-xxxxx',
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '50C60A29-2E93-425A-ABA8-068686E28873'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Logs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Log' => [
+ 'description' => '日志列表。'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OperTimestamp' => ['description' => '操作时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1516779348000'],
+ 'EntityId' => ['description' => '操作对象Id。'."\n"
+ ."\n", 'type' => 'string', 'example' => '121*****'],
+ 'EntityType' => ['description' => '操作的对象类型。'."\n"
+ ."\n", 'type' => 'string', 'example' => '地址池'],
+ 'OperTime' => ['description' => '操作时间。'."\n"
+ ."\n", 'type' => 'string', 'example' => '2018-01-24T07:35Z'],
+ 'OperAction' => ['description' => '操作的动作。'."\n"
+ ."\n", 'type' => 'string', 'example' => '增加'],
+ 'Content' => ['description' => '格式化的消息内容。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'addtest-pool-1'],
+ 'EntityName' => ['description' => '操作对象名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'test-pool-1'],
+ 'Id' => ['description' => '记录Id。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '67****'],
+ ],
+ ],
+ ],
+ ],
],
+ 'TotalItems' => ['description' => '总个数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true,\\n \\"ConfigId\\": true,\\n \\"InstanceId\\": \\"gtm-cn-xxxxx\\"\\n}","type":"json"}]',
- 'title' => '创建域名实例配置',
- ],
- 'UpdateCloudGtmInstanceName' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取GTM操作日志列表',
+ 'summary' => '通过实例ID获取操作日志列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmLogs'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"50C60A29-2E93-425A-ABA8-068686E28873\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"Logs\\": {\\n \\"Log\\": [\\n {\\n \\"OperTimestamp\\": 1516779348000,\\n \\"EntityId\\": \\"121*****\\",\\n \\"EntityType\\": \\"地址池\\",\\n \\"OperTime\\": \\"2018-01-24T07:35Z\\",\\n \\"OperAction\\": \\"增加\\",\\n \\"Content\\": \\"addtest-pool-1\\",\\n \\"EntityName\\": \\"test-pool-1\\",\\n \\"Id\\": 0\\n }\\n ]\\n },\\n \\"TotalItems\\": 1\\n}","errorExample":""},{"type":"xml","example":"<PageSize>1</PageSize>\\n<RequestId>50C60A29-2E93-425A-ABA8-068686E28873</RequestId>\\n<PageNumber>1</PageNumber>\\n<TotalPages>1</TotalPages>\\n<Logs>\\n <Log>\\n <EntityId>121212</EntityId>\\n <EntityType>地址池</EntityType>\\n <EntityName>test-pool-1</EntityName>\\n <OperTime>2018-01-24T07:35Z</OperTime>\\n <Content>addtest-pool-1</Content>\\n <OperTimestamp>1516779348000</OperTimestamp>\\n <Id>6726</Id>\\n <OperAction>增加</OperAction>\\n </Log>\\n</Logs>\\n<TotalItems>1</TotalItems>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmMonitorAvailableConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11112,53 +8356,12 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22',
- ],
- ],
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'GTM实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-jmp3qnw**03',
- ],
- ],
- [
- 'name' => 'InstanceName',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '实例名称,不可传入空值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
],
'responses' => [
@@ -11166,37 +8369,212 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
+ 'Ipv4IspCityNodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ipv4IspCityNode' => [
+ 'description' => '公网Ipv4监控节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '公网ipv4监控节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '城市编码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '503'],
+ 'GroupName' => ['description' => '节点分组名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'BGP节点'],
+ 'IspCode' => ['description' => '运营商编码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '465'],
+ 'CityName' => ['description' => '城市展示名。'."\n"
+ ."\n", 'type' => 'string', 'example' => '张家口市'],
+ 'IspName' => ['description' => '运营商展示名。'."\n"
+ ."\n", 'type' => 'string', 'example' => '阿里巴巴'],
+ 'GroupType' => ['description' => '节点分组类型,当前支持:'."\n"
+ ."\n"
+ .'- BGP:BGP节点'."\n"
+ .'- OVERSEAS:国际节点'."\n"
+ .'- ISP:运营商节点', 'type' => 'string', 'example' => 'BGP'],
+ 'DefaultSelected' => ['description' => '是否默认选中。', 'type' => 'boolean', 'example' => 'true'],
+ 'Ips' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ip' => [
+ 'description' => '节点ip列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '节点IP列表。', 'type' => 'string', 'example' => '['."\n"
+ .' "1.1.XX.XX",'."\n"
+ .' "2.2.XX.XX"'."\n"
+ .']'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
- 'Success' => [
- 'description' => '本次修改实例名称操作是否成功:'."\n"
- ."\n"
- .'- true:成功'."\n"
- ."\n"
- .'- false:失败',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'DomainIpv4IspCityNodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DomainIpv4IspCityNode' => [
+ 'description' => '公网域名Ipv4监控节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '公网域名Ipv4监控节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '城市编码。', 'type' => 'string', 'example' => '503'],
+ 'GroupName' => ['description' => '节点分组名称。', 'type' => 'string', 'example' => 'BGP节点'],
+ 'IspCode' => ['description' => '运营商编码。', 'type' => 'string', 'example' => '465'],
+ 'CityName' => ['description' => '城市展示名。', 'type' => 'string', 'example' => '张家口市'],
+ 'IspName' => ['description' => '运营商展示名。', 'type' => 'string', 'example' => '阿里巴巴'],
+ 'GroupType' => ['description' => '节点分组类型,当前支持:'."\n"
+ ."\n"
+ .'- BGP:BGP节点'."\n"
+ .'- OVERSEAS:国际节点'."\n"
+ .'- ISP:运营商节点', 'type' => 'string', 'example' => 'BGP'],
+ 'DefaultSelected' => ['description' => '是否默认选中。', 'type' => 'boolean', 'example' => 'true'],
+ 'Ips' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ip' => [
+ 'description' => '节点ip列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '节点IP。', 'type' => 'string', 'example' => '['."\n"
+ .' "1.1.XX.XX",'."\n"
+ .' "2.2.XX.XX"'."\n"
+ .']'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'DomainIpv6IspCityNodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DomainIpv6IspCityNode' => [
+ 'description' => '公网域名Ipv6监控节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '公网域名ipv6监控节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '城市编码。', 'type' => 'string', 'example' => '503'],
+ 'GroupName' => ['description' => '节点分组名称。', 'type' => 'string', 'example' => 'BGP节点'],
+ 'IspCode' => ['description' => '运营商编码。', 'type' => 'string', 'example' => '465'],
+ 'CityName' => ['description' => '城市展示名。', 'type' => 'string', 'example' => '张家口市'],
+ 'IspName' => ['description' => '运营商展示名。', 'type' => 'string', 'example' => '阿里巴巴'],
+ 'GroupType' => ['description' => '节点分组类型,当前支持:'."\n"
+ ."\n"
+ .'- BGP:BGP节点'."\n"
+ .'- OVERSEAS:国际节点'."\n"
+ .'- ISP:运营商节点', 'type' => 'string', 'example' => 'BGP'],
+ 'DefaultSelected' => ['description' => '是否默认选中。', 'type' => 'boolean', 'example' => 'false'],
+ 'Ips' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ip' => [
+ 'description' => '暂不开放此返回参数。',
+ 'type' => 'array',
+ 'items' => ['description' => '暂不开放此返回参数。', 'type' => 'string', 'example' => '暂无'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Ipv6IspCityNodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ipv6IspCityNode' => [
+ 'description' => '公网Ipv6监控节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '公网Ipv6监控节点。'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '城市编码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '503'],
+ 'GroupName' => ['description' => '节点分组名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'BGP节点'],
+ 'IspCode' => ['description' => '运营商编码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '465'],
+ 'CityName' => ['description' => '城市展示名。'."\n"
+ ."\n", 'type' => 'string', 'example' => '张家口市'],
+ 'IspName' => ['description' => '运营商展示名。'."\n"
+ ."\n", 'type' => 'string', 'example' => '阿里巴巴'],
+ 'GroupType' => ['description' => '节点分组类型,当前支持:'."\n"
+ ."\n"
+ .'- BGP:BGP节点'."\n"
+ .'- OVERSEAS:国际节点'."\n"
+ .'- ISP:运营商节点', 'type' => 'string', 'example' => 'BGP'],
+ 'DefaultSelected' => ['description' => '是否默认选中。'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'Ips' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ip' => [
+ 'description' => '暂不开放此返回参数。',
+ 'type' => 'array',
+ 'items' => ['description' => '暂不开放此返回参数。', 'type' => 'string', 'example' => '暂无'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '修改实例名称',
- ],
- 'SetCloudGtmInstanceConfigLogSwitch' => [
- 'summary' => '按需启用或停用全局流量管理(GTM)实例的流量分析功能。'."\n"
- .'启用后,即可查看该接入域名的解析日志、统计报表,并享受基于异常指标(如解析成功率、QPS 突变等)的智能告警服务,全面提升 GTM 解析的可观测性与运维效率。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取 DNS 健康检查可设置的配置',
+ 'summary' => '获取 DNS 健康检查可设置的配置。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmMonitorAvailableConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmMonitorAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Ipv4IspCityNodes\\": {\\n \\"Ipv4IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"DefaultSelected\\": true,\\n \\"Ips\\": {\\n \\"Ip\\": [\\n \\"[\\\\n \\\\\\"1.1.XX.XX\\\\\\",\\\\n \\\\\\"2.2.XX.XX\\\\\\"\\\\n]\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"DomainIpv4IspCityNodes\\": {\\n \\"DomainIpv4IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"DefaultSelected\\": true,\\n \\"Ips\\": {\\n \\"Ip\\": [\\n \\"[\\\\n \\\\\\"1.1.XX.XX\\\\\\",\\\\n \\\\\\"2.2.XX.XX\\\\\\"\\\\n]\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"DomainIpv6IspCityNodes\\": {\\n \\"DomainIpv6IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"DefaultSelected\\": false,\\n \\"Ips\\": {\\n \\"ip\\": [\\n \\"暂无\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"Ipv6IspCityNodes\\": {\\n \\"Ipv6IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"DefaultSelected\\": true,\\n \\"Ips\\": {\\n \\"Ip\\": [\\n \\"暂无\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Ipv4IspCityNodes>\\n <Ipv4IspCityNode>\\n <CityCode>503</CityCode>\\n <GroupName>BGP节点</GroupName>\\n <IspName>阿里巴巴</IspName>\\n <GroupType>BGP</GroupType>\\n <CityName>张家口市</CityName>\\n <IspCode>465</IspCode>\\n <DefaultSelected>true</DefaultSelected>\\n <Ips>\\n <Ip>1.1.1.1</Ip>\\n <Ip>2.2.2.2</Ip>\\n </Ips>\\n </Ipv4IspCityNode>\\n</Ipv4IspCityNodes>\\n<DomainIpv4IspCityNodes>\\n <DomainIpv4IspCityNode>\\n <CityCode>503</CityCode>\\n <GroupName>BGP节点</GroupName>\\n <IspName>阿里巴巴</IspName>\\n <GroupType>BGP</GroupType>\\n <CityName>张家口市</CityName>\\n <IspCode>465</IspCode>\\n <DefaultSelected>true</DefaultSelected>\\n <Ips>\\n <Ip>1.1.1.1</Ip>\\n <Ip>2.2.2.2</Ip>\\n </Ips>\\n </DomainIpv4IspCityNode>\\n</DomainIpv4IspCityNodes>\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<DomainIpv6IspCityNodes>\\n <DomainIpv6IspCityNode>\\n <CityCode>503</CityCode>\\n <GroupName>BGP节点</GroupName>\\n <IspName>阿里巴巴</IspName>\\n <GroupType>BGP</GroupType>\\n <CityName>张家口市</CityName>\\n <IspCode>465</IspCode>\\n <DefaultSelected>false</DefaultSelected>\\n </DomainIpv6IspCityNode>\\n</DomainIpv6IspCityNodes>\\n<Ipv6IspCityNodes>\\n <Ipv6IspCityNode>\\n <CityCode>503</CityCode>\\n <GroupName>BGP节点</GroupName>\\n <IspName>阿里巴巴</IspName>\\n <GroupType>BGP</GroupType>\\n <CityName>张家口市</CityName>\\n <IspCode>465</IspCode>\\n <DefaultSelected>true</DefaultSelected>\\n </Ipv6IspCityNode>\\n</Ipv6IspCityNodes>","errorExample":""}]',
+ ],
+ 'DescribeDnsGtmMonitorConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11204,61 +8582,18 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsXET43R',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。'."\n"
- ."\n"
- .'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId可能不一样。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [],
- 'example' => 'F4D7C841-A1C9-50B4-88B7-F5****',
- ],
- ],
- [
- 'name' => 'InstanceId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '全局流量管理GTM 3.0实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3h****',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ConfigId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。'."\n"
- .'调用[ListCloudGtmInstanceConfigs](~~2797349~~) 接口可查询域名实例对应的 ConfigId 值。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Config-000****',
- ],
- ],
- [
- 'name' => 'Status',
+ 'name' => 'MonitorConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例启用流量分析的状态:'."\n"
- .'- enable:开启,设置启用当前接入域名的流量分析;'."\n"
- .'- disable:关闭,设置关闭当前接入域名的流量分析;'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'enable'."\n"
- .'disable',
- ],
+ 'schema' => ['description' => '健康检查配置id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPool](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_6.7db77000nMCPI1)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPool](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Moni*******'],
],
],
'responses' => [
@@ -11266,91 +8601,158 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功:'."\n"
- .'- **true**:调用成功。'."\n"
- .'- **false**:调用失败。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'Timeout' => ['description' => '超时时间。单位毫秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '3000'],
+ 'ProtocolType' => ['description' => '检查协议:'."\n"
+ ."\n"
+ .'- HTTP'."\n"
+ .'- HTTPS'."\n"
+ .'- PING'."\n"
+ .'- TCP', 'type' => 'string', 'example' => 'TCP'],
+ 'IspCityNodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'IspCityNode' => [
+ 'description' => '监控节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '监控节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '城市编码。', 'type' => 'string', 'example' => '572'],
+ 'CountryName' => ['description' => '国家展示名。'."\n"
+ ."\n", 'type' => 'string', 'example' => '中国'],
+ 'IspCode' => ['description' => '运营商编码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '123'],
+ 'CityName' => ['description' => '城市展示名。'."\n"
+ ."\n", 'type' => 'string', 'example' => '青岛市'],
+ 'CountryCode' => ['description' => '国家编码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '001'],
+ 'IspName' => ['description' => '运营商名称。'."\n"
+ ."\n", 'type' => 'string', 'example' => '阿里巴巴'],
+ ],
+ ],
+ ],
+ ],
],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'UpdateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2018-01-03T08:57Z'],
+ 'EvaluationCount' => ['description' => '连续失败次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'MonitorExtendInfo' => ['description' => '扩展信息,各协议检查所需参数:'."\n"
+ ."\n"
+ .'- HTTP(S):'."\n"
+ ."\n"
+ .' - port:检查端口'."\n"
+ .' - host:Host设置'."\n"
+ .' - path:URL路径'."\n"
+ .' - code:返回码大于'."\n"
+ .' - failureRate:失败率'."\n"
+ .' - sni:是否开启sni,仅在HTTPS协议时使用。'."\n"
+ .' - true-开启'."\n"
+ .' - false-未开启'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6'."\n"
+ ."\n"
+ .'- PING:'."\n"
+ ."\n"
+ .' - failureRate:失败率'."\n"
+ .' - packetNum:ping包数'."\n"
+ .' - packetLossRate:ping丢包率'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6'."\n"
+ ."\n"
+ .'- TCP:'."\n"
+ ."\n"
+ .' - port:检查端口'."\n"
+ .' - failureRate:失败率'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6'."\n"
+ ."\n", 'type' => 'string', 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}'],
+ 'MonitorConfigId' => ['description' => '健康检查配置id。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'Monit*********'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'Interval' => ['description' => '检查间隔,单位秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '启用/禁用全局流量管理流量分析',
- ],
- 'DescribeCloudGtmInstanceConfigFullInfo' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取 DNS 地址池健康检查配置',
+ 'summary' => '获取地址池健康检查配置。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmMonitorConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmMonitorConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Timeout\\": 3000,\\n \\"ProtocolType\\": \\"TCP\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"572\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"IspCode\\": \\"123\\",\\n \\"CityName\\": \\"青岛市\\",\\n \\"CountryCode\\": \\"001\\",\\n \\"IspName\\": \\"阿里巴巴\\"\\n }\\n ]\\n },\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"UpdateTime\\": \\"2018-01-03T08:57Z\\",\\n \\"EvaluationCount\\": 3,\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorExtendInfo\\": \\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":200,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\index.htm\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aliyun.com\\\\\\\\\\\\\\"}\\",\\n \\"MonitorConfigId\\": \\"Monit*********\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"Interval\\": 1\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<Timeout>3000</Timeout>\\n<ProtocolType>http</ProtocolType>\\n<IspCityNodes>\\n <IspCityNode>\\n <CityCode>572</CityCode>\\n <IspName>阿里巴巴</IspName>\\n <CountryName>中国</CountryName>\\n <CityName>青岛市</CityName>\\n <CountryCode>001</CountryCode>\\n <IspCode>123</IspCode>\\n </IspCityNode>\\n</IspCityNodes>\\n<CreateTime>2017-12-28T13:08Z</CreateTime>\\n<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\n<EvaluationCount>1</EvaluationCount>\\n<MonitorExtendInfo>\\"{\\\\\\"code\\\\\\":200,\\\\\\"path\\\\\\":\\\\\\"\\\\\\\\index.htm\\\\\\",\\\\\\"host\\\\\\":\\\\\\"aliyun.com\\\\\\"}\\"</MonitorExtendInfo>\\n<UpdateTimestamp>1527690629357</UpdateTimestamp>\\n<MonitorConfigId>MonitorConfigId1</MonitorConfigId>\\n<CreateTimestamp>1527690629357</CreateTimestamp>\\n<Interval>1</Interval>","errorExample":""}]',
+ ],
+ 'DescribeDnsProductInstance' => [
+ 'summary' => '根据实例ID获取云解析收费版本产品实例的详情信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsT5OPHE'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
'schema' => [
- 'description' => '返回信息的语言类型:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
+ 'description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
."\n"
- .'- en-US(默认值):英文',
+ .'默认:en',
'type' => 'string',
'required' => false,
- 'example' => 'en-US',
+ 'enumValueTitles' => [],
+ 'example' => 'en',
],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.0'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '全局流量管理3.0实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3h****',
- ],
- ],
- [
- 'name' => 'ConfigId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名实例配置ID。相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。'."\n"
- ."\n"
- .'调用[ListCloudGtmInstanceConfigs](~~2797349~~)接口可查询域名实例对应的ConfigId值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Config-000****',
- ],
+ 'schema' => ['description' => '实例ID。<props="china">可通过调用[DescribeDomainInfo](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomaininfo?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomainInfo](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomaininfo?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i-8fxxxx'],
],
],
'responses' => [
@@ -11358,691 +8760,191 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '全局流量管理3.0实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3h****',
- ],
- 'ConfigId' => [
- 'title' => '实例id',
- 'description' => '域名实例配置ID。'."\n"
- .'相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。',
- 'type' => 'string',
- 'example' => 'Config-000****',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '实例创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '实例创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'VersionCode' => [
- 'title' => '版本code',
- 'description' => '全局流量管理3.0实例版本:'."\n"
- ."\n"
- .'- standard:标准版'."\n"
- ."\n"
- .'- ultimate:旗舰版',
- 'type' => 'string',
- 'example' => 'ultimate',
- ],
- 'CommodityCode' => [
- 'title' => '商品code',
- 'description' => '商品编码:'."\n"
- ."\n"
- .'- dns_gtm_public_cn:中国站商品编码。'."\n"
- ."\n"
- .'- dns_gtm_public_intl:国际站商品编码。',
- 'type' => 'string',
- 'example' => 'dns_gtm_public_cn',
- ],
- 'InstanceName' => [
- 'title' => '调度实例名称',
- 'description' => '调度实例名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ScheduleZoneMode' => [
- 'title' => '接入zone分配模式',
- 'description' => '接入域名分配模式:'."\n"
- ."\n"
- .'- custom:自定义接入域名,用户自定义主机记录,并关联GTM实例所在账号下的主域或子域,生成接入域名。'."\n"
- ."\n"
- .'- sys_assign:系统默认分配接入域名,本功能已经不支持,请勿选择此模式。',
- 'type' => 'string',
- 'example' => 'custom',
- ],
- 'ScheduleZoneName' => [
- 'title' => 'zone名称',
- 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'ScheduleHostname' => [
- 'title' => '主机记录',
- 'description' => 'GTM接入域名的主机记录。',
- 'type' => 'string',
- 'example' => 'www',
- ],
- 'ScheduleDomainName' => [
- 'title' => '域名,主机记录+zoneNamne',
- 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)',
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
- 'ScheduleRrType' => [
- 'title' => '调度解析记录类型',
- 'description' => '调度域名的解析记录类型:'."\n"
- ."\n"
- .'- A:IPv4地址'."\n"
- ."\n"
- .'- AAAA:IPv6地址'."\n"
- ."\n"
- .'- CNAME:域名',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Ttl' => [
- 'title' => '调度调度实例的TTL',
- 'description' => '全局TTL(单位:秒),接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'AddressPoolLbStrategy' => [
- 'title' => '地址池的负载均衡策略',
- 'description' => '地址池之间的负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序;'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'title' => '顺序负载策略模式(抢占式、非抢占式)',
- 'description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。',
- 'type' => 'string',
- 'example' => 'preemptive',
- ],
- 'AvailableStatus' => [
- 'description' => '域名实例服务可用状态:'."\n"
- ."\n"
- .'- available:可用,域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
- ."\n"
- .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态',
- 'description' => '域名实例的启用状态:'."\n"
- ."\n"
- .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
- ."\n"
- .'- disable:禁用状态,GTM实例智能调度策略不可用。',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthStatus' => [
- 'title' => '监控状态',
- 'description' => '域名实例健康状态:'."\n"
- ."\n"
- .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'AlertGroup' => [
- 'title' => '告警通知组',
- 'description' => '告警通知组。',
- 'type' => 'string',
- 'example' => '[\\"云账号报警联系人\\"]',
- ],
- 'AlertConfig' => [
- 'title' => '告警通知配置',
- 'description' => '告警通知配置。',
- 'type' => 'string',
- 'example' => '[{\\"NoticeType\\":\\"addr_alert\\",\\"SmsNotice\\":true,\\"EmailNotice\\":true,\\"DingtalkNotice\\":true},{\\"NoticeType\\":\\"addr_resume\\",\\"SmsNotice\\":true,\\"EmailNotice\\":true,\\"DingtalkNotice\\":true},{\\"NoticeType\\":\\"addr_pool_unavailable\\",\\"SmsNotice\\":true,\\"EmailNotice\\":true,\\"DingtalkNotice\\":true},{\\"NoticeType\\":\\"addr_pool_available\\",\\"SmsNotice\\":true,\\"EmailNotice\\":true,\\"DingtalkNotice\\":true}]"',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '域名实例配置的备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'AddressPools' => [
+ 'MonitorNodeCount' => ['description' => '监控节点个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'InBlackHole' => ['description' => '域名是否处于黑洞状态。'."\n"
+ ."\n"
+ .'- true:处于黑洞状态'."\n"
+ ."\n"
+ .'- false:非黑洞状态', 'type' => 'boolean', 'example' => 'false'],
+ 'BindDomainCount' => ['description' => '适用于个人版、企业旗舰版用户调用,指付费版DNS实例可以绑定的域名个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'RegionLines' => ['description' => '是否是地域线路。'."\n"
+ ."\n"
+ .'- true:地域线路'."\n"
+ ."\n"
+ .'- false:非地域线路', 'type' => 'boolean', 'example' => 'true'],
+ 'BindCount' => ['description' => '适用于定制版用户调用,指付费版DNS实例可支持更换域名次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'EndTime' => ['description' => '实例到期时间。', 'type' => 'string', 'example' => '2015-12-12T09:23Z'],
+ 'StartTimestamp' => ['description' => '实例购买时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1474335170000'],
+ 'ISPLines' => ['description' => '运营商解析请求来源线路列表。'."\n"
+ ."\n"
+ .'- 中国电信'."\n"
+ .'- 中国移动'."\n"
+ .'- 中国联通'."\n"
+ .'- 中国教育网'."\n"
+ .'- 中国广电网'."\n"
+ .'- 中国鹏博士', 'type' => 'string', 'example' => '中国电信'],
+ 'EndTimestamp' => ['description' => '实例到期时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1474335170000'],
+ 'DnsServers' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'AddressPool' => [
- 'description' => '地址池列表。',
+ 'DnsServer' => [
+ 'description' => '域名当前设置的DNS服务器列表。',
'type' => 'array',
- 'items' => [
- 'description' => '地址池配置信息。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => '地址池创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '地址池创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'description' => '地址池最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '地址池最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357'."\n",
- ],
- 'AddressPoolId' => [
- 'title' => '地址池Id',
- 'description' => '地址池ID,地址池的唯一标识码。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442****',
- ],
- 'WeightValue' => [
- 'title' => '权重值',
- 'description' => '权重值(1-100之间的整数,包括1和100),支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SerialNumber' => [
- 'title' => '序号',
- 'description' => '顺序号,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestSource' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'RequestSource' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。',
- 'type' => 'string',
- 'example' => '["default"]',
- ],
- ],
- ],
- ],
- 'AddressPoolName' => [
- 'title' => '地址池名称',
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'AddressPool-1',
- ],
- 'AddressPoolType' => [
- 'title' => '地址池类型ipv4、ipv6、domain',
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'AddressLbStrategy' => [
- 'title' => '地址负载策略',
- 'description' => '地址池中地址间负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'title' => '顺序负载策略模式(抢占式、非抢占式)',
- 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。',
- 'type' => 'string',
- 'example' => 'preemptive',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态',
- 'description' => '地址池启用状态:'."\n"
- ."\n"
- .'- enable:启用状态。'."\n"
- .'- disable:禁用状态。',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthJudgement' => [
- 'title' => '健康判定',
- 'description' => '地址池健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
- ."\n"
- .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
- ."\n"
- .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
- ."\n"
- .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
- ."\n"
- .'- all_ok:地址池内地址全部可用。',
- 'type' => 'string',
- 'example' => 'any_ok',
- ],
- 'HealthStatus' => [
- 'title' => '健康状态',
- 'description' => '地址池健康状态:'."\n"
- ."\n"
- .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析'."\n"
- ."\n"
- .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'AvailableStatus' => [
- 'title' => '可用性状态',
- 'description' => '地址池可用性状态:'."\n"
- ."\n"
- .'- available:可用。'."\n"
- ."\n"
- .'- unavailable:不可用。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'Addresses' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Address' => [
- 'description' => '地址列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '地址信息。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '地址创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '地址创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '地址最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '地址最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357'."\n",
- ],
- 'AddressId' => [
- 'title' => '地址 ID',
- 'description' => '地址ID,唯一标识地址。',
- 'type' => 'string',
- 'example' => 'addr-89564712295703****',
- ],
- 'WeightValue' => [
- 'title' => '权重',
- 'description' => '权重值(1-100内的整数,包括1和100),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SerialNumber' => [
- 'title' => '序号',
- 'description' => '顺序号,标识地址返回的优先级,越小优先级越高。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestSource' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'RequestSource' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。',
- 'type' => 'string',
- 'example' => '["default"]',
- ],
- ],
- ],
- ],
- 'Name' => [
- 'title' => '地址名称',
- 'description' => '地址名称。',
- 'type' => 'string',
- 'example' => 'Address-1',
- ],
- 'Type' => [
- 'title' => '地址类型',
- 'description' => '地址类型:'."\n"
- ."\n"
- .'- IPv4: IPv4地址'."\n"
- ."\n"
- .'- IPv6: IPv6地址'."\n"
- ."\n"
- .'- domain:域名',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'Address' => [
- 'title' => '地址',
- 'description' => 'IP地址或者域名。',
- 'type' => 'string',
- 'example' => '223.5.XX.XX',
- ],
- 'AttributeInfo' => [
- 'title' => '地址归属信息',
- 'description' => '地址归属信息,当前版本不支持返回此参数。',
- 'type' => 'string',
- 'example' => '当前版本不支持返回此参数。',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '地址备注信息。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态 enable: 可用, disable:不可用',
- 'description' => '地址启用状态,表示地址当前是否可用:'."\n"
- ."\n"
- .'- enable:启用状态。'."\n"
- ."\n"
- .'- disable:禁用状态。',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'AvailableMode' => [
- 'title' => '可用状态设置模式',
- 'description' => '地址探测异常切换方式:'."\n"
- ."\n"
- .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
- ."\n"
- .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。',
- 'type' => 'string',
- 'example' => 'auto',
- ],
- 'ManualAvailableStatus' => [
- 'title' => '手动设置的可用状态',
- 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
- ."\n"
- .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
- ."\n"
- .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'AvailableStatus' => [
- 'title' => '地址可用状态',
- 'description' => '地址可用状态:'."\n"
- ."\n"
- .'- available:地址可用。'."\n"
- ."\n"
- .'- unavailable:地址不可用。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'HealthStatus' => [
- 'title' => '地址的健康状态:',
- 'description' => '地址健康探测状态:'."\n"
- ."\n"
- .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
- ."\n"
- .'- ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
- ."\n"
- .'- ok_no_monitor:地址没有引用任何健康探测模板,状态正常。'."\n"
- ."\n"
- .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'HealthJudgement' => [
- 'title' => '地址健康状态判定为ok 的方式:',
- 'description' => '地址健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:所有探测模板至少一个探测正常。'."\n"
- ."\n"
- .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
- ."\n"
- .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
- ."\n"
- .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
- ."\n"
- .'- all_ok:所有探测模板全部探测正常。',
- 'type' => 'string',
- 'example' => 'any_ok',
- ],
- 'SeqNonPreemptiveSchedule' => [
- 'description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
- ."\n"
- .'- true:是'."\n"
- ."\n"
- .'- false:不是',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- ],
- ],
- ],
- 'SeqNonPreemptiveSchedule' => [
- 'description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
- ."\n"
- .'- true:是'."\n"
- ."\n"
- .'- false:不是',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
+ 'items' => ['description' => 'DNS服务器详情。', 'type' => 'string', 'example' => '{"DnsServer": ["vip1.alidns.com","vip2.alidns.com"]}'],
],
],
],
+ 'DDosDefendQuery' => ['description' => '适用于定制版用户调用,DNS防护QPS(万qps)', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'DnsSecurity' => ['description' => 'DNS安全。取值:'."\n"
+ .'- no:不需要'."\n"
+ .'- basic:dns攻击基础防御'."\n"
+ .'- advanced:dns攻击全力防御', 'type' => 'string', 'example' => 'advanced'],
+ 'DomainType' => ['description' => '实例类型:'."\n"
+ .'- PUBLIC:权威托管域名实例。'."\n"
+ .'- CACHE:权威代理域名实例。', 'type' => 'string', 'example' => 'PUBLIC'],
+ 'URLForwardCount' => ['description' => 'URL转发数量(个)。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'TTLMinValue' => ['description' => '最小TTL值(秒)。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'PaymentType' => ['description' => '付费类型。', 'type' => 'string', 'example' => 'Subscription'],
+ 'VersionName' => ['description' => '云解析产品名称。', 'type' => 'string', 'example' => '企业旗舰版'],
+ 'OverseaLine' => ['description' => '海外线路。', 'type' => 'string', 'example' => '海外大洲'],
+ 'ISPRegionLines' => ['description' => '运营商解析请求来源线路列表。'."\n"
+ .'- 电信(省份)'."\n"
+ .'- 移动(省份)'."\n"
+ .'- 联通(省份)'."\n"
+ .'- 教育网(省份)', 'type' => 'string', 'example' => '电信_浙江'],
+ 'Gslb' => ['description' => '是否允许GSLB。'."\n"
+ ."\n"
+ .'- true:允许'."\n"
+ ."\n"
+ .'- false:不允许', 'type' => 'boolean', 'example' => 'true'],
+ 'BindUsedCount' => ['description' => '适用于定制版用户调用,指付费版DNS实例已使用的更换域名次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-xxxxxxx'],
+ 'DnsSLBCount' => ['description' => '负载均衡(单域名、单线路的IP地址容量)。', 'type' => 'integer', 'format' => 'int64', 'example' => '15'],
+ 'InstanceId' => ['description' => '云解析产品ID。', 'type' => 'string', 'example' => 'i-8fxxx'],
+ 'MonitorTaskCount' => ['description' => '监控任务数(个)。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'StartTime' => ['description' => '购买时间。', 'type' => 'string', 'example' => '2015-12-12T09:23Z'],
+ 'DDosDefendFlow' => ['description' => 'DNS防护流量(单位:G)。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'MonitorFrequency' => ['description' => '监控频率(单位:分钟)。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'SearchEngineLines' => ['description' => '搜索引擎解析请求来源线路列表。'."\n"
+ .'- 谷歌'."\n"
+ .'- 百度'."\n"
+ .'- 必应'."\n"
+ .'- 有道', 'type' => 'string', 'example' => '谷歌'],
+ 'BindDomainUsedCount' => ['description' => '适用于个人版、企业旗舰版用户调用,指付费版DNS实例已绑定使用的域名个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'VersionCode' => ['description' => '云解析产品code。', 'type' => 'string', 'example' => 'version1'],
+ 'OverseaDDosDefendFlow' => ['description' => '海外DNS防护(单位:G)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'InClean' => ['description' => '域名是否处于清洗状态。'."\n"
+ .'- true:处于清洗状态'."\n"
+ .'- false:不处于清洗状态', 'type' => 'boolean', 'example' => 'false'],
+ 'SubDomainLevel' => ['description' => '子域名级别(个)。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'Domain' => ['description' => '绑定的域名。'."\n"
+ ."\n"
+ .'如果为空,则表示未绑定域名。', 'type' => 'string', 'example' => 'example.com'],
+ 'AutoRenewal' => ['description' => '实例自动续费状态。'."\n"
+ ."\n"
+ .'- true:自动续费'."\n"
+ ."\n"
+ .'- false:非自动续费', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3h****\\",\\n \\"ConfigId\\": \\"Config-000****\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"CommodityCode\\": \\"dns_gtm_public_cn\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"ScheduleZoneMode\\": \\"custom\\",\\n \\"ScheduleZoneName\\": \\"example.com\\",\\n \\"ScheduleHostname\\": \\"www\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"ScheduleRrType\\": \\"A\\",\\n \\"Ttl\\": 60,\\n \\"AddressPoolLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AlertGroup\\": \\"[\\\\\\\\\\\\\\"云账号报警联系人\\\\\\\\\\\\\\"]\\",\\n \\"AlertConfig\\": \\"[{\\\\\\\\\\\\\\"NoticeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addr_alert\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SmsNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"EmailNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"DingtalkNotice\\\\\\\\\\\\\\":true},{\\\\\\\\\\\\\\"NoticeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addr_resume\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SmsNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"EmailNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"DingtalkNotice\\\\\\\\\\\\\\":true},{\\\\\\\\\\\\\\"NoticeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addr_pool_unavailable\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SmsNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"EmailNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"DingtalkNotice\\\\\\\\\\\\\\":true},{\\\\\\\\\\\\\\"NoticeType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addr_pool_available\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SmsNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"EmailNotice\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"DingtalkNotice\\\\\\\\\\\\\\":true}]\\\\\\"\\",\\n \\"Remark\\": \\"test\\",\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressId\\": \\"addr-89564712295703****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持返回此参数。\\",\\n \\"Remark\\": \\"test\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n },\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取实例配置完整信息',
- 'summary' => '获取全局流量管理实例配置的完整信息,包括接入域名、告警通知、地址池、地址详细信息等。',
- ],
- 'ListCloudGtmInstanceConfigs' => [
- 'summary' => '获取实例配置列表,包括接入域名、地址池信息等。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取付费版DNS产品实例详情',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsProductInstance'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsProductInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'instance', 'arn' => 'acs:alidns::{#accountId}:instance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"MonitorNodeCount\\": 5,\\n \\"InBlackHole\\": false,\\n \\"BindDomainCount\\": 5,\\n \\"RegionLines\\": true,\\n \\"BindCount\\": 3,\\n \\"EndTime\\": \\"2015-12-12T09:23Z\\",\\n \\"StartTimestamp\\": 1474335170000,\\n \\"ISPLines\\": \\"中国电信\\",\\n \\"EndTimestamp\\": 1474335170000,\\n \\"DnsServers\\": {\\n \\"DnsServer\\": [\\n \\"{\\\\\\"DnsServer\\\\\\": [\\\\\\"vip1.alidns.com\\\\\\",\\\\\\"vip2.alidns.com\\\\\\"]}\\"\\n ]\\n },\\n \\"DDosDefendQuery\\": 50,\\n \\"DnsSecurity\\": \\"advanced\\",\\n \\"DomainType\\": \\"PUBLIC\\",\\n \\"URLForwardCount\\": 20,\\n \\"TTLMinValue\\": 10,\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"VersionName\\": \\"企业旗舰版\\",\\n \\"OverseaLine\\": \\"海外大洲\\",\\n \\"ISPRegionLines\\": \\"电信_浙江\\",\\n \\"Gslb\\": true,\\n \\"BindUsedCount\\": 1,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-xxxxxxx\\",\\n \\"DnsSLBCount\\": 15,\\n \\"InstanceId\\": \\"i-8fxxx\\",\\n \\"MonitorTaskCount\\": 2,\\n \\"StartTime\\": \\"2015-12-12T09:23Z\\",\\n \\"DDosDefendFlow\\": 50,\\n \\"MonitorFrequency\\": 50,\\n \\"SearchEngineLines\\": \\"谷歌\\",\\n \\"BindDomainUsedCount\\": 3,\\n \\"VersionCode\\": \\"version1\\",\\n \\"OverseaDDosDefendFlow\\": 1,\\n \\"InClean\\": false,\\n \\"SubDomainLevel\\": 6,\\n \\"Domain\\": \\"example.com\\",\\n \\"AutoRenewal\\": true\\n}","errorExample":""},{"type":"xml","example":"<DescribeDnsProductInstanceResponse>\\n <MonitorNodeCount>5</MonitorNodeCount>\\n <InBlackHole>false</InBlackHole>\\n <BindDomainCount>5</BindDomainCount>\\n <RegionLines>true</RegionLines>\\n <BindCount>3</BindCount>\\n <EndTime>2015-12-12T09:23Z</EndTime>\\n <StartTimestamp>1474335170000</StartTimestamp>\\n <ISPLines>电信、移动、联通、教育网</ISPLines>\\n <EndTimestamp>1474335170000</EndTimestamp>\\n <DnsServers>{\\"DnsServer\\": [\\"vip1.alidns.com\\",\\"vip2.alidns.com\\"]}</DnsServers>\\n <DDosDefendQuery>50</DDosDefendQuery>\\n <DnsSecurity>advanced</DnsSecurity>\\n <DomainType>PUBLIC</DomainType>\\n <URLForwardCount>20</URLForwardCount>\\n <TTLMinValue>10</TTLMinValue>\\n <PaymentType>Subscription</PaymentType>\\n <VersionName>企业旗舰版</VersionName>\\n <OverseaLine>海外大洲</OverseaLine>\\n <ISPRegionLines>电信(省份)、移动(省份)、联通(省份)、教育网(省份)</ISPRegionLines>\\n <Gslb>true</Gslb>\\n <BindUsedCount>1</BindUsedCount>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <DnsSLBCount>15</DnsSLBCount>\\n <InstanceId>i-8fxxx</InstanceId>\\n <MonitorTaskCount>2</MonitorTaskCount>\\n <StartTime>2015-12-12T09:23Z</StartTime>\\n <DDosDefendFlow>50</DDosDefendFlow>\\n <MonitorFrequency>50</MonitorFrequency>\\n <SearchEngineLines>搜索引擎、谷歌、百度、必应</SearchEngineLines>\\n <BindDomainUsedCount>3</BindDomainUsedCount>\\n <VersionCode>version1</VersionCode>\\n <OverseaDDosDefendFlow>1</OverseaDDosDefendFlow>\\n <InClean>false</InClean>\\n <SubDomainLevel>6</SubDomainLevel>\\n <Domain>example.com</Domain>\\n</DescribeDnsProductInstanceResponse>","errorExample":""}]',
+ ],
+ 'DescribeDnsProductInstances' => [
+ 'summary' => '根据传入参数获取付费版DNS产品实例列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsBCOB1Q',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsT5OPHE'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'."\n",
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.0'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'VersionCode',
'in' => 'query',
- 'schema' => [
- 'title' => '调度实例id',
- 'description' => '全局流量管理3.0实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3h****',
- ],
+ 'schema' => ['description' => '云解析产品code。', 'type' => 'string', 'required' => false, 'example' => 'version1'],
],
[
- 'name' => 'ScheduleZoneName',
+ 'name' => 'DomainType',
'in' => 'query',
- 'schema' => [
- 'title' => 'zone名称',
- 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '域名类型,大小写不敏感。取值:'."\n"
+ ."\n"
+ .'- PUBLIC:权威托管域名(默认值)'."\n"
+ ."\n"
+ .'- CACHE:权威代理域名', 'type' => 'string', 'required' => false, 'example' => 'PUBLIC'],
],
[
- 'name' => 'EnableStatus',
+ 'name' => 'OrderBy',
'in' => 'query',
- 'schema' => [
- 'title' => '启用状态',
- 'description' => '域名实例的启用状态:'."\n"
- ."\n"
- .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
- ."\n"
- .'- disable:禁用状态,GTM实例智能调度策略不可用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '排序参数。取值:'."\n"
+ .'- createDate:按创建时间排序(为空时默认按创建时间排序)'."\n"
+ .'- expireDate:按过期时间排序', 'type' => 'string', 'required' => false, 'example' => 'createDate'],
],
[
- 'name' => 'Remark',
+ 'name' => 'Direction',
'in' => 'query',
- 'schema' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- ],
- [
- 'name' => 'ScheduleDomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => '排序方向。取值:'."\n"
+ .'- DESC:递减(为空时默认递减排序) '."\n"
+ .'- ASC: 递增', 'type' => 'string', 'required' => false, 'example' => 'DESC'],
],
],
'responses' => [
@@ -12050,384 +8952,85 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '域名实例配置的总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'InstanceConfigs' => [
+ 'TotalCount' => ['description' => '本次查询获取的付费版DNS产品实例数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'DomainType' => ['description' => '域名类型,取值:'."\n"
+ ."\n"
+ .'- PUBLIC:权威托管域名(默认值)'."\n"
+ ."\n"
+ .'- CACHE:权威代理域名', 'type' => 'string', 'example' => 'PUBLIC'],
+ 'PageSize' => ['description' => '本次查询获取的域名数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38xxxxx'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'DnsProducts' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'InstanceConfig' => [
- 'description' => '实例配置列表。',
+ 'DnsProduct' => [
+ 'description' => '本次获取的付费版DNS产品实例列表。',
'type' => 'array',
'items' => [
- 'description' => '实例配置信息。',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '全局流量管理3.0实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3h****',
- ],
- 'ConfigId' => [
- 'title' => '实例id',
- 'description' => '域名实例配置ID。相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。',
- 'type' => 'string',
- 'example' => 'Config-000****'."\n",
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '实例配置创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '实例创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '实例配置最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z'."\n",
- ],
- 'UpdateTimestamp' => [
- 'description' => '实例配置最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'VersionCode' => [
- 'title' => '版本code',
- 'description' => '全局流量管理3.0实例版本:'."\n"
- ."\n"
- .'- standard:标准版。'."\n"
- ."\n"
- .'- ultimate:旗舰版。',
- 'type' => 'string',
- 'example' => 'ultimate',
- ],
- 'CommodityCode' => [
- 'title' => '商品code',
- 'description' => '商品编码:'."\n"
- ."\n"
- .'- dns_gtm_public_cn:中国站商品编码。'."\n"
- ."\n"
- .'- dns_gtm_public_intl:国际站商品编码。',
- 'type' => 'string',
- 'example' => 'dns_gtm_public_cn',
- ],
- 'ScheduleZoneMode' => [
- 'title' => '接入zone分配模式',
- 'description' => '接入域名分配模式:'."\n"
- ."\n"
- .'- custom:自定义接入域名,用户自定义主机记录,并关联GTM实例所在账号下的主域或子域,生成接入域名。'."\n"
- ."\n"
- .'- sys_assign:系统默认分配接入域名,本功能已经不支持,请勿选择此模式。',
- 'type' => 'string',
- 'example' => 'custom',
- ],
- 'ScheduleZoneName' => [
- 'title' => 'zone名称',
- 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'ScheduleHostname' => [
- 'title' => '主机记录',
- 'description' => 'GTM接入域名的主机记录。',
- 'type' => 'string',
- 'example' => 'www',
- ],
- 'ScheduleDomainName' => [
- 'title' => '域名,主机记录+zoneNamne',
- 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)。',
- 'type' => 'string',
- 'example' => 'www.example.com'."\n",
- ],
- 'ScheduleRrType' => [
- 'title' => '调度解析记录类型',
- 'description' => '调度域名的解析记录类型:'."\n"
- ."\n"
- .'- A:IPv4地址'."\n"
- ."\n"
- .'- AAAA:IPv6地址'."\n"
- ."\n"
- .'- CNAME:域名',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Ttl' => [
- 'title' => '调度调度实例的TTL',
- 'description' => '全局TTL(单位:秒),接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'AddressPoolLbStrategy' => [
- 'title' => '地址池的负载均衡策略',
- 'description' => '地址池之间的负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'title' => '顺序负载策略模式(抢占式、非抢占式)',
- 'description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。',
- 'type' => 'string',
- 'example' => 'preemptive',
- ],
- 'AvailableStatus' => [
- 'description' => '域名实例服务可用状态:'."\n"
- ."\n"
- .'- available:可用,域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
- ."\n"
- .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态',
- 'description' => '域名实例的启用状态:'."\n"
- ."\n"
- .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
- ."\n"
- .'- disable:禁用状态,GTM实例智能调度策略不可用。',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthStatus' => [
- 'title' => '监控状态',
- 'description' => '域名实例健康状态:'."\n"
- ."\n"
- .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '域名实例配置的备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'AddressPools' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AddressPool' => [
- 'description' => '地址池列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '地址池配置信息。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => '地址池创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '地址池创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'description' => '地址池最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '地址池最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'AddressPoolId' => [
- 'title' => '地址池Id',
- 'description' => '地址池Id,地址池的唯一标识码。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442****',
- ],
- 'WeightValue' => [
- 'title' => '权重值',
- 'description' => '权重值(1-100之间的整数,包括1和100),支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SerialNumber' => [
- 'title' => '序号',
- 'description' => '顺序号,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestSource' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'RequestSource' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。',
- 'type' => 'string',
- 'example' => '["default"]',
- ],
- ],
- ],
- ],
- 'AddressPoolName' => [
- 'title' => '地址池名称',
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'AddressPool-1'."\n",
- ],
- 'AddressPoolType' => [
- 'title' => '地址池类型ipv4、ipv6、domain',
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'AddressLbStrategy' => [
- 'title' => '地址负载策略',
- 'description' => '地址池中地址间负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'title' => '顺序负载策略模式(抢占式、非抢占式)',
- 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。',
- 'type' => 'string',
- 'example' => 'preemptive',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态',
- 'description' => '地址池启用状态:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthJudgement' => [
- 'title' => '健康判定',
- 'description' => '地址池健康状态:'."\n"
- ."\n"
- .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'HealthStatus' => [
- 'title' => '健康状态',
- 'description' => '地址池健康状态:'."\n"
- ."\n"
- .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'AvailableStatus' => [
- 'title' => '可用性状态',
- 'description' => '地址池可用性状态:'."\n"
- ."\n"
- .'- available:可用'."\n"
- ."\n"
- .'- unavailable:不可用',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'SeqNonPreemptiveSchedule' => [
- 'description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
- ."\n"
- .'- true:是'."\n"
- ."\n"
- .'- false:不是',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- ],
- ],
- ],
- 'ConfigLoggingSwitchStatus' => [
- 'title' => '日志开关状态',
- 'description' => '日志开关状态',
- 'type' => 'string',
- 'example' => 'ENABLE',
- ],
+ 'OverseaLine' => ['description' => '海外解析请求来源线路。', 'type' => 'string', 'example' => '海外大洲'],
+ 'PaymentType' => ['description' => '付费类型。', 'type' => 'string', 'example' => 'Subscription'],
+ 'MonitorNodeCount' => ['description' => '监控节点个数(个)。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'InBlackHole' => ['description' => '域名是否处于黑洞状态。'."\n"
+ ."\n"
+ .'- true:处于黑洞状态'."\n"
+ ."\n"
+ .'- false:非黑洞状态', 'type' => 'boolean', 'example' => 'false'],
+ 'BindDomainUsedCount' => ['description' => '适用于个人版、企业旗舰版用户调用,指付费版DNS实例已绑定使用的域名个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'ISPRegionLines' => ['description' => '运营商解析请求来源线路列表。'."\n"
+ .'- 电信(省份)'."\n"
+ .'- 移动(省份)'."\n"
+ .'- 联通(省份)'."\n"
+ .'- 教育网(省份)', 'type' => 'string', 'example' => '电信_浙江'],
+ 'TTLMinValue' => ['description' => '最小TTL值(秒)。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'ISPLines' => ['description' => '运营商解析请求来源线路列表。'."\n"
+ .'- 中国电信'."\n"
+ .'- 中国移动'."\n"
+ .'- 中国联通'."\n"
+ .'- 中国教育网'."\n"
+ .'- 中国广电网'."\n"
+ .'- 中国鹏博士', 'type' => 'string', 'example' => '中国电信'],
+ 'SearchEngineLines' => ['description' => '搜索引擎解析请求来源线路列表。'."\n"
+ .'- 谷歌'."\n"
+ .'- 百度'."\n"
+ .'- 必应'."\n"
+ .'- 有道', 'type' => 'string', 'example' => '谷歌'],
+ 'EndTimestamp' => ['description' => '实例到期时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1474335170000'],
+ 'VersionName' => ['description' => '云解析产品版本名称。', 'type' => 'string', 'example' => '企业旗舰版'],
+ 'VersionCode' => ['description' => '云解析产品code。', 'type' => 'string', 'example' => 'version1'],
+ 'MonitorTaskCount' => ['description' => '监控任务数(个)。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'BindUsedCount' => ['description' => '适用于定制版用户调用,指付费版DNS实例已使用的更换域名次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Domain' => ['description' => '绑定域名。', 'type' => 'string', 'example' => 'example.com'],
+ 'MonitorFrequency' => ['description' => '监控频率(单位:分钟)。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'InClean' => ['description' => '域名是否处于清洗状态。', 'type' => 'boolean', 'example' => 'false'],
+ 'URLForwardCount' => ['description' => 'URL转发数量(个)。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'StartTimestamp' => ['description' => '实例购买时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1474335170000'],
+ 'DDosDefendQuery' => ['description' => '适用于定制版用户调用,DNS防护QPS(万qps)。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'InstanceId' => ['description' => '云解析产品ID。', 'type' => 'string', 'example' => 'i-8fj'],
+ 'DDosDefendFlow' => ['description' => 'DNS防护流量(G)。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'BindCount' => ['description' => '适用于定制版用户调用,指付费版DNS实例可支持更换域名次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'SubDomainLevel' => ['description' => '子域名级别(个)。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'BindDomainCount' => ['description' => '适用于个人版、企业旗舰版用户调用,指付费版DNS实例可以绑定的域名个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'EndTime' => ['description' => '实例到期时间。', 'type' => 'string', 'example' => '2015-12-12T00:00Z'],
+ 'StartTime' => ['description' => '实例购买时间。', 'type' => 'string', 'example' => '2015-11-12T09:23Z'],
+ 'OverseaDDosDefendFlow' => ['description' => '海外DNS防护(G)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RegionLines' => ['description' => '是否是地域线路。'."\n"
+ .'- true:地域线路'."\n"
+ .'- false:非地域线路', 'type' => 'boolean', 'example' => 'true'],
+ 'Gslb' => ['description' => '是否允许GSLB。'."\n"
+ .'- true:允许'."\n"
+ .'- false:不允许', 'type' => 'boolean', 'example' => 'true'],
+ 'DnsSecurity' => ['description' => 'DNS安全。取值:'."\n"
+ .'- no:不需要'."\n"
+ .'- basic:dns攻击基础防御'."\n"
+ .'- advanced:dns攻击全力防御', 'type' => 'string', 'example' => 'no'],
+ 'DnsSLBCount' => ['description' => '负载均衡(单域名、单线路的IP地址容量)。', 'type' => 'integer', 'format' => 'int64', 'example' => '15'],
+ 'AutoRenewal' => ['description' => '续费状态。'."\n"
+ .'- true:自动续费类型。'."\n"
+ .'- false:非自动续费类型。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -12437,73 +9040,65 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 10,\\n \\"InstanceConfigs\\": {\\n \\"InstanceConfig\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3h****\\",\\n \\"ConfigId\\": \\"Config-000****\\\\n\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\\\n\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"CommodityCode\\": \\"dns_gtm_public_cn\\",\\n \\"ScheduleZoneMode\\": \\"custom\\",\\n \\"ScheduleZoneName\\": \\"example.com\\",\\n \\"ScheduleHostname\\": \\"www\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\\\n\\",\\n \\"ScheduleRrType\\": \\"A\\",\\n \\"Ttl\\": 60,\\n \\"AddressPoolLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"Remark\\": \\"test\\",\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"AddressPoolName\\": \\"AddressPool-1\\\\n\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n },\\n \\"ConfigLoggingSwitchStatus\\": \\"ENABLE\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取实例配置列表',
- ],
- 'DeleteCloudGtmInstanceConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取付费版DNS产品实例列表',
+ 'description' => '> **如果返回参数中未包含域名,则表示该云解析产品尚未绑定任何域名。**',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsProductInstances'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsProductInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Instance', 'arn' => 'acs:alidns:*:{#accountId}:instance/*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"DomainType\\": \\"PUBLIC\\",\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38xxxxx\\",\\n \\"PageNumber\\": 1,\\n \\"DnsProducts\\": {\\n \\"DnsProduct\\": [\\n {\\n \\"OverseaLine\\": \\"海外大洲\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"MonitorNodeCount\\": 5,\\n \\"InBlackHole\\": false,\\n \\"BindDomainUsedCount\\": 3,\\n \\"ISPRegionLines\\": \\"电信_浙江\\",\\n \\"TTLMinValue\\": 10,\\n \\"ISPLines\\": \\"中国电信\\",\\n \\"SearchEngineLines\\": \\"谷歌\\",\\n \\"EndTimestamp\\": 1474335170000,\\n \\"VersionName\\": \\"企业旗舰版\\",\\n \\"VersionCode\\": \\"version1\\",\\n \\"MonitorTaskCount\\": 2,\\n \\"BindUsedCount\\": 1,\\n \\"Domain\\": \\"example.com\\",\\n \\"MonitorFrequency\\": 50,\\n \\"InClean\\": false,\\n \\"URLForwardCount\\": 20,\\n \\"StartTimestamp\\": 1474335170000,\\n \\"DDosDefendQuery\\": 50,\\n \\"InstanceId\\": \\"i-8fj\\",\\n \\"DDosDefendFlow\\": 50,\\n \\"BindCount\\": 3,\\n \\"SubDomainLevel\\": 6,\\n \\"BindDomainCount\\": 5,\\n \\"EndTime\\": \\"2015-12-12T00:00Z\\",\\n \\"StartTime\\": \\"2015-11-12T09:23Z\\",\\n \\"OverseaDDosDefendFlow\\": 1,\\n \\"RegionLines\\": true,\\n \\"Gslb\\": true,\\n \\"DnsSecurity\\": \\"no\\",\\n \\"DnsSLBCount\\": 15,\\n \\"AutoRenewal\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDnsProductInstancesResponse>\\n <TotalCount>2</TotalCount>\\n <DomainType>PUBLIC</DomainType>\\n <PageSize>2</PageSize>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <PageNumber>1</PageNumber>\\n <DnsProducts>\\n <OverseaLine>海外大洲</OverseaLine>\\n <PaymentType>Subscription</PaymentType>\\n <MonitorNodeCount>5</MonitorNodeCount>\\n <InBlackHole>false</InBlackHole>\\n <BindDomainUsedCount>3</BindDomainUsedCount>\\n <ISPRegionLines>电信(省份)、移动(省份)、联通(省份)、教育网(省份)</ISPRegionLines>\\n <TTLMinValue>10</TTLMinValue>\\n <ISPLines>电信、移动、联通、教育网</ISPLines>\\n <SearchEngineLines>搜索引擎、谷歌、百度、必应</SearchEngineLines>\\n <EndTimestamp>1474335170000</EndTimestamp>\\n <VersionName>企业旗舰版</VersionName>\\n <VersionCode>version1</VersionCode>\\n <MonitorTaskCount>2</MonitorTaskCount>\\n <BindUsedCount>1</BindUsedCount>\\n <Domain>example.com</Domain>\\n <MonitorFrequency>50</MonitorFrequency>\\n <InClean>false</InClean>\\n <URLForwardCount>20</URLForwardCount>\\n <StartTimestamp>1474335170000</StartTimestamp>\\n <DDosDefendQuery>50</DDosDefendQuery>\\n <InstanceId>i-8fj</InstanceId>\\n <DDosDefendFlow>50</DDosDefendFlow>\\n <BindCount>3</BindCount>\\n <SubDomainLevel>6</SubDomainLevel>\\n <BindDomainCount>5</BindDomainCount>\\n <EndTime>2015-12-12T09:23Z</EndTime>\\n <StartTime>2015-12-12T09:23Z</StartTime>\\n <OverseaDDosDefendFlow>1</OverseaDDosDefendFlow>\\n <RegionLines>true</RegionLines>\\n <Gslb>true</Gslb>\\n <DnsSecurity>no</DnsSecurity>\\n <DnsSLBCount>15</DnsSLBCount>\\n </DnsProducts>\\n</DescribeDnsProductInstancesResponse>","errorExample":""}]',
+ ],
+ 'DescribeDohAccountStatistics' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
- ],
- [
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '删除指定GTM 3.0实例配置的接入域名,仅支持删除单个。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-jmp3qnw****',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2019-07-04'],
],
[
- 'name' => 'ConfigId',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。'."\n"
- .'调用[ListCloudGtmInstanceConfigs](~~2797349~~) 接口可查询域名实例对应的 ConfigId 值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'config-00****',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2019-07-04'],
],
],
'responses' => [
@@ -12511,130 +9106,95 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'Success' => [
- 'description' => '删除域名实例配置操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'RequestId' => ['description' => '唯一请求识别码', 'type' => 'string', 'example' => '0F32959D-417B-4D66-8463-68606605E3E2'],
+ 'Statistics' => [
+ 'description' => '统计数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'V6HttpCount' => ['description' => 'IPv6 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V4HttpsCount' => ['description' => 'IPv4 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'Timestamp' => ['description' => '统计时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1544976000000'],
+ 'TotalCount' => ['description' => '请求总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V4HttpCount' => ['description' => 'IPv4 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V6HttpsCount' => ['description' => 'IPv6 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '删除接入域名',
- 'summary' => '根据传入参数删除GTM 3.0实例配置的接入域名。',
- ],
- 'UpdateCloudGtmInstanceConfigBasic' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取DoH账户请求量统计概览',
+ 'summary' => '获取DoH账户请求量统计概览。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohAccountStatistics'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohAccountStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"Statistics\\": [\\n {\\n \\"V6HttpCount\\": 3141592653,\\n \\"V4HttpsCount\\": 3141592653,\\n \\"Timestamp\\": 1544976000000,\\n \\"TotalCount\\": 3141592653,\\n \\"V4HttpCount\\": 3141592653,\\n \\"V6HttpsCount\\": 3141592653\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDohAccountStatisticsResponse>\\n <RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n <Statistics>\\n <V6HttpCount>3141592653</V6HttpCount>\\n <V4HttpsCount>3141592653</V4HttpsCount>\\n <Timestamp>1544976000000</Timestamp>\\n <TotalCount>3141592653</TotalCount>\\n <V4HttpCount>3141592653</V4HttpCount>\\n <V6HttpsCount>3141592653</V6HttpsCount>\\n </Statistics>\\n</DescribeDohAccountStatisticsResponse>","errorExample":""}]',
+ ],
+ 'DescribeDohDomainStatistics' => [
+ 'summary' => '获取DoH域名请求量统计概览。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns5Q9UHE'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值: '."\n"
- .' '."\n"
- .'- **zh-CN**:中文。'."\n"
- ."\n"
- .'- **en-US**(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
- ],
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '调度实例id',
- 'description' => '需要修改的GTM 3.0实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3h****',
- ],
- ],
- [
- 'name' => 'ConfigId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'title' => '调度实例名称',
- 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。标识本次修改的配置对象。'."\n"
- ."\n"
- .'调用[ListCloudGtmInstanceConfigs](~~ListCloudGtmInstanceConfigs~~)接口可查询域名实例对应的ConfigId值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Config-000****',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ScheduleZoneName',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'title' => 'zone名称',
- 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'ScheduleHostname',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'title' => '主机记录',
- 'description' => 'GTM接入域名的主机记录。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2019-07-04'],
],
[
- 'name' => 'Ttl',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'title' => '调度调度实例的TTL',
- 'description' => '全局TTL(单位:秒),接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2019-07-04'],
],
],
'responses' => [
@@ -12642,123 +9202,102 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功:'."\n"
- .'- **true**:调用成功。'."\n"
- .'- **false**:调用失败。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '0F32959D-417B-4D66-8463-68606605E3E2'],
+ 'Statistics' => [
+ 'description' => '统计数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'V6HttpCount' => ['description' => 'IPv6 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V4HttpsCount' => ['description' => 'IPv4 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'Timestamp' => ['description' => '统计时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1544976000000'],
+ 'TotalCount' => ['description' => '请求总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V4HttpCount' => ['description' => 'IPv4 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V6HttpsCount' => ['description' => 'IPv6 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '更新实例全局TTL配置',
- 'summary' => '根据传入参数更新GTM3.0 实例全局TTL配置。',
- ],
- 'UpdateCloudGtmInstanceConfigLbStrategy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取DoH域名请求量统计概览',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohDomainStatistics'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohDomainStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'alidns:test', 'validationType' => 'always'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"Statistics\\": [\\n {\\n \\"V6HttpCount\\": 3141592653,\\n \\"V4HttpsCount\\": 3141592653,\\n \\"Timestamp\\": 1544976000000,\\n \\"TotalCount\\": 3141592653,\\n \\"V4HttpCount\\": 3141592653,\\n \\"V6HttpsCount\\": 3141592653\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n<Statistics>\\n <TotalCount>3141592653</TotalCount>\\n <V4HttpCount>3141592653</V4HttpCount>\\n <V6HttpCount>3141592653</V6HttpCount>\\n <Timestamp>1544976000000</Timestamp>\\n <V4HttpsCount>3141592653</V4HttpsCount>\\n <V6HttpsCount>3141592653</V6HttpsCount>\\n</Statistics>","errorExample":""}]',
+ ],
+ 'DescribeDohDomainStatisticsSummary' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值: '."\n"
- .' '."\n"
- .'- **zh-CN**:中文。'."\n"
- ."\n"
- .'- **en-US**(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '需要修改的GTM 3.0实例 ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3h***',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
[
- 'name' => 'ConfigId',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识本次需要修改的域名实例配置。'."\n"
- ."\n"
- .'调用 [ListCloudGtmInstanceConfigs](~~2797349~~) 接口可查询域名实例对应的 ConfigId 值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Config-000****',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2019-07-04 '],
],
[
- 'name' => 'AddressPoolLbStrategy',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '修改后的地址池之间的负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sequence',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'example' => '2019-07-04 '],
],
[
- 'name' => 'SequenceLbStrategyMode',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'preemptive',
- ],
+ 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
],
'responses' => [
@@ -12766,109 +9305,97 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '0F32959D-417B-4D66-8463-68606605E3E2',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功:'."\n"
- .'- **true**:调用成功。'."\n"
- .'- **false**:调用失败。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '0F32959D-417B-4D66-8463-68606605E3E2'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'TotalItems' => ['description' => '总数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '300'],
+ 'Statistics' => [
+ 'description' => '统计数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'V6HttpCount' => ['description' => 'IPv6 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V4HttpsCount' => ['description' => 'IPv4 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'IpCount' => ['description' => 'IP地址数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'TotalCount' => ['description' => '请求总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '14141592653'],
+ 'HttpCount' => ['description' => 'HTTP请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com'],
+ 'HttpsCount' => ['description' => 'HTTPS请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V4HttpCount' => ['description' => 'IPv4 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V6HttpsCount' => ['description' => 'IPv6 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '更新实例负载均衡策略',
- 'summary' => '根据传入参数更新实例负载均衡策略。',
- ],
- 'UpdateCloudGtmInstanceConfigEnableStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取DoH域名的请求量统计列表',
+ 'summary' => '获取DoH域名的请求量统计列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohDomainStatisticsSummary'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohDomainStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 50,\\n \\"TotalItems\\": 300,\\n \\"Statistics\\": [\\n {\\n \\"V6HttpCount\\": 3141592653,\\n \\"V4HttpsCount\\": 3141592653,\\n \\"IpCount\\": 20,\\n \\"TotalCount\\": 14141592653,\\n \\"HttpCount\\": 3141592653,\\n \\"DomainName\\": \\"example.com\\",\\n \\"HttpsCount\\": 3141592653,\\n \\"V4HttpCount\\": 3141592653,\\n \\"V6HttpsCount\\": 3141592653\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDohDomainStatisticsSummaryResponse>\\n <PageSize>20</PageSize>\\n <RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n <PageNumber>1</PageNumber>\\n <TotalPages>50</TotalPages>\\n <TotalItems>300</TotalItems>\\n <Statistics>\\n <V6HttpCount>3141592653</V6HttpCount>\\n <V4HttpsCount>3141592653</V4HttpsCount>\\n <IpCount>20</IpCount>\\n <TotalCount>14141592653</TotalCount>\\n <HttpCount>3141592653</HttpCount>\\n <DomainName>example.com</DomainName>\\n <HttpsCount>3141592653</HttpsCount>\\n <V4HttpCount>3141592653</V4HttpCount>\\n <V6HttpsCount>3141592653</V6HttpsCount>\\n </Statistics>\\n</DescribeDohDomainStatisticsSummaryResponse>","errorExample":""}]',
+ ],
+ 'DescribeDohSubDomainStatistics' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值: '."\n"
- .' '."\n"
- .'- **zh-CN**:中文。'."\n"
- ."\n"
- .'- **en-US**(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'SubDomain',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '要查看统计数据的子域名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.example.com'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'title' => '调度实例id',
- 'description' => '需要修改的GTM 3.0实例 ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3h****',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2019-07-04'],
],
[
- 'name' => 'ConfigId',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'title' => '调度实例id',
- 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。'."\n"
- ."\n"
- .'调用[ListCloudGtmInstanceConfigs]( ~~2797349~~)接口可查询域名实例对应的 ConfigId 值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Config-000****',
- ],
- ],
- [
- 'name' => 'EnableStatus',
- 'in' => 'query',
- 'schema' => [
- 'title' => '启用状态',
- 'description' => '域名实例的启用状态:'."\n"
- ."\n"
- .'- enable:启用。'."\n"
- ."\n"
- .'- disable:禁用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2019-07-04'],
],
],
'responses' => [
@@ -12876,105 +9403,108 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功:'."\n"
- .'- **true**:调用成功。'."\n"
- .'- **false**:调用失败。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '0F32959D-417B-4D66-8463-68606605E3E2'],
+ 'Statistics' => [
+ 'description' => '统计数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'V6HttpCount' => ['description' => 'IPv6 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V4HttpsCount' => ['description' => 'IPv4 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'Timestamp' => ['description' => '统计时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1544976000000'],
+ 'TotalCount' => ['description' => '请求总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V4HttpCount' => ['description' => 'IPv4 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V6HttpsCount' => ['description' => 'IPv6 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '更新实例配置启用状态',
- 'summary' => '根据传入参数更新实例启动状态。',
- 'description' => '- 域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
- ."\n"
- .'- 域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。',
- ],
- 'UpdateCloudGtmInstanceConfigRemark' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取DoH子域名请求量统计',
+ 'summary' => '获取DoH子域名请求量统计。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohSubDomainStatistics'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohSubDomainStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"Statistics\\": [\\n {\\n \\"V6HttpCount\\": 3141592653,\\n \\"V4HttpsCount\\": 3141592653,\\n \\"Timestamp\\": 1544976000000,\\n \\"TotalCount\\": 3141592653,\\n \\"V4HttpCount\\": 3141592653,\\n \\"V6HttpsCount\\": 3141592653\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n<Statistics>\\n <TotalCount>3141592653</TotalCount>\\n <V4HttpCount>3141592653</V4HttpCount>\\n <V6HttpCount>3141592653</V6HttpCount>\\n <Timestamp>1544976000000</Timestamp>\\n <V4HttpsCount>3141592653</V4HttpsCount>\\n <V6HttpsCount>3141592653</V6HttpsCount>\\n</Statistics>","errorExample":""}]',
+ ],
+ 'DescribeDohSubDomainStatisticsSummary' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值: '."\n"
- .' '."\n"
- .'- **zh-CN**:中文。'."\n"
- ."\n"
- .'- **en-US**(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'minimum' => '1', 'example' => '1'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '需要修改备注信息的全局流量管理GTM3.0实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3h****',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
[
- 'name' => 'ConfigId',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识本次需要修改的域名实例配置。'."\n"
- ."\n"
- .'调用[ListCloudGtmInstanceConfigs](~~2797349~~) 接口可查询域名实例对应的 ConfigId 值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Config-000****',
- ],
+ 'schema' => ['description' => ' '."\n"
+ .'查询的开始时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2019-07-04 '],
],
[
- 'name' => 'Remark',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '备注,传入参数即为更新后的目标备注内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'API',
- ],
+ 'schema' => ['description' => ' '."\n"
+ .'查询的结束时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'example' => '2019-07-04 '],
+ ],
+ [
+ 'name' => 'SubDomain',
+ 'in' => 'query',
+ 'schema' => ['description' => '子域名。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'],
+ ],
+ [
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'example.com'],
],
],
'responses' => [
@@ -12982,37 +9512,64 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功:'."\n"
- .'- **true**:调用成功。'."\n"
- .'- **false**:调用失败。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '0F32959D-417B-4D66-8463-68606605E3E2'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'TotalItems' => ['description' => '总数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Statistics' => [
+ 'description' => '统计数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'V6HttpCount' => ['description' => 'IPv6 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V4HttpsCount' => ['description' => 'IPv4 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'IpCount' => ['description' => 'IP地址数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'SubDomain' => ['description' => '子域名。', 'type' => 'string', 'example' => 'www.example.com'],
+ 'TotalCount' => ['description' => '总请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '14141592653'],
+ 'HttpCount' => ['description' => 'HTTP请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'HttpsCount' => ['description' => 'HTTPS请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V4HttpCount' => ['description' => 'IPv4 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ 'V6HttpsCount' => ['description' => 'IPv6 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3141592653'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '更新实例备注信息',
- 'summary' => '根据传入的参数更新实例备注信息。',
- ],
- 'ListCloudGtmInstances' => [
- 'summary' => '根据传入参数获取GTM 3.0实例列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取DoH子域名的请求量统计列表',
+ 'summary' => '获取DoH子域名的请求量统计列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohSubDomainStatisticsSummary'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohSubDomainStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 50,\\n \\"TotalItems\\": 100,\\n \\"Statistics\\": [\\n {\\n \\"V6HttpCount\\": 3141592653,\\n \\"V4HttpsCount\\": 3141592653,\\n \\"IpCount\\": 20,\\n \\"SubDomain\\": \\"www.example.com\\",\\n \\"TotalCount\\": 14141592653,\\n \\"HttpCount\\": 3141592653,\\n \\"HttpsCount\\": 3141592653,\\n \\"V4HttpCount\\": 3141592653,\\n \\"V6HttpsCount\\": 3141592653\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n<PageSize>10</PageSize>\\n<PageNumber>1</PageNumber>\\n<TotalPages>50</TotalPages>\\n<TotalItems>100</TotalItems>\\n<Statistics>\\n <SubDomain>www.example.com</SubDomain>\\n <TotalCount>14141592653</TotalCount>\\n <IpCount>20</IpCount>\\n <V4HttpCount>3141592653</V4HttpCount>\\n <V6HttpCount>3141592653</V6HttpCount>\\n <HttpCount>3141592653</HttpCount>\\n <HttpsCount>3141592653</HttpsCount>\\n <V4HttpsCount>3141592653</V4HttpsCount>\\n <V6HttpsCount>3141592653</V6HttpsCount>\\n</Statistics>","errorExample":""}]',
+ ],
+ 'DescribeDohUserInfo' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13020,94 +9577,193 @@
],
'operationType' => 'read',
'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
+ 'in' => 'query',
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
+ ],
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。', 'type' => 'string', 'required' => false, 'example' => '2019-07-04'],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => ['description' => ' '."\n"
+ .'查询的结束时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'example' => '2019-07-04'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '0F32959D-417B-4D66-8463-68606605E3E2'],
+ 'SubDomainCount' => ['description' => '已接入子域名数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'PdnsId' => ['description' => '公共DNS用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '12345678'],
+ 'DomainCount' => ['description' => '已接入域名数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'title' => '获取DoH用户基本信息',
+ 'summary' => '获取DoH用户基本信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohUserInfo'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohUserInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"SubDomainCount\\": 5,\\n \\"PdnsId\\": 12345678,\\n \\"DomainCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n<SubDomainCount>123</SubDomainCount>\\n<PdnsId>12345678</PdnsId>\\n<DomainCount>123</DomainCount>","errorExample":""}]',
+ ],
+ 'DescribeDomainDnssecInfo' => [
+ 'summary' => '根据传入参数查询指定域名的DNSSEC信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsBCOB1Q',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US:英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,取值:'."\n"
+ ."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n"
+ ."\n"
+ .'默认为**zh**', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'DomainName',
'in' => 'query',
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'Dnssec状态:'."\n"
+ ."\n"
+ .'- ON:开启'."\n"
+ .'- OFF:关闭', 'type' => 'string', 'example' => 'ON'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Digest' => ['description' => '摘要(如果Dnssec开启则返回)。', 'type' => 'string', 'example' => 'C1A0424B97A049F1F9B2EA139CC298533219668164E343BD21203ABC4608C02A'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'PublicKey' => ['description' => '公钥(如果Dnssec开启则返回)。', 'type' => 'string', 'example' => 'mdsswUyr3DPW132m******************'],
+ 'DigestType' => ['description' => '摘要类型(如果Dnssec开启则返回)。', 'type' => 'string', 'example' => 'SHA256'],
+ 'DsRecord' => ['description' => 'DS记录(如果Dnssec开启则返回)。', 'type' => 'string', 'example' => 'example.com. 3600 IN DS 2371 13 2 C1A0424B97A049F1F9B2EA139CC29853321966816***************'],
+ 'KeyTag' => ['description' => '密钥标签(如果Dnssec开启则返回)。', 'type' => 'string', 'example' => '54931'],
+ 'Flags' => ['description' => '标志(如果Dnssec开启则返回)。', 'type' => 'string', 'example' => '257 (KSK)'],
+ 'Algorithm' => ['description' => '算法类型(如果Dnssec开启则返回)。', 'type' => 'string', 'example' => '13'],
+ ],
],
],
+ ],
+ 'title' => '查询域名的DNSSEC信息',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainDnssecInfo'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainDnssecInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"ON\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Digest\\": \\"C1A0424B97A049F1F9B2EA139CC298533219668164E343BD21203ABC4608C02A\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"PublicKey\\": \\"mdsswUyr3DPW132m******************\\",\\n \\"DigestType\\": \\"SHA256\\",\\n \\"DsRecord\\": \\"example.com. 3600 IN DS 2371 13 2 C1A0424B97A049F1F9B2EA139CC29853321966816***************\\",\\n \\"KeyTag\\": \\"54931\\",\\n \\"Flags\\": \\"257 (KSK)\\",\\n \\"Algorithm\\": \\"13\\"\\n}","errorExample":""},{"type":"xml","example":"<Status>ON</Status>\\n<RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n<Digest>C1A0424B97A049F1F9B2EA139CC298533219668164E343BD21203ABC4608C02A</Digest>\\n<DomainName>example.com</DomainName>\\n<PublicKey>mdsswUyr3DPW132mOi8V9xESWE8jTo0dxCjjnopKl+GqJxpVXckHAeF+KkxLbxILfDLUT0rAK9iUzy1L53eKGQ==</PublicKey>\\n<DigestType>SHA256</DigestType>\\n<DsRecord>example.com. 3600 IN DS 2371 13 2 C1A0424B97A049F1F9B2EA139CC298533219668164E343BD21203ABC4608C02A</DsRecord>\\n<KeyTag>54931</KeyTag>\\n<Flags>257 (KSK)</Flags>\\n<Algorithm>13</Algorithm>","errorExample":""}]',
+ ],
+ 'DescribeDomainGroups' => [
+ 'summary' => '根据传入参数获取域名分组的列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
+ ],
+ 'parameters' => [
[
- 'name' => 'PageSize',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:zh', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'title' => '调度实例id',
- 'description' => 'GTM实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-jmp3qnw****',
- ],
+ 'schema' => ['description' => '组名关键字,按照“%KeyWord%”模式搜索,不区分大小写。', 'type' => 'string', 'required' => false, 'example' => 'Group'],
],
[
- 'name' => 'InstanceName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => '调度实例名称',
- 'description' => '实例名称,方便区分实例的业务用途。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'ChargeType',
+ 'name' => 'PageSize',
'in' => 'query',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'title' => '指定实例的付费类型',
- 'description' => '指定实例的付费类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'postpay/prepay',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '110', 'example' => '20', 'default' => '20'],
],
],
'responses' => [
@@ -13115,274 +9771,99 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '实例总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- ],
- 'Instances' => [
+ 'DomainGroups' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Instance' => [
- 'description' => '实例列表。',
+ 'DomainGroup' => [
+ 'description' => '域名分组结构列表。',
'type' => 'array',
'items' => [
- 'description' => '实例信息。',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => 'GTM实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-jmp3qnw****',
- ],
- 'InstanceName' => [
- 'title' => '调度实例名称',
- 'description' => '实例名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '实例创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '实例创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1231298343343',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '实例最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z'."\n",
- ],
- 'UpdateTimestamp' => [
- 'description' => '实例最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1231298343343',
- ],
- 'VersionCode' => [
- 'title' => '版本code',
- 'description' => 'GTM实例版本:'."\n"
- ."\n"
- .'- standard:标准版'."\n"
- ."\n"
- .'- ultimate:旗舰版',
- 'type' => 'string',
- 'example' => 'ultimate',
- ],
- 'CommodityCode' => [
- 'title' => '商品code',
- 'description' => '商品编码:'."\n"
- ."\n"
- .'- dns_gtm_public_cn:中国站商品编码。'."\n"
- ."\n"
- .'- dns_gtm_public_intl:国际站商品编码。',
- 'type' => 'string',
- 'example' => 'dns_gtm_public_cn',
- ],
- 'MonthlySmsQuota' => [
- 'title' => '短消息配额',
- 'description' => '短息配额,仅中国站支持短消息,国际站不支持短消息。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'MonitorTaskQuota' => [
- 'title' => '监控任务配额',
- 'description' => '监控探测任务配额。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'ExpireTimestamp' => [
- 'description' => '实例到期时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1231298343343',
- ],
- 'ExpireTime' => [
- 'title' => '到期日',
- 'description' => '实例到期时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'ScheduleDomainName' => [
- 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)。',
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
- 'MonthlySmsUsed' => [
- 'description' => '当月短信发送量,仅中国站支持短信,国际站不支持短信。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'MonthlyEmailUsed' => [
- 'description' => '当月邮件发送量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'MonthlyWebhookUsed' => [
- 'description' => '当月 webhook 发送量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'ChargeType' => [
- 'title' => '实例的付费类型',
- 'description' => '实例的付费类型',
- 'type' => 'string',
- 'example' => 'postpay / prepay',
- ],
+ 'GroupId' => ['description' => '域名分组ID。'."\n"
+ ."\n"
+ .'- 默认分组GroupId:"defaultGroup",代表未设置分组的域名。'."\n"
+ .'- 全部域名GroupId:"",代表所有域名。', 'type' => 'string', 'example' => 'defaultGroup'],
+ 'GroupName' => ['description' => '域名分组名称。', 'type' => 'string', 'example' => 'MyGroup'],
+ 'DomainCount' => ['description' => '域名分组数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
],
],
],
],
],
+ 'TotalCount' => ['description' => '域名分组总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 15,\\n \\"Instances\\": {\\n \\"Instance\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-jmp3qnw****\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1231298343343,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\\\n\\",\\n \\"UpdateTimestamp\\": 1231298343343,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"CommodityCode\\": \\"dns_gtm_public_cn\\",\\n \\"MonthlySmsQuota\\": 1000,\\n \\"MonitorTaskQuota\\": 100,\\n \\"ExpireTimestamp\\": 1231298343343,\\n \\"ExpireTime\\": \\"2024-03-15T01:46Z\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"MonthlySmsUsed\\": 100,\\n \\"MonthlyEmailUsed\\": 50,\\n \\"MonthlyWebhookUsed\\": 80,\\n \\"ChargeType\\": \\"postpay / prepay\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取实例列表',
- ],
- 'SearchCloudGtmInstances' => [
- 'summary' => '根据传入参数搜索实例列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取域名分组列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainGroups'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainGroups',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DomainGroups\\": {\\n \\"DomainGroup\\": [\\n {\\n \\"GroupId\\": \\"defaultGroup\\",\\n \\"GroupName\\": \\"MyGroup\\",\\n \\"DomainCount\\": 2\\n }\\n ]\\n },\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1\\n}","type":"json"}]',
+ ],
+ 'DescribeDomainInfo' => [
+ 'summary' => '根据传入参数查询指定域名的信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsBCOB1Q',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回值的语言,取值:'."\n"
- ."\n"
- .'- **zh-CN**:中文。'."\n"
- .'- **en-US**:英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。只支持ASCII字符,且不能超过64个字符。更多信息,请参见如何保证幂等性。',
- 'type' => 'string',
- 'required' => false,
- 'example' => ' '."\n"
- .'1ae05db4-10e7-11ef-b126-00163e24****'."\n",
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'title' => '',
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
- ],
- [
- 'name' => 'InstanceId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'title' => '调度实例id',
- 'description' => '全局流量管理3.0实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3h****',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认值:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceName',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'title' => '调度实例名称',
- 'description' => '调度实例名称,支持模糊搜索。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '域名名称。可通过调用[DescribeDomains ](~~2357286~~)获取', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'ChargeType',
+ 'name' => 'NeedDetailAttributes',
'in' => 'query',
- 'schema' => [
- 'title' => '付费类型',
- 'description' => '付费类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'prepay / postpay',
- ],
+ 'schema' => ['description' => '是否返回域名详细的属性,取值范围:'."\n"
+ .'- true:'."\n"
+ .'- false '."\n"
+ ."\n"
+ .'默认值:false,不需要细节属性。'."\n"
+ ."\n"
+ .'当值为**true**时,则返回以下数据:lineType、minTtl、recordLineTreeJson、recordLines、lineCode、lineDisplayName、lineName、regionLines、slaveDns。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'],
],
],
'responses' => [
@@ -13390,180 +9871,115 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '搜索出来的实例总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
+ 'RecordLineTreeJson' => ['description' => '树形化解析请求来源线路列表。', 'type' => 'string', 'example' => '{"default":{},"unicom":{},"telecom":{},"mobile":{},"edu":{},"oversea":{},"baidu":{},"biying":{},"google":{}}'],
+ 'GroupName' => ['description' => '域名分组名称。', 'type' => 'string', 'example' => 'mygroup'],
+ 'InBlackHole' => ['description' => '是否在黑洞中。', 'type' => 'boolean', 'example' => 'false'],
+ 'RegionLines' => ['description' => '是否是地域线路。', 'type' => 'boolean', 'example' => 'false'],
+ 'SlaveDns' => ['description' => '是否允许有辅助dns。', 'type' => 'boolean', 'example' => 'true'],
+ 'AliDomain' => ['description' => '是否为阿里云万网域名。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-aek3dj3******'],
+ 'InstanceId' => ['description' => '云解析产品ID。', 'type' => 'string', 'example' => 'i-7**'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2015-12-12T09:23Z'],
+ 'PunyCode' => ['description' => '只针对中文域名返回punycode码。', 'type' => 'string', 'example' => 'example.com'],
+ 'DnsServers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DnsServer' => [
+ 'description' => '域名在解析系统中的DNS列表',
+ 'type' => 'array',
+ 'items' => ['description' => 'DNS信息。', 'type' => 'string', 'example' => '["vip3.alidns.com", "vip4.alidns.com"]'],
+ ],
+ ],
],
- 'Instances' => [
+ 'Remark' => ['description' => '备注。', 'type' => 'string', 'example' => 'remark'],
+ 'GroupId' => ['description' => '域名分组ID。', 'type' => 'string', 'example' => '2***'],
+ 'VersionCode' => ['description' => '云解析版本ID。取值范围:'."\n"
+ .'- version_enterprise_advanced:企业旗舰版'."\n"
+ .'- version_personal 个人版'."\n"
+ .'- mianfei:免费版', 'type' => 'string', 'example' => 'mianfei'],
+ 'RecordLines' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Instance' => [
- 'description' => '实例列表。',
+ 'RecordLine' => [
+ 'description' => '解析请求来源线路数据列表。',
'type' => 'array',
'items' => [
- 'description' => '实例信息。',
'type' => 'object',
'properties' => [
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '全局流量管理3.0实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3h****',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '实例创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '实例创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1710467214858',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '实例最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '实例最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1710467214858',
- ],
- 'VersionCode' => [
- 'title' => '版本code',
- 'description' => '全局流量管理3.0实例版本:'."\n"
- ."\n"
- .'- standard:标准版'."\n"
- ."\n"
- .'- ultimate:旗舰版',
- 'type' => 'string',
- 'example' => 'ultimate',
- ],
- 'CommodityCode' => [
- 'title' => '商品code',
- 'description' => '商品编码:'."\n"
- ."\n"
- .'- dns_gtm_public_cn:中国站商品编码。'."\n"
- ."\n"
- .'- dns_gtm_public_intl:国际站商品编码。',
- 'type' => 'string',
- 'example' => 'dns_gtm_public_cn',
- ],
- 'MonthlySmsQuota' => [
- 'title' => '短消息配额',
- 'description' => '短息配额,仅中国站支持短消息,国际站不支持短消息。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2000',
- ],
- 'MonitorTaskQuota' => [
- 'title' => '监控任务配额',
- 'description' => '监控探测任务配额。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'InstanceName' => [
- 'title' => '调度实例名称',
- 'description' => '调度实例名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ExpireTime' => [
- 'description' => '实例到期时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2024-09-05T16:00Z',
- ],
- 'ExpireTimestamp' => [
- 'title' => '到期日',
- 'description' => '实例到期时间(时间戳)。',
- 'type' => 'string',
- 'example' => '1725552000000',
- ],
- 'ScheduleDomainName' => [
- 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)',
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
- 'MonthlySmsUsed' => [
- 'description' => '当月短信发送量,仅中国站支持短信,国际站不支持短信。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'MonthlyEmailUsed' => [
- 'description' => '当月邮件发送量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'MonthlyWebhookUsed' => [
- 'description' => '当月 webhook 发送量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'ChargeType' => [
- 'title' => '实例的付费类型',
- 'description' => '实例的付费类型',
- 'type' => 'string',
- 'example' => 'postpay / prepay',
- ],
+ 'FatherCode' => ['description' => '父线路Code,如果没有则为空。', 'type' => 'string', 'example' => 'internal'],
+ 'LineDisplayName' => ['description' => '父线路展示名。', 'type' => 'string', 'example' => '中国地区_西北'],
+ 'LineCode' => ['description' => '子线路Code。', 'type' => 'string', 'example' => 'cn_region_xibei'],
+ 'LineName' => ['description' => '子线路展示名。', 'type' => 'string', 'example' => '西北'],
],
],
],
],
],
+ 'DomainId' => ['description' => '域名ID。', 'type' => 'string', 'example' => '00efd71a-7************'],
+ 'AvailableTtls' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AvailableTtl' => [
+ 'description' => '域名当前可用TTL列表。默认不返回,需要设置NeedDetailAttributes=true。',
+ 'type' => 'array',
+ 'items' => ['description' => '可用TTL列表。', 'type' => 'string', 'example' => '[600,1800,3600,43200,86400]'],
+ ],
+ ],
+ ],
+ 'MinTtl' => ['description' => '最小TTL。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'InClean' => ['description' => '是否在清洗中。', 'type' => 'boolean', 'example' => 'false'],
+ 'VersionName' => ['description' => '云解析产品名称。', 'type' => 'string', 'example' => '企业旗舰版'],
+ 'LineType' => ['description' => '解析请求来源线路类型。', 'type' => 'string', 'example' => 'region_province'],
+ 'SubDomain' => ['description' => '查询的 domain 是否是托管的子域名。'."\n"
+ .'取值:'."\n"
+ .'- true'."\n"
+ .'- false', 'type' => 'boolean', 'example' => 'false'],
+ 'DomainLoggingSwitchStatus' => ['description' => '日志开关状态', 'type' => 'string', 'example' => 'CLOSE:关闭状态'."\n"
+ .'OPEN:开启状态'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 10,\\n \\"Instances\\": {\\n \\"Instance\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3h****\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1710467214858,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1710467214858,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"CommodityCode\\": \\"dns_gtm_public_cn\\",\\n \\"MonthlySmsQuota\\": 2000,\\n \\"MonitorTaskQuota\\": 100,\\n \\"InstanceName\\": \\"test\\",\\n \\"ExpireTime\\": 0,\\n \\"ExpireTimestamp\\": \\"1725552000000\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"MonthlySmsUsed\\": 200,\\n \\"MonthlyEmailUsed\\": 200,\\n \\"MonthlyWebhookUsed\\": 100,\\n \\"ChargeType\\": \\"postpay / prepay\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '搜索实例列表',
- ],
- 'SearchCloudGtmInstanceConfigs' => [
- 'summary' => '根据传入参数搜索实例配置列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => '获取域名信息',
+ 'description' => '本示例中域名绑定的实例为企业旗舰版。线路枚举信息可以参考RecordLines的返回值。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainInfo'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RecordLineTreeJson\\": \\"{\\\\\\"default\\\\\\":{},\\\\\\"unicom\\\\\\":{},\\\\\\"telecom\\\\\\":{},\\\\\\"mobile\\\\\\":{},\\\\\\"edu\\\\\\":{},\\\\\\"oversea\\\\\\":{},\\\\\\"baidu\\\\\\":{},\\\\\\"biying\\\\\\":{},\\\\\\"google\\\\\\":{}}\\",\\n \\"GroupName\\": \\"mygroup\\",\\n \\"InBlackHole\\": false,\\n \\"RegionLines\\": false,\\n \\"SlaveDns\\": true,\\n \\"AliDomain\\": true,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"ResourceGroupId\\": \\"rg-aek3dj3******\\",\\n \\"InstanceId\\": \\"i-7**\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"CreateTime\\": \\"2015-12-12T09:23Z\\",\\n \\"PunyCode\\": \\"example.com\\",\\n \\"DnsServers\\": {\\n \\"DnsServer\\": [\\n \\"[\\\\\\"vip3.alidns.com\\\\\\", \\\\\\"vip4.alidns.com\\\\\\"]\\"\\n ]\\n },\\n \\"Remark\\": \\"remark\\",\\n \\"GroupId\\": \\"2***\\",\\n \\"VersionCode\\": \\"mianfei\\",\\n \\"RecordLines\\": {\\n \\"RecordLine\\": [\\n {\\n \\"FatherCode\\": \\"internal\\",\\n \\"LineDisplayName\\": \\"中国地区_西北\\",\\n \\"LineCode\\": \\"cn_region_xibei\\",\\n \\"LineName\\": \\"西北\\"\\n }\\n ]\\n },\\n \\"DomainId\\": \\"00efd71a-7************\\",\\n \\"AvailableTtls\\": {\\n \\"AvailableTtl\\": [\\n \\"[600,1800,3600,43200,86400]\\"\\n ]\\n },\\n \\"MinTtl\\": 1,\\n \\"InClean\\": false,\\n \\"VersionName\\": \\"企业旗舰版\\",\\n \\"LineType\\": \\"region_province\\",\\n \\"SubDomain\\": false,\\n \\"DomainLoggingSwitchStatus\\": \\"CLOSE:关闭状态\\\\nOPEN:开启状态\\"\\n}","errorExample":""},{"type":"xml","example":"<GroupName>dns-example.com</GroupName>\\n<RecordLineTreeJson>{\\"default\\":{},\\"aliyun\\":{\\"aliyun_r_cn-hangzhou\\":[],\\"aliyun_r_cn-shanghai\\":[],\\"aliyun_r_cn-qingdao\\":[],\\"aliyun_r_cn-beijing\\":[],\\"aliyun_r_cn-zhangjiakou\\":[],\\"aliyun_r_cn-huhehaote\\":[],\\"aliyun_r_cn-wulanchabu\\":[],\\"aliyun_r_cn-shenzhen\\":[],\\"aliyun_r_cn-heyuan\\":[],\\"aliyun_r_cn-guangzhou\\":[],\\"aliyun_r_cn-chengdu\\":[],\\"aliyun_r_cn-hongkong\\":[],\\"aliyun_r_ap-southeast-1\\":[],\\"aliyun_r_ap-southeast-2\\":[],\\"aliyun_r_ap-southeast-3\\":[],\\"aliyun_r_ap-southeast-5\\":[],\\"aliyun_r_ap-northeast-1\\":[],\\"aliyun_r_eu-central-1\\":[],\\"aliyun_r_eu-west-1\\":[],\\"aliyun_r_us-west-1\\":[],\\"aliyun_r_us-east-1\\":[],\\"aliyun_r_ap-south-1\\":[],\\"aliyun_r_me-east-1\\":[]},\\"unicom\\":{\\"cn_unicom_xizang\\":[],\\"cn_unicom_jiangxi\\":[],\\"cn_unicom_hunan\\":[],\\"cn_unicom_xinjiang\\":[],\\"cn_unicom_ningxia\\":[],\\"cn_unicom_tianjin\\":[],\\"cn_unicom_sichuan\\":[],\\"cn_unicom_guangxi\\":[],\\"cn_unicom_yunnan\\":[],\\"cn_unicom_guangdong\\":[],\\"cn_unicom_anhui\\":[],\\"cn_unicom_shanghai\\":[],\\"cn_unicom_fujian\\":[],\\"cn_unicom_qinghai\\":[],\\"cn_unicom_shanxi\\":[],\\"cn_unicom_henan\\":[],\\"cn_unicom_guizhou\\":[],\\"cn_unicom_liaoning\\":[],\\"cn_unicom_gansu\\":[],\\"cn_unicom_chongqing\\":[],\\"cn_unicom_heilongjiang\\":[],\\"cn_unicom_hubei\\":[],\\"cn_unicom_jiangsu\\":[],\\"cn_unicom_jilin\\":[],\\"cn_unicom_shandong\\":[],\\"cn_unicom_beijing\\":[],\\"cn_unicom_neimenggu\\":[],\\"cn_unicom_hainan\\":[],\\"cn_unicom_shaanxi\\":[],\\"cn_unicom_hebei\\":[],\\"cn_unicom_zhejiang\\":[]},\\"telecom\\":{\\"cn_telecom_xinjiang\\":[],\\"cn_telecom_hubei\\":[],\\"cn_telecom_guizhou\\":[],\\"cn_telecom_yunnan\\":[],\\"cn_telecom_shanghai\\":[],\\"cn_telecom_shaanxi\\":[],\\"cn_telecom_beijing\\":[],\\"cn_telecom_sichuan\\":[],\\"cn_telecom_zhejiang\\":[],\\"cn_telecom_ningxia\\":[],\\"cn_telecom_jilin\\":[],\\"cn_telecom_qinghai\\":[],\\"cn_telecom_fujian\\":[],\\"cn_telecom_hunan\\":[],\\"cn_telecom_shandong\\":[],\\"cn_telecom_guangdong\\":[],\\"cn_telecom_chongqing\\":[],\\"cn_telecom_henan\\":[],\\"cn_telecom_hainan\\":[],\\"cn_telecom_anhui\\":[],\\"cn_telecom_jiangsu\\":[],\\"cn_telecom_gansu\\":[],\\"cn_telecom_guangxi\\":[],\\"cn_telecom_liaoning\\":[],\\"cn_telecom_hebei\\":[],\\"cn_telecom_jiangxi\\":[],\\"cn_telecom_neimenggu\\":[],\\"cn_telecom_tianjin\\":[],\\"cn_telecom_xizang\\":[],\\"cn_telecom_heilongjiang\\":[],\\"cn_telecom_shanxi\\":[]},\\"mobile\\":{\\"cn_mobile_sichuan\\":[],\\"cn_mobile_liaoning\\":[],\\"cn_mobile_ningxia\\":[],\\"cn_mobile_qinghai\\":[],\\"cn_mobile_shanxi\\":[],\\"cn_mobile_beijing\\":[],\\"cn_mobile_yunnan\\":[],\\"cn_mobile_heilongjiang\\":[],\\"cn_mobile_henan\\":[],\\"cn_mobile_shaanxi\\":[],\\"cn_mobile_gansu\\":[],\\"cn_mobile_jilin\\":[],\\"cn_mobile_guangxi\\":[],\\"cn_mobile_jiangxi\\":[],\\"cn_mobile_shanghai\\":[],\\"cn_mobile_xinjiang\\":[],\\"cn_mobile_xizang\\":[],\\"cn_mobile_tianjin\\":[],\\"cn_mobile_hunan\\":[],\\"cn_mobile_neimenggu\\":[],\\"cn_mobile_zhejiang\\":[],\\"cn_mobile_hebei\\":[],\\"cn_mobile_guizhou\\":[],\\"cn_mobile_jiangsu\\":[],\\"cn_mobile_guangdong\\":[],\\"cn_mobile_chongqing\\":[],\\"cn_mobile_hainan\\":[],\\"cn_mobile_fujian\\":[],\\"cn_mobile_shandong\\":[],\\"cn_mobile_anhui\\":[],\\"cn_mobile_hubei\\":[]},\\"edu\\":{\\"cn_edu_guizhou\\":[],\\"cn_edu_guangdong\\":[],\\"cn_edu_hainan\\":[],\\"cn_edu_jilin\\":[],\\"cn_edu_gansu\\":[],\\"cn_edu_tianjin\\":[],\\"cn_edu_shanxi\\":[],\\"cn_edu_jiangsu\\":[],\\"cn_edu_hunan\\":[],\\"cn_edu_shandong\\":[],\\"cn_edu_xizang\\":[],\\"cn_edu_yunnan\\":[],\\"cn_edu_shaanxi\\":[],\\"cn_edu_heilongjiang\\":[],\\"cn_edu_hubei\\":[],\\"cn_edu_xinjiang\\":[],\\"cn_edu_zhejiang\\":[],\\"cn_edu_jiangxi\\":[],\\"cn_edu_chongqing\\":[],\\"cn_edu_sichuan\\":[],\\"cn_edu_qinghai\\":[],\\"cn_edu_henan\\":[],\\"cn_edu_neimenggu\\":[],\\"cn_edu_anhui\\":[],\\"cn_edu_beijing\\":[],\\"cn_edu_guangxi\\":[],\\"cn_edu_liaoning\\":[],\\"cn_edu_ningxia\\":[],\\"cn_edu_fujian\\":[],\\"cn_edu_shanghai\\":[],\\"cn_edu_hebei\\":[]},\\"drpeng\\":{\\"cn_drpeng_qinghai\\":[],\\"cn_drpeng_shanghai\\":[],\\"cn_drpeng_jiangsu\\":[],\\"cn_drpeng_yunnan\\":[],\\"cn_drpeng_liaoning\\":[],\\"cn_drpeng_beijing\\":[],\\"cn_drpeng_fujian\\":[],\\"cn_drpeng_shanxi\\":[],\\"cn_drpeng_jiangxi\\":[],\\"cn_drpeng_gansu\\":[],\\"cn_drpeng_jilin\\":[],\\"cn_drpeng_guangdong\\":[],\\"cn_drpeng_hubei\\":[],\\"cn_drpeng_ningxia\\":[],\\"cn_drpeng_hainan\\":[],\\"cn_drpeng_hebei\\":[],\\"cn_drpeng_heilongjiang\\":[],\\"cn_drpeng_xizang\\":[],\\"cn_drpeng_anhui\\":[],\\"cn_drpeng_hunan\\":[],\\"cn_drpeng_henan\\":[],\\"cn_drpeng_neimenggu\\":[],\\"cn_drpeng_guangxi\\":[],\\"cn_drpeng_shandong\\":[],\\"cn_drpeng_xinjiang\\":[],\\"cn_drpeng_guizhou\\":[],\\"cn_drpeng_sichuan\\":[],\\"cn_drpeng_chongqing\\":[],\\"cn_drpeng_shaanxi\\":[],\\"cn_drpeng_tianjin\\":[],\\"cn_drpeng_zhejiang\\":[]},\\"btvn\\":{\\"cn_btvn_hebei\\":[],\\"cn_btvn_qinghai\\":[],\\"cn_btvn_shanxi\\":[],\\"cn_btvn_ningxia\\":[],\\"cn_btvn_guangxi\\":[],\\"cn_btvn_jiangsu\\":[],\\"cn_btvn_guangdong\\":[],\\"cn_btvn_jilin\\":[],\\"cn_btvn_shanghai\\":[],\\"cn_btvn_henan\\":[],\\"cn_btvn_tianjin\\":[],\\"cn_btvn_anhui\\":[],\\"cn_btvn_guizhou\\":[],\\"cn_btvn_chongqing\\":[],\\"cn_btvn_liaoning\\":[],\\"cn_btvn_xizang\\":[],\\"cn_btvn_zhejiang\\":[],\\"cn_btvn_xinjiang\\":[],\\"cn_btvn_yunnan\\":[],\\"cn_btvn_shandong\\":[],\\"cn_btvn_neimenggu\\":[],\\"cn_btvn_shaanxi\\":[],\\"cn_btvn_fujian\\":[],\\"cn_btvn_beijing\\":[],\\"cn_btvn_heilongjiang\\":[],\\"cn_btvn_gansu\\":[],\\"cn_btvn_sichuan\\":[],\\"cn_btvn_hubei\\":[],\\"cn_btvn_hunan\\":[],\\"cn_btvn_hainan\\":[],\\"cn_btvn_jiangxi\\":[]},\\"oversea\\":{\\"os_asia\\":[\\"os_asia_tr\\",\\"os_asia_om\\",\\"os_asia_kz\\",\\"os_asia_ae\\",\\"os_asia_kr\\",\\"os_asia_tw\\",\\"os_asia_pk\\",\\"os_asia_ir\\",\\"os_asia_uz\\",\\"os_asia_mm\\",\\"os_asia_id\\",\\"os_asia_bh\\",\\"os_asia_my\\",\\"os_asia_lb\\",\\"os_asia_kp\\",\\"os_asia_qa\\",\\"os_asia_vn\\",\\"os_asia_sy\\",\\"os_asia_ph\\",\\"os_asia_kw\\",\\"os_asia_mn\\",\\"os_asia_mo\\",\\"os_asia_kh\\",\\"os_asia_mv\\",\\"os_asia_la\\",\\"os_asia_sg\\",\\"os_asia_np\\",\\"os_asia_sa\\",\\"os_asia_iq\\",\\"os_asia_th\\",\\"os_asia_jp\\",\\"os_asia_in\\",\\"os_asia_hk\\",\\"os_asia_il\\"],\\"os_africa\\":[\\"os_africa_ao\\",\\"os_africa_gh\\",\\"os_africa_sc\\",\\"os_africa_dz\\",\\"os_africa_ng\\",\\"os_africa_sd\\",\\"os_africa_cm\\",\\"os_africa_ss\\",\\"os_africa_ci\\",\\"os_africa_sn\\",\\"os_africa_eg\\",\\"os_africa_za\\",\\"os_africa_ke\\",\\"os_africa_ma\\"],\\"os_namerica\\":[\\"os_namerica_ca\\",\\"os_namerica_us\\",\\"os_namerica_cu\\",\\"os_namerica_mx\\"],\\"os_oceanica\\":[\\"os_oceanica_nz\\",\\"os_oceanica_fj\\",\\"os_oceanica_au\\",\\"os_oceanica_pw\\"],\\"os_samerica\\":[\\"os_samerica_ec\\",\\"os_samerica_uy\\",\\"os_samerica_ar\\",\\"os_samerica_br\\",\\"os_samerica_co\\",\\"os_samerica_cl\\",\\"os_samerica_py\\",\\"os_samerica_ve\\",\\"os_samerica_bo\\",\\"os_samerica_pe\\"],\\"os_euro\\":[\\"os_euro_hr\\",\\"os_euro_es\\",\\"os_euro_pl\\",\\"os_euro_pt\\",\\"os_euro_ch\\",\\"os_euro_dk\\",\\"os_euro_ua\\",\\"os_euro_it\\",\\"os_euro_de\\",\\"os_euro_fi\\",\\"os_euro_fr\\",\\"os_euro_ro\\",\\"os_euro_ie\\",\\"os_euro_be\\",\\"os_euro_hu\\",\\"os_euro_se\\",\\"os_euro_by\\",\\"os_euro_lt\\",\\"os_euro_sk\\",\\"os_euro_cz\\",\\"os_euro_nl\\",\\"os_euro_gb\\",\\"os_euro_at\\",\\"os_euro_bg\\",\\"os_euro_is\\",\\"os_euro_si\\",\\"os_euro_ru\\"]},\\"search\\":{\\"google\\":[],\\"baidu\\":[],\\"biying\\":[],\\"youdao\\":[]},\\"hra1e0-1161\\":{},\\"hra15r-864\\":{},\\"hra15q-863\\":{},\\"hra15p-862\\":{},\\"hra15o-861\\":{},\\"hra15n-860\\":{},\\"hra14m-823\\":{}}</RecordLineTreeJson>\\n<InBlackHole>false</InBlackHole>\\n<RegionLines>true</RegionLines>\\n<RequestId>CA8F8FEE-BE0E-4DC8-AEA8-0B2EAD4CB756</RequestId>\\n<AliDomain>true</AliDomain>\\n<SlaveDns>true</SlaveDns>\\n<ResourceGroupId>rg-acfmw2vjqzvwrfi</ResourceGroupId>\\n<DomainName>dns-example.com</DomainName>\\n<InstanceId>dns-cn-st21yjlom5j</InstanceId>\\n<CreateTime>2019-01-30T05:25Z</CreateTime>\\n<PunyCode>dns-example.com</PunyCode>\\n<DnsServers>\\n <DnsServer>vip3.alidns.com</DnsServer>\\n <DnsServer>vip4.alidns.com</DnsServer>\\n</DnsServers>\\n<Remark/>\\n<GroupId>de0efd8ff83c4178946fe37fa6eafaf4</GroupId>\\n<VersionCode>version_enterprise_advanced</VersionCode>\\n<RecordLines>\\n <RecordLine>\\n <LineDisplayName>默认</LineDisplayName>\\n <LineCode>default</LineCode>\\n <LineName>默认</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>阿里云</LineDisplayName>\\n <LineCode>aliyun</LineCode>\\n <LineName>阿里云</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华东1(杭州)</LineDisplayName>\\n <LineCode>aliyun_r_cn-hangzhou</LineCode>\\n <LineName>华东1(杭州)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华东2(上海)</LineDisplayName>\\n <LineCode>aliyun_r_cn-shanghai</LineCode>\\n <LineName>华东2(上海)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华北1(青岛)</LineDisplayName>\\n <LineCode>aliyun_r_cn-qingdao</LineCode>\\n <LineName>华北1(青岛)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华北2(北京)</LineDisplayName>\\n <LineCode>aliyun_r_cn-beijing</LineCode>\\n <LineName>华北2(北京)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华北3(张家口)</LineDisplayName>\\n <LineCode>aliyun_r_cn-zhangjiakou</LineCode>\\n <LineName>华北3(张家口)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华北5(呼和浩特)</LineDisplayName>\\n <LineCode>aliyun_r_cn-huhehaote</LineCode>\\n <LineName>华北5(呼和浩特)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华北6(乌兰察布)</LineDisplayName>\\n <LineCode>aliyun_r_cn-wulanchabu</LineCode>\\n <LineName>华北6(乌兰察布)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华南1(深圳)</LineDisplayName>\\n <LineCode>aliyun_r_cn-shenzhen</LineCode>\\n <LineName>华南1(深圳)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华南2(河源)</LineDisplayName>\\n <LineCode>aliyun_r_cn-heyuan</LineCode>\\n <LineName>华南2(河源)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_华南3(广州)</LineDisplayName>\\n <LineCode>aliyun_r_cn-guangzhou</LineCode>\\n <LineName>华南3(广州)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_西南1(成都)</LineDisplayName>\\n <LineCode>aliyun_r_cn-chengdu</LineCode>\\n <LineName>西南1(成都)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_中国(香港)</LineDisplayName>\\n <LineCode>aliyun_r_cn-hongkong</LineCode>\\n <LineName>中国(香港)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_新加坡</LineDisplayName>\\n <LineCode>aliyun_r_ap-southeast-1</LineCode>\\n <LineName>新加坡</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_澳大利亚(悉尼)</LineDisplayName>\\n <LineCode>aliyun_r_ap-southeast-2</LineCode>\\n <LineName>澳大利亚(悉尼)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_马来西亚(吉隆坡)</LineDisplayName>\\n <LineCode>aliyun_r_ap-southeast-3</LineCode>\\n <LineName>马来西亚(吉隆坡)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_印度尼西亚(雅加达)</LineDisplayName>\\n <LineCode>aliyun_r_ap-southeast-5</LineCode>\\n <LineName>印度尼西亚(雅加达)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_日本(东京)</LineDisplayName>\\n <LineCode>aliyun_r_ap-northeast-1</LineCode>\\n <LineName>日本(东京)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_德国(法兰克福)</LineDisplayName>\\n <LineCode>aliyun_r_eu-central-1</LineCode>\\n <LineName>德国(法兰克福)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_英国(伦敦)</LineDisplayName>\\n <LineCode>aliyun_r_eu-west-1</LineCode>\\n <LineName>英国(伦敦)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_美国(硅谷)</LineDisplayName>\\n <LineCode>aliyun_r_us-west-1</LineCode>\\n <LineName>美国(硅谷)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_美国(弗吉尼亚)</LineDisplayName>\\n <LineCode>aliyun_r_us-east-1</LineCode>\\n <LineName>美国(弗吉尼亚)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_印度(孟买)</LineDisplayName>\\n <LineCode>aliyun_r_ap-south-1</LineCode>\\n <LineName>印度(孟买)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>aliyun</FatherCode>\\n <LineDisplayName>阿里云_中东东部 1 (迪拜)</LineDisplayName>\\n <LineCode>aliyun_r_me-east-1</LineCode>\\n <LineName>中东东部 1 (迪拜)</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国联通</LineDisplayName>\\n <LineCode>unicom</LineCode>\\n <LineName>中国联通</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_西藏</LineDisplayName>\\n <LineCode>cn_unicom_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_江西</LineDisplayName>\\n <LineCode>cn_unicom_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_湖南</LineDisplayName>\\n <LineCode>cn_unicom_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_新疆</LineDisplayName>\\n <LineCode>cn_unicom_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_宁夏</LineDisplayName>\\n <LineCode>cn_unicom_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_天津</LineDisplayName>\\n <LineCode>cn_unicom_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_四川</LineDisplayName>\\n <LineCode>cn_unicom_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_广西</LineDisplayName>\\n <LineCode>cn_unicom_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_云南</LineDisplayName>\\n <LineCode>cn_unicom_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_广东</LineDisplayName>\\n <LineCode>cn_unicom_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_安徽</LineDisplayName>\\n <LineCode>cn_unicom_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_上海</LineDisplayName>\\n <LineCode>cn_unicom_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_福建</LineDisplayName>\\n <LineCode>cn_unicom_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_青海</LineDisplayName>\\n <LineCode>cn_unicom_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_山西</LineDisplayName>\\n <LineCode>cn_unicom_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_河南</LineDisplayName>\\n <LineCode>cn_unicom_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_贵州</LineDisplayName>\\n <LineCode>cn_unicom_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_辽宁</LineDisplayName>\\n <LineCode>cn_unicom_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_甘肃</LineDisplayName>\\n <LineCode>cn_unicom_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_重庆</LineDisplayName>\\n <LineCode>cn_unicom_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_黑龙江</LineDisplayName>\\n <LineCode>cn_unicom_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_湖北</LineDisplayName>\\n <LineCode>cn_unicom_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_江苏</LineDisplayName>\\n <LineCode>cn_unicom_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_吉林</LineDisplayName>\\n <LineCode>cn_unicom_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_山东</LineDisplayName>\\n <LineCode>cn_unicom_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_北京</LineDisplayName>\\n <LineCode>cn_unicom_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_内蒙古</LineDisplayName>\\n <LineCode>cn_unicom_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_海南</LineDisplayName>\\n <LineCode>cn_unicom_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_陕西</LineDisplayName>\\n <LineCode>cn_unicom_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_河北</LineDisplayName>\\n <LineCode>cn_unicom_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>中国联通_浙江</LineDisplayName>\\n <LineCode>cn_unicom_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国电信</LineDisplayName>\\n <LineCode>telecom</LineCode>\\n <LineName>中国电信</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_新疆</LineDisplayName>\\n <LineCode>cn_telecom_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_湖北</LineDisplayName>\\n <LineCode>cn_telecom_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_贵州</LineDisplayName>\\n <LineCode>cn_telecom_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_云南</LineDisplayName>\\n <LineCode>cn_telecom_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_上海</LineDisplayName>\\n <LineCode>cn_telecom_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_陕西</LineDisplayName>\\n <LineCode>cn_telecom_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_北京</LineDisplayName>\\n <LineCode>cn_telecom_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_四川</LineDisplayName>\\n <LineCode>cn_telecom_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_浙江</LineDisplayName>\\n <LineCode>cn_telecom_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_宁夏</LineDisplayName>\\n <LineCode>cn_telecom_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_吉林</LineDisplayName>\\n <LineCode>cn_telecom_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_青海</LineDisplayName>\\n <LineCode>cn_telecom_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_福建</LineDisplayName>\\n <LineCode>cn_telecom_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_湖南</LineDisplayName>\\n <LineCode>cn_telecom_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_山东</LineDisplayName>\\n <LineCode>cn_telecom_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_广东</LineDisplayName>\\n <LineCode>cn_telecom_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_重庆</LineDisplayName>\\n <LineCode>cn_telecom_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_河南</LineDisplayName>\\n <LineCode>cn_telecom_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_海南</LineDisplayName>\\n <LineCode>cn_telecom_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_安徽</LineDisplayName>\\n <LineCode>cn_telecom_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_江苏</LineDisplayName>\\n <LineCode>cn_telecom_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_甘肃</LineDisplayName>\\n <LineCode>cn_telecom_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_广西</LineDisplayName>\\n <LineCode>cn_telecom_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_辽宁</LineDisplayName>\\n <LineCode>cn_telecom_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_河北</LineDisplayName>\\n <LineCode>cn_telecom_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_江西</LineDisplayName>\\n <LineCode>cn_telecom_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_内蒙古</LineDisplayName>\\n <LineCode>cn_telecom_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_天津</LineDisplayName>\\n <LineCode>cn_telecom_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_西藏</LineDisplayName>\\n <LineCode>cn_telecom_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_黑龙江</LineDisplayName>\\n <LineCode>cn_telecom_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>telecom</FatherCode>\\n <LineDisplayName>中国电信_山西</LineDisplayName>\\n <LineCode>cn_telecom_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国移动</LineDisplayName>\\n <LineCode>mobile</LineCode>\\n <LineName>中国移动</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_四川</LineDisplayName>\\n <LineCode>cn_mobile_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_辽宁</LineDisplayName>\\n <LineCode>cn_mobile_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_宁夏</LineDisplayName>\\n <LineCode>cn_mobile_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_青海</LineDisplayName>\\n <LineCode>cn_mobile_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_山西</LineDisplayName>\\n <LineCode>cn_mobile_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_北京</LineDisplayName>\\n <LineCode>cn_mobile_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_云南</LineDisplayName>\\n <LineCode>cn_mobile_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_黑龙江</LineDisplayName>\\n <LineCode>cn_mobile_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_河南</LineDisplayName>\\n <LineCode>cn_mobile_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_陕西</LineDisplayName>\\n <LineCode>cn_mobile_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_甘肃</LineDisplayName>\\n <LineCode>cn_mobile_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_吉林</LineDisplayName>\\n <LineCode>cn_mobile_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_广西</LineDisplayName>\\n <LineCode>cn_mobile_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_江西</LineDisplayName>\\n <LineCode>cn_mobile_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_上海</LineDisplayName>\\n <LineCode>cn_mobile_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_新疆</LineDisplayName>\\n <LineCode>cn_mobile_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_西藏</LineDisplayName>\\n <LineCode>cn_mobile_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_天津</LineDisplayName>\\n <LineCode>cn_mobile_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_湖南</LineDisplayName>\\n <LineCode>cn_mobile_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_内蒙古</LineDisplayName>\\n <LineCode>cn_mobile_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_浙江</LineDisplayName>\\n <LineCode>cn_mobile_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_河北</LineDisplayName>\\n <LineCode>cn_mobile_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_贵州</LineDisplayName>\\n <LineCode>cn_mobile_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_江苏</LineDisplayName>\\n <LineCode>cn_mobile_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_广东</LineDisplayName>\\n <LineCode>cn_mobile_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_重庆</LineDisplayName>\\n <LineCode>cn_mobile_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_海南</LineDisplayName>\\n <LineCode>cn_mobile_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_福建</LineDisplayName>\\n <LineCode>cn_mobile_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_山东</LineDisplayName>\\n <LineCode>cn_mobile_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_安徽</LineDisplayName>\\n <LineCode>cn_mobile_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>mobile</FatherCode>\\n <LineDisplayName>中国移动_湖北</LineDisplayName>\\n <LineCode>cn_mobile_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国教育网</LineDisplayName>\\n <LineCode>edu</LineCode>\\n <LineName>中国教育网</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_贵州</LineDisplayName>\\n <LineCode>cn_edu_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_广东</LineDisplayName>\\n <LineCode>cn_edu_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_海南</LineDisplayName>\\n <LineCode>cn_edu_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_吉林</LineDisplayName>\\n <LineCode>cn_edu_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_甘肃</LineDisplayName>\\n <LineCode>cn_edu_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_天津</LineDisplayName>\\n <LineCode>cn_edu_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_山西</LineDisplayName>\\n <LineCode>cn_edu_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_江苏</LineDisplayName>\\n <LineCode>cn_edu_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_湖南</LineDisplayName>\\n <LineCode>cn_edu_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_山东</LineDisplayName>\\n <LineCode>cn_edu_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_西藏</LineDisplayName>\\n <LineCode>cn_edu_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_云南</LineDisplayName>\\n <LineCode>cn_edu_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_陕西</LineDisplayName>\\n <LineCode>cn_edu_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_黑龙江</LineDisplayName>\\n <LineCode>cn_edu_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_湖北</LineDisplayName>\\n <LineCode>cn_edu_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_新疆</LineDisplayName>\\n <LineCode>cn_edu_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_浙江</LineDisplayName>\\n <LineCode>cn_edu_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_江西</LineDisplayName>\\n <LineCode>cn_edu_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_重庆</LineDisplayName>\\n <LineCode>cn_edu_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_四川</LineDisplayName>\\n <LineCode>cn_edu_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_青海</LineDisplayName>\\n <LineCode>cn_edu_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_河南</LineDisplayName>\\n <LineCode>cn_edu_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_内蒙古</LineDisplayName>\\n <LineCode>cn_edu_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_安徽</LineDisplayName>\\n <LineCode>cn_edu_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_北京</LineDisplayName>\\n <LineCode>cn_edu_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_广西</LineDisplayName>\\n <LineCode>cn_edu_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_辽宁</LineDisplayName>\\n <LineCode>cn_edu_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_宁夏</LineDisplayName>\\n <LineCode>cn_edu_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_福建</LineDisplayName>\\n <LineCode>cn_edu_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_上海</LineDisplayName>\\n <LineCode>cn_edu_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>edu</FatherCode>\\n <LineDisplayName>中国教育网_河北</LineDisplayName>\\n <LineCode>cn_edu_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国鹏博士</LineDisplayName>\\n <LineCode>drpeng</LineCode>\\n <LineName>中国鹏博士</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_青海</LineDisplayName>\\n <LineCode>cn_drpeng_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_上海</LineDisplayName>\\n <LineCode>cn_drpeng_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_江苏</LineDisplayName>\\n <LineCode>cn_drpeng_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_云南</LineDisplayName>\\n <LineCode>cn_drpeng_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_辽宁</LineDisplayName>\\n <LineCode>cn_drpeng_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_北京</LineDisplayName>\\n <LineCode>cn_drpeng_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_福建</LineDisplayName>\\n <LineCode>cn_drpeng_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_山西</LineDisplayName>\\n <LineCode>cn_drpeng_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_江西</LineDisplayName>\\n <LineCode>cn_drpeng_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_甘肃</LineDisplayName>\\n <LineCode>cn_drpeng_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_吉林</LineDisplayName>\\n <LineCode>cn_drpeng_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_广东</LineDisplayName>\\n <LineCode>cn_drpeng_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_湖北</LineDisplayName>\\n <LineCode>cn_drpeng_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_宁夏</LineDisplayName>\\n <LineCode>cn_drpeng_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_海南</LineDisplayName>\\n <LineCode>cn_drpeng_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_河北</LineDisplayName>\\n <LineCode>cn_drpeng_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_黑龙江</LineDisplayName>\\n <LineCode>cn_drpeng_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_西藏</LineDisplayName>\\n <LineCode>cn_drpeng_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_安徽</LineDisplayName>\\n <LineCode>cn_drpeng_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_湖南</LineDisplayName>\\n <LineCode>cn_drpeng_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_河南</LineDisplayName>\\n <LineCode>cn_drpeng_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_内蒙古</LineDisplayName>\\n <LineCode>cn_drpeng_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_广西</LineDisplayName>\\n <LineCode>cn_drpeng_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_山东</LineDisplayName>\\n <LineCode>cn_drpeng_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_新疆</LineDisplayName>\\n <LineCode>cn_drpeng_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_贵州</LineDisplayName>\\n <LineCode>cn_drpeng_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_四川</LineDisplayName>\\n <LineCode>cn_drpeng_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_重庆</LineDisplayName>\\n <LineCode>cn_drpeng_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_陕西</LineDisplayName>\\n <LineCode>cn_drpeng_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_天津</LineDisplayName>\\n <LineCode>cn_drpeng_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>drpeng</FatherCode>\\n <LineDisplayName>中国鹏博士_浙江</LineDisplayName>\\n <LineCode>cn_drpeng_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>中国广电网</LineDisplayName>\\n <LineCode>btvn</LineCode>\\n <LineName>中国广电网</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_河北</LineDisplayName>\\n <LineCode>cn_btvn_hebei</LineCode>\\n <LineName>河北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_青海</LineDisplayName>\\n <LineCode>cn_btvn_qinghai</LineCode>\\n <LineName>青海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_山西</LineDisplayName>\\n <LineCode>cn_btvn_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_宁夏</LineDisplayName>\\n <LineCode>cn_btvn_ningxia</LineCode>\\n <LineName>宁夏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_广西</LineDisplayName>\\n <LineCode>cn_btvn_guangxi</LineCode>\\n <LineName>广西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_江苏</LineDisplayName>\\n <LineCode>cn_btvn_jiangsu</LineCode>\\n <LineName>江苏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_广东</LineDisplayName>\\n <LineCode>cn_btvn_guangdong</LineCode>\\n <LineName>广东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_吉林</LineDisplayName>\\n <LineCode>cn_btvn_jilin</LineCode>\\n <LineName>吉林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_上海</LineDisplayName>\\n <LineCode>cn_btvn_shanghai</LineCode>\\n <LineName>上海</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_河南</LineDisplayName>\\n <LineCode>cn_btvn_henan</LineCode>\\n <LineName>河南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_天津</LineDisplayName>\\n <LineCode>cn_btvn_tianjin</LineCode>\\n <LineName>天津</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_安徽</LineDisplayName>\\n <LineCode>cn_btvn_anhui</LineCode>\\n <LineName>安徽</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_贵州</LineDisplayName>\\n <LineCode>cn_btvn_guizhou</LineCode>\\n <LineName>贵州</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_重庆</LineDisplayName>\\n <LineCode>cn_btvn_chongqing</LineCode>\\n <LineName>重庆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_辽宁</LineDisplayName>\\n <LineCode>cn_btvn_liaoning</LineCode>\\n <LineName>辽宁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_西藏</LineDisplayName>\\n <LineCode>cn_btvn_xizang</LineCode>\\n <LineName>西藏</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_浙江</LineDisplayName>\\n <LineCode>cn_btvn_zhejiang</LineCode>\\n <LineName>浙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_新疆</LineDisplayName>\\n <LineCode>cn_btvn_xinjiang</LineCode>\\n <LineName>新疆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_云南</LineDisplayName>\\n <LineCode>cn_btvn_yunnan</LineCode>\\n <LineName>云南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_山东</LineDisplayName>\\n <LineCode>cn_btvn_shandong</LineCode>\\n <LineName>山东</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_内蒙古</LineDisplayName>\\n <LineCode>cn_btvn_neimenggu</LineCode>\\n <LineName>内蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_陕西</LineDisplayName>\\n <LineCode>cn_btvn_shaanxi</LineCode>\\n <LineName>陕西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_福建</LineDisplayName>\\n <LineCode>cn_btvn_fujian</LineCode>\\n <LineName>福建</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_北京</LineDisplayName>\\n <LineCode>cn_btvn_beijing</LineCode>\\n <LineName>北京</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_黑龙江</LineDisplayName>\\n <LineCode>cn_btvn_heilongjiang</LineCode>\\n <LineName>黑龙江</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_甘肃</LineDisplayName>\\n <LineCode>cn_btvn_gansu</LineCode>\\n <LineName>甘肃</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_四川</LineDisplayName>\\n <LineCode>cn_btvn_sichuan</LineCode>\\n <LineName>四川</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_湖北</LineDisplayName>\\n <LineCode>cn_btvn_hubei</LineCode>\\n <LineName>湖北</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国��电网_湖南</LineDisplayName>\\n <LineCode>cn_btvn_hunan</LineCode>\\n <LineName>湖南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_海南</LineDisplayName>\\n <LineCode>cn_btvn_hainan</LineCode>\\n <LineName>海南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>btvn</FatherCode>\\n <LineDisplayName>中国广电网_江西</LineDisplayName>\\n <LineCode>cn_btvn_jiangxi</LineCode>\\n <LineName>江西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>境外</LineDisplayName>\\n <LineCode>oversea</LineCode>\\n <LineName>境外</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_亚洲</LineDisplayName>\\n <LineCode>os_asia</LineCode>\\n <LineName>亚洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_土耳其</LineDisplayName>\\n <LineCode>os_asia_tr</LineCode>\\n <LineName>土耳其</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_阿曼</LineDisplayName>\\n <LineCode>os_asia_om</LineCode>\\n <LineName>阿曼</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_哈萨克斯坦</LineDisplayName>\\n <LineCode>os_asia_kz</LineCode>\\n <LineName>哈萨克斯坦</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_阿联酋</LineDisplayName>\\n <LineCode>os_asia_ae</LineCode>\\n <LineName>阿联酋</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_韩国</LineDisplayName>\\n <LineCode>os_asia_kr</LineCode>\\n <LineName>韩国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_中国台湾</LineDisplayName>\\n <LineCode>os_asia_tw</LineCode>\\n <LineName>中国台湾</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_巴基斯坦</LineDisplayName>\\n <LineCode>os_asia_pk</LineCode>\\n <LineName>巴基斯坦</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_伊朗</LineDisplayName>\\n <LineCode>os_asia_ir</LineCode>\\n <LineName>伊朗</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_乌兹别克斯坦</LineDisplayName>\\n <LineCode>os_asia_uz</LineCode>\\n <LineName>乌兹别克斯坦</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_缅甸</LineDisplayName>\\n <LineCode>os_asia_mm</LineCode>\\n <LineName>缅甸</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_印尼</LineDisplayName>\\n <LineCode>os_asia_id</LineCode>\\n <LineName>印尼</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_巴林</LineDisplayName>\\n <LineCode>os_asia_bh</LineCode>\\n <LineName>巴林</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_马来西亚</LineDisplayName>\\n <LineCode>os_asia_my</LineCode>\\n <LineName>马来西亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_黎巴嫩</LineDisplayName>\\n <LineCode>os_asia_lb</LineCode>\\n <LineName>黎巴嫩</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_朝鲜</LineDisplayName>\\n <LineCode>os_asia_kp</LineCode>\\n <LineName>朝鲜</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_卡塔尔</LineDisplayName>\\n <LineCode>os_asia_qa</LineCode>\\n <LineName>卡塔尔</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_越南</LineDisplayName>\\n <LineCode>os_asia_vn</LineCode>\\n <LineName>越南</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_叙利亚</LineDisplayName>\\n <LineCode>os_asia_sy</LineCode>\\n <LineName>叙利亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_菲律宾</LineDisplayName>\\n <LineCode>os_asia_ph</LineCode>\\n <LineName>菲律宾</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_科威特</LineDisplayName>\\n <LineCode>os_asia_kw</LineCode>\\n <LineName>科威特</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_蒙古</LineDisplayName>\\n <LineCode>os_asia_mn</LineCode>\\n <LineName>蒙古</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_中国澳门</LineDisplayName>\\n <LineCode>os_asia_mo</LineCode>\\n <LineName>中国澳门</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_柬埔寨</LineDisplayName>\\n <LineCode>os_asia_kh</LineCode>\\n <LineName>柬埔寨</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_马尔代夫</LineDisplayName>\\n <LineCode>os_asia_mv</LineCode>\\n <LineName>马尔代夫</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_老挝</LineDisplayName>\\n <LineCode>os_asia_la</LineCode>\\n <LineName>老挝</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_新加坡</LineDisplayName>\\n <LineCode>os_asia_sg</LineCode>\\n <LineName>新加坡</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_尼泊尔</LineDisplayName>\\n <LineCode>os_asia_np</LineCode>\\n <LineName>尼泊尔</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_沙特</LineDisplayName>\\n <LineCode>os_asia_sa</LineCode>\\n <LineName>沙特</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_伊拉克</LineDisplayName>\\n <LineCode>os_asia_iq</LineCode>\\n <LineName>伊拉克</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_泰国</LineDisplayName>\\n <LineCode>os_asia_th</LineCode>\\n <LineName>泰国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_日本</LineDisplayName>\\n <LineCode>os_asia_jp</LineCode>\\n <LineName>日本</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_印度</LineDisplayName>\\n <LineCode>os_asia_in</LineCode>\\n <LineName>印度</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_中国香港</LineDisplayName>\\n <LineCode>os_asia_hk</LineCode>\\n <LineName>中国香港</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_asia</FatherCode>\\n <LineDisplayName>亚洲_以色列</LineDisplayName>\\n <LineCode>os_asia_il</LineCode>\\n <LineName>以色列</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_非洲</LineDisplayName>\\n <LineCode>os_africa</LineCode>\\n <LineName>非洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_安哥拉</LineDisplayName>\\n <LineCode>os_africa_ao</LineCode>\\n <LineName>安哥拉</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_加纳</LineDisplayName>\\n <LineCode>os_africa_gh</LineCode>\\n <LineName>加纳</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_塞舌尔</LineDisplayName>\\n <LineCode>os_africa_sc</LineCode>\\n <LineName>塞舌尔</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_阿尔及利亚</LineDisplayName>\\n <LineCode>os_africa_dz</LineCode>\\n <LineName>阿尔及利亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_尼日利亚</LineDisplayName>\\n <LineCode>os_africa_ng</LineCode>\\n <LineName>尼日利亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_苏丹</LineDisplayName>\\n <LineCode>os_africa_sd</LineCode>\\n <LineName>苏丹</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_喀麦隆</LineDisplayName>\\n <LineCode>os_africa_cm</LineCode>\\n <LineName>喀麦隆</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_南苏丹</LineDisplayName>\\n <LineCode>os_africa_ss</LineCode>\\n <LineName>南苏丹</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_科特迪瓦</LineDisplayName>\\n <LineCode>os_africa_ci</LineCode>\\n <LineName>科特迪瓦</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_塞内加尔</LineDisplayName>\\n <LineCode>os_africa_sn</LineCode>\\n <LineName>塞内加尔</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_埃及</LineDisplayName>\\n <LineCode>os_africa_eg</LineCode>\\n <LineName>埃及</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_南非</LineDisplayName>\\n <LineCode>os_africa_za</LineCode>\\n <LineName>南非</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_肯尼亚</LineDisplayName>\\n <LineCode>os_africa_ke</LineCode>\\n <LineName>肯尼亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_africa</FatherCode>\\n <LineDisplayName>非洲_摩洛哥</LineDisplayName>\\n <LineCode>os_africa_ma</LineCode>\\n <LineName>摩洛哥</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_北美洲</LineDisplayName>\\n <LineCode>os_namerica</LineCode>\\n <LineName>北美洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_namerica</FatherCode>\\n <LineDisplayName>北美洲_加拿大</LineDisplayName>\\n <LineCode>os_namerica_ca</LineCode>\\n <LineName>加拿大</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_namerica</FatherCode>\\n <LineDisplayName>北美洲_美国</LineDisplayName>\\n <LineCode>os_namerica_us</LineCode>\\n <LineName>美国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_namerica</FatherCode>\\n <LineDisplayName>北美洲_古巴</LineDisplayName>\\n <LineCode>os_namerica_cu</LineCode>\\n <LineName>古巴</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_namerica</FatherCode>\\n <LineDisplayName>北美洲_墨西哥</LineDisplayName>\\n <LineCode>os_namerica_mx</LineCode>\\n <LineName>墨西哥</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_大洋洲</LineDisplayName>\\n <LineCode>os_oceanica</LineCode>\\n <LineName>大洋洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_oceanica</FatherCode>\\n <LineDisplayName>大洋洲_新西兰</LineDisplayName>\\n <LineCode>os_oceanica_nz</LineCode>\\n <LineName>新西兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_oceanica</FatherCode>\\n <LineDisplayName>大洋洲_斐济</LineDisplayName>\\n <LineCode>os_oceanica_fj</LineCode>\\n <LineName>斐济</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_oceanica</FatherCode>\\n <LineDisplayName>大洋洲_澳大利亚</LineDisplayName>\\n <LineCode>os_oceanica_au</LineCode>\\n <LineName>澳大利亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_oceanica</FatherCode>\\n <LineDisplayName>大洋洲_帕劳</LineDisplayName>\\n <LineCode>os_oceanica_pw</LineCode>\\n <LineName>帕劳</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_南美洲</LineDisplayName>\\n <LineCode>os_samerica</LineCode>\\n <LineName>南美洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_厄瓜多尔</LineDisplayName>\\n <LineCode>os_samerica_ec</LineCode>\\n <LineName>厄瓜多尔</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_乌拉圭</LineDisplayName>\\n <LineCode>os_samerica_uy</LineCode>\\n <LineName>乌拉圭</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_阿根廷</LineDisplayName>\\n <LineCode>os_samerica_ar</LineCode>\\n <LineName>阿根廷</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_巴西</LineDisplayName>\\n <LineCode>os_samerica_br</LineCode>\\n <LineName>巴西</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_哥伦比亚</LineDisplayName>\\n <LineCode>os_samerica_co</LineCode>\\n <LineName>哥伦比亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_智利</LineDisplayName>\\n <LineCode>os_samerica_cl</LineCode>\\n <LineName>智利</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_巴拉圭</LineDisplayName>\\n <LineCode>os_samerica_py</LineCode>\\n <LineName>巴拉圭</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_委内瑞拉</LineDisplayName>\\n <LineCode>os_samerica_ve</LineCode>\\n <LineName>委内瑞拉</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_玻利维亚</LineDisplayName>\\n <LineCode>os_samerica_bo</LineCode>\\n <LineName>玻利维亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_samerica</FatherCode>\\n <LineDisplayName>南美洲_秘鲁</LineDisplayName>\\n <LineCode>os_samerica_pe</LineCode>\\n <LineName>秘鲁</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>oversea</FatherCode>\\n <LineDisplayName>世界_欧洲</LineDisplayName>\\n <LineCode>os_euro</LineCode>\\n <LineName>欧洲</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_克罗地亚</LineDisplayName>\\n <LineCode>os_euro_hr</LineCode>\\n <LineName>克罗地亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_西班牙</LineDisplayName>\\n <LineCode>os_euro_es</LineCode>\\n <LineName>西班牙</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_波兰</LineDisplayName>\\n <LineCode>os_euro_pl</LineCode>\\n <LineName>波兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_葡萄牙</LineDisplayName>\\n <LineCode>os_euro_pt</LineCode>\\n <LineName>葡萄牙</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_瑞士</LineDisplayName>\\n <LineCode>os_euro_ch</LineCode>\\n <LineName>瑞士</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_丹麦</LineDisplayName>\\n <LineCode>os_euro_dk</LineCode>\\n <LineName>丹麦</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_乌克兰</LineDisplayName>\\n <LineCode>os_euro_ua</LineCode>\\n <LineName>乌克兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_意大利</LineDisplayName>\\n <LineCode>os_euro_it</LineCode>\\n <LineName>意大利</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_德国</LineDisplayName>\\n <LineCode>os_euro_de</LineCode>\\n <LineName>德国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_芬兰</LineDisplayName>\\n <LineCode>os_euro_fi</LineCode>\\n <LineName>芬兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_法国</LineDisplayName>\\n <LineCode>os_euro_fr</LineCode>\\n <LineName>法国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_罗马尼亚</LineDisplayName>\\n <LineCode>os_euro_ro</LineCode>\\n <LineName>罗马尼亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_爱尔兰</LineDisplayName>\\n <LineCode>os_euro_ie</LineCode>\\n <LineName>爱尔兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_比利时</LineDisplayName>\\n <LineCode>os_euro_be</LineCode>\\n <LineName>比利时</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_匈牙利</LineDisplayName>\\n <LineCode>os_euro_hu</LineCode>\\n <LineName>匈牙利</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_瑞典</LineDisplayName>\\n <LineCode>os_euro_se</LineCode>\\n <LineName>瑞典</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_白俄罗斯</LineDisplayName>\\n <LineCode>os_euro_by</LineCode>\\n <LineName>白俄罗斯</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_立陶宛</LineDisplayName>\\n <LineCode>os_euro_lt</LineCode>\\n <LineName>立陶宛</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_斯洛伐克</LineDisplayName>\\n <LineCode>os_euro_sk</LineCode>\\n <LineName>斯洛伐克</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_捷克</LineDisplayName>\\n <LineCode>os_euro_cz</LineCode>\\n <LineName>捷克</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_荷兰</LineDisplayName>\\n <LineCode>os_euro_nl</LineCode>\\n <LineName>荷兰</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_英国</LineDisplayName>\\n <LineCode>os_euro_gb</LineCode>\\n <LineName>英国</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_奥地利</LineDisplayName>\\n <LineCode>os_euro_at</LineCode>\\n <LineName>奥地利</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_保加利亚</LineDisplayName>\\n <LineCode>os_euro_bg</LineCode>\\n <LineName>保加利亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_冰岛</LineDisplayName>\\n <LineCode>os_euro_is</LineCode>\\n <LineName>冰岛</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_斯洛文尼亚</LineDisplayName>\\n <LineCode>os_euro_si</LineCode>\\n <LineName>斯洛文尼亚</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>os_euro</FatherCode>\\n <LineDisplayName>欧洲_俄罗斯</LineDisplayName>\\n <LineCode>os_euro_ru</LineCode>\\n <LineName>俄罗斯</LineName>\\n </RecordLine>\\n <RecordLine>\\n <LineDisplayName>搜索引擎</LineDisplayName>\\n <LineCode>search</LineCode>\\n <LineName>搜索引擎</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>search</FatherCode>\\n <LineDisplayName>谷歌</LineDisplayName>\\n <LineCode>google</LineCode>\\n <LineName>谷歌</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>search</FatherCode>\\n <LineDisplayName>百度</LineDisplayName>\\n <LineCode>baidu</LineCode>\\n <LineName>百度</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>search</FatherCode>\\n <LineDisplayName>必应</LineDisplayName>\\n <LineCode>biying</LineCode>\\n <LineName>必应</LineName>\\n </RecordLine>\\n <RecordLine>\\n <FatherCode>search</FatherCode>\\n <LineDisplayName>有道</LineDisplayName>\\n <LineCode>youdao</LineCode>\\n <LineName>有道</LineName>\\n </RecordLine>\\n</RecordLines>\\n<DomainId>f8f8cd88-f253-48f5-a0ba-befcd5d0dc03</DomainId>\\n<AvailableTtls>\\n <AvailableTtl>1</AvailableTtl>\\n <AvailableTtl>5</AvailableTtl>\\n <AvailableTtl>10</AvailableTtl>\\n <AvailableTtl>60</AvailableTtl>\\n <AvailableTtl>120</AvailableTtl>\\n <AvailableTtl>600</AvailableTtl>\\n <AvailableTtl>1800</AvailableTtl>\\n <AvailableTtl>3600</AvailableTtl>\\n <AvailableTtl>43200</AvailableTtl>\\n <AvailableTtl>86400</AvailableTtl>\\n</AvailableTtls>\\n<VersionName>Alibaba Cloud DNS</VersionName>\\n<MinTtl>1</MinTtl>\\n<InClean>false</InClean>\\n<LineType>isp</LineType>","errorExample":""}]',
+ ],
+ 'DescribeDomainLogs' => [
+ 'summary' => '根据传入参数获取域名的操作日志。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -13572,147 +9988,153 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsBCOB1Q',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['description' => '请求和接收消息的语言类型。'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n"
+ ."\n"
+ .'默认为**zh**', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '关键字,按照“%KeyWord%”模式搜索,不区分大小写。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名分组ID。为空时,查询所有分组', 'type' => 'string', 'required' => false, 'example' => '2****'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'title' => '调度实例id',
- 'description' => '全局流量管理GTM 3.0实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3h****',
- ],
+ 'schema' => ['description' => '开始时间。格式:**YYYY-MM-DD**。', 'type' => 'string', 'required' => false, 'example' => '2019-07-04'],
],
[
- 'name' => 'ScheduleZoneName',
+ 'name' => 'endDate',
'in' => 'query',
- 'schema' => [
- 'title' => 'zone名称',
- 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '结束时间。格式:**YYYY-MM-DD**。', 'type' => 'string', 'required' => false, 'example' => '2019-07-04'],
],
[
- 'name' => 'ScheduleDomainName',
+ 'name' => 'Type',
'in' => 'query',
+ 'schema' => ['description' => '查询内容类型。'."\n"
+ ."\n"
+ .'- domain:域名'."\n"
+ .'- slavedns:辅助DNS'."\n"
+ ."\n"
+ .'为空时,查询所有类型', 'type' => 'string', 'required' => false, 'example' => 'domain'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => 'zone名称',
- 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.example.com',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => ['description' => '日志列表中日志的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'PageSize' => ['description' => '本次查询获取的日志数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'DomainLogs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DomainLog' => [
+ 'description' => '域名操作日志列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Action' => ['description' => '操作行为。', 'type' => 'string', 'example' => '添加'],
+ 'ActionTimestamp' => ['description' => '操作时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '143562300000'],
+ 'ZoneId' => ['description' => 'Zone ID。', 'type' => 'string', 'example' => 'cxfd3******'],
+ 'ClientIp' => ['description' => '操作者IP。', 'type' => 'string', 'example' => '182.92.XX.XX'],
+ 'Message' => ['description' => '操作消息。', 'type' => 'string', 'example' => '添加到域名解析列表'],
+ 'ActionTime' => ['description' => '操作时间。', 'type' => 'string', 'example' => '2015-12-12T09:23Z'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ ],
+ 'title' => '获取域名操作日志',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainLogs'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'EnableStatus',
- 'in' => 'query',
- 'schema' => [
- 'title' => '启用状态',
- 'description' => '域名实例的启用状态:'."\n"
- ."\n"
- .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
- ."\n"
- .'- disable:禁用状态,GTM实例智能调度策略不可用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"DomainLogs\\": {\\n \\"DomainLog\\": [\\n {\\n \\"Action\\": \\"添加\\",\\n \\"ActionTimestamp\\": 143562300000,\\n \\"ZoneId\\": \\"cxfd3******\\",\\n \\"ClientIp\\": \\"182.92.XX.XX\\",\\n \\"Message\\": \\"添加到域名解析列表\\",\\n \\"ActionTime\\": \\"2015-12-12T09:23Z\\",\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainLogsResponse>\\r\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\r\\n <TotalCount>2</TotalCount>\\r\\n <PageNumber>1</PageNumber>\\r\\n <PageSize>2</PageSize>\\r\\n <DomainLogs>\\r\\n <DomainLog>\\r\\n <ActionTime>2015-12-12T09:23Z</ActionTime>\\r\\n <DomainName>abc.com</DomainName>\\r\\n <Action>添加</Action>\\r\\n <Message>到域名解析列表</Message>\\r\\n <ClientIp>182.92.253.20</ClientIp>\\r\\n </DomainLog>\\r\\n <DomainLog>\\r\\n <ActionTime>2015-12-12T09:23Z</ActionTime>\\r\\n <DomainName>example.com</DomainName>\\r\\n <Action>找回成功</Action>\\r\\n <Message>并添加到域名解析列表</Message>\\r\\n <ClientIp>182.92.253.20</ClientIp>\\r\\n </DomainLog>\\r\\n </DomainLogs>\\r\\n</DescribeDomainLogsResponse>","errorExample":""}]',
+ ],
+ 'DescribeDomainNs' => [
+ 'summary' => '根据传入域名获取域名当前的NS服务器列表,以及NS是否属于阿里云解析管理。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Remark',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名实例的备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
+ 'parameters' => [
[
- 'name' => 'HealthStatus',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '域名实例健康状态:'."\n"
- ."\n"
- .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ok',
- ],
+ 'schema' => ['description' => '请求和接收消息的语言类型。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'zh:中文 '."\n"
+ .'en:英文 '."\n"
+ ."\n"
+ .'默认取值为**zh**。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'AvailableStatus',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '域名实例服务可用状态:'."\n"
- ."\n"
- .'- available:可用,域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
- ."\n"
- .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'available',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调取[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取</props>'."\n"
+ .'<props="intl">可通过调取[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
],
'responses' => [
@@ -13720,434 +10142,102 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '实例配置列表总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
+ 'AllAliDns' => ['description' => '是否全部为阿里云解析DNS。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '16C7DC7A-2FA7-4D14-8B12-88A2BB6373DB'],
+ 'ExpectDnsServers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ExpectDnsServer' => [
+ 'description' => '云解析DNS分配的域名DNS服务器名称。',
+ 'type' => 'array',
+ 'items' => ['description' => '云解析DNS分配的域名DNS服务器名称。', 'type' => 'string', 'example' => 'x1.alidns.com,x2.alidns.com'],
+ ],
+ ],
],
- 'InstanceConfigs' => [
+ 'DnsServers' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'InstanceConfig' => [
- 'description' => '实例列表。',
+ 'DnsServer' => [
+ 'description' => '域名当前设置的DNS服务器名称。',
'type' => 'array',
- 'items' => [
- 'description' => '实例信息。',
- 'type' => 'object',
- 'properties' => [
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '全局流量管理GTM 3.0实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-x0r38e0****',
- ],
- 'ConfigId' => [
- 'title' => '实例id',
- 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。',
- 'type' => 'string',
- 'example' => 'Config-000****'."\n",
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '域名实例创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '域名实例创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '域名实例最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '域名实例最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357'."\n",
- ],
- 'VersionCode' => [
- 'title' => '版本code',
- 'description' => '全局流量管理3.0实例版本:'."\n"
- ."\n"
- .'- standard:标准版'."\n"
- ."\n"
- .'- ultimate:旗舰版',
- 'type' => 'string',
- 'example' => 'ultimate',
- ],
- 'CommodityCode' => [
- 'title' => '商品code',
- 'description' => '商品编码:'."\n"
- ."\n"
- .'- dns_gtm_public_cn:中国站商品编码。'."\n"
- ."\n"
- .'- dns_gtm_public_intl:国际站商品编码。',
- 'type' => 'string',
- 'example' => 'dns_gtm_public_cn',
- ],
- 'ScheduleZoneMode' => [
- 'title' => '接入zone分配模式',
- 'description' => '接入域名分配模式:'."\n"
- ."\n"
- .'- custom:自定义接入域名,用户自定义主机记录,并关联GTM实例所在账号下在权威解析中托管的域名,生成接入域名。'."\n"
- ."\n"
- .'- sys_assign:系统默认分配接入域名,本功能已经不支持,请勿选择此模式。',
- 'type' => 'string',
- 'example' => 'custom',
- ],
- 'ScheduleZoneName' => [
- 'title' => 'zone名称',
- 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'ScheduleHostname' => [
- 'title' => '主机记录',
- 'description' => 'GTM接入域名的主机记录。',
- 'type' => 'string',
- 'example' => 'www',
- ],
- 'ScheduleDomainName' => [
- 'title' => '域名,主机记录+zoneNamne',
- 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)',
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
- 'ScheduleRrType' => [
- 'title' => '调度解析记录类型',
- 'description' => '调度域名的解析记录类型:'."\n"
- ."\n"
- .'- A:IPv4地址'."\n"
- ."\n"
- .'- AAAA:IPv6地址'."\n"
- ."\n"
- .'- CNAME:域名',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Ttl' => [
- 'title' => '调度调度实例的TTL',
- 'description' => '全局TTL(单位:秒),接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'AddressPoolLbStrategy' => [
- 'title' => '地址池的负载均衡策略',
- 'description' => '地址池之间的负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'title' => '顺序负载策略模式(抢占式、非抢占式)',
- 'description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。',
- 'type' => 'string',
- 'example' => 'preemptive',
- ],
- 'AvailableStatus' => [
- 'description' => '域名实例服务可用状态:'."\n"
- ."\n"
- .'- available:可用,域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
- ."\n"
- .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态',
- 'description' => '域名实例的启用状态:'."\n"
- ."\n"
- .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
- ."\n"
- .'- disable:禁用状态,GTM实例智能调度策略不可用。',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthStatus' => [
- 'title' => '监控状态',
- 'description' => '域名实例健康状态:'."\n"
- ."\n"
- .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '域名实例的备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'AddressPools' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AddressPool' => [
- 'description' => '地址池列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '地址池信息。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => '地址池创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '地址池创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'description' => '地址池最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'AddressPoolId' => [
- 'title' => '地址池Id',
- 'description' => '地址池ID,唯一标识地址池。',
- 'type' => 'string',
- 'example' => 'pool-89564504435014**60',
- ],
- 'WeightValue' => [
- 'title' => '权重值',
- 'description' => '权重值(1-100之间的整数,包括1和100),支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SerialNumber' => [
- 'title' => '序号',
- 'description' => '顺序号,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestSource' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'RequestSource' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。',
- 'type' => 'string',
- 'example' => '["default"]',
- ],
- ],
- ],
- ],
- 'AddressPoolName' => [
- 'title' => '地址池名称',
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'AddressPool-1',
- ],
- 'AddressPoolType' => [
- 'title' => '地址池类型ipv4、ipv6、domain',
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'AddressLbStrategy' => [
- 'title' => '地址负载策略',
- 'description' => '地址池中地址间负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'title' => '顺序负载策略模式(抢占式、非抢占式)',
- 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。',
- 'type' => 'string',
- 'example' => 'preemptive',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态',
- 'description' => '地址池启用状态:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthJudgement' => [
- 'title' => '健康判定',
- 'description' => '地址池健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
- ."\n"
- .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
- ."\n"
- .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
- ."\n"
- .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
- ."\n"
- .'- all_ok:地址池内地址全部可用。',
- 'type' => 'string',
- 'example' => 'any_ok',
- ],
- 'HealthStatus' => [
- 'title' => '健康状态',
- 'description' => '地址池健康状态:'."\n"
- ."\n"
- .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'AvailableStatus' => [
- 'title' => '可用性状态',
- 'description' => '地址池可用性状态:'."\n"
- ."\n"
- .'- available:可用'."\n"
- ."\n"
- .'- unavailable:不可用',
- 'type' => 'string',
- 'example' => ' available',
- ],
- 'SeqNonPreemptiveSchedule' => [
- 'description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
- ."\n"
- .'- true:是'."\n"
- ."\n"
- .'- false:不是',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- ],
- ],
- ],
- 'ConfigLoggingSwitchStatus' => [
- 'title' => '日志开关状态',
- 'description' => '日志开关状态',
- 'type' => 'string',
- 'example' => 'ENABLE',
- ],
- ],
- ],
+ 'items' => ['description' => '域名当前设置的DNS服务器名称。', 'type' => 'string', 'example' => 'vip1.alidns.com,vip2.alidns.com'],
],
],
],
+ 'IncludeAliDns' => ['description' => '是否包含阿里云解析DNS。', 'type' => 'boolean', 'example' => 'true'],
+ 'DetectFailedReasonCode' => ['description' => '检测失败原因编码。', 'type' => 'string', 'example' => 'DnsCheck.Failed'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 15,\\n \\"InstanceConfigs\\": {\\n \\"InstanceConfig\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-x0r38e0****\\",\\n \\"ConfigId\\": \\"Config-000****\\\\n\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"CommodityCode\\": \\"dns_gtm_public_cn\\",\\n \\"ScheduleZoneMode\\": \\"custom\\",\\n \\"ScheduleZoneName\\": \\"example.com\\",\\n \\"ScheduleHostname\\": \\"www\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"ScheduleRrType\\": \\"A\\",\\n \\"Ttl\\": 60,\\n \\"AddressPoolLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"Remark\\": \\"test\\",\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89564504435014**60\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\" available\\",\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n },\\n \\"ConfigLoggingSwitchStatus\\": \\"ENABLE\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '搜索实例配置列表',
- ],
- 'DescribeCloudGtmSummary' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取域名NS服务器列表',
+ 'description' => '> 此接口通过直接查询注册局权威服务器来获取域名DNS服务器名称,如果域名处于未生效状态(例如:serverHold、clientHold、未实名认证),可能会返回异常。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainNs'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainNs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"AllAliDns\\": true,\\n \\"RequestId\\": \\"16C7DC7A-2FA7-4D14-8B12-88A2BB6373DB\\",\\n \\"ExpectDnsServers\\": {\\n \\"ExpectDnsServer\\": [\\n \\"x1.alidns.com,x2.alidns.com\\"\\n ]\\n },\\n \\"DnsServers\\": {\\n \\"DnsServer\\": [\\n \\"vip1.alidns.com,vip2.alidns.com\\"\\n ]\\n },\\n \\"IncludeAliDns\\": true,\\n \\"DetectFailedReasonCode\\": \\"DnsCheck.Failed\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainNsResponse>\\r\\n <RequestId>16C7DC7A-2FA7-4D14-8B12-88A2BB6373DB</RequestId>\\r\\n <AllAliDns>true</AllAliDns>\\r\\n <DnsServers>\\r\\n <DnsServer>vip1.alidns.com</DnsServer>\\r\\n <DnsServer>vip2.alidns.com</DnsServer>\\r\\n </DnsServers>\\r\\n <IncludeAliDns>true</IncludeAliDns>\\r\\n</DescribeDomainNsResponse>","errorExample":""}]',
+ ],
+ 'DescribeDomainRecordInfo' => [
+ 'summary' => '通过解析记录的ID获取解析记录的详细信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US:英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
+ ],
+ [
+ 'name' => 'UserClientIp',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.1'],
+ ],
+ [
+ 'name' => 'RecordId',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析记录的ID。<props="china">可通过调取[DescribeDomainRecords](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取。</props>'."\n"
+ .'<props="intl">可通过调取[DescribeDomainRecords](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取。</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9*********'],
],
],
'responses' => [
@@ -14155,239 +10245,185 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '199C3699-9A7B-41A1-BB5A-F1E862D3CB38',
- ],
- 'InstanceTotalCount' => [
- 'description' => '当前账户下实例总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MonitorTaskTotalQuota' => [
- 'description' => '用户探测任务数配额。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '101',
- ],
- 'MonitorTaskTotalCount' => [
- 'description' => '用户已配置的探测任务总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
+ 'Status' => ['description' => '解析记录状态。取值:'."\n"
+ ."\n"
+ .'Enable: 启用解析'."\n"
+ ."\n"
+ .'Disable: 暂停解析', 'type' => 'string', 'example' => 'Enable'],
+ 'RR' => ['description' => '解析类型。', 'type' => 'string', 'example' => '@'],
+ 'GroupName' => ['description' => '域名分组名称。', 'type' => 'string', 'example' => 'MyGroup'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'Priority' => ['description' => 'MX记录的优先级。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'PunyCode' => ['description' => '只针对中文域名返回punycode码。', 'type' => 'string', 'example' => 'xn--fsq270a.com'],
+ 'TTL' => ['description' => '指解析结果在Local DNS中的缓存时间', 'type' => 'integer', 'format' => 'int64', 'example' => '600'],
+ 'GroupId' => ['description' => '域名分组ID。', 'type' => 'string', 'example' => '2****'],
+ 'Line' => ['description' => '解析线路。', 'type' => 'string', 'example' => 'default'],
+ 'Locked' => ['description' => '解析记录锁定状态,取值:**true/false**。', 'type' => 'boolean', 'example' => 'true'],
+ 'Type' => ['description' => '记录类型。', 'type' => 'string', 'example' => 'MX'],
+ 'DomainId' => ['description' => '域名ID。', 'type' => 'string', 'example' => '00efd71a-7************'],
+ 'Value' => ['description' => '记录值。', 'type' => 'string', 'example' => '1.1.XX.XX'],
+ 'RecordId' => ['description' => '解析记录的ID。', 'type' => 'string', 'example' => '9******'],
+ 'Remark' => ['description' => '您的解析记录的备注信息。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'test'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"199C3699-9A7B-41A1-BB5A-F1E862D3CB38\\",\\n \\"InstanceTotalCount\\": 10,\\n \\"MonitorTaskTotalQuota\\": 101,\\n \\"MonitorTaskTotalCount\\": 20\\n}","type":"json"}]',
- 'title' => '获取实例概要信息',
- ],
- 'CreateCloudGtmAddress' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取解析记录的详细信息',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRecordInfo'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainRecordInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Enable\\",\\n \\"RR\\": \\"@\\",\\n \\"GroupName\\": \\"MyGroup\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"Priority\\": 5,\\n \\"PunyCode\\": \\"xn--fsq270a.com\\",\\n \\"TTL\\": 600,\\n \\"GroupId\\": \\"2****\\",\\n \\"Line\\": \\"default\\",\\n \\"Locked\\": true,\\n \\"Type\\": \\"MX\\",\\n \\"DomainId\\": \\"00efd71a-7************\\",\\n \\"Value\\": \\"1.1.XX.XX\\",\\n \\"RecordId\\": \\"9******\\",\\n \\"Remark\\": \\"test\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainRecordInfoResponse>\\n <Status>Enable</Status>\\n <RR>@</RR>\\n <GroupName>MyGroup</GroupName>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <DomainName>example.com</DomainName>\\n <Priority>5</Priority>\\n <PunyCode>xn--fsq270a.com</PunyCode>\\n <TTL>600</TTL>\\n <GroupId>2223</GroupId>\\n <Line>default</Line>\\n <Locked>true</Locked>\\n <Type>MX</Type>\\n <DomainId>00efd71a-770e-4255-b54e-6fe5659baffe</DomainId>\\n <Value>192.0.2.254</Value>\\n <RecordId>9999985</RecordId>\\n</DescribeDomainRecordInfoResponse>","errorExample":""}]',
+ ],
+ 'DescribeDomainRecords' => [
+ 'summary' => '根据传入参数获取指定主域名的所有解析记录列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'Name',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => '地址名称',
- 'description' => '地址名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Address-1',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'Type',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'title' => '地址类型(IPv4, IPv6, DOMAIN)',
- 'description' => '地址类型:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IPv4',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**500**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
[
- 'name' => 'Address',
+ 'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'title' => '地址',
- 'description' => 'IP地址或者域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '223.5.XX.XX',
- ],
+ 'schema' => ['description' => '关键字。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'AttributeInfo',
+ 'name' => 'RRKeyWord',
'in' => 'query',
- 'schema' => [
- 'title' => '地址归属信息',
- 'description' => '地址归属信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '当前版本不支持传入此参数,请不要传入参数。',
- ],
+ 'schema' => ['description' => '主机记录的关键字,按照 RRKeyWord(前后模糊匹配)模式搜索,不区分大小写。', 'type' => 'string', 'required' => false, 'example' => 'www'],
],
[
- 'name' => 'Remark',
+ 'name' => 'TypeKeyWord',
'in' => 'query',
- 'schema' => [
- 'title' => '备注',
- 'description' => '备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '解析类型的关键字,按照全匹配搜索,不区分大小写。', 'type' => 'string', 'required' => false, 'example' => 'MX'],
],
[
- 'name' => 'EnableStatus',
+ 'name' => 'ValueKeyWord',
'in' => 'query',
- 'schema' => [
- 'title' => '启用状态 enable: 可用, disable:不可用',
- 'description' => '表示该地址当前启用状态:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '记录值的关键字,按照 ValueKeyWord(前后模糊匹配)模式搜索,不区分大小写。', 'type' => 'string', 'required' => false, 'example' => 'com'],
],
[
- 'name' => 'AvailableMode',
+ 'name' => 'OrderBy',
'in' => 'query',
- 'schema' => [
- 'title' => '可用状态设置模式',
- 'description' => '地址探测异常切换方式:'."\n"
- ."\n"
- .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
- ."\n"
- .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'auto',
- ],
+ 'schema' => ['description' => '排序方式。按照解析添加的时间从新到旧排序。', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
[
- 'name' => 'ManualAvailableStatus',
+ 'name' => 'Direction',
'in' => 'query',
- 'schema' => [
- 'title' => '手动设置的可用状态',
- 'description' => '当地址探测异常切换模式为**manual**时,地址设置的可用状态:'."\n"
- ."\n"
- .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
- ."\n"
- .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'available',
- ],
+ 'schema' => ['description' => '排序方向。取值范围:DESC、ASC。默认为:DESC。', 'type' => 'string', 'required' => false, 'example' => 'DESC'],
],
[
- 'name' => 'HealthJudgement',
+ 'name' => 'SearchMode',
'in' => 'query',
- 'schema' => [
- 'title' => '地址健康状态判定为ok 的方式:',
- 'description' => '地址健康状态判定条件(HealthTasks 不为空时必填):'."\n"
- ."\n"
- .'- any_ok:所有探测模板至少一个探测正常。'."\n"
- ."\n"
- .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
- ."\n"
- .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
- ."\n"
- .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
- ."\n"
- .'- all_ok:所有探测模板全部探测正常。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'p50_ok',
- ],
+ 'schema' => ['description' => '搜索模式,取值:**LIKE/EXACT/ADVANCED/COMBINATION。**'."\n"
+ .'- 填入LIKE或EXACT时,请使用KeyWord参数。(传入RRKeyWord、TypeKeyWord、ValueKeyWord、Type、Line、Status参数无效)'."\n"
+ .'- 填入ADVANCED时,请使用RRKeyWord、TypeKeyWord、ValueKeyWord、Type、Line、Status,其中RRKeyWord、ValueKeyWord为模糊匹配'."\n"
+ .'- 填入COMBINATION,请使用RRKeyWord、TypeKeyWord、ValueKeyWord、Type、Line、Status参数,所有参数均为精确匹配。'."\n"
+ .'- 不传值:'."\n"
+ .' - keyWord传值,搜索模式取”LIKE“值。'."\n"
+ .' - keyWord不传值,RRKeyWord和ValueKeyWord支持模糊查询,TypeKeyWord和Type、Line、Status支持精确查询。', 'type' => 'string', 'required' => false, 'example' => 'LIKE'],
],
[
- 'name' => 'HealthTasks',
+ 'name' => 'GroupId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'title' => '健康检查配置',
- 'description' => '地址关联的健康探测任务列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '地址关联的健康探测模板。',
- 'type' => 'object',
- 'properties' => [
- 'Port' => [
- 'title' => '服务端口',
- 'description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '80',
- ],
- 'TemplateId' => [
- 'title' => '探测模板',
- 'description' => '地址关联的健康探测模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mtp-89518052425100****',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '指域名分组ID'."\n"
+ ."\n"
+ .'- 如不传GroupId,则在全部域名下查询。'."\n"
+ ."\n"
+ .'- 如GroupId为0,则返回空数据。'."\n"
+ ."\n"
+ .'- 如GroupId为-1,则在默认分组(指未设置分组的域名)下查询。'."\n"
+ ."\n"
+ .'- 如GroupId为-2,则在全部域名下查询。'."\n"
+ ."\n"
+ .'- 如GroupId不符合上述条件,则按GroupId查询并返回结果。'."\n"
+ .'<props="china">可通过调用[DescribeDomainGroups ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomainGroups ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2****'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析记录类型,参见:'."\n"
+ ."\n"
+ .'<props="china">[解析记录类型格式](https://help.aliyun.com/document_detail/29805.html)</props>'."\n"
+ .'<props="intl">[解析记录类型格式](https://www.alibabacloud.com/help/zh/doc-detail/29805.htm)</props>'."\n", 'type' => 'string', 'required' => false, 'example' => 'A'],
+ ],
+ [
+ 'name' => 'Line',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析线路,默认为**default**。'."\n"
+ ."\n"
+ .'参见:'."\n"
+ .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)。</props>'."\n"
+ ."\n"
+ .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn_mobile_anhui'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析记录状态。取值:'."\n"
+ ."\n"
+ .'Enable: 启用解析'."\n"
+ ."\n"
+ .'Disable: 暂停解析', 'type' => 'string', 'required' => false, 'example' => 'Enable'],
],
],
'responses' => [
@@ -14395,269 +10431,286 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '46973D4C-E3E4-4ABA-9190-9A9DE406C7E',
- ],
- 'Success' => [
- 'description' => '创建地址操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AddressId' => [
- 'description' => '生成的地址ID,地址唯一标识码。',
- 'type' => 'string',
- 'example' => 'addr-8951821811436****',
+ 'TotalCount' => ['description' => '解析记录总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'PageSize' => ['description' => '本次查询获取的解析数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'DomainRecords' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Record' => [
+ 'description' => '解析记录列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '当前的解析记录状态。', 'type' => 'string', 'example' => 'Enable'],
+ 'Type' => ['description' => '记录类型。', 'type' => 'string', 'example' => 'MX'],
+ 'Remark' => ['description' => '备注。', 'type' => 'string', 'example' => '备注'],
+ 'TTL' => ['description' => '缓存时间设置。单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '600'],
+ 'RecordId' => ['description' => '解析记录ID。', 'type' => 'string', 'example' => '9*******'],
+ 'Priority' => ['description' => 'mx记录的优先级。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'RR' => ['description' => '主机记录。', 'type' => 'string', 'example' => 'www'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'Weight' => ['description' => '负载均衡权重。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'Value' => ['description' => '记录值。', 'type' => 'string', 'example' => 'mail1.hichina.com'],
+ 'Line' => ['description' => '解析线路。', 'type' => 'string', 'example' => 'default'],
+ 'Locked' => ['description' => '当前解析记录锁定状态。', 'type' => 'boolean', 'example' => 'false'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1666501957000'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1676872961000'],
+ 'LbaStatus' => ['description' => '是否配置了负载均衡策略。'."\n"
+ .'* true: 权重'."\n"
+ .'* false: 轮询', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
+ 'PageNumber' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46973D4C-E3E4-4ABA-9190-9A9DE406C7E\\",\\n \\"Success\\": true,\\n \\"AddressId\\": \\"addr-8951821811436****\\"\\n}","type":"json"}]',
- 'title' => '创建地址',
- 'summary' => '根据传入参数创建地址。',
- ],
- 'UpdateCloudGtmAddress' => [
- 'methods' => [
- 'post',
- 'get',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"DomainRecords\\": {\\n \\"Record\\": [\\n {\\n \\"Status\\": \\"Enable\\",\\n \\"Type\\": \\"MX\\",\\n \\"Remark\\": \\"备注\\",\\n \\"TTL\\": 600,\\n \\"RecordId\\": \\"9*******\\",\\n \\"Priority\\": 5,\\n \\"RR\\": \\"www\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"Weight\\": 2,\\n \\"Value\\": \\"mail1.hichina.com\\",\\n \\"Line\\": \\"default\\",\\n \\"Locked\\": false,\\n \\"CreateTimestamp\\": 1666501957000,\\n \\"UpdateTimestamp\\": 1676872961000,\\n \\"LbaStatus\\": true\\n }\\n ]\\n },\\n \\"PageNumber\\": 1\\n}","type":"json"}]',
+ 'title' => '获取解析记录列表',
+ 'description' => '- 查询可以指定域名(DomainName)、页码(PageNumber)和每页的数量(PageSize)来获取域名的解析列表。'."\n"
+ .'- 查询可以指定解析记录的主机记录关键字(RRKeyWord)、解析类型关键字(TypeKeyWord)或者记录值的关键字(ValueKeyWord)来查询含有该关键字的解析列表。'."\n"
+ .'- 解析列表的默认排序方式是按照解析添加的时间从新到旧排序的。'."\n"
+ .'- 可以指定域名分组的ID(GroupId),全部域名代表所有域名、默认分组代表未设置分组的域名。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRecords'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainRecords',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DescribeDomainResolveStatisticsSummary' => [
+ 'summary' => '查询用户账号下所有付费域名的请求量列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsG5IRRX'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['title' => '关键字,与SearchMode配合使用', 'description' => '关键字,与SearchMode配合使用。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'SearchMode',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['title' => '关键词的搜索模式。取值:'."\n"
+ ."\n"
+ .'模糊搜索(默认): LIKE'."\n"
+ .'精确搜索: EXACT', 'description' => '关键词的搜索模式。取值:'."\n"
+ ."\n"
+ .'- 模糊搜索(默认):LIKE'."\n"
+ ."\n"
+ .'- 精确搜索:EXACT', 'type' => 'string', 'required' => false, 'example' => 'EXACT'],
],
[
- 'name' => 'AddressId',
+ 'name' => 'Direction',
'in' => 'query',
- 'schema' => [
- 'title' => '地址 ID',
- 'description' => '地址的ID,地址唯一标识码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'addr-89518218114368****',
- ],
+ 'schema' => ['title' => '排序方向。取值: '."\n"
+ .'递减: DESC'."\n"
+ .'递增: ASC', 'description' => '排序方向。取值:'."\n"
+ ."\n"
+ .'- 递减:DESC'."\n"
+ ."\n"
+ .'- 递增:ASC', 'type' => 'string', 'required' => false, 'example' => 'DESC'],
],
[
- 'name' => 'Name',
+ 'name' => 'Threshold',
'in' => 'query',
- 'schema' => [
- 'title' => '地址名称',
- 'description' => '修改后的地址名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Address-1',
- ],
+ 'schema' => ['title' => '查询总解析量阈值,也可查询相应的解析量不大于threshold的数据。例如,可查询出解析量小于100次的域名。'."\n"
+ .'不传或者传小于0的值,查询所有数据'."\n"
+ .'传0,查询无解析量的数据'."\n"
+ .'传大于0的值,查询解析量不超过该值的域名'."\n", 'description' => '解析量查询条件,可用于查询不同解析量类别的域名列表及域名解析量数据。'."\n"
+ ."\n"
+ .'不传:查询解析量不为0的数据'."\n"
+ ."\n"
+ .'传小于0的值:查询所有数据'."\n"
+ ."\n"
+ .'传0:查询无解析量的数据'."\n"
+ ."\n"
+ .'传大于0的值:查询解析量不超过该值的域名', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-1'],
],
[
- 'name' => 'Address',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'title' => '地址',
- 'description' => '修改后的IP地址或者域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '223.5.XX.XX',
- ],
+ 'schema' => ['title' => '开始时间,格式yyyy-MM-dd,如: 2023-03-01', 'description' => '开始时间,格式yyyy-MM-dd,如: 2023-03-01', 'type' => 'string', 'required' => true, 'example' => '2023-03-01'],
],
[
- 'name' => 'AttributeInfo',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'title' => '地址归属信息',
- 'description' => '地址归属信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '当前版本不支持此参数,不需要传入此参数。',
- ],
+ 'schema' => ['title' => '结束时间,格式yyyy-MM-dd,如:2023-03-13', 'description' => '结束时间,格式yyyy-MM-dd,如:2023-03-13', 'type' => 'string', 'required' => false, 'example' => '2023-03-01'],
],
[
- 'name' => 'HealthJudgement',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => '地址健康状态判定为ok 的方式:',
- 'description' => '修改后的地址健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:所有探测模板至少一个探测正常。'."\n"
- ."\n"
- .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
- ."\n"
- .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
- ."\n"
- .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
- ."\n"
- .'- all_ok:所有探测模板全部探测正常。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'p50_ok',
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '当前页数,起始值为1,默认为1。', 'description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'HealthTasks',
+ 'name' => 'PageSize',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'style' => 'json',
- 'schema' => [
- 'title' => '健康检查配置',
- 'description' => '健康探测任务列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '地址关联的健康探测任务列表。',
- 'type' => 'object',
- 'properties' => [
- 'Port' => [
- 'title' => '服务端口',
- 'description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。'."\n"
- ."\n"
- .'- 传入参数为空:删除当前已配置的端口号;'."\n"
- ."\n"
- .'- 传入参数不为空:根据传入参数更新端口号;',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '80',
- ],
- 'TemplateId' => [
- 'title' => '探测模板',
- 'description' => '地址关联的健康探测模板ID。如果配置了健康检查的端口号,此参数必填。'."\n"
- ."\n"
- .'- 传入参数为空:删除当前已配置的探测模板;'."\n"
- ."\n"
- .'- 传入参数不为空:根据传入参数更新探测模板;',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mtp-89518052425100****',
- ],
- ],
- 'required' => false,
- ],
- 'deprecated' => false,
- 'required' => false,
- 'minItems' => 0,
- ],
+ 'schema' => ['title' => '分页查询时设置的每页行数,最大值1000,最小值为1。', 'description' => '分页查询时设置的每页行数,最大值1000,最小值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'Lang',
+ 'in' => 'query',
+ 'schema' => ['title' => 'lang,语言:zh、en、ja', 'description' => 'lang,语言:zh、en、ja。', 'type' => 'string', 'required' => false, 'example' => 'zh', 'default' => 'en'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'PopResultDTO<PageResult<ResolveQueryStatisticsPopResult>>',
+ 'description' => 'PopResultDTO<PageResult<ResolveQueryStatisticsPopResult>>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'Success' => [
- 'description' => '修改地址基础配置操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'RequestId' => ['title' => 'RequestId', 'description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '数据分页后总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '总数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Statistics' => [
+ 'description' => '统计数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'Count' => ['description' => '请求量(次)。', 'type' => 'string', 'example' => '35509014'],
+ 'DomainType' => ['description' => '域名类型。'."\n"
+ ."\n"
+ .'- PUBLIC:权威托管域名'."\n"
+ ."\n"
+ .' - CACHE:权威代理域名', 'type' => 'string', 'example' => 'CACHE'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '修改地址基础配置',
- 'summary' => '调用 UpdateCloudGtmAddress 修改指定地址基础配置。',
- ],
- 'DescribeCloudGtmAddress' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'Statistics.TooManyResults', 'errorMessage' => 'Your query has produced too many results.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidDomainName', 'errorMessage' => 'Your query param DomainName is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidStartDate', 'errorMessage' => 'Your query param StartDate is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidEndDate', 'errorMessage' => 'Your query param EndDate is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidSearchMode', 'errorMessage' => 'Your query param SearchMode is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidOrderDirection', 'errorMessage' => 'Your query param OrderDirection is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidDomainType', 'errorMessage' => 'Your query param DomainType is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.QuotaExceededTime', 'errorMessage' => 'Your query time range exceeds 90 days.', 'description' => ''],
+ ['errorCode' => 'Sys.ParamsError', 'errorMessage' => 'Your query param is invalid.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取域名的请求量统计列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainResolveStatisticsSummary'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainResolveStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"Statistics\\": [\\n {\\n \\"DomainName\\": \\"example.com\\",\\n \\"Count\\": \\"35509014\\",\\n \\"DomainType\\": \\"CACHE\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDomainStatistics' => [
+ 'summary' => '查询指定主域名请求量的实时数据。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '请求和接收消息的语言类型。'."\n"
+ .'- **zh**(默认):中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调取[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取</props>'."\n"
+ .'<props="intl">可通过调取[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取</props>', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'AddressId',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '地址ID,地址唯一标识码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'addr-89518218114368****',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式:**YYYY-MM-DD**。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-07-04'],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询的结束时间,格式:**YYYY-MM-DD**。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '2019-07-04'],
+ ],
+ [
+ 'name' => 'DomainType',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名类型,取值:'."\n"
+ ."\n"
+ .'- PUBLIC:权威托管域名(默认值)'."\n"
+ ."\n"
+ .'- CACHE:权威代理域名', 'type' => 'string', 'required' => false, 'example' => 'PUBLIC'],
],
],
'responses' => [
@@ -14665,185 +10718,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
- ],
- 'AddressId' => [
- 'title' => '地址 ID',
- 'description' => '地址ID,地址唯一标识码。',
- 'type' => 'string',
- 'example' => 'addr-89518218114368****'."\n",
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '地址创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-23T13:09Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '地址配置的最后修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-29T13:20Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'Name' => [
- 'title' => '地址名称',
- 'description' => '地址名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Type' => [
- 'title' => '地址类型',
- 'description' => '地址类型:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'Address' => [
- 'title' => '地址',
- 'description' => 'IP地址或者域名。',
- 'type' => 'string',
- 'example' => '223.5.XX.XX',
- ],
- 'AttributeInfo' => [
- 'title' => '地址归属信息',
- 'description' => '地址归属信息。',
- 'type' => 'string',
- 'example' => '当前版本不支持此参数,不会返回地址归属信息。',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => 'test1',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态 enable: 可用, disable:不可用',
- 'description' => '表示该地址当前启用状态:'."\n"
- ."\n"
- .'enable:启用状态'."\n"
- ."\n"
- .'disable:禁用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'AvailableMode' => [
- 'title' => '可用状态设置模式',
- 'description' => '地址探测异常切换方式:'."\n"
- ."\n"
- .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
- ."\n"
- .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。',
- 'type' => 'string',
- 'example' => 'auto',
- ],
- 'ManualAvailableStatus' => [
- 'title' => '手动设置的可用状态',
- 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
- ."\n"
- .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
- ."\n"
- .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'AvailableStatus' => [
- 'title' => '地址可用状态',
- 'description' => '地址可用状态:'."\n"
- ."\n"
- .'- available:可用'."\n"
- ."\n"
- .'- unavailable:不可用',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'HealthStatus' => [
- 'title' => '地址的健康状态:',
- 'description' => '地址健康检查探测结果:'."\n"
- ."\n"
- .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
- ."\n"
- .' - ok_alert:地址引用的健康探测模板探测任务部分异常,地址判定为正常状态。'."\n"
- ."\n"
- .' - ok_no_monitor:地址没有引用任何健康探测模板。'."\n"
- ."\n"
- .' - exceptional:地址引用的健康探测模板探测任务部分或全部异常,但地址判定为异常状态。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'HealthJudgement' => [
- 'title' => '地址健康状态判定为ok 的方式:',
- 'description' => '地址健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:所有探测模板至少一个探测正常。'."\n"
- ."\n"
- .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
- ."\n"
- .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
- ."\n"
- .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
- ."\n"
- .'- all_ok:所有探测模板全部探测正常。',
- 'type' => 'string',
- 'example' => 'p50_ok',
- ],
- 'HealthTasks' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF'],
+ 'Statistics' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'HealthTask' => [
- 'title' => '健康探测任务列表',
- 'description' => '健康探测任务列表。',
+ 'Statistic' => [
+ 'description' => '请求量数据列表。',
'type' => 'array',
'items' => [
- 'description' => '地址引用的健康探测任务列表。',
'type' => 'object',
'properties' => [
- 'Port' => [
- 'description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'TemplateId' => [
- 'description' => '地址关联的健康探测模板ID。',
- 'type' => 'string',
- 'example' => 'mtp-89518052425100****',
- ],
- 'TemplateName' => [
- 'description' => '健康探测模板名称。',
- 'type' => 'string',
- 'example' => 'Ping-IPv4',
- ],
- 'MonitorStatus' => [
- 'description' => '健康探测模板探测任务状态:'."\n"
- .'- ok:正常。'."\n"
- ."\n"
- .'- alert:告警。'."\n"
- ."\n"
- .'- no_data:无数据,一般是健康探测任务刚创建,探测任务数据暂未采集到。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
+ 'Timestamp' => ['description' => '统计时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1556640000000'],
+ 'Count' => ['description' => '请求量(次)。', 'type' => 'integer', 'format' => 'int64', 'example' => '15292887'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
],
],
],
@@ -14853,159 +10741,98 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"AddressId\\": \\"addr-89518218114368****\\\\n\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"Name\\": \\"test\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持此参数,不会返回地址归属信息。\\",\\n \\"Remark\\": \\"test1\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"p50_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"TemplateName\\": \\"Ping-IPv4\\",\\n \\"MonitorStatus\\": \\"ok\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取地址配置信息',
- 'summary' => '根据传入参数获取地址配置信息。',
- ],
- 'DeleteCloudGtmAddress' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取主域名请求量实时统计',
+ 'description' => '实时数据的统计维度是按小时。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainStatistics'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF\\",\\n \\"Statistics\\": {\\n \\"Statistic\\": [\\n {\\n \\"Timestamp\\": 1556640000000,\\n \\"Count\\": 15292887,\\n \\"DomainName\\": \\"example.com\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainStatisticsResponse>\\n <RequestId>6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF</RequestId>\\n <Statistics>\\n <Timestamp>1556640000000</Timestamp>\\n <Count>15292887</Count>\\n </Statistics>\\n</DescribeDomainStatisticsResponse>","errorExample":""}]',
+ ],
+ 'DescribeDomainStatisticsSummary' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsXET43R'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,取值:'."\n"
+ ."\n"
+ .'- **zh(默认)**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'."\n",
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'minimum' => '1', 'example' => '1'],
],
[
- 'name' => 'AddressId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'title' => '地址 ID',
- 'description' => '地址ID,地址的唯一识别码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'addr-89518218114368****',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'Success' => [
- 'description' => '删除地址操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,最小值为**1**,默认值为**20**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '删除地址',
- 'summary' => '根据传入参数删除地址。',
- ],
- 'UpdateCloudGtmAddressRemark' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询的开始时间,格式:**YYYY-MM-DD**。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-07-04'],
],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
- 'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式:**YYYY-MM-DD**。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'example' => '2019-07-04'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'SearchMode',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '关键词的搜索模式。取值:'."\n"
+ ."\n"
+ .'- 模糊搜索(默认):**LIKE**'."\n"
+ .'- 精确搜索:**EXACT**', 'type' => 'string', 'required' => false, 'example' => 'LIKE'],
],
[
- 'name' => 'AddressId',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'title' => '地址 ID',
- 'description' => '地址的ID,地址唯一标识码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'addr-89518218114368****',
- ],
+ 'schema' => ['description' => '关键词,按照“%KeyWord%”模式搜索,不区分大小写。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'Remark',
+ 'name' => 'Threshold',
'in' => 'query',
- 'schema' => [
- 'title' => '备注',
- 'description' => '传入的参数作为更新后的备注,传空值则删除备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '查询总量阈值,也可查询相应请求量不大于threshold的数据。例如,如果您将该参数设置为100,可查询出请求量小于100次的域名。为空时查全部的域名', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0', 'example' => '12'],
],
],
'responses' => [
@@ -15013,187 +10840,151 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
- ],
- 'Success' => [
- 'description' => '本次修改操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'CC625C21-8832-4683-BF10-C3CFB1A4FA13'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '数据分页后总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '14'],
+ 'TotalItems' => ['description' => '数据总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '68'],
+ 'Statistics' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Statistic' => [
+ 'description' => '请求量数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'Count' => ['description' => '请求量(次)。', 'type' => 'integer', 'format' => 'int64', 'example' => '35509014'],
+ 'DomainType' => ['description' => '域名类型,大小写不敏感。取值:'."\n"
+ ."\n"
+ .'PUBLIC:权威托管域名(默认值)'."\n"
+ ."\n"
+ .'CACHE:权威代理域名', 'type' => 'string', 'example' => 'PUBLIC'],
+ 'resolveAnalysisStatus' => ['description' => '域名DNS流量分析开启状态:'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ ."\n"
+ .'- CLOSE:关闭', 'type' => 'string', 'example' => 'OPEN'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '修改地址备注',
- 'summary' => '通过地址的 ID修改地址备注信息。',
- ],
- 'ListCloudGtmAddresses' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取全部域名的请求量统计列表',
+ 'summary' => '查询用户账号下所有付费域名的请求量列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainStatisticsSummary'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 5,\\n \\"RequestId\\": \\"CC625C21-8832-4683-BF10-C3CFB1A4FA13\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 14,\\n \\"TotalItems\\": 68,\\n \\"Statistics\\": {\\n \\"Statistic\\": [\\n {\\n \\"DomainName\\": \\"example.com\\",\\n \\"Count\\": 35509014,\\n \\"DomainType\\": \\"PUBLIC\\",\\n \\"resolveAnalysisStatus\\": \\"OPEN\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDomainStatisticsSummaryResponse>\\r\\n <PageNumber>1</PageNumber>\\r\\n <Statistics>\\r\\n <Statistic>\\r\\n <Count>837871652</Count>\\r\\n <DomainName>alitest2.com</DomainName>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>50205934</Count>\\r\\n <DomainName>dns-example.com</DomainName>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>35509014</Count>\\r\\n <DomainName>ali-gslb.com</DomainName>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>31397370</Count>\\r\\n <DomainName>dns-example.cn</DomainName>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>3896503</Count>\\r\\n <DomainName>mydomi.cn</DomainName>\\r\\n </Statistic>\\r\\n </Statistics>\\r\\n <PageSize>5</PageSize>\\r\\n <RequestId>CC625C21-8832-4683-BF10-C3CFB1A4FA13</RequestId>\\r\\n <TotalItems>68</TotalItems>\\r\\n <TotalPages>14</TotalPages>\\r\\n</DescribeDomainStatisticsSummaryResponse>","errorExample":""}]',
+ ],
+ 'DescribeDomains' => [
+ 'summary' => '根据传入参数查询该用户的域名列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US:英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
- ],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'title' => '地址名称',
- 'description' => '地址名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- ],
- [
- 'name' => 'Type',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'title' => '地址类型',
- 'description' => '地址类型:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPv4',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:zh', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Address',
+ 'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'title' => '地址',
- 'description' => 'IP地址或者域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '223.5.XX.XX',
- ],
+ 'schema' => ['description' => '关键字,按照“%KeyWord%”模式搜索,不区分大小写。', 'type' => 'string', 'required' => false, 'example' => 'com'],
],
[
- 'name' => 'EnableStatus',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'title' => '启用状态 enable: 可用, disable:不可用',
- 'description' => '表示地址当前是否可用:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '指域名分组ID。'."\n"
+ ."\n"
+ .'如不填或传空字符,将在全部域名下查询。'."\n"
+ ."\n"
+ .'如传defaultGroup,将在默认分组下查询。', 'type' => 'string', 'required' => false, 'example' => 'defaultGroup'],
],
[
- 'name' => 'HealthStatus',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => '地址探测结果: ok, ok_alert, ok_no_monitor, exceptional',
- 'description' => '地址健康检查探测状态:'."\n"
- ."\n"
- .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
- ."\n"
- .' - ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
- ."\n"
- .' - ok_no_monitor:地址没有引用任何健康探测模板。'."\n"
- ."\n"
- .' - exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ok',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'MonitorTemplateId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '健康检查模板ID,健康探测模板的唯一标识码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mtp-89518052425100****',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'SearchMode',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '搜索模式。取值:'."\n"
+ ."\n"
+ .'- **LIKE**:模糊搜索'."\n"
+ .'- **EXACT**:精确搜索'."\n"
+ ."\n"
+ .'默认:LIKE', 'type' => 'string', 'required' => false, 'example' => 'LIKE'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-re********'],
],
[
- 'name' => 'AddressId',
+ 'name' => 'Starmark',
'in' => 'query',
- 'schema' => [
- 'description' => '地址ID,地址唯一标识码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'addr-89518218114368****',
- ],
+ 'schema' => ['description' => '是否查询域名星标。取值:'."\n"
+ ."\n"
+ .'- **true**:是'."\n"
+ ."\n"
+ .'- **false**:**否**'."\n"
+ ."\n"
+ .'默认:true', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -15201,452 +10992,142 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalItems' => [
- 'description' => '获取到地址列表中的地址总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'Addresses' => [
+ 'Domains' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Address' => [
- 'description' => '地址列表。',
+ 'Domain' => [
+ 'description' => '本次获取的域名列表。',
'type' => 'array',
'items' => [
- 'description' => '地址列表。',
+ 'description' => '本次获取的域名列表。',
'type' => 'object',
'properties' => [
- 'AddressId' => [
- 'title' => '地址 ID',
- 'description' => '地址ID,唯一标识该地址。',
- 'type' => 'string',
- 'example' => 'addr-89518218114368****',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '地址创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-23T13:09Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '地址修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-29T13:20Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690824357',
- ],
- 'Name' => [
- 'title' => '地址名称',
- 'description' => '地址名称。',
- 'type' => 'string',
- 'example' => 'Address-1',
- ],
- 'Type' => [
- 'title' => '地址类型',
- 'description' => '地址类型:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'Address' => [
- 'title' => '地址',
- 'description' => 'IP地址或者域名。',
- 'type' => 'string',
- 'example' => '223.5.XX.XX',
- ],
- 'AttributeInfo' => [
- 'title' => '地址归属信息',
- 'description' => '地址归属信息。',
- 'type' => 'string',
- 'example' => '当前版本不支持此参数,不会返回地址归属信息。',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => 'app',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态 enable: 可用, disable:不可用',
- 'description' => '表示地址当前是否可用:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'AvailableMode' => [
- 'title' => '可用状态设置模式',
- 'description' => '地址探测异常切换方式:'."\n"
- ."\n"
- .'auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
- ."\n"
- .'manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。',
- 'type' => 'string',
- 'example' => 'auto',
- ],
- 'ManualAvailableStatus' => [
- 'title' => '手动设置的可用状态',
- 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
- ."\n"
- .'available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
- ."\n"
- .'unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'AvailableStatus' => [
- 'title' => '地址可用状态',
- 'description' => '地址可用状态:'."\n"
- ."\n"
- .'- available:地址可用。'."\n"
- ."\n"
- .'- unavailable:地址不可用。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'HealthStatus' => [
- 'title' => '地址的健康状态:',
- 'description' => '地址健康检查探测状态:'."\n"
- ."\n"
- .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
- ."\n"
- .' - ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
- ."\n"
- .' - ok_no_monitor:地址没有引用任何健康探测模板。'."\n"
- ."\n"
- .' - exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'HealthJudgement' => [
- 'title' => '地址健康状态判定为ok 的方式:',
- 'description' => '地址健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:所有探测模板至少一个探测正常。'."\n"
- ."\n"
- .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
- ."\n"
- .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
- ."\n"
- .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
- ."\n"
- .'- all_ok:所有探测模板全部探测正常。',
- 'type' => 'string',
- 'example' => 'p50_ok',
- ],
- 'HealthTasks' => [
+ 'Remark' => ['description' => '备注。', 'type' => 'string', 'example' => 'remark'],
+ 'CreateTime' => ['description' => '域名添加时间。', 'type' => 'string', 'example' => '2019-01-30T05:25Z'],
+ 'RecordCount' => ['description' => '域名含有的解析记录条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'Tags' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'HealthTask' => [
- 'title' => '健康探测任务列表',
- 'description' => '健康探测任务列表。',
+ 'Tag' => [
+ 'description' => '标签键值对数组。',
'type' => 'array',
'items' => [
- 'description' => '地址关联的健康探测任务列表。',
'type' => 'object',
'properties' => [
- 'Port' => [
- 'description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'TemplateId' => [
- 'description' => '地址关联的健康探测模板ID。',
- 'type' => 'string',
- 'example' => 'mtp-89518052425100****',
- ],
- 'TemplateName' => [
- 'description' => '健康探测模板名称。',
- 'type' => 'string',
- 'example' => 'Ping-IPv4',
- ],
- 'MonitorStatus' => [
- 'description' => '健康探测模板探测任务状态:'."\n"
- .'- ok:正常。'."\n"
- ."\n"
- .'- alert:告警。'."\n"
- ."\n"
- .'- no_data:无数据,一般是健康探测任务刚创建,探测任务数据暂未采集到。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => '测试标签'],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => '测试标签值'],
],
],
],
],
],
+ 'InstanceId' => ['description' => '云解析产品ID。', 'type' => 'string', 'example' => 'i-***'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'."\n"],
+ 'DomainId' => ['description' => '域名ID。', 'type' => 'string', 'example' => '00efd71a-770e-4255-*********'],
+ 'AliDomain' => ['description' => '是否为阿里云万网域名。', 'type' => 'boolean', 'example' => 'true'],
+ 'GroupId' => ['description' => '域名分组ID。', 'type' => 'string', 'example' => '2***'],
+ 'GroupName' => ['description' => '域名分组名称。', 'type' => 'string', 'example' => 'mygroup'],
+ 'ResourceGroupId' => ['description' => '所属资源组ID。', 'type' => 'string', 'example' => 'rg***'],
+ 'InstanceEndTime' => ['description' => '实例的到期时间。', 'type' => 'string', 'example' => '2020-03-14T16:00Z'],
+ 'InstanceExpired' => ['description' => '实例是否过期。', 'type' => 'boolean', 'example' => 'false'],
+ 'VersionName' => ['description' => '云解析产品名称。', 'type' => 'string', 'example' => '企业旗舰版'],
+ 'DnsServers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DnsServer' => [
+ 'description' => '云解析系统分配的DNS服务器名称列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '云解析系统分配的DNS服务器名称。', 'type' => 'string', 'example' => '{"DnsServer": ["ns1.alidns.com","ns2.alidns.com"]}'],
+ ],
+ ],
+ ],
+ 'VersionCode' => ['description' => '云解析版本Code。', 'type' => 'string', 'example' => 'version_enterprise_basic'],
+ 'PunyCode' => ['description' => '中文域名的punycode码,英文域名返回为空。', 'type' => 'string', 'example' => 'example.com'."\n"],
+ 'RegistrantEmail' => ['description' => '注册人邮箱。', 'type' => 'string', 'example' => '****@example.com'],
+ 'CreateTimestamp' => ['description' => '添加时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1660546144000'],
+ 'Starmark' => ['description' => '是否收藏至常用域名列表。', 'type' => 'boolean', 'example' => 'true'],
+ 'DomainLoggingSwitchStatus' => ['description' => '域名DNS流量分析开启状态:'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ ."\n"
+ .'- CLOSE:关闭', 'type' => 'string', 'example' => 'OPEN'],
+ 'SlaveDnsStatus' => ['type' => 'string'],
],
],
],
],
],
+ 'TotalCount' => ['description' => '域名列表总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '68386699-8B9E-4D5B-BC4C-75A28F6C2A00'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 2,\\n \\"TotalItems\\": 30,\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"AddressId\\": \\"addr-89518218114368****\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690824357,\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持此参数,不会返回地址归属信息。\\",\\n \\"Remark\\": \\"app\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"p50_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"TemplateName\\": \\"Ping-IPv4\\",\\n \\"MonitorStatus\\": \\"ok\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取地址列表',
- 'summary' => '根据传入参数获取地址列表。',
- ],
- 'SearchCloudGtmAddresses' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'title' => '获取域名列表',
+ 'description' => '1. 可以指定页码(PageNumber)和每页的数量(PageSize)来获取域名列表。'."\n"
+ .'2. 可以指定域名的关键字(KeyWord)来查询含有该关键字的域名列表。'."\n"
+ .'3. 域名列表的默认排序方式是按照域名添加的时间从新到旧排序的。'."\n"
+ .'4. 可以指定域名分组的ID(GroupId),全部域名代表所有域名、默认分组代表未设置分组的域名。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomains'],
],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
- ],
- [
- 'name' => 'Names',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '地址名称,一般为方便用户区分的名称。',
- 'type' => 'array',
- 'items' => [
- 'description' => '地址名称搜索条件,支持同时输入多个关键词进行查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["address_1", "test"]',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'required' => false,
- 'maxItems' => 100,
- ],
- ],
- [
- 'name' => 'NameSearchCondition',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按地址名称查询时的搜索逻辑(选择地址名称查询时必选参数):'."\n"
- ."\n"
- .'- and:展示输入的搜索条件全部命中的查询结果。'."\n"
- ."\n"
- .'- or:展示输入的搜索条件部分或全部命中的查询结果。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'or',
- ],
- ],
- [
- 'name' => 'AvailableStatus',
- 'in' => 'query',
- 'schema' => [
- 'description' => '按照地址可用状态条件精确搜索:'."\n"
- ."\n"
- .'- available:可用'."\n"
- ."\n"
- .'- unavailable:不可用',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'available',
- ],
- ],
- [
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'title' => '地址类型',
- 'description' => '按照地址类型条件精确搜索:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPv4',
- ],
- ],
- [
- 'name' => 'Address',
- 'in' => 'query',
- 'schema' => [
- 'title' => '地址',
- 'description' => '按照服务地址条件精确查询,支持IP地址或者域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '223.5.XX.XX',
- ],
- ],
- [
- 'name' => 'MonitorTemplateName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '健康探测模板名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Ping-IPv4',
- ],
- ],
- [
- 'name' => 'EnableStatus',
- 'in' => 'query',
- 'schema' => [
- 'title' => '启用状态 enable: 可用, disable:不可用',
- 'description' => '按照地址启用状态进行精确查询:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Domains\\": {\\n \\"Domain\\": [\\n {\\n \\"Remark\\": \\"remark\\",\\n \\"CreateTime\\": \\"2019-01-30T05:25Z\\",\\n \\"RecordCount\\": 100,\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"Key\\": \\"测试标签\\",\\n \\"Value\\": \\"测试标签值\\"\\n }\\n ]\\n },\\n \\"InstanceId\\": \\"i-***\\",\\n \\"DomainName\\": \\"example.com\\\\n\\",\\n \\"DomainId\\": \\"00efd71a-770e-4255-*********\\",\\n \\"AliDomain\\": true,\\n \\"GroupId\\": \\"2***\\",\\n \\"GroupName\\": \\"mygroup\\",\\n \\"ResourceGroupId\\": \\"rg***\\",\\n \\"InstanceEndTime\\": \\"2020-03-14T16:00Z\\",\\n \\"InstanceExpired\\": false,\\n \\"VersionName\\": \\"企业旗舰版\\",\\n \\"DnsServers\\": {\\n \\"DnsServer\\": [\\n \\"{\\\\\\"DnsServer\\\\\\": [\\\\\\"ns1.alidns.com\\\\\\",\\\\\\"ns2.alidns.com\\\\\\"]}\\"\\n ]\\n },\\n \\"VersionCode\\": \\"version_enterprise_basic\\",\\n \\"PunyCode\\": \\"example.com\\\\n\\",\\n \\"RegistrantEmail\\": \\"****@example.com\\",\\n \\"CreateTimestamp\\": 1660546144000,\\n \\"Starmark\\": true,\\n \\"DomainLoggingSwitchStatus\\": \\"OPEN\\",\\n \\"SlaveDnsStatus\\": \\"\\"\\n }\\n ]\\n },\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"68386699-8B9E-4D5B-BC4C-75A28F6C2A00\\",\\n \\"PageNumber\\": 1\\n}","type":"json"}]',
+ ],
+ 'DescribeGtmAccessStrategies' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'HealthStatus',
- 'in' => 'query',
- 'schema' => [
- 'title' => '地址探测结果: ok, ok_alert, ok_no_monitor, exceptional',
- 'description' => '按照地址健康状态进行精确查询:'."\n"
- ."\n"
- .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
- ."\n"
- .'- ok_alert:地址引用的健康探测模板探测任务部分异常,地址判定为正常状态。'."\n"
- ."\n"
- .'- ok_no_monitor:地址没有引用任何健康探测模板。'."\n"
- ."\n"
- .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,但地址判定为异常状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ok',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'Remarks',
+ 'name' => 'Lang',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '地址的备注。',
- 'type' => 'array',
- 'items' => [
- 'description' => '地址备注搜索条件,支持同时输入多个关键词进行查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["", "test"]',
- ],
- 'required' => false,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'RemarkSearchCondition',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '按地址备注查询时的搜索逻辑(选择地址备注查询时必选参数):'."\n"
- ."\n"
- .'and:展示输入的搜索条件全部命中的查询结果。'."\n"
- ."\n"
- .'or:展示输入的搜索条件部分或全部命中的查询结果。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'or',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3hbz**'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '20',
- ],
- ],
- [
- 'name' => 'AddressId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址ID,地址唯一标识码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'addr-89518218114368****',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
@@ -15654,290 +11135,135 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '符合查询条件的地址总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- ],
- 'Addresses' => [
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '0CCC9971-CEC9-4132-824B-4AE611C07623'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Strategies' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Address' => [
- 'description' => '地址列表。',
+ 'Strategy' => [
+ 'description' => '策略列表。',
'type' => 'array',
'items' => [
- 'description' => '地址列表。',
'type' => 'object',
'properties' => [
- 'AddressId' => [
- 'title' => '地址 ID',
- 'description' => '地址的ID,地址唯一标识码。',
- 'type' => 'string',
- 'example' => 'addr-89518218114368**92',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '地址的创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-23T13:09Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '地址的创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '地址的最后一次的修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-29T13:20Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '地址的最后一次的修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'Name' => [
- 'title' => '地址名称',
- 'description' => '地址名称。',
- 'type' => 'string',
- 'example' => 'Address-1',
- ],
- 'Type' => [
- 'title' => '地址类型',
- 'description' => '地址类型:'."\n"
- ."\n"
- .'- IPv4:ipv4地址'."\n"
- .'- IPv6:ipv6地址'."\n"
- .'- domain:域名',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'Address' => [
- 'title' => '地址',
- 'description' => 'IP地址或者域名。',
- 'type' => 'string',
- 'example' => '223.5.XX.XX',
- ],
- 'AttributeInfo' => [
- 'title' => '地址归属信息',
- 'description' => '地址归属信息,当前版本不支持此参数。',
- 'type' => 'string',
- 'example' => '当前版本不返回此参数。',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态 enable: 可用, disable:不可用',
- 'description' => '地址当前启用状态:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'AvailableMode' => [
- 'title' => '可用状态设置模式',
- 'description' => '地址探测异常切换方式:'."\n"
- ."\n"
- .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
- ."\n"
- .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。',
- 'type' => 'string',
- 'example' => 'auto',
- ],
- 'ManualAvailableStatus' => [
- 'title' => '手动设置的可用状态',
- 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
- ."\n"
- .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
- ."\n"
- .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'AvailableStatus' => [
- 'title' => '地址可用状态',
- 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
- ."\n"
- .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
- ."\n"
- .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'HealthStatus' => [
- 'title' => '地址的健康状态:',
- 'description' => '地址健康检查探测结果:'."\n"
- ."\n"
- .'- ok:地址引用的健康探测模板探测任务全部正常;'."\n"
- ."\n"
- .'- ok_alert:地址引用的健康探测模板探测任务部分异常,地址判定为正常状态。'."\n"
- ."\n"
- .'- ok_no_monitor:地址没有引用任何健康探测模板。'."\n"
- ."\n"
- .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,但地址判定为异常状态。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'HealthJudgement' => [
- 'title' => '地址健康状态判定为ok 的方式:',
- 'description' => '地址健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:所有探测模板至少一个探测正常。'."\n"
- ."\n"
- .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
- ."\n"
- .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
- ."\n"
- .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
- ."\n"
- .'- all_ok:所有探测模板全部探测正常。',
- 'type' => 'string',
- 'example' => 'p50_ok',
- ],
- 'HealthTasks' => [
+ 'AccessMode' => ['description' => '访问策略。其中:'."\n"
+ .'- **AUTO**:自动切换'."\n"
+ .'- **DEFAULT**:主地址池集合'."\n"
+ .'- **FAILOVER**:备地址池集合', 'type' => 'string', 'example' => 'AUTO'],
+ 'StrategyName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '访问策略'],
+ 'DefaultAddrPoolMonitorStatus' => ['description' => '主地址池集合健康检查状态。其中:'."\n"
+ ."\n"
+ .'- **OPEN**:开启'."\n"
+ .'- **CLOSE**:关闭'."\n"
+ .'- **UNCONFIGURED**:未配置', 'type' => 'string', 'example' => 'OPEN'],
+ 'StrategyMode' => ['description' => '访问策略类型:'."\n"
+ ."\n"
+ .'- **GEO**:基于地理位置'."\n"
+ .'- **LATENCY**:基于延时', 'type' => 'string', 'example' => 'GEO'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2018-08-09T00:10Z'],
+ 'DefaultAddrPoolStatus' => ['description' => '主地址池集合可用状态。其中:'."\n"
+ ."\n"
+ .'- **AVAILABLE**:可用'."\n"
+ .'- **NOT_AVAILABLE**:不可用', 'type' => 'string', 'example' => 'AVAILABLE'],
+ 'InstanceId' => ['description' => '关联实例ID。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**'],
+ 'Lines' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'HealthTask' => [
- 'title' => '健康探测任务列表',
- 'description' => '健康探测任务列表。',
+ 'Line' => [
+ 'description' => '解析请求来源列表。',
'type' => 'array',
'items' => [
- 'description' => '地址引用的健康探测任务信息。',
'type' => 'object',
'properties' => [
- 'Port' => [
- 'description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'TemplateId' => [
- 'description' => '地址关联的健康探测模板ID。',
- 'type' => 'string',
- 'example' => 'mtp-89518052425100****',
- ],
- 'TemplateName' => [
- 'description' => '健康探测模板名称。',
- 'type' => 'string',
- 'example' => 'IPv4-Ping',
- ],
- 'MonitorStatus' => [
- 'description' => '健康探测模板探测任务状态:'."\n"
- ."\n"
- .'- ok:正常。'."\n"
- ."\n"
- .'- alert:告警。'."\n"
- ."\n"
- .'- no_data:无数据,一般是健康探测任务刚创建,探测任务数据暂未采集到。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
+ 'GroupName' => ['description' => '解析请求来源分组名称。', 'type' => 'string', 'example' => 'Global'],
+ 'LineCode' => ['description' => '解析请求来源编码。', 'type' => 'string', 'example' => 'default'],
+ 'LineName' => ['description' => '解析请求来源名称。', 'type' => 'string', 'example' => 'Global'],
+ 'GroupCode' => ['description' => '解析请求来源分组编码。', 'type' => 'string', 'example' => 'DEFAULT'],
],
],
],
],
],
+ 'FailoverAddrPoolId' => ['description' => '备地址池集合ID。', 'type' => 'string', 'example' => 'hra0i2'],
+ 'DefaultAddrPoolId' => ['description' => '主地址池集合ID。', 'type' => 'string', 'example' => 'hra0i1'],
+ 'StrategyId' => ['description' => '访问策略ID。', 'type' => 'string', 'example' => 'hra0hs'],
+ 'FailoverAddrPoolStatus' => ['description' => '备地址池集合可用状态。其中:'."\n"
+ ."\n"
+ .'- ****AVAILABLE****:可用'."\n"
+ .'- ****NOT_AVAILABLE****:不可用', 'type' => 'string', 'example' => 'AVAILABLE'],
+ 'AccessStatus' => ['description' => '访问状态。其中:'."\n"
+ .'- **DEFAULT**:当前访问主地址池集合'."\n"
+ .'- **FAILOVER**:当前访问备地址池集合', 'type' => 'string', 'example' => 'DEFAULT'],
+ 'FailoverAddrPoolMonitorStatus' => ['description' => '备地址池集合健康检查状态。其中:'."\n"
+ ."\n"
+ .'- **OPEN**:开启'."\n"
+ .'- **CLOSE**:关闭'."\n"
+ .'- **UNCONFIGURED**:未配置', 'type' => 'string', 'example' => 'OPEN'],
+ 'DefaultAddrPoolName' => ['description' => '主地址池集合名称。', 'type' => 'string', 'example' => '地址池1'],
+ 'FailoverAddrPoolName' => ['description' => '备地址池集合名称。', 'type' => 'string', 'example' => '地址池2'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1533773400000'],
],
],
],
],
],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 15,\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"AddressId\\": \\"addr-89518218114368**92\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不返回此参数。\\",\\n \\"Remark\\": \\"test\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"p50_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"TemplateName\\": \\"IPv4-Ping\\",\\n \\"MonitorStatus\\": \\"ok\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '搜索地址列表',
- 'summary' => '按照地址名称、备注信息、地址引用的探测模板或地址DI等信息搜索地址列表。',
- ],
- 'DescribeCloudGtmAddressReference' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取实例访问策略列表(旧版)',
+ 'summary' => '获取当前实例的访问策略列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmAccessStrategies'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmAccessStrategies',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"0CCC9971-CEC9-4132-824B-4AE611C07623\\",\\n \\"PageNumber\\": 1,\\n \\"Strategies\\": {\\n \\"Strategy\\": [\\n {\\n \\"AccessMode\\": \\"AUTO\\",\\n \\"StrategyName\\": \\"访问策略\\",\\n \\"DefaultAddrPoolMonitorStatus\\": \\"OPEN\\",\\n \\"StrategyMode\\": \\"GEO\\",\\n \\"CreateTime\\": \\"2018-08-09T00:10Z\\",\\n \\"DefaultAddrPoolStatus\\": \\"AVAILABLE\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n }\\n ]\\n },\\n \\"FailoverAddrPoolId\\": \\"hra0i2\\",\\n \\"DefaultAddrPoolId\\": \\"hra0i1\\",\\n \\"StrategyId\\": \\"hra0hs\\",\\n \\"FailoverAddrPoolStatus\\": \\"AVAILABLE\\",\\n \\"AccessStatus\\": \\"DEFAULT\\",\\n \\"FailoverAddrPoolMonitorStatus\\": \\"OPEN\\",\\n \\"DefaultAddrPoolName\\": \\"地址池1\\",\\n \\"FailoverAddrPoolName\\": \\"地址池2\\",\\n \\"CreateTimestamp\\": 1533773400000\\n }\\n ]\\n },\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmAccessStrategiesResponse>\\r\\n<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>20</PageSize>\\r\\n\\t<RequestId>0CCC9971-CEC9-4132-824B-4AE611C07623</RequestId>\\r\\n\\t<TotalItems>1</TotalItems>\\r\\n\\t<TotalPages>1</TotalPages>\\r\\n\\t<Strategies>\\r\\n\\t\\t<Strategy>\\r\\n\\t\\t\\t<FailoverAddrPoolName>地址池2</FailoverAddrPoolName>\\r\\n\\t\\t\\t<FailoverAddrPoolStatus>AVAILABLE</FailoverAddrPoolStatus>\\r\\n\\t\\t\\t<FailoverAddrPoolMonitorStatus>OPEN</FailoverAddrPoolMonitorStatus>\\r\\n\\t\\t\\t<StrategyName>访问策略测试</StrategyName>\\r\\n\\t\\t\\t<AccessMode>DEFAULT</AccessMode>\\r\\n\\t\\t\\t<CreateTimestamp>1533773400000</CreateTimestamp>\\r\\n\\t\\t\\t<Lines>\\r\\n\\t\\t\\t\\t<Line>\\r\\n\\t\\t\\t\\t\\t<GroupName>全局</GroupName>\\r\\n\\t\\t\\t\\t\\t<GroupCode>DEFAULT</GroupCode>\\r\\n\\t\\t\\t\\t\\t<LineName>全局</LineName>\\r\\n\\t\\t\\t\\t\\t<LineCode>default</LineCode>\\r\\n\\t\\t\\t\\t</Line>\\r\\n\\t\\t\\t</Lines>\\r\\n\\t\\t\\t<StrategyMode>SELF_DEFINED</StrategyMode>\\r\\n\\t\\t\\t<DefaultAddrPoolId>hra0i1</DefaultAddrPoolId>\\r\\n\\t\\t\\t<CreateTime>2018-08-09T00:10Z</CreateTime>\\r\\n\\t\\t\\t<FailoverAddrPoolId>hra0i2</FailoverAddrPoolId>\\r\\n\\t\\t\\t<DefaultAddrPoolName>地址池1</DefaultAddrPoolName>\\r\\n\\t\\t\\t<DefaultAddrPoolStatus>AVAILABLE</DefaultAddrPoolStatus>\\r\\n\\t\\t\\t<DefaultAddrPoolMonitorStatus>CLOSE</DefaultAddrPoolMonitorStatus>\\r\\n\\t\\t\\t<AccessStatus>DEFAULT</AccessStatus>\\r\\n\\t\\t\\t<InstanceId>instance1</InstanceId>\\r\\n\\t\\t\\t<StrategyId>hra0hs</StrategyId>\\r\\n\\t\\t</Strategy>\\r\\n\\t</Strategies>\\r\\n</DescribeGtmAccessStrategiesResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmAccessStrategy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回信息的语言类型:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
- ],
- [
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'AddressId',
+ 'name' => 'StrategyId',
'in' => 'query',
- 'schema' => [
- 'description' => '地址ID,唯一标识地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'addr-89518218114368****',
- ],
+ 'schema' => ['description' => '访问策略ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hra0hs'],
],
],
'responses' => [
@@ -15945,270 +11271,58 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'AddressId' => [
- 'title' => '地址 ID',
- 'description' => '地址ID,唯一标识地址。',
- 'type' => 'string',
- 'example' => 'addr-89564584963974****',
- ],
- 'Name' => [
- 'title' => '地址名称',
- 'description' => '地址名称。',
- 'type' => 'string',
- 'example' => 'Address-1',
- ],
- 'Address' => [
- 'title' => '地址',
- 'description' => 'IP地址或域名。',
- 'type' => 'string',
- 'example' => '223.5.XX.XX',
- ],
- 'AddressPools' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'BA1608CA-834C-4E63-8682-8AF0B11ED72D'],
+ 'InstanceId' => ['description' => '关联的GTM实例ID。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**'],
+ 'StrategyId' => ['description' => '策略ID。', 'type' => 'string', 'example' => 'hra0hs'],
+ 'DefaultAddrPoolStatus' => ['description' => '主地址池集合可用状态。其中:'."\n"
+ ."\n"
+ .'- **AVAILABLE**:可用'."\n"
+ .'- **NOT_AVAILABLE**:不可用', 'type' => 'string', 'example' => 'AVAILABLE'],
+ 'FailoverAddrPoolId' => ['description' => '备地址池集合ID。'."\n"
+ .'若未设置备地址池集合,传值**EMPTY**。', 'type' => 'string', 'example' => 'hra0i2'],
+ 'AccessStatus' => ['description' => '访问状态。其中:'."\n"
+ ."\n"
+ .'- **DEFAULT**:访问主地址池集合,表示正常'."\n"
+ .'- **FAILOVER**:访问备地址池集合,表示异常', 'type' => 'string', 'example' => 'DEFAULT'],
+ 'DefaultAddrPoolMonitorStatus' => ['description' => '主地址池集合健康检查状态。其中:'."\n"
+ ."\n"
+ .'- **OPEN**:开启'."\n"
+ .'- **CLOSE**:关闭'."\n"
+ .'- **UNCONFIGURED**:未配置', 'type' => 'string', 'example' => 'OPEN'],
+ 'DefaultAddrPoolName' => ['description' => '主地址池集合名称。', 'type' => 'string', 'example' => '地址池1'],
+ 'DefultAddrPoolId' => ['description' => '备地址池集合ID。', 'type' => 'string', 'example' => 'hra0i1'],
+ 'StrategyName' => ['description' => '访问策略名称。', 'type' => 'string', 'example' => '全局'],
+ 'FailoverAddrPoolStatus' => ['description' => '备地址池集合可用状态。其中:'."\n"
+ ."\n"
+ .'- **AVAILABLE**:可用'."\n"
+ .'- **NOT_AVAILABLE**:不可用', 'type' => 'string', 'example' => 'AVAILABLE'],
+ 'AccessMode' => ['description' => '地址池集合切换策略:'."\n"
+ ."\n"
+ .'- **AUTO**:自动切换'."\n"
+ .'- **DEFAULT**:主地址池集合'."\n"
+ .'- **FAILOVER**: 备地址池集合', 'type' => 'string', 'example' => 'AUTO'],
+ 'StrategyMode' => ['description' => '策略模式'."\n"
+ .'SELF_DEFINED 自定义。', 'type' => 'string', 'example' => 'SELF_DEFINED'],
+ 'FailoverAddrPoolMonitorStatus' => ['description' => '备地址池集合健康检查状态。其中:'."\n"
+ ."\n"
+ .'- **OPEN**:开启'."\n"
+ .'- **CLOSE**:关闭'."\n"
+ .'- **UNCONFIGURED**:未配置', 'type' => 'string', 'example' => 'OPEN'],
+ 'FailoverAddrPoolName' => ['description' => '备地址池集合名称。', 'type' => 'string', 'example' => '地址池2'],
+ 'Lines' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'AddressPool' => [
- 'description' => '地址池列表。',
+ 'Line' => [
+ 'description' => '解析请求来源列表。',
'type' => 'array',
'items' => [
- 'description' => '地址池信息。',
'type' => 'object',
'properties' => [
- 'AddressPoolId' => [
- 'title' => '地址池Id',
- 'description' => '地址池ID。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442****',
- ],
- 'AddressPoolName' => [
- 'title' => '地址池名称',
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'AddressPool-1',
- ],
- 'InstanceConfigs' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'InstanceConfig' => [
- 'description' => '引用地址池的实例列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '引用地址池的实例配置信息。',
- 'type' => 'object',
- 'properties' => [
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '全局流量管理3.0实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-zz11t58****',
- ],
- 'InstanceName' => [
- 'title' => '调度实例名称',
- 'description' => '实例名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ConfigId' => [
- 'title' => '调度实例名称',
- 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。',
- 'type' => 'string',
- 'example' => 'config-00****',
- ],
- 'VersionCode' => [
- 'title' => '调度实例名称',
- 'description' => '全局流量管理3.0实例版本:'."\n"
- ."\n"
- .'- standard:标准版'."\n"
- ."\n"
- .'- ultimate:旗舰版',
- 'type' => 'string',
- 'example' => 'ultimate',
- ],
- 'ScheduleZoneName' => [
- 'title' => 'zone名称',
- 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。',
- 'type' => 'string',
- 'example' => 'example.com'."\n",
- ],
- 'ScheduleHostname' => [
- 'title' => '主机记录',
- 'description' => 'GTM接入域名的主机记录。',
- 'type' => 'string',
- 'example' => 'www',
- ],
- 'ScheduleDomainName' => [
- 'title' => '域名,主机记录+zoneNamne',
- 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)',
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
- 'ScheduleRrType' => [
- 'description' => '调度域名的解析记录类型:'."\n"
- ."\n"
- .'- A:IPv4地址'."\n"
- ."\n"
- .'- AAAA:IPv6地址'."\n"
- ."\n"
- .'- CNAME:域名',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Ttl' => [
- 'description' => '全局TTL(单位:秒),接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'AddressPoolLbStrategy' => [
- 'description' => '地址池之间的负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。',
- 'type' => 'string',
- 'example' => ' preemptive',
- ],
- 'AvailableStatus' => [
- 'description' => '域名实例服务可用状态:'."\n"
- ."\n"
- .'- available:可用,域名**启用**且健康状态为“正常”,接入域名的服务可用状态为**可用**。'."\n"
- ."\n"
- .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'EnableStatus' => [
- 'description' => '域名实例的启用状态:'."\n"
- ."\n"
- .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
- ."\n"
- .'- disable:禁用状态,GTM实例智能调度策略不可用。',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthStatus' => [
- 'description' => '域名实例健康状态:'."\n"
- ."\n"
- .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'Remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- ],
- ],
- ],
- ],
- ],
- 'AddressPoolType' => [
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'AddressLbStrategy' => [
- 'description' => '地址池中地址间负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址;'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址;',
- 'type' => 'string',
- 'example' => 'preemptive',
- ],
- 'EnableStatus' => [
- 'description' => '地址池启用状态:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthJudgement' => [
- 'description' => '地址池健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
- ."\n"
- .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
- ."\n"
- .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
- ."\n"
- .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
- ."\n"
- .'- all_ok:地址池内地址全部可用。',
- 'type' => 'string',
- 'example' => 'any_ok',
- ],
- 'HealthStatus' => [
- 'description' => '地址池健康状态:'."\n"
- ."\n"
- .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'AvailableStatus' => [
- 'description' => '地址池可用性状态:'."\n"
- ."\n"
- .'- available:可用'."\n"
- ."\n"
- .'- unavailable:不可用',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'Remark' => [
- 'description' => '地址池的备注。',
- 'type' => 'string',
- 'example' => 'pool-1',
- ],
+ 'GroupName' => ['description' => '解析请求来源分组名称。', 'type' => 'string', 'example' => 'Global'],
+ 'LineCode' => ['description' => '解析请求来源编码。', 'type' => 'string', 'example' => 'default'],
+ 'LineName' => ['description' => '解析请求来源名称。', 'type' => 'string', 'example' => 'Global'],
+ 'GroupCode' => ['description' => '解析请求来源分组编码。', 'type' => 'string', 'example' => 'DEFAULT'],
],
],
],
@@ -16218,77 +11332,151 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"AddressId\\": \\"addr-89564584963974****\\",\\n \\"Name\\": \\"Address-1\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\",\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"InstanceConfigs\\": {\\n \\"InstanceConfig\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-zz11t58****\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"ConfigId\\": \\"config-00****\\",\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"ScheduleZoneName\\": \\"example.com\\\\n\\",\\n \\"ScheduleHostname\\": \\"www\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"ScheduleRrType\\": \\"A\\",\\n \\"Ttl\\": 30,\\n \\"AddressPoolLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\" preemptive\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n },\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"Remark\\": \\"pool-1\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取地址被引用的信息',
- 'summary' => '根据传入参数获取地址被引用的地址池、GTM3.0实例信息。',
- ],
- 'UpdateCloudGtmAddressEnableStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取访问策略详细信息(旧版)',
+ 'summary' => '根据策略ID获取策略详细信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmAccessStrategy'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BA1608CA-834C-4E63-8682-8AF0B11ED72D\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"StrategyId\\": \\"hra0hs\\",\\n \\"DefaultAddrPoolStatus\\": \\"AVAILABLE\\",\\n \\"FailoverAddrPoolId\\": \\"hra0i2\\",\\n \\"AccessStatus\\": \\"DEFAULT\\",\\n \\"DefaultAddrPoolMonitorStatus\\": \\"OPEN\\",\\n \\"DefaultAddrPoolName\\": \\"地址池1\\",\\n \\"DefultAddrPoolId\\": \\"hra0i1\\",\\n \\"StrategyName\\": \\"全局\\",\\n \\"FailoverAddrPoolStatus\\": \\"AVAILABLE\\",\\n \\"AccessMode\\": \\"AUTO\\",\\n \\"StrategyMode\\": \\"SELF_DEFINED\\",\\n \\"FailoverAddrPoolMonitorStatus\\": \\"OPEN\\",\\n \\"FailoverAddrPoolName\\": \\"地址池2\\",\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmAccessStrategyResponse>\\r\\n\\t<StrategyName>访问策略测试</StrategyName>\\r\\n\\t<AccessMode>DEFAULT</AccessMode>\\r\\n\\t<Lines>\\r\\n\\t\\t<Line>\\r\\n\\t\\t\\t<GroupName>Global</GroupName>\\r\\n\\t\\t\\t<GroupCode>DEFAULT</GroupCode>\\r\\n\\t\\t\\t<LineName>Global</LineName>\\r\\n\\t\\t\\t<LineCode>default</LineCode>\\r\\n\\t\\t</Line>\\r\\n\\t\\t<Line>\\r\\n\\t\\t\\t<GroupCode>ISP</GroupCode>\\r\\n\\t\\t\\t<GroupName>ISP</GroupName>\\r\\n\\t\\t\\t<LineCode>mobile</LineCode>\\r\\n\\t\\t\\t<LineName>China Mobile</LineName>\\r\\n\\t\\t</Line>\\r\\n\\t</Lines>\\r\\n\\t<RequestId>BA1608CA-834C-4E63-8682-8AF0B11ED72D</RequestId>\\r\\n\\t<AccessStatus>DEFAULT</AccessStatus>\\r\\n\\t<CreateTime>2018-08-09T00:10Z</CreateTime>\\r\\n\\t<CreateTimestamp>1533773400000</CreateTimestamp>\\r\\n\\t<DefaultAddrPoolId>hra0i1</DefaultAddrPoolId>\\r\\n\\t<DefaultAddrPoolName>地址池1</DefaultAddrPoolName>\\r\\n\\t<FailoverAddrPoolId>hra0i2</FailoverAddrPoolId>\\r\\n\\t<FailoverAddrPoolName>地址池2</FailoverAddrPoolName>\\r\\n\\t<InstanceId>instance1</InstanceId>\\r\\n\\t<StrategyMode>SELF_DEFINED</StrategyMode>\\r\\n\\t<StrategyId>hra0hs</StrategyId>\\r\\n\\t<FailoverAddrPoolStatus>AVAILABLE</FailoverAddrPoolStatus>\\r\\n\\t<FailoverAddrPoolMonitorStatus>OPEN</FailoverAddrPoolMonitorStatus>\\r\\n\\t<DefaultAddrPoolStatus>AVAILABLE</DefaultAddrPoolStatus>\\r\\n\\t<DefaultAddrPoolMonitorStatus>CLOSE</DefaultAddrPoolMonitorStatus>\\r\\n</DescribeGtmAccessStrategyResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmAccessStrategyAvailableConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'InstanceId',
'in' => 'query',
+ 'schema' => ['description' => 'GTM实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'C2851BA9-CE56-49AF-8D12-4FC6A49EE688'],
+ 'AddrPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AddrPool' => [
+ 'description' => '地址池列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AddrPoolId' => ['description' => '地址池ID。', 'type' => 'string', 'example' => 'hra0ix'],
+ 'AddrPoolName' => ['description' => '地址池名称。', 'type' => 'string', 'example' => 'test'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Lines' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Line' => [
+ 'description' => '解析请求来源列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '线路当前状态。其中:'."\n"
+ ."\n"
+ .'- **FORBIDDEN**:不可选'."\n"
+ .'- **OPTIONAL**:可选择', 'type' => 'string', 'example' => 'FORBIDDEN'],
+ 'FatherCode' => ['description' => '父线路的code,如果没有则为空。', 'type' => 'string', 'example' => '无'],
+ 'LineCode' => ['description' => '解析请求来源编码。', 'type' => 'string', 'example' => 'cn_region_huanan'],
+ 'GroupName' => ['description' => '解析请求来源分组名称。', 'type' => 'string', 'example' => 'Mainland China'],
+ 'LineName' => ['description' => '解析请求来源名称。', 'type' => 'string', 'example' => 'South China'],
+ 'GroupCode' => ['description' => '解析请求来源分组编号。', 'type' => 'string', 'example' => 'CN_REGION'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SuggestSetDefaultLine' => ['description' => '建议设置全局线路。'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'True'],
+ ],
],
],
+ ],
+ 'title' => '获取访问策略可设置的配置(旧版)',
+ 'summary' => '获取当前访问策略可设置的配置。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmAccessStrategyAvailableConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'AddressId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '地址 ID',
- 'description' => '地址的ID,地址唯一标识码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'addr-89518218114368****',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmAccessStrategyAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C2851BA9-CE56-49AF-8D12-4FC6A49EE688\\",\\n \\"AddrPools\\": {\\n \\"AddrPool\\": [\\n {\\n \\"AddrPoolId\\": \\"hra0ix\\",\\n \\"AddrPoolName\\": \\"test\\"\\n }\\n ]\\n },\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"Status\\": \\"FORBIDDEN\\",\\n \\"FatherCode\\": \\"无\\",\\n \\"LineCode\\": \\"cn_region_huanan\\",\\n \\"GroupName\\": \\"Mainland China\\",\\n \\"LineName\\": \\"South China\\",\\n \\"GroupCode\\": \\"CN_REGION\\"\\n }\\n ]\\n },\\n \\"SuggestSetDefaultLine\\": true\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmAccessStrategyAvailableConfigResponse>\\r\\n<Lines>\\r\\n\\t\\t<Line>\\r\\n\\t\\t\\t<Status>FORBIDDEN</Status>\\r\\n\\t\\t\\t<GroupName>全局</GroupName>\\r\\n\\t\\t\\t<GroupCode>DEFAULT</GroupCode>\\r\\n\\t\\t\\t<LineName>全局</LineName>\\r\\n\\t\\t\\t<LineCode>default</LineCode>\\r\\n\\t\\t</Line>\\r\\n\\t\\t<Line>\\r\\n\\t\\t\\t<Status>OPTIONAL</Status>\\r\\n\\t\\t\\t<GroupName>运营商</GroupName>\\r\\n\\t\\t\\t<GroupCode>ISP</GroupCode>\\r\\n\\t\\t\\t<LineName>电信</LineName>\\r\\n\\t\\t\\t<LineCode>telecom</LineCode>\\r\\n\\t\\t</Line>\\r\\n\\t\\t<Line>\\r\\n\\t\\t\\t<Status>OPTIONAL</Status>\\r\\n\\t\\t\\t<GroupName>境外地区</GroupName>\\r\\n\\t\\t\\t<GroupCode>OS</GroupCode>\\r\\n\\t\\t\\t<LineName>南美洲</LineName>\\r\\n\\t\\t\\t<LineCode>os_samerica</LineCode>\\r\\n\\t\\t</Line>\\r\\n\\t</Lines>\\r\\n\\t<RequestId>C2851BA9-CE56-49AF-8D12-4FC6A49EE688</RequestId>\\r\\n\\t<AddrPools>\\r\\n\\t\\t<AddrPool>\\r\\n\\t\\t\\t<AddrPoolName>地址池1</AddrPoolName>\\r\\n\\t\\t\\t<AddrPoolId>hra0ix</AddrPoolId>\\r\\n\\t\\t</AddrPool>\\r\\n\\t\\t<AddrPool>\\r\\n\\t\\t\\t<AddrPoolName>地址池2</AddrPoolName>\\r\\n\\t\\t\\t<AddrPoolId>hra0iy</AddrPoolId>\\r\\n\\t\\t</AddrPool>\\r\\n\\t</AddrPools>\\r\\n</DescribeGtmAccessStrategyAvailableConfigResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmAvailableAlertGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'EnableStatus',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'title' => '可用状态',
- 'description' => '地址启用状态:'."\n"
- .'- enable:启用,当前地址健康检查正常的情况下可参与解析。'."\n"
- .'- disable: 禁用,当前地址不管健康检查是否正常,均不可参与解析。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
],
'responses' => [
@@ -16296,116 +11484,145 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Success' => [
- 'description' => '修改地址启用状态操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功。'."\n"
- ."\n"
- .'- false:操作失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
+ 'AvailableAlertGroup' => ['description' => '可用报警组。', 'type' => 'string', 'example' => '[\\"研发组\\",\\"GTM测试组\\"]'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '修改地址启用状态',
- 'summary' => '根据传入参数修改地址启用状态。',
- 'description' => '- 地址**启用**且健康状态为**正常**,地址的服务可用状态为**可用**。'."\n"
- ."\n"
- .'- 地址**禁用**或健康状态为**异常**,地址的服务可用状态为**不可用**。',
- ],
- 'UpdateCloudGtmAddressManualAvailableStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取GTM实例可用的报警组列表(旧版)',
+ 'summary' => '获取GTM实例可用的报警组列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmAvailableAlertGroup'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmAvailableAlertGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"AvailableAlertGroup\\": \\"[\\\\\\\\\\\\\\"研发组\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"GTM测试组\\\\\\\\\\\\\\"]\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmAvailableAlertGroupResponse>\\r\\n\\t<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n\\t<AvailableAlertGroup>[&quot;研发组&quot;,&quot;GTM测试组&quot;]</AvailableAlertGroup>\\r\\n</DescribeGtmAvailableAlertGroupResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmInstance' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => 'GTM实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'instance1'],
],
[
- 'name' => 'AddressId',
+ 'name' => 'NeedDetailAttributes',
'in' => 'query',
+ 'schema' => ['description' => '是否需要额外信息,默认为**false**。取值为**true**时,返回AccessStrategyNum(访问策略个数)、AddressPoolNum(地址池个数)。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '地址 ID',
- 'description' => '地址的ID,地址唯一标识码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'addr-89518218114368****',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExpireTimestamp' => ['description' => '实例到期时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1528284856000'],
+ 'UserDomainName' => ['description' => '用户域名。', 'type' => 'string', 'example' => 'dns-example.top'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'E41AA251-F9BA-48C6-99B2-2B82B26A573A'],
+ 'LbaStrategy' => ['description' => '负载均衡策略。'."\n"
+ .'- **ALL_RR**: 负载均摊'."\n"
+ .'- **RATIO**: 加权轮询', 'type' => 'string', 'example' => 'RATIO'],
+ 'InstanceId' => ['description' => 'GTM实例ID。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**'],
+ 'CreateTime' => ['description' => '实例创建时间。', 'type' => 'string', 'example' => '2018-06-06T11:34Z'],
+ 'CnameMode' => ['description' => '当前接入方式。其中:'."\n"
+ ."\n"
+ .'- **SYSTEM_ASSIGN**:系统分配'."\n"
+ .'- **CUSTOM**:自定义', 'type' => 'string', 'example' => 'CUSTOM'],
+ 'Ttl' => ['description' => '全局TTL。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Cname' => ['description' => 'CNAME接入域名。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**.dns-example.top'],
+ 'InstanceName' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'test'],
+ 'VersionCode' => ['description' => '版本Code。', 'type' => 'string', 'example' => 'biaozhun'],
+ 'AlertGroup' => ['description' => '报警组。', 'type' => 'string', 'example' => '[\\"日常测试-研发组\\"]'],
+ 'AddressPoolNum' => ['description' => '地址池个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'AccessStrategyNum' => ['description' => '访问策略个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'ExpireTime' => ['description' => '实例到期时间。', 'type' => 'string', 'example' => '2018-06-06T11:34Z'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1528284856000'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-testgroupid'],
+ ],
],
],
+ ],
+ 'title' => '获取GTM实例详情(旧版)',
+ 'summary' => '获取GTM实例的详情信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstance'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'AvailableMode',
- 'in' => 'query',
- 'schema' => [
- 'title' => '可用状态设置模式',
- 'description' => '地址探测异常切换方式:'."\n"
- ."\n"
- .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
- ."\n"
- .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'manual',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExpireTimestamp\\": 1528284856000,\\n \\"UserDomainName\\": \\"dns-example.top\\",\\n \\"RequestId\\": \\"E41AA251-F9BA-48C6-99B2-2B82B26A573A\\",\\n \\"LbaStrategy\\": \\"RATIO\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"CreateTime\\": \\"2018-06-06T11:34Z\\",\\n \\"CnameMode\\": \\"CUSTOM\\",\\n \\"Ttl\\": 60,\\n \\"Cname\\": \\"gtm-cn-wwo3a3hbz**.dns-example.top\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"VersionCode\\": \\"biaozhun\\",\\n \\"AlertGroup\\": \\"[\\\\\\\\\\\\\\"日常测试-研发组\\\\\\\\\\\\\\"]\\",\\n \\"AddressPoolNum\\": 5,\\n \\"AccessStrategyNum\\": 5,\\n \\"ExpireTime\\": \\"2018-06-06T11:34Z\\",\\n \\"CreateTimestamp\\": 1528284856000,\\n \\"ResourceGroupId\\": \\"rg-testgroupid\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmInstanceResponse>\\r\\n\\t<Cname>instance1.14.com</Cname>\\r\\n\\t<CnameMode>SYSTEM_ASSIGN</CnameMode>\\r\\n\\t<CreateTimestamp>1528284856000</CreateTimestamp>\\r\\n\\t<InstanceId>instance1</InstanceId>\\r\\n\\t<ExpireTimestamp>1528284856000</ExpireTimestamp>\\r\\n\\t<ExpireTime>2018-06-06T11:34Z</ExpireTime>\\r\\n\\t<Ttl>60</Ttl>\\r\\n\\t<RequestId>E41AA251-F9BA-48C6-99B2-2B82B26A573A</RequestId>\\r\\n\\t<VersionCode>biaozhun</VersionCode>\\r\\n\\t<CreateTime>2018-06-06T11:34Z</CreateTime>\\r\\n\\t<UserDomainName>www.example.com</UserDomainName>\\r\\n\\t<AlertGroup>[&quot;日常测试-研发组&quot;]</AlertGroup>\\r\\n\\t<InstanceName>获取实例详情测试</InstanceName>\\r\\n\\t<LbaStrategy>RATIO</LbaStrategy>\\r\\n\\t<AccessStrategyNum>5</AccessStrategyNum>\\r\\n\\t<AddressPoolNum>5</AddressPoolNum>\\r\\n</DescribeGtmInstanceResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmInstanceAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ManualAvailableStatus',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'title' => '可用状态',
- 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
- ."\n"
- .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
- ."\n"
- .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'available',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
+ ],
+ [
+ 'name' => 'AddrPoolId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hrbpnf'],
],
],
'responses' => [
@@ -16413,140 +11630,223 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '0F32959D-417B-4D66-8463-68606605E3E2',
- ],
- 'Success' => [
- 'description' => '本次修改操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功。'."\n"
- ."\n"
- .'- false:操作失败。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'Status' => ['description' => '地址池可用状态。其中:'."\n"
+ ."\n"
+ .'- **AVAILABLE**:可用'."\n"
+ .'- **NOT_AVAILABLE**:不可用', 'type' => 'string', 'example' => 'AVAILABLE'],
+ 'Addrs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Addr' => [
+ 'description' => '地址池列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '1.1.XX.XX'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'AlertStatus' => ['description' => '健康检查状态。其中:'."\n"
+ ."\n"
+ .'- **OK**:正常'."\n"
+ .'- **ALERT**:报警', 'type' => 'string', 'example' => 'OK'],
+ 'LbaWeight' => ['description' => '权重。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'AddrId' => ['description' => '地址ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
+ 'Mode' => ['description' => '返回模式。其中:'."\n"
+ ."\n"
+ .'- **SMART**:智能返回'."\n"
+ .'- **ONLINE**:永远在线'."\n"
+ .'- **OFFLINE**:永远离线', 'type' => 'string', 'example' => 'SMART'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ ],
+ ],
+ ],
+ ],
],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'AddrCount' => ['description' => '地址数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'Name' => ['description' => '地址池名称。', 'type' => 'string', 'example' => '名称'],
+ 'Type' => ['description' => '地址池类型。其中:'."\n"
+ ."\n"
+ .'- **IP**:IP地址'."\n"
+ .'- **DOMAIN**:域名', 'type' => 'string', 'example' => 'IP'],
+ 'UpdateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'AddrPoolId' => ['description' => '地址池ID。', 'type' => 'string', 'example' => '1234abc'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'MonitorConfigId' => ['description' => '监控配置ID。', 'type' => 'string', 'example' => '100abc'],
+ 'MinAvailableAddrNum' => ['description' => '最小可用地址数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'MonitorStatus' => ['description' => '监控状态。其中:'."\n"
+ .'- **OPEN**:开启'."\n"
+ .'- **CLOSE**:关闭'."\n"
+ .'- **UNCONFIGURED**:未配置', 'type' => 'string', 'example' => 'OPEN'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '修改地址探测异常切换方式',
- 'summary' => '根据传入参数修改地址探测异常切换方式。',
- ],
- 'CreateCloudGtmAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取地址池详细信息(旧版)',
+ 'summary' => '获取地址池详细信息。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstanceAddressPool'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstanceAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"AVAILABLE\\",\\n \\"Addrs\\": {\\n \\"Addr\\": [\\n {\\n \\"Value\\": \\"1.1.XX.XX\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AlertStatus\\": \\"OK\\",\\n \\"LbaWeight\\": 1,\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrId\\": 123,\\n \\"Mode\\": \\"SMART\\",\\n \\"CreateTimestamp\\": 1527690629357\\n }\\n ]\\n },\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrCount\\": 2,\\n \\"Name\\": \\"名称\\",\\n \\"Type\\": \\"IP\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrPoolId\\": \\"1234abc\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorConfigId\\": \\"100abc\\",\\n \\"MinAvailableAddrNum\\": 1,\\n \\"MonitorStatus\\": \\"OPEN\\",\\n \\"CreateTimestamp\\": 1527690629357\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmInstanceAddressPoolResponse>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<AddrPoolId>1234abc</AddrPoolId>\\r\\n\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t<AddrCount>2</AddrCount>\\r\\n\\t<MinAvailableAddrNum>2</MinAvailableAddrNum>\\r\\n\\t<MonitorConfigId>100abc</MonitorConfigId>\\r\\n\\t<MonitorStatus>OPEN</MonitorStatus>\\r\\n\\t<Name>名称测试1</Name>\\r\\n\\t<Status>AVAILABLE</Status>\\r\\n\\t<Type>IP</Type>\\r\\n\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t<Addrs>\\r\\n\\t\\t<AddrId>123</AddrId>\\r\\n\\t\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t\\t<Value>1.1.1.1</Value>\\r\\n\\t\\t<LbaWeight>1</LbaWeight>\\r\\n\\t\\t<Mode>SMART</Mode>\\r\\n\\t\\t<AlertStatus>OK</AlertStatus>\\r\\n\\t</Addrs>\\r\\n\\t<Addrs>\\r\\n\\t\\t<AddrId>234</AddrId>\\r\\n\\t\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t\\t<Value>2.2.2.2</Value>\\r\\n\\t\\t<LbaWeight>1</LbaWeight>\\r\\n\\t\\t<Mode>SMART</Mode>\\r\\n\\t\\t<AlertStatus>OK</AlertStatus>\\r\\n\\t</Addrs>\\r\\n</DescribeGtmInstanceAddressPoolResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmInstanceAddressPools' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => 'GTM实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtmtest'],
],
[
- 'name' => 'AddressPoolName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池名称,方便用户区分地址池的用途。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Address pool-1',
- ],
+ 'schema' => ['description' => '当前页码,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'AddressPoolType',
+ 'name' => 'PageSize',
'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPv4:表示要解析的服务地址是IPv4地址。'."\n"
- ."\n"
- .'- IPv6:表示要解析的服务地址是IPv6地址。'."\n"
- ."\n"
- .'- domain:表示要解析的服务地址是域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPv4',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'AddrPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AddrPool' => [
+ 'description' => '地址池列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => ['description' => '地址池类型:'."\n"
+ ."\n"
+ .'- **IP**:IP地址'."\n"
+ .'- **DOMAIN**:域名', 'type' => 'string', 'example' => 'IP'],
+ 'Status' => ['description' => '地址池可用状态:'."\n"
+ ."\n"
+ .'- **AVAILABLE**:可用'."\n"
+ .'- **NOT_AVAILABLE**:不可用', 'type' => 'string', 'example' => 'AVAILABLE'],
+ 'UpdateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'MonitorConfigId' => ['description' => '监控配置ID。', 'type' => 'string', 'example' => '100abc'],
+ 'MinAvailableAddrNum' => ['description' => '最小可用地址数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'MonitorStatus' => ['description' => '监控状态。其中:'."\n"
+ ."\n"
+ .'- **OPEN**:开启'."\n"
+ .'- **CLOSE**:关闭'."\n"
+ .'- **UNCONFIGURED**:未配置', 'type' => 'string', 'example' => 'OPEN'],
+ 'AddrPoolId' => ['description' => '地址池ID。', 'type' => 'string', 'example' => 'hrbpnf'],
+ 'Name' => ['description' => '地址池名称。', 'type' => 'string', 'example' => 'test'],
+ 'AddrCount' => ['description' => '地址数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ ],
+ 'errorCodes' => [],
+ 'title' => '获取GTM实例地址池列表(旧版)',
+ 'summary' => '获取GTM实例地址池列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstanceAddressPools'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'HealthJudgement',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址池健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
- ."\n"
- .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
- ."\n"
- .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
- ."\n"
- .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
- ."\n"
- .'- all_ok:地址池内地址全部可用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'any_ok',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstanceAddressPools',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 2,\\n \\"AddrPools\\": {\\n \\"AddrPool\\": [\\n {\\n \\"Type\\": \\"IP\\",\\n \\"Status\\": \\"AVAILABLE\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"MonitorConfigId\\": \\"100abc\\",\\n \\"MinAvailableAddrNum\\": 2,\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorStatus\\": \\"OPEN\\",\\n \\"AddrPoolId\\": \\"hrbpnf\\",\\n \\"Name\\": \\"test\\",\\n \\"AddrCount\\": 2,\\n \\"CreateTimestamp\\": 1527690629357\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmInstanceAddressPoolsResponse>\\r\\n<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>20</PageSize>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<TotalItems>2</TotalItems>\\r\\n\\t<TotalPages>1</TotalPages>\\r\\n\\t<AddrPools>\\r\\n\\t\\t<AddrPoolId>1234abc</AddrPoolId>\\r\\n\\t\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t\\t<AddrCount>2</AddrCount>\\r\\n\\t\\t<MinAvailableAddrNum>2</MinAvailableAddrNum>\\r\\n\\t\\t<MonitorConfigId>100abc</MonitorConfigId>\\r\\n\\t\\t<MonitorStatus>OPEN</MonitorStatus>\\r\\n\\t\\t<Name>名称测试1</Name>\\r\\n\\t\\t<Status>AVAILABLE</Status>\\r\\n\\t\\t<Type>IP</Type>\\r\\n\\t\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t</AddrPools>\\r\\n\\t<AddrPools>\\r\\n\\t\\t<AddrPoolId>2345abc</AddrPoolId>\\r\\n\\t\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t\\t<AddrCount>2</AddrCount>\\r\\n\\t\\t<MinAvailableAddrNum>2</MinAvailableAddrNum>\\r\\n\\t\\t<MonitorConfigId>101abc</MonitorConfigId>\\r\\n\\t\\t<MonitorStatus>OPEN</MonitorStatus>\\r\\n\\t\\t<Name>名称测试2</Name>\\r\\n\\t\\t<Status>AVAILABLE</Status>\\r\\n\\t\\t<Type>IP</Type>\\r\\n\\t\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t</AddrPools>\\r\\n</DescribeGtmInstanceAddressPoolsResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmInstanceStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'EnableStatus',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池的启用状态:'."\n"
- .'- enable:启用,当前地址池在健康检查正常的情况下可参与解析。'."\n"
- .'- disable: 禁用,当前地址池不管健康检查是否正常,均不可参与解析。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Remark',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池的备注说明,方便用户区分地址池的使用场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'app',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
],
],
'responses' => [
@@ -16554,148 +11854,151 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '46973D4C-E3E4-4ABA-9190-9A9DE406C7E',
- ],
- 'Success' => [
- 'description' => '创建地址池操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AddressPoolId' => [
- 'description' => '生成的地址池ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442****',
- ],
+ 'Status' => ['description' => '实例状态:'."\n"
+ ."\n"
+ .'- ALLOW:允许操作'."\n"
+ .'- DENY:不允许操作', 'type' => 'string', 'example' => 'ALLOW'],
+ 'StrategyNotAvailableNum' => ['description' => '当前生效地址池不可用的访问策略个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA'],
+ 'SwitchToFailoverStrategyNum' => ['description' => '切换到备用地址池的访问策略个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'StatusReason' => ['description' => '实例状态原因列表'."\n"
+ ."\n"
+ .'- INSTANCE_OPERATE_BLACK_LIST:黑名单'."\n"
+ .'- BETA_INSTANCE:公测期实例'."\n", 'type' => 'string', 'example' => '["BETA_INSTANCE"]'],
+ 'AddrNotAvailableNum' => ['description' => '故障地址个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'AddrPoolNotAvailableNum' => ['description' => '不可用地址池个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"46973D4C-E3E4-4ABA-9190-9A9DE406C7E\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
- 'title' => '创建地址池',
- 'summary' => '根据传入参数创建地址池。',
- ],
- 'ListCloudGtmAddressPools' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取GTM实例状态(旧版)',
+ 'summary' => '获取实例的当前状态。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstanceStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstanceStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"ALLOW\\",\\n \\"StrategyNotAvailableNum\\": 10,\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\",\\n \\"SwitchToFailoverStrategyNum\\": 10,\\n \\"StatusReason\\": \\"[\\\\\\"BETA_INSTANCE\\\\\\"]\\",\\n \\"AddrNotAvailableNum\\": 10,\\n \\"AddrPoolNotAvailableNum\\": 10\\n}","errorExample":""},{"type":"xml","example":"<RequestId>389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA</RequestId>\\n<AddrNotAvailableNum>10</AddrNotAvailableNum>\\n<AddrPoolNotAvailableNum>10</AddrPoolNotAvailableNum>\\n<SwitchToFailoverStrategyNum>10</SwitchToFailoverStrategyNum>\\n<StrategyNotAvailableNum>10</StrategyNotAvailableNum>\\n<Status>DENY</Status>\\n<StatusReason>[\\"BETA_INSTANCE\\"]</StatusReason>","errorExample":""}]',
+ ],
+ 'DescribeGtmInstanceSystemCname' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '用户语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'InstanceId',
'in' => 'query',
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemCname' => ['description' => '系统分配cname域名。', 'type' => 'string', 'example' => 'gtm-cn-mp91004xxxx.gtm-a2**.com'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ ],
],
],
+ ],
+ 'errorCodes' => [],
+ 'title' => '获取系统分配的CNAME域名(旧版)',
+ 'summary' => '获取系统分配的cname域名。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstanceSystemCname'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstanceSystemCname',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"SystemCname\\": \\"gtm-cn-mp91004xxxx.gtm-a2**.com\\",\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmInstanceSystemCnameResponse>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<SystemCname>gtm-cn-mp91004xxxx.gtm-a2b4.com</SystemCname>\\r\\n</DescribeGtmInstanceSystemCnameResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmInstances' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageSize',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'AddressPoolName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AddressPool-1',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'AddressPoolType',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPv4:表示要解析的服务地址是IPv4地址。'."\n"
- ."\n"
- .'- IPv6:表示要解析的服务地址是IPv6地址。'."\n"
- ."\n"
- .'- domain:表示要解析的服务地址是域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPv4',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'EnableStatus',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池启用状态:'."\n"
- ."\n"
- .'- enable:启用状态。'."\n"
- ."\n"
- .'- disable:禁用状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '查询关键字,支持实例Id,实例名称精确搜索。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'Remark',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池备注信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-xxxxx'],
+ ],
+ [
+ 'name' => 'NeedDetailAttributes',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否需要额外信息,默认为**false**。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
@@ -16703,460 +12006,122 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '地址池总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'AddressPools' => [
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '193B0163-7F93-42DF-AB05-ACEEB7D22707'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'GtmInstances' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'AddressPool' => [
- 'description' => '地址池列表。',
+ 'GtmInstance' => [
+ 'description' => 'GTM实例列表。',
'type' => 'array',
'items' => [
- 'description' => '地址池信息。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '地址池创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '地址池创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '地址池最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '地址池最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357'."\n",
- ],
- 'AddressPoolId' => [
- 'title' => '地址池Id',
- 'description' => '地址池ID,地址池的唯一标识码。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442**16',
- ],
- 'AddressPoolName' => [
- 'title' => '地址池名称',
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'AddressPool-1',
- ],
- 'AddressPoolType' => [
- 'title' => '地址池类型ipv4、ipv6、domain',
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'AddressLbStrategy' => [
- 'title' => '地址负载策略',
- 'description' => '地址池中地址间负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'title' => '顺序负载策略模式(抢占式、非抢占式)',
- 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。',
- 'type' => 'string',
- 'example' => 'preemptive',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态',
- 'description' => '地址池启用状态:'."\n"
- ."\n"
- .'- enable:启用状态。'."\n"
- ."\n"
- .'- disable:禁用状态。',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthJudgement' => [
- 'title' => '健康判定',
- 'description' => '地址健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:所有探测模板至少一个探测正常。'."\n"
- ."\n"
- .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
- ."\n"
- .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
- ."\n"
- .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
- ."\n"
- .'- all_ok:所有探测模板全部探测正常。',
- 'type' => 'string',
- 'example' => 'any_ok',
- ],
- 'HealthStatus' => [
- 'title' => '健康状态',
- 'description' => '地址池健康状态:'."\n"
- ."\n"
- .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'AvailableStatus' => [
- 'title' => '可用性状态',
- 'description' => '地址池可用性状态:'."\n"
- ."\n"
- .'- available:可用。'."\n"
- ."\n"
- .'- unavailable:不可用。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'Addresses' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Address' => [
- 'description' => '地址列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '地址信息。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '地址创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '地址创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '地址最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '地址最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'AddressId' => [
- 'title' => '地址 ID',
- 'description' => '地址 ID,地址的唯一标识码。',
- 'type' => 'string',
- 'example' => 'addr-89518218114368****',
- ],
- 'WeightValue' => [
- 'title' => '权重',
- 'description' => '权重值(1-100内的整数),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SerialNumber' => [
- 'title' => '序号',
- 'description' => '顺序号,标识地址返回的优先级,越小优先级越高。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestSource' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'RequestSource' => [
- 'description' => '请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。',
- 'type' => 'string',
- 'example' => '["default"]',
- ],
- ],
- ],
- ],
- 'Name' => [
- 'title' => '地址名称',
- 'description' => '地址名称。',
- 'type' => 'string',
- 'example' => 'Address-1',
- ],
- 'Type' => [
- 'title' => '地址类型',
- 'description' => '地址类型:'."\n"
- ."\n"
- .'- IPv4:ipv4地址'."\n"
- ."\n"
- .'- IPv6:ipv6地址'."\n"
- ."\n"
- .'- domain:域名',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'Address' => [
- 'title' => '地址',
- 'description' => 'IP地址或者域名。',
- 'type' => 'string',
- 'example' => '223.5.XX.XX',
- ],
- 'AttributeInfo' => [
- 'title' => '地址归属信息',
- 'description' => '地址归属信息,当前版本不支持返回此参数。',
- 'type' => 'string',
- 'example' => '当前版本不支持返回此参数。',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '地址备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态 enable: 可用, disable:不可用',
- 'description' => '地址启用状态:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'AvailableMode' => [
- 'title' => '可用状态设置模式',
- 'description' => '地址探测异常切换方式:'."\n"
- ."\n"
- .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
- ."\n"
- .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。',
- 'type' => 'string',
- 'example' => 'auto',
- ],
- 'ManualAvailableStatus' => [
- 'title' => '手动设置的可用状态',
- 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
- ."\n"
- .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
- ."\n"
- .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'AvailableStatus' => [
- 'title' => '地址可用状态',
- 'description' => '地址可用状态:'."\n"
- ."\n"
- .'- available:地址可用。'."\n"
- ."\n"
- .'- unavailable:地址不可用。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'HealthStatus' => [
- 'title' => '地址的健康状态:',
- 'description' => '地址健康探测状态:'."\n"
- ."\n"
- .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
- ."\n"
- .'- ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
- ."\n"
- .'- ok_no_monitor:地址没有引用任何健康探测模板,状态正常。'."\n"
- ."\n"
- .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'HealthJudgement' => [
- 'title' => '地址健康状态判定为ok 的方式:',
- 'description' => '地址健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:所有探测模板至少一个探测正常。'."\n"
- ."\n"
- .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
- ."\n"
- .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
- ."\n"
- .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
- ."\n"
- .'- all_ok:所有探测模板全部探测正常。',
- 'type' => 'string',
- 'example' => 'any_ok',
- ],
- 'HealthTasks' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'HealthTask' => [
- 'title' => '健康探测任务列表',
- 'description' => '健康探测任务列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '健康探测任务信息。',
- 'type' => 'object',
- 'properties' => [
- 'Port' => [
- 'description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'TemplateId' => [
- 'description' => '健康探测模板ID。',
- 'type' => 'string',
- 'example' => 'mtp-89518052425100****',
- ],
- 'TemplateName' => [
- 'description' => '健康探测模板名称。',
- 'type' => 'string',
- 'example' => 'IPv4-Ping',
- ],
- ],
- ],
- ],
- ],
- ],
- 'SeqNonPreemptiveSchedule' => [
- 'description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
- ."\n"
- .'- true:是'."\n"
- ."\n"
- .'- false:不是',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- ],
- ],
- ],
- 'Remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'ExpireTime' => ['description' => '实例到期时间。', 'type' => 'string', 'example' => '2018-06-06T11:34Z'],
+ 'AccessStrategyNum' => ['description' => '访问策略个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'CreateTime' => ['description' => '实例创建时间。', 'type' => 'string', 'example' => '2018-06-06T11:34Z'],
+ 'CnameMode' => ['description' => '当前接入方式。其中:'."\n"
+ .'- **SYSTEM_ASSIGN**:系统分配'."\n"
+ .'- **CUSTOM**:自定义', 'type' => 'string', 'example' => 'CUSTOM'],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**'],
+ 'ExpireTimestamp' => ['description' => '实例到期时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1528284856000'],
+ 'Ttl' => ['description' => '全局TTL。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'AlertGroup' => ['description' => '报警组。', 'type' => 'string', 'example' => '[\\"研发组\\"]'],
+ 'AddressPoolNum' => ['description' => '地址池个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'InstanceName' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'test'],
+ 'LbaStrategy' => ['description' => '负载均衡策略。'."\n"
+ .'- **ALL_RR**: 负载均摊'."\n"
+ .'- **RATIO**: 加权轮询', 'type' => 'string', 'example' => 'RATIO'],
+ 'Cname' => ['description' => 'CNAME接入域名。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**.dns-example.top'."\n"],
+ 'VersionCode' => ['description' => '版本Code。', 'type' => 'string', 'example' => 'biaozhun'],
+ 'UserDomainName' => ['description' => '用户域名。', 'type' => 'string', 'example' => 'dns-example.top'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1528284856000'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfm2q2jqpjh***'],
],
],
],
],
],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 11,\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89528023225442**16\\",\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressId\\": \\"addr-89518218114368****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持返回此参数。\\",\\n \\"Remark\\": \\"test\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"TemplateName\\": \\"IPv4-Ping\\"\\n }\\n ]\\n },\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取地址池列表',
- 'summary' => '获取地址池列表。',
- ],
- 'DescribeCloudGtmAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取GTM实例列表(旧版)',
+ 'summary' => '获取GTM实例列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstances'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"193B0163-7F93-42DF-AB05-ACEEB7D22707\\",\\n \\"PageNumber\\": 1,\\n \\"GtmInstances\\": {\\n \\"GtmInstance\\": [\\n {\\n \\"ExpireTime\\": \\"2018-06-06T11:34Z\\",\\n \\"AccessStrategyNum\\": 5,\\n \\"CreateTime\\": \\"2018-06-06T11:34Z\\",\\n \\"CnameMode\\": \\"CUSTOM\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"ExpireTimestamp\\": 1528284856000,\\n \\"Ttl\\": 60,\\n \\"AlertGroup\\": \\"[\\\\\\\\\\\\\\"研发组\\\\\\\\\\\\\\"]\\",\\n \\"AddressPoolNum\\": 5,\\n \\"InstanceName\\": \\"test\\",\\n \\"LbaStrategy\\": \\"RATIO\\",\\n \\"Cname\\": \\"gtm-cn-wwo3a3hbz**.dns-example.top\\\\n\\",\\n \\"VersionCode\\": \\"biaozhun\\",\\n \\"UserDomainName\\": \\"dns-example.top\\",\\n \\"CreateTimestamp\\": 1528284856000,\\n \\"ResourceGroupId\\": \\"rg-acfm2q2jqpjh***\\"\\n }\\n ]\\n },\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmInstancesResponse>\\r\\n<GtmInstances>\\r\\n\\t\\t<GtmInstance>\\r\\n\\t\\t\\t<Cname>instance1.14.com</Cname>\\r\\n\\t\\t\\t<CnameMode>SYSTEM_ASSIGN</CnameMode>\\r\\n\\t\\t\\t<CreateTimestamp>1528284856000</CreateTimestamp>\\r\\n\\t\\t\\t<ExpireTime>2018-06-06T11:34Z</ExpireTime>\\r\\n\\t\\t\\t<Ttl>60</Ttl>\\r\\n\\t\\t\\t<CreateTime>2018-06-06T11:34Z</CreateTime>\\r\\n\\t\\t\\t<InstanceId>instance1</InstanceId>\\r\\n\\t\\t\\t<AlertGroup>[&quot;研发组&quot;]</AlertGroup>\\r\\n\\t\\t\\t<UserDomainName>www.example.com</UserDomainName>\\r\\n\\t\\t\\t<ExpireTimestamp>1528284856000</ExpireTimestamp>\\r\\n\\t\\t\\t<LbaStrategy>RATIO</LbaStrategy>\\r\\n\\t\\t\\t<InstanceName>获取实例列表测试</InstanceName>\\r\\n\\t\\t\\t<VerisonCode>biaozhun</VerisonCode>\\r\\n\\t\\t\\t<AccessStrategyNum>5</AccessStrategyNum>\\r\\n\\t\\t\\t<AddressPoolNum>5</AddressPoolNum>\\r\\n\\t\\t</GtmInstance>\\r\\n\\t</GtmInstances>\\r\\n\\t<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>20</PageSize>\\r\\n\\t<RequestId>193B0163-7F93-42DF-AB05-ACEEB7D22707</RequestId>\\r\\n\\t<TotalItems>1</TotalItems>\\r\\n\\t<TotalPages>1</TotalPages>\\r\\n</DescribeGtmInstancesResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmLogs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['description' => '用户语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-xxxxx'],
],
[
- 'name' => 'AddressPoolId',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池ID,地址池的唯一标识码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool-89564674533755****',
- ],
+ 'schema' => ['description' => '关键字,按照“%Keyword%”模式搜索,不区分大小写。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
+ ],
+ [
+ 'name' => 'StartTimestamp',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询的开始时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1363453340000'],
+ ],
+ [
+ 'name' => 'EndTimestamp',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询的结束时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1363453340000'],
],
],
'responses' => [
@@ -17164,419 +12129,82 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '地址池创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '地址池创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '地址池最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '地址池最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'AddressPoolId' => [
- 'title' => '地址池Id',
- 'description' => '地址池Id,地址池的唯一标识码。',
- 'type' => 'string',
- 'example' => 'pool-89564674533755****',
- ],
- 'AddressPoolName' => [
- 'title' => '地址池名称',
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'AddressPool-1',
- ],
- 'AddressPoolType' => [
- 'title' => '地址池类型ipv4、ipv6、domain',
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'AddressLbStrategy' => [
- 'title' => '地址负载策略',
- 'description' => '地址池中地址间负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'title' => '顺序负载策略模式(抢占式、非抢占式)',
- 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。',
- 'type' => 'string',
- 'example' => 'preemptive',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态',
- 'description' => '地址池启用状态:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthJudgement' => [
- 'title' => '健康判定',
- 'description' => '地址池健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
- ."\n"
- .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
- ."\n"
- .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
- ."\n"
- .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
- ."\n"
- .'- all_ok:地址池内地址全部可用。',
- 'type' => 'string',
- 'example' => 'any_ok',
- ],
- 'HealthStatus' => [
- 'title' => '健康状态',
- 'description' => '地址池健康状态:'."\n"
- ."\n"
- .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'AvailableStatus' => [
- 'title' => '可用性状态',
- 'description' => '地址池可用性状态:'."\n"
- ."\n"
- .'- available:可用'."\n"
- ."\n"
- .'- unavailable:不可用',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'Addresses' => [
+ 'PageSize' => ['description' => '页面大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '50C60A29-2E93-425A-ABA8-068686E28873'],
+ 'PageNumber' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '224'],
+ 'Logs' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Address' => [
- 'description' => '地址列表。',
+ 'Log' => [
+ 'description' => '日志列表。',
'type' => 'array',
'items' => [
- 'description' => '地址信息。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '地址创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z'."\n",
- ],
- 'CreateTimestamp' => [
- 'description' => '地址创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '地址最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z'."\n",
- ],
- 'UpdateTimestamp' => [
- 'description' => '地址的最后一次的修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'AddressId' => [
- 'title' => '地址 ID',
- 'description' => '地址 ID,地址的唯一标识码。',
- 'type' => 'string',
- 'example' => 'addr-89518218114368****',
- ],
- 'WeightValue' => [
- 'title' => '权重',
- 'description' => '权重值(1-100内的整数,包括1和100),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SerialNumber' => [
- 'title' => '序号',
- 'description' => '顺序号,标识地址返回的优先级,越小优先级越高。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestSource' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'RequestSource' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。',
- 'type' => 'string',
- 'example' => '["default"]',
- ],
- ],
- ],
- ],
- 'Name' => [
- 'title' => '地址名称',
- 'description' => '地址名称。',
- 'type' => 'string',
- 'example' => 'Address-1',
- ],
- 'Type' => [
- 'title' => '地址类型',
- 'description' => '地址类型:'."\n"
- ."\n"
- .'- IPv4:IPv4地址'."\n"
- ."\n"
- .'- IPv6:IPv6地址'."\n"
- ."\n"
- .'- domain:域名',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'Address' => [
- 'description' => 'IP地址或域名。',
- 'type' => 'string',
- 'example' => '223.5.XX.XX',
- ],
- 'AttributeInfo' => [
- 'title' => '地址归属信息',
- 'description' => '地址归属信息,当前版本不支持返回此参数。',
- 'type' => 'string',
- 'example' => '当前版本不支持返回此参数。',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '地址的备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态 enable: 可用, disable:不可用',
- 'description' => '地址启用状态,表示地址当前是否可用:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'AvailableMode' => [
- 'title' => '可用状态设置模式',
- 'description' => '地址探测异常切换方式:'."\n"
- ."\n"
- .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
- ."\n"
- .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。',
- 'type' => 'string',
- 'example' => 'auto',
- ],
- 'ManualAvailableStatus' => [
- 'title' => '手动设置的可用状态',
- 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
- ."\n"
- .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
- ."\n"
- .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'AvailableStatus' => [
- 'title' => '地址可用状态',
- 'description' => '地址可用状态:'."\n"
- ."\n"
- .'- available:地址可用'."\n"
- ."\n"
- .'- unavailable:地址不可用',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'HealthStatus' => [
- 'title' => '地址的健康状态:',
- 'description' => '地址健康探测状态:'."\n"
- ."\n"
- .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
- ."\n"
- .'- ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
- ."\n"
- .'- ok_no_monitor:地址没有引用任何健康探测模板,状态正常。'."\n"
- ."\n"
- .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'HealthJudgement' => [
- 'title' => '地址健康状态判定为ok 的方式:',
- 'description' => '地址健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:所有探测模板至少一个探测正常。'."\n"
- ."\n"
- .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
- ."\n"
- .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
- ."\n"
- .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
- ."\n"
- .'- all_ok:所有探测模板全部探测正常。',
- 'type' => 'string',
- 'example' => 'any_ok',
- ],
- 'HealthTasks' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'HealthTask' => [
- 'title' => '健康探测任务列表',
- 'description' => '健康探测任务列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '健康探测任务配置。',
- 'type' => 'object',
- 'properties' => [
- 'Port' => [
- 'description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'TemplateId' => [
- 'description' => '地址关联的健康探测模板ID。',
- 'type' => 'string',
- 'example' => 'mtp-89518052425100**80'."\n",
- ],
- 'TemplateName' => [
- 'description' => '健康探测模板名称。',
- 'type' => 'string',
- 'example' => 'IPv4-Ping',
- ],
- ],
- ],
- ],
- ],
- ],
- 'SeqNonPreemptiveSchedule' => [
- 'description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
- ."\n"
- .'- true:是'."\n"
- ."\n"
- .'- false:不是',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'OperTimestamp' => ['description' => '操作时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1516779348000'],
+ 'EntityId' => ['description' => '操作对象ID', 'type' => 'string', 'example' => '121212'],
+ 'EntityType' => ['description' => '操作的对象类型', 'type' => 'string', 'example' => 'POOL'],
+ 'OperTime' => ['description' => '操作时间', 'type' => 'string', 'example' => '2018-01-24T07:35Z'],
+ 'OperIp' => ['description' => '操作ip', 'type' => 'string', 'example' => '106.11.34.X'],
+ 'OperAction' => ['description' => '操作的动作', 'type' => 'string', 'example' => 'add'],
+ 'Content' => ['description' => '格式化的消息内容', 'type' => 'string', 'example' => 'addtest-pool-1'],
+ 'EntityName' => ['description' => '操作对象名称', 'type' => 'string', 'example' => 'test-pool-1'],
+ 'Id' => ['description' => '记录ID', 'type' => 'integer', 'format' => 'int64', 'example' => '6726'],
],
],
],
],
],
- 'Remark' => [
- 'description' => '地址的备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'TotalItems' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '224'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89564674533755****\\",\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\\\n\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\\\n\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressId\\": \\"addr-89518218114368****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持返回此参数。\\",\\n \\"Remark\\": \\"test\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100**80\\\\n\\",\\n \\"TemplateName\\": \\"IPv4-Ping\\"\\n }\\n ]\\n },\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\"\\n}","type":"json"}]',
- 'title' => '获取地址池配置信息',
- 'summary' => '根据传入参数获取指定地址池配置信息。',
- ],
- 'DeleteCloudGtmAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取GTM操作日志列表(旧版)',
+ 'summary' => '获取日志列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmLogs'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"50C60A29-2E93-425A-ABA8-068686E28873\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 224,\\n \\"Logs\\": {\\n \\"Log\\": [\\n {\\n \\"OperTimestamp\\": 1516779348000,\\n \\"EntityId\\": \\"121212\\",\\n \\"EntityType\\": \\"POOL\\",\\n \\"OperTime\\": \\"2018-01-24T07:35Z\\",\\n \\"OperIp\\": \\"106.11.34.X\\",\\n \\"OperAction\\": \\"add\\",\\n \\"Content\\": \\"addtest-pool-1\\",\\n \\"EntityName\\": \\"test-pool-1\\",\\n \\"Id\\": 6726\\n }\\n ]\\n },\\n \\"TotalItems\\": 224\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmLogsResponse>\\r\\n\\t<Logs>\\r\\n\\t\\t<Content>addtest-pool-1</Content>\\r\\n\\t\\t<EntityId>121212</EntityId>\\r\\n\\t\\t<EntityName>test-pool-1</EntityName>\\r\\n\\t\\t<Id>6726</Id>\\r\\n\\t\\t<OperAction>add</OperAction>\\r\\n\\t\\t<OperIp>106.11.34.X</OperIp>\\r\\n\\t\\t<EntityType>POOL</EntityType>\\r\\n\\t\\t<OperTime>2018-01-24T07:35Z</OperTime>\\r\\n\\t\\t<OperTimestamp>1516779348000</OperTimestamp>\\r\\n\\t</Logs>\\r\\n\\t<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>1</PageSize>\\r\\n\\t<RequestId>50C60A29-2E93-425A-ABA8-068686E28873</RequestId>\\r\\n\\t<TotalItems>224</TotalItems>\\r\\n\\t<TotalPages>224</TotalPages>\\r\\n</DescribeGtmLogsResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmMonitorAvailableConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
- ],
- [
- 'name' => 'AddressPoolId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool-89528023225442****',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
],
'responses' => [
@@ -17584,179 +12212,324 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Success' => [
- 'description' => '删除地址池操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AddressPoolId' => [
- 'description' => '地址池ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442****',
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'IspCityNodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'IspCityNode' => [
+ 'description' => '监控节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '监控节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '城市编码。', 'type' => 'string', 'example' => '503'],
+ 'Mainland' => ['description' => '是否是中国内地。', 'type' => 'boolean', 'example' => 'true'],
+ 'GroupName' => ['description' => '节点分组名称。', 'type' => 'string', 'example' => '国际节点'],
+ 'IspCode' => ['description' => '运营商编码'."\n"
+ ."\n"
+ .'- GroupType为BGP或Overseas时,IspCode为非必传值,默认为465。'."\n"
+ .'- GroupType为非BGP或Overseas时,IspCode为必传值。并与CityCode匹配使用。', 'type' => 'string', 'example' => '465'],
+ 'CityName' => ['description' => '城市展示名。', 'type' => 'string', 'example' => '张家口市'],
+ 'IspName' => ['description' => '运营商展示名(目前仅阿里巴巴)。', 'type' => 'string', 'example' => '阿里巴巴'],
+ 'GroupType' => ['description' => '节点分组类型:当前支持'."\n"
+ .'BGP:BGP节点;'."\n"
+ .'OVERSEAS:国际节点;'."\n"
+ .'ISP:运营商节点。', 'type' => 'string', 'example' => 'OVERSEAS'],
+ 'DefaultSelected' => ['description' => '是否默认选中。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
- 'title' => '删除地址池',
- 'summary' => '根据传入参数删除地址池。',
- ],
- 'SearchCloudGtmAddressPools' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取健康检查可设置的配置(旧版)',
+ 'summary' => '获取健康检查可设置的配置。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmMonitorAvailableConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmMonitorAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"Mainland\\": true,\\n \\"GroupName\\": \\"国际节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"GroupType\\": \\"OVERSEAS\\",\\n \\"DefaultSelected\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmMonitorAvailableConfigResponse>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<IspCityNodes>\\r\\n\\t\\t<IspName>阿里巴巴</IspName>\\r\\n\\t\\t<IspCode>465</IspCode>\\r\\n\\t\\t<City>张家口市</City>\\r\\n\\t\\t<CityCode>503</CityCode>\\r\\n\\t\\t<DefaultSelected>true</DefaultSelected>\\r\\n\\t\\t<Mainland>true</Mainland>\\r\\n\\t</IspCityNodes>\\r\\n\\t<IspCityNodes>\\r\\n\\t\\t<IspName>阿里巴巴</IspName>\\r\\n\\t\\t<IspCode>465</IspCode>\\r\\n\\t\\t<City>青岛市</City>\\r\\n\\t\\t<CityCode>572</CityCode>\\r\\n\\t\\t<DefaultSelected>false</DefaultSelected>\\r\\n\\t\\t<Mainland>true</Mainland>\\r\\n\\t</IspCityNodes>\\r\\n</DescribeGtmMonitorAvailableConfigResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmMonitorConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'MonitorConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'."\n",
- ],
+ 'schema' => ['description' => '健康检查配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '100'],
],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'Timeout' => ['description' => '超时时间,单位:毫秒,取值范围:2000、3000、5000、10000。', 'type' => 'integer', 'format' => 'int32', 'example' => '3000'],
+ 'ProtocolType' => ['description' => '检查协议。', 'type' => 'string', 'example' => 'HTTP'],
+ 'IspCityNodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'IspCityNode' => [
+ 'description' => '监控节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '监控节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '城市编码。', 'type' => 'string', 'example' => '503'],
+ 'CountryName' => ['description' => '国家展示名。', 'type' => 'string', 'example' => '中国'],
+ 'IspCode' => ['description' => '运营商Code。', 'type' => 'string', 'example' => '465'],
+ 'CityName' => ['description' => '城市展示名。', 'type' => 'string', 'example' => '张家口市'],
+ 'CountryCode' => ['description' => '国家编码。', 'type' => 'string', 'example' => '001'],
+ 'IspName' => ['description' => '运营商名称。', 'type' => 'string', 'example' => '阿里巴巴'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'UpdateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2017-12-28T13:08Z'],
+ 'EvaluationCount' => ['description' => '连续次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'MonitorExtendInfo' => ['description' => '扩展信息。根据不同协议,进行传参:'."\n"
+ ."\n"
+ .'HTTP、HTTPS:'."\n"
+ ."\n"
+ .'- port:检查端口'."\n"
+ .'- failureRate:失败率'."\n"
+ .'- code:返回码(大于此值会被判定为异常)。取值:400、500。'."\n"
+ .'- host:Host设置'."\n"
+ .'- path:URL路径'."\n"
+ ."\n"
+ .'PING:'."\n"
+ ."\n"
+ .'- packetNum:ping包数'."\n"
+ .'- packetLossRate:ping丢包率'."\n"
+ .'- failureRate:失败率'."\n"
+ ."\n"
+ .'TCP:'."\n"
+ ."\n"
+ .'- port:检查端口'."\n"
+ .'- failureRate:失败率', 'type' => 'string', 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}'],
+ 'MonitorConfigId' => ['description' => '健康检查配置ID。', 'type' => 'string', 'example' => '1234abc'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'Interval' => ['description' => '检查间隔,单位:秒,取值范围:60。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ ],
],
],
+ ],
+ 'errorCodes' => [],
+ 'title' => '获取地址池健康检查配置(旧版)',
+ 'summary' => '获取地址池健康检查配置。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmMonitorConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmMonitorConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Timeout\\": 3000,\\n \\"ProtocolType\\": \\"HTTP\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"CountryCode\\": \\"001\\",\\n \\"IspName\\": \\"阿里巴巴\\"\\n }\\n ]\\n },\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"EvaluationCount\\": 3,\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorExtendInfo\\": \\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":200,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\index.htm\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aliyun.com\\\\\\\\\\\\\\"}\\",\\n \\"MonitorConfigId\\": \\"1234abc\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"Interval\\": 60\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmMonitorConfigResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<MonitorConfigId>1234abc</MonitorConfigId>\\r\\n\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t<ProtocolType>HTTP</ProtocolType>\\r\\n\\t<Interval>60</Interval>\\r\\n\\t<EvaluationCount>3</EvaluationCount>\\r\\n\\t<Timeout>3000</Timeout>\\r\\n\\t<MonitorExtendInfo>{&quot;code&quot;:200,&quot;path&quot;:&quot;\\\\index.htm&quot;,&quot;host&quot;:&quot;aliyun.com&quot;}</MonitorExtendInfo>\\r\\n\\t<IspCityNodes>\\r\\n\\t\\t<CountryName>中国</CountryName>\\r\\n\\t\\t<CountryCode>001</CountryCode>\\r\\n\\t\\t<City>张家口市</City>\\r\\n\\t\\t<CityCode>503</CityCode>\\r\\n\\t</IspCityNodes>\\r\\n\\t<IspCityNodes>\\r\\n\\t\\t<CountryName>中国</CountryName>\\r\\n\\t\\t<CountryCode>001</CountryCode>\\r\\n\\t\\t<City>青岛市</City>\\r\\n\\t\\t<CityCode>572</CityCode>\\r\\n\\t</IspCityNodes>\\r\\n</DescribeGtmMonitorConfigResponse>","errorExample":""}]',
+ ],
+ 'DescribeGtmRecoveryPlan' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'AddressPoolName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址池名称,支持对输入的地址池名称进行模糊搜索。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AddressPool-1',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'AddressPoolType',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池类型,支持对地址池类型进行精确查询:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPv4',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'EnableStatus',
+ 'name' => 'RecoveryPlanId',
'in' => 'query',
+ 'schema' => ['description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '10*****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '地址池启用状态,支持对地址池启用状态进行精确查询:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '容灾预案状态:'."\n"
+ ."\n"
+ .'- UNEXECUTED:容灾域名处于未执行状态;'."\n"
+ ."\n"
+ .'- EXECUTED:容灾域名处于执行状态;'."\n"
+ ."\n"
+ .'- ROLLED_BACK:容灾预案处于回滚状态;', 'type' => 'string', 'example' => 'UNEXECUTED'],
+ 'LastRollbackTime' => ['description' => '最近回滚时间(时间戳)', 'type' => 'string', 'example' => '1565505919000'],
+ 'FaultAddrPoolNum' => ['description' => '故障地址池个数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'FaultAddrPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'FaultAddrPool' => [
+ 'description' => '故障地址池列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '故障地址池列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'Addrs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Addr' => [
+ 'description' => '地址列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['description' => '地址值', 'type' => 'string', 'example' => '1.1.XX.XX'],
+ 'Mode' => ['description' => '地址模式:'."\n"
+ ."\n"
+ .'- ONLINE:永远在线,不论健康检查是否异常,该地址均可解析;'."\n"
+ ."\n"
+ .'- OFFLINE:永远离线,不论健康检查是否异常,该地址均不可解析;'."\n"
+ ."\n"
+ .'- SMART:智能返回,根据健康检查的状态决定该地址是否可解析;', 'type' => 'string', 'example' => 'SMART'],
+ 'Id' => ['description' => '地址ID', 'type' => 'integer', 'format' => 'int64', 'example' => '73**'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AddrPoolId' => ['description' => '地址池ID', 'type' => 'string', 'example' => 'hra0**'],
+ 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'gtm-cn-zz11t58****'],
+ 'AddrPoolName' => ['description' => '地址池名称', 'type' => 'string', 'example' => '压测-Failover-1'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'LastExecuteTime' => ['description' => '最近执行时间', 'type' => 'string', 'example' => '2019-08-11T05:04Z'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '0A5F4315-D6E8-435E-82DF-24F4C97D6999'],
+ 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '2019-08-11T05:04Z'],
+ 'LastExecuteTimestamp' => ['description' => '最近执行时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1565505898000'],
+ 'Remark' => ['description' => '备注', 'type' => 'string', 'example' => 'remark-example'],
+ 'Name' => ['description' => '容灾预案名称', 'type' => 'string', 'example' => 'name-example'],
+ 'RecoveryPlanId' => ['description' => '容灾预案ID', 'type' => 'integer', 'format' => 'int64', 'example' => '10****'],
+ 'UpdateTime' => ['description' => '更新时间', 'type' => 'string', 'example' => '2024-03-29T13:20Z'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1565505898000'],
+ 'LastRollbackTimestamp' => ['description' => '最近回滚时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1565505898000'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1565499867000'],
+ ],
],
],
+ ],
+ 'errorCodes' => [],
+ 'title' => '获取容灾预案详情',
+ 'summary' => '获取容灾预案详情。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmRecoveryPlan'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Remark',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址池备注,支持对输入的备注进行模糊搜索。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"UNEXECUTED\\",\\n \\"LastRollbackTime\\": \\"1565505919000\\",\\n \\"FaultAddrPoolNum\\": 2,\\n \\"FaultAddrPools\\": {\\n \\"FaultAddrPool\\": [\\n {\\n \\"Addrs\\": {\\n \\"Addr\\": [\\n {\\n \\"Value\\": \\"1.1.XX.XX\\",\\n \\"Mode\\": \\"SMART\\",\\n \\"Id\\": 0\\n }\\n ]\\n },\\n \\"AddrPoolId\\": \\"hra0**\\",\\n \\"InstanceId\\": \\"gtm-cn-zz11t58****\\",\\n \\"AddrPoolName\\": \\"压测-Failover-1\\"\\n }\\n ]\\n },\\n \\"LastExecuteTime\\": \\"2019-08-11T05:04Z\\",\\n \\"RequestId\\": \\"0A5F4315-D6E8-435E-82DF-24F4C97D6999\\",\\n \\"CreateTime\\": \\"2019-08-11T05:04Z\\",\\n \\"LastExecuteTimestamp\\": 1565505898000,\\n \\"Remark\\": \\"remark-example\\",\\n \\"Name\\": \\"name-example\\",\\n \\"RecoveryPlanId\\": 0,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1565505898000,\\n \\"LastRollbackTimestamp\\": 1565505898000,\\n \\"CreateTimestamp\\": 1565499867000\\n}","type":"json"}]',
+ ],
+ 'DescribeGtmRecoveryPlanAvailableConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'HealthStatus',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址池健康状态,支持对地址池健康状态精确查询:'."\n"
- ."\n"
- .'ok:正常,地址池引用的所有地址全部可用。'."\n"
- ."\n"
- .'ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ok',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'AvailableStatus',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池可用状态,支持对地址池可用状态进行精确查询:'."\n"
- ."\n"
- .'- available:可用'."\n"
- ."\n"
- .'- unavailable:不可用',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'available',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
],
'responses' => [
@@ -17764,509 +12537,106 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalPages' => [
- 'description' => '总页数。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '符合查询条件的地址池总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'AddressPools' => [
+ 'Instances' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'AddressPool' => [
- 'description' => '地址池列表。',
+ 'Instance' => [
+ 'description' => '实例列表',
'type' => 'array',
'items' => [
- 'description' => '地址池信息。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '地址池创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '地址池创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '地址池最后一次修改时间。',
- 'type' => 'string',
- 'example' => '024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '地址池最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'AddressPoolId' => [
- 'title' => '地址池Id',
- 'description' => '地址池ID,地址池的唯一标识码。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442****',
- ],
- 'AddressPoolName' => [
- 'title' => '地址池名称',
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'AddressPool-1',
- ],
- 'AddressPoolType' => [
- 'title' => '地址池类型ipv4、ipv6、domain',
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPv4'."\n"
- ."\n"
- .'- IPv6'."\n"
- ."\n"
- .'- domain',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'AddressLbStrategy' => [
- 'title' => '地址负载策略',
- 'description' => '地址池中地址间负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'title' => '顺序负载策略模式(抢占式、非抢占式)',
- 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。',
- 'type' => 'string',
- 'example' => 'preemptive',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态',
- 'description' => '地址池启用状态:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthJudgement' => [
- 'title' => '健康判定',
- 'description' => '地址池健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
- ."\n"
- .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
- ."\n"
- .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
- ."\n"
- .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
- ."\n"
- .'- all_ok:地址池内地址全部可用。',
- 'type' => 'string',
- 'example' => 'any_ok',
- ],
- 'HealthStatus' => [
- 'title' => '健康状态',
- 'description' => '地址池健康状态:'."\n"
- ."\n"
- .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'AvailableStatus' => [
- 'title' => '可用性状态',
- 'description' => '地址池可用性状态:'."\n"
- ."\n"
- .'- available:可用'."\n"
- ."\n"
- .'- unavailable:不可用',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'Addresses' => [
+ 'AddrPools' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Address' => [
- 'description' => 'IP地址或者域名列表。',
+ 'AddrPool' => [
+ 'description' => '地址池列表',
'type' => 'array',
'items' => [
- 'description' => 'IP地址或者域名信息。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '地址创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '地址创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '地址最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-15T01:46Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '地址的最后一次的修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357'."\n",
- ],
- 'AddressId' => [
- 'title' => '地址 ID',
- 'description' => '地址 ID,地址的唯一标识码。',
- 'type' => 'string',
- 'example' => 'addr-89518218114368****',
- ],
- 'WeightValue' => [
- 'title' => '权重',
- 'description' => '权重值(1-100内的整数),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'SerialNumber' => [
- 'title' => '序号',
- 'description' => '顺序号,标识地址返回的优先级,越小优先级越高。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestSource' => [
- 'title' => '请求来源',
- 'description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'Name' => [
- 'title' => '地址名称',
- 'description' => '地址名称。',
- 'type' => 'string',
- 'example' => 'Address-1',
- ],
- 'Type' => [
- 'title' => '地址类型',
- 'description' => '地址类型:'."\n"
- ."\n"
- .'- IPv4:ipv4地址'."\n"
- .'- IPv6:ipv6地址'."\n"
- .'- domain:域名',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'Address' => [
- 'title' => '地址',
- 'description' => 'IP地址或者域名。',
- 'type' => 'string',
- 'example' => '223.5.XX.XX',
- ],
- 'AttributeInfo' => [
- 'title' => '地址归属信息',
- 'description' => '地址归属信息,当前版本不支持返回此参数。',
- 'type' => 'string',
- 'example' => '当前版本不支持返回此参数。',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态 enable: 可用, disable:不可用',
- 'description' => '地址启用状态,表示地址当前是否可用:'."\n"
- ."\n"
- .'- enable:启用状态'."\n"
- ."\n"
- .'- disable:禁用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'AvailableMode' => [
- 'title' => '可用状态设置模式',
- 'description' => '地址探测异常切换方式:'."\n"
- ."\n"
- .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
- ."\n"
- .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。',
- 'type' => 'string',
- 'example' => 'auto',
- ],
- 'ManualAvailableStatus' => [
- 'title' => '手动设置的可用状态',
- 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
- ."\n"
- .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
- ."\n"
- .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'AvailableStatus' => [
- 'title' => '地址可用状态',
- 'description' => '地址可用状态:'."\n"
- ."\n"
- .'- available:地址可用'."\n"
- ."\n"
- .'- unavailable:地址不可用',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'HealthStatus' => [
- 'title' => '地址的健康状态:',
- 'description' => '地址健康探测状态:'."\n"
- ."\n"
- .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
- ."\n"
- .'- ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
- ."\n"
- .'- ok_no_monitor:地址没有引用任何健康探测模板,状态正常。'."\n"
- ."\n"
- .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'HealthJudgement' => [
- 'title' => '地址健康状态判定为ok 的方式:',
- 'description' => '地址健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:所有探测模板至少一个探测正常。'."\n"
- ."\n"
- .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
- ."\n"
- .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
- ."\n"
- .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
- ."\n"
- .'- all_ok:所有探测模板全部探测正常。',
- 'type' => 'string',
- 'example' => 'any_ok',
- ],
- 'HealthTasks' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'HealthTask' => [
- 'title' => '健康探测任务列表',
- 'description' => '健康探测任务列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '健康探测任务信息。',
- 'type' => 'object',
- 'properties' => [
- 'Port' => [
- 'description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'TemplateId' => [
- 'description' => '地址关联的健康探测模板ID。',
- 'type' => 'string',
- 'example' => 'mtp-89518052425100****',
- ],
- 'TemplateName' => [
- 'description' => '健康探测模板名称。',
- 'type' => 'string',
- 'example' => 'IPv4-Ping',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'AddrPoolId' => ['description' => '地址池ID', 'type' => 'string', 'example' => '10*******'],
+ 'Name' => ['description' => '地址池名称', 'type' => 'string', 'example' => 'hra0i9'],
],
],
],
],
],
- 'Remark' => [
- 'description' => '地址备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'InstanceName' => ['description' => '实例名称', 'type' => 'string', 'example' => 'test'],
+ 'InstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'gtm-cn-kvw3uk8****'],
],
],
],
],
],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'F8F8EF50-8B7F-4702-B294-97170A423403'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 11,\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\",\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressId\\": \\"addr-89518218114368****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": \\"default\\",\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持返回此参数。\\",\\n \\"Remark\\": \\"test\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"TemplateName\\": \\"IPv4-Ping\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '搜索地址池列表',
- 'summary' => '根据传入参数搜索地址池列表。',
- ],
- 'ReplaceCloudGtmInstanceConfigAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取容灾预案可设置的配置',
+ 'summary' => '获取容灾预案可设置的配置。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmRecoveryPlanAvailableConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmRecoveryPlanAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Instances\\": {\\n \\"Instance\\": [\\n {\\n \\"AddrPools\\": {\\n \\"AddrPool\\": [\\n {\\n \\"AddrPoolId\\": \\"10*******\\",\\n \\"Name\\": \\"hra0i9\\"\\n }\\n ]\\n },\\n \\"InstanceName\\": \\"test\\",\\n \\"InstanceId\\": \\"gtm-cn-kvw3uk8****\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"F8F8EF50-8B7F-4702-B294-97170A423403\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeGtmRecoveryPlans' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'zh:中文'."\n"
+ ."\n"
+ .'en:英文'."\n"
+ ."\n"
+ .'默认:zh', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'."\n",
- ],
+ 'schema' => ['description' => '查询关键字。支持容灾预案名称模糊匹配。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'title' => '调度实例id',
- 'description' => '需要替换地址池的GTM 3.0实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3hb****',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'AddressPools',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '地址池列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '地址池信息。',
- 'type' => 'object',
- 'properties' => [
- 'AddressPoolId' => [
- 'description' => '地址池ID,地址池的唯一标识码。'."\n"
- ."\n"
- .'- 该参数不为空时,目标实例关联的地址池将会被删除,会全部替换为更新后的地址池。'."\n"
- ."\n"
- .'- 该参数为空时,目标实例引用的地址池全部删除,实例无关联的地址池。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool-89564542105737****',
- ],
- 'WeightValue' => [
- 'title' => '权重值',
- 'description' => '权重值(1-100之间的整数,包括1和100),支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。配置参数对更新后的地址池生效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'SerialNumber' => [
- 'title' => '序号',
- 'description' => '顺序号,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。配置参数对更新后的地址池生效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'RequestSource' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。配置参数对更新后的地址池生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["default"]',
- ],
- 'required' => false,
- 'maxItems' => 100,
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ConfigId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。'."\n"
- ."\n"
- .'调用 [ListCloudGtmInstanceConfigs](~~2797349~~) 接口可查询域名实例对应的 ConfigId 值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Config-000****',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
],
'responses' => [
@@ -18274,91 +12644,121 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功,取值:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'RecoveryPlans' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RecoveryPlan' => [
+ 'description' => '容灾预案列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '预案状态。其中:'."\n"
+ ."\n"
+ .'- **UNEXECUTED**:未执行'."\n"
+ .'- **EXECUTED**:已执行'."\n"
+ .'- **ROLLED_BACK**:已回滚', 'type' => 'string', 'example' => 'UNEXECUTED'],
+ 'LastRollbackTimestamp' => ['description' => '最近回滚时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565505919000'],
+ 'UpdateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2019-08-11T06:45Z'],
+ 'Remark' => ['description' => '备注。', 'type' => 'string', 'example' => 'remark-example'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2019-08-11T06:45Z'],
+ 'RecoveryPlanId' => ['description' => '容灾预案ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '5****'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565505919000'],
+ 'LastExecuteTimestamp' => ['description' => '最近执行时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565505898000'],
+ 'LastExecuteTime' => ['description' => '最近执行时间。', 'type' => 'string', 'example' => '2019-08-11T06:44Z'],
+ 'LastRollbackTime' => ['description' => '最近回滚时间。', 'type' => 'string', 'example' => '2019-08-11T06:45Z'],
+ 'Name' => ['description' => '容灾预案名称。', 'type' => 'string', 'example' => 'name-example'],
+ 'FaultAddrPoolNum' => ['description' => '故障地址池个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565499867000'],
+ ],
+ ],
+ ],
+ ],
],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '2BA072CF-CA21-4A34-B6C2-227BE2C58079'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '替换实例关联的地址池',
- 'summary' => '根据传入参数替换实例关联的地址池。',
- ],
- 'UpdateCloudGtmAddressPoolEnableStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '获取容灾预案列表',
+ 'summary' => '获取容灾预案列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmRecoveryPlans'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmRecoveryPlans',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RecoveryPlans\\": {\\n \\"RecoveryPlan\\": [\\n {\\n \\"Status\\": \\"UNEXECUTED\\",\\n \\"LastRollbackTimestamp\\": 1565505919000,\\n \\"UpdateTime\\": \\"2019-08-11T06:45Z\\",\\n \\"Remark\\": \\"remark-example\\",\\n \\"CreateTime\\": \\"2019-08-11T06:45Z\\",\\n \\"RecoveryPlanId\\": 0,\\n \\"UpdateTimestamp\\": 1565505919000,\\n \\"LastExecuteTimestamp\\": 1565505898000,\\n \\"LastExecuteTime\\": \\"2019-08-11T06:44Z\\",\\n \\"LastRollbackTime\\": \\"2019-08-11T06:45Z\\",\\n \\"Name\\": \\"name-example\\",\\n \\"FaultAddrPoolNum\\": 0,\\n \\"CreateTimestamp\\": 1565499867000\\n }\\n ]\\n },\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"2BA072CF-CA21-4A34-B6C2-227BE2C58079\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 10\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmRecoveryPlansResponse>\\r\\n<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>20</PageSize>\\r\\n\\t<RequestId>2BA072CF-CA21-4A34-B6C2-227BE2C58079</RequestId>\\r\\n\\t<TotalItems>10</TotalItems>\\r\\n\\t<TotalPages>1</TotalPages>\\r\\n\\t<RecoveryPlans>\\r\\n\\t\\t<RecoveryPlan>\\r\\n\\t\\t\\t<CreateTimestamp>1565499867000</CreateTimestamp>\\r\\n\\t\\t\\t<LastRollbackTime>2019-08-11T06:45Z</LastRollbackTime>\\r\\n\\t\\t\\t<UpdateTimestamp>1565505919000</UpdateTimestamp>\\r\\n\\t\\t\\t<UpdateTime>2019-08-11T06:45Z</UpdateTime>\\r\\n\\t\\t\\t<RecoveryPlanId>55</RecoveryPlanId>\\r\\n\\t\\t\\t<Name>name-example</Name>\\r\\n\\t\\t\\t<LastRollbackTimestamp>1565505919000</LastRollbackTimestamp>\\r\\n\\t\\t\\t<Status>ROLLED_BACK</Status>\\r\\n\\t\\t\\t<LastExecuteTimestamp>1565505898000</LastExecuteTimestamp>\\r\\n\\t\\t\\t<CreateTime>2019-08-11T05:04Z</CreateTime>\\r\\n\\t\\t\\t<LastExecuteTime>2019-08-11T06:44Z</LastExecuteTime>\\r\\n\\t\\t\\t<FaultAddrPoolNum>0</FaultAddrPoolNum>\\r\\n\\t\\t\\t<Remark>remark-example</Remark>\\r\\n\\t\\t</RecoveryPlan>\\r\\n\\t</RecoveryPlans>\\r\\n</DescribeGtmRecoveryPlansResponse>","errorExample":""}]',
+ ],
+ 'DescribeInstanceDomains' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsT5OPHE'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'AddressPoolId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池的ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool-89528023225442****',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'EnableStatus',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池的启用状态:'."\n"
- .'- enable:启用,当前地址池在健康检查正常的情况下可参与解析。'."\n"
- .'- disable: 禁用,当前地址池不管健康检查是否正常,均不可参与解析。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '实例ID。<props="china">可通过调用[DescribeDomainInfo](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomaininfo?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取。</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomainInfo](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomaininfo?spm=a2c63.p38356.help-menu-search-29697.d_0)获取。</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dns-cn-9lb38ldq9**'],
+ ],
+ [
+ 'name' => 'DomainKeywords',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -18366,524 +12766,429 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '89184F33-48A1-4401-9C0F-40E45DB091AB',
- ],
- 'Success' => [
- 'description' => '本次修改操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AddressPoolId' => [
- 'description' => '地址池的ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442****',
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '68386699-8B9E-4D5B-BC4C-75A28F6C2A00'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'InstanceDomains' => [
+ 'description' => '实例绑定域名列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '实例创建时间。', 'type' => 'string', 'example' => '2020-03-09T02:15Z'],
+ 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.top'],
+ 'CreateTimestamp' => ['description' => '实例创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1583720154000'],
+ ],
+ 'description' => '',
+ ],
],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalItems' => ['description' => '总计。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"89184F33-48A1-4401-9C0F-40E45DB091AB\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
- 'title' => '修改地址池启用状态',
- 'summary' => '根据传入参数修改地址池启用状态。',
- 'description' => '- 地址池**启用**且健康状态为**正常**,地址池的服务可用状态为**可用**。'."\n"
- ."\n"
- .'- 地址池**禁用**或健康状态为**异常**,地址池的服务可用状态为**不可用**。',
- ],
- 'UpdateCloudGtmAddressPoolRemark' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取实例绑定域名列表',
+ 'summary' => '获取实例绑定域名列表。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => '访问[公共错误码](https://next.api.aliyun.com/document/Alidns/2015-01-09/errorCode)查看更多错误码。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceDomains'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeInstanceDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'instance', 'arn' => 'acs:alidns::{#accountId}:instance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"68386699-8B9E-4D5B-BC4C-75A28F6C2A00\\",\\n \\"PageNumber\\": 1,\\n \\"InstanceDomains\\": [\\n {\\n \\"CreateTime\\": \\"2020-03-09T02:15Z\\",\\n \\"DomainName\\": \\"example.top\\",\\n \\"CreateTimestamp\\": 1583720154000\\n }\\n ],\\n \\"TotalPages\\": 2,\\n \\"TotalItems\\": 2\\n}","errorExample":""},{"type":"xml","example":"<RequestId>EC467B88-BD3D-4537-8F44-37F125BE5E65</RequestId>\\n<PageSize>20</PageSize>\\n<PageNumber>1</PageNumber>\\n<InstanceDomains>\\n <DomainName>example.com</DomainName>\\n <CreateTime>2020-03-09T02:15Z</CreateTime>\\n <CreateTimestamp>1583720154000</CreateTimestamp>\\n</InstanceDomains>\\n<TotalPages>1</TotalPages>\\n<TotalItems>1</TotalItems>","errorExample":""}]',
+ ],
+ 'DescribeInterAuthStatisticsGlobalOverview' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsXET43R'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '设置返回后可用区名称的语言,取值:'."\n"
+ .'* **zh-CN**:中文。'."\n"
+ .'* **en-US**(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '23445411234395894586....'],
],
[
- 'name' => 'AddressPoolId',
+ 'name' => 'ServerRegion',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池的ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool-89528023225442****',
- ],
+ 'schema' => ['description' => '服务区域', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'],
],
[
- 'name' => 'Remark',
+ 'name' => 'OverviewPeriod',
'in' => 'query',
- 'schema' => [
- 'description' => '传入的参数作为更新后的备注,传空值则删除备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '统计周期', 'type' => 'string', 'required' => false, 'example' => 'DAY'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Success' => [
- 'description' => '本次修改操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AddressPoolId' => [
- 'description' => '地址池的ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442****',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA'],
+ 'Data' => [
+ 'description' => '请求量数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalResolveCount' => ['description' => '总解析量', 'type' => 'integer', 'format' => 'int64', 'example' => '18349'],
+ 'TotalResolveCountTrend' => ['description' => '总解析量趋势', 'type' => 'integer', 'format' => 'int64', 'example' => '2341'],
+ 'AvgSuccessRatio' => ['description' => '平均成功率', 'type' => 'integer', 'format' => 'int64', 'example' => '72'],
+ 'AvgSuccessRatioTrend' => ['description' => '平均成功率趋势', 'type' => 'integer', 'format' => 'int64', 'example' => '75'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
- 'title' => '修改地址池备注',
- 'summary' => '根据传入参数修改地址池备注信息。',
- ],
- 'UpdateCloudGtmAddressPoolLbStrategy' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '公网权威解析全局解析统计概览',
+ 'summary' => '公网权威解析统计信息全局总览',
+ 'description' => '实时数据的统计维度是按小时。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\",\\n \\"Data\\": {\\n \\"TotalResolveCount\\": 18349,\\n \\"TotalResolveCountTrend\\": 2341,\\n \\"AvgSuccessRatio\\": 72,\\n \\"AvgSuccessRatioTrend\\": 75\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeInterAuthStatisticsHistory' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsXET43R'],
+ 'autoTest' => true,
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'StartTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '查询的开始时间(时间戳,单位:毫秒)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1474335170000'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'EndTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '查询的结束时间(时间戳,单位:毫秒)。'."\n"
+ .'><warning>如果查询时间段跨度较大,查询域名的解析日志量过多,可能会导致查询超时或者查询结果不准确。></warning>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1741526400000'],
],
[
- 'name' => 'AddressPoolId',
+ 'name' => 'ServerRegion',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool-89528023225442****',
- ],
+ 'schema' => ['description' => '解析集群地区', 'type' => 'string', 'required' => false, 'example' => 'ap-southeast-3'],
],
[
- 'name' => 'AddressLbStrategy',
+ 'name' => 'StatisticalType',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池中地址间负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sequence',
- ],
+ 'schema' => ['description' => '统计指标类型', 'type' => 'string', 'required' => false, 'example' => 'PROTOCOL'."\n"
+ .'其它:'."\n"
+ .'PROTOCOL:DNS请求UDP协议、TCP协议维度统计(仅全局域名统计)'."\n"
+ .'QTYPE:DNS请求记录类型分布,如A、AAAA、CNAME、MX 等'."\n"
+ .'RCODE:DNS否定应答统计'."\n"
+ .'SUCCESS_RATIO:SUCCESS_RATIO:平均解析成功率(解析成功率 = 返回与请求记录类型(QTYPE)匹配的有效应答次数 / 总解析次数)'."\n"
+ .'REQUEST:DNS请求量统计,展示QPS查询趋势'],
],
[
- 'name' => 'SequenceLbStrategyMode',
+ 'name' => 'ZoneName',
'in' => 'query',
- 'schema' => [
- 'description' => '地址间负载均衡策略取值为sequence(顺序模式)时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'preemptive',
- ],
+ 'schema' => ['description' => 'zone 名称', 'type' => 'string', 'required' => false, 'example' => 'lisheng999.com'],
+ ],
+ [
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => false, 'example' => 'dns-example.top'],
+ ],
+ [
+ 'name' => 'Rcode',
+ 'in' => 'query',
+ 'schema' => ['description' => 'dns响应码', 'type' => 'string', 'required' => false, 'example' => '0'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
- ],
- 'Success' => [
- 'description' => '本次修改操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AddressPoolId' => [
- 'description' => '地址池ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442****',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'Data' => [
+ 'description' => '返回数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '请求量数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Timestamp' => ['description' => '统计时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1706716800000'],
+ 'Count' => ['description' => '请求量(次)。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'ZoneName' => ['description' => 'zone 名称', 'type' => 'string', 'example' => 'mt2.cn'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'Protocol' => ['description' => '域名解析查询请求的协议类型:'."\n"
+ ."\n"
+ .'- UDP'."\n"
+ ."\n"
+ .'- TCP', 'type' => 'string', 'example' => 'HTTP'],
+ 'Qtype' => ['description' => '请求记录类型', 'type' => 'string', 'example' => 'A'],
+ 'Ratio' => ['description' => '成功率或占比', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
- 'title' => '修改地址池负载均衡策略',
- 'summary' => '根据传入参数修改地址池负载均衡策略。',
- ],
- 'UpdateCloudGtmAddressPoolBasicConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '公网权威解析各统计指标历史统计查询',
+ 'summary' => '公网权威解析统计信息趋势',
+ 'description' => '实时数据的统计维度是按小时。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeInterAuthStatisticsHistory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Data\\": [\\n {\\n \\"Timestamp\\": 1706716800000,\\n \\"Count\\": 20,\\n \\"ZoneName\\": \\"mt2.cn\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"Protocol\\": \\"HTTP\\",\\n \\"Qtype\\": \\"A\\",\\n \\"Ratio\\": 100\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeInterAuthStatisticsSummary' => [
+ 'summary' => '公网权威解析统计信息摘要列表',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsXET43R'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'StartTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '查询的开始时间(时间戳,单位:毫秒)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1516779348000'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'EndTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '查询的结束时间(时间戳,单位:毫秒)。'."\n"
+ .'><warning>如果查询时间段跨度较大,查询域名的解析日志量过多,可能会导致查询超时或者查询结果不准确。></warning>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1741526400000'],
],
[
- 'name' => 'AddressPoolId',
+ 'name' => 'ServerRegion',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool-89528023225442****',
- ],
+ 'schema' => ['description' => '解析集群地区', 'type' => 'string', 'required' => false, 'example' => 'ap-southeast-3'],
],
[
- 'name' => 'AddressPoolName',
+ 'name' => 'StatisticalType',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池名称,方便用户区分地址池的用途。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'app',
- ],
+ 'schema' => ['description' => '统计指标类型', 'type' => 'string', 'required' => false, 'example' => 'QTYPE_RATIO'."\n"
+ .'枚举值:'."\n"
+ .'QTYPE_RATIO:DNS请求记录类型占比'."\n"
+ .'RCODE_DOMAIN:否定应答域名TOP排行'."\n"
+ .'RCODE_SOURCE_IP:某否定应答域名的请求源地址TOP排行'."\n"
+ .'REQUEST_ZONE:域名请求量排行(zone级别)'."\n"
+ .'REQUEST_DOMAIN:子域名请求量排行(domain name级别)'."\n"
+ .'SOURCE_REGION:请求来源地域分布'."\n"
+ .'SOURCE_ISP:请求来源运营商(ISP)分布'."\n"
+ .'SOURCE_IP:请求源IP详情(含地域、运营商、占比)'."\n"
+ .'LINE_HIT:解析线路命中详情'."\n"
+ .'LINE_RATIO:解析线路流量占比'],
],
[
- 'name' => 'HealthJudgement',
+ 'name' => 'ZoneName',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池健康状态判定条件:'."\n"
- ."\n"
- .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
- ."\n"
- .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
- ."\n"
- .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
- ."\n"
- .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
- ."\n"
- .'- all_ok:地址池内地址全部可用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'any_ok',
- ],
+ 'schema' => ['description' => 'zone 名称', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Success' => [
- 'description' => '修改地址池基础配置操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AddressPoolId' => [
- 'description' => '地址池ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442****',
- ],
- ],
- ],
+ [
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
- 'title' => '修改地址池基础配置',
- 'summary' => '根据传入参数修改地址池基础配置。',
- ],
- 'ReplaceCloudGtmAddressPoolAddress' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Direction',
+ 'in' => 'query',
+ 'schema' => ['description' => '排序方向。取值:'."\n"
+ ."\n"
+ .'- 递减(默认):DESC'."\n"
+ ."\n"
+ .'- 递增:ASC', 'type' => 'string', 'required' => false, 'example' => 'DESC'],
],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
- 'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '返回的语言。取值:'."\n"
- ."\n"
- .'- **zh-CN**:中文'."\n"
- ."\n"
- .'- **en-US**(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'AddressPoolId',
+ 'name' => 'Rcode',
'in' => 'query',
- 'schema' => [
- 'description' => '需要更新地址的目标地址池ID,地址池的唯一标识码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool-89618921167339****',
- ],
+ 'schema' => ['description' => 'dns响应码', 'type' => 'string', 'required' => false, 'example' => '0'],
],
[
- 'name' => 'Addresses',
+ 'name' => 'SourceType',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '地址列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '地址信息。',
- 'type' => 'object',
- 'properties' => [
- 'AddressId' => [
- 'title' => '地址id',
- 'description' => '更新后的地址ID,地址的唯一标识码。'."\n"
- ."\n"
- .'- 该参数不为空时,地址池中原有的地址将会被删除,会全部替换为更新后的地址。'."\n"
- ."\n"
- .'- 该参数为空时,地址池中原有的地址均被删除,会将地址池置空。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'addr-89636516932803****',
- ],
- 'WeightValue' => [
- 'title' => '权重值',
- 'description' => '权重值(1-100内的整数,包括1和100),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。对更新后的地址配置生效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'SerialNumber' => [
- 'title' => '序号',
- 'description' => '顺序号,标识地址返回的优先级,越小优先级越高。对更新后的地址配置生效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'RequestSource' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。对更新后的地址配置生效。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["default"]',
- ],
- 'required' => false,
- 'maxItems' => 100,
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '路由类型:cloud:云上路由。 local:线下路由。', 'type' => 'string', 'required' => false, 'example' => 'File'],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => ['description' => '采样周期,枚举如下:'."\n"
+ ."\n"
+ .'- DAY:天'."\n"
+ ."\n"
+ .'- WEEK:周'."\n"
+ ."\n"
+ .'- MONTH:月', 'type' => 'string', 'required' => false, 'example' => 'DAY'],
+ ],
+ [
+ 'name' => 'GrowType',
+ 'in' => 'query',
+ 'schema' => ['description' => '请求量突增突降子域名数报表使用', 'type' => 'string', 'required' => false, 'example' => 'up'."\n"
+ .'down'],
+ ],
+ [
+ 'name' => 'OrderBy',
+ 'in' => 'query',
+ 'schema' => ['description' => '排序参数。取值:'."\n"
+ .'- createDate:按创建时间排序(为空时默认按创建时间排序)'."\n"
+ .'- expireDate:按过期时间排序', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AddressPoolId' => [
- 'description' => '地址池ID,地址池的唯一标识码。',
- 'type' => 'string',
- 'example' => 'pool-89618921167339****',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '853805EA-3D47-47D5-9A1A-A45C24313ABD'],
+ 'CurPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'TotalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'TotalSize' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '48'],
+ 'PageData' => [
+ 'description' => '分页数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '分页数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneName' => ['description' => 'zone 名称', 'type' => 'string', 'example' => 'longzi.xyz'],
+ 'DomainName' => ['description' => '域名名称,查询指定域名的转移记录。', 'type' => 'string', 'example' => 'nervermsf.com'],
+ 'Protocol' => ['description' => '域名解析查询请求的协议类型:'."\n"
+ ."\n"
+ .'- UDP'."\n"
+ ."\n"
+ .'- TCP', 'type' => 'string', 'example' => 'TCP%DF\\"'],
+ 'Line' => ['description' => '解析线路。', 'type' => 'string', 'example' => 'default'],
+ 'SourceRegion' => ['description' => '指定复制镜像的源地域,不设置则随机选择。', 'type' => 'string', 'example' => 'cn-shenzhen'],
+ 'SourceIsp' => ['description' => '请求源运营商。', 'type' => 'string', 'example' => 'telecom'],
+ 'Count' => ['description' => '请求量(次)。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'Ratio' => ['description' => '成功率或占比', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'Qtype' => ['description' => '请求记录类型', 'type' => 'string', 'example' => 'A'],
+ 'Rcode' => ['description' => 'dns响应码', 'type' => 'string', 'example' => '0'],
+ 'SourceIp' => ['description' => '源IP地址。', 'type' => 'string', 'example' => '112.16.17.203'],
+ 'PreviousCount' => ['description' => '前周期值', 'type' => 'integer', 'format' => 'int64', 'example' => '2227'],
+ 'AggrTimestamp' => ['description' => '当前周期起始时间(分钟的第0秒)', 'type' => 'integer', 'format' => 'int64', 'example' => '1776754800000'],
+ 'FluctuationValue' => ['description' => '波动率', 'type' => 'integer', 'format' => 'int32', 'example' => '19'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89618921167339****\\"\\n}","type":"json"}]',
- 'title' => '替换地址池引用的地址',
- 'summary' => '根据传入参数替换地址池引用的地址。',
- ],
- 'DescribeCloudGtmAddressPoolReference' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '公网权威解析各统计指标统计详情',
+ 'description' => '实时数据的统计维度是按小时。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"853805EA-3D47-47D5-9A1A-A45C24313ABD\\",\\n \\"CurPage\\": 1,\\n \\"PageSize\\": 5,\\n \\"TotalPage\\": 5,\\n \\"TotalSize\\": 48,\\n \\"PageData\\": [\\n {\\n \\"ZoneName\\": \\"longzi.xyz\\",\\n \\"DomainName\\": \\"nervermsf.com\\",\\n \\"Protocol\\": \\"TCP%DF\\\\\\\\\\\\\\"\\",\\n \\"Line\\": \\"default\\",\\n \\"SourceRegion\\": \\"cn-shenzhen\\",\\n \\"SourceIsp\\": \\"telecom\\",\\n \\"Count\\": 20,\\n \\"Ratio\\": 20,\\n \\"Qtype\\": \\"A\\",\\n \\"Rcode\\": \\"0\\",\\n \\"SourceIp\\": \\"112.16.17.203\\",\\n \\"PreviousCount\\": 2227,\\n \\"AggrTimestamp\\": 1776754800000,\\n \\"FluctuationValue\\": 19\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeInterAuthStatisticsZoneOverview' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -18893,306 +13198,144 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsXET43R'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'ServerRegion',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['description' => '服务区域', 'type' => 'string', 'required' => false, 'example' => 'DescribeInterAuthStatisticsZoneOverview'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'ZoneName',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'."\n",
- ],
+ 'schema' => ['description' => '域名(Zone)名称。', 'type' => 'string', 'required' => false, 'example' => 'cheng.suow.cc'],
],
[
- 'name' => 'AddressPoolId',
+ 'name' => 'OverviewPeriod',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool-89528023225442****',
- ],
+ 'schema' => ['description' => '统计周期', 'type' => 'string', 'required' => false, 'example' => 'DAY、WEEK、MONTH'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '853805EA-3D47-47D5-9A1A-A45C24313ABD',
- ],
- 'AddressPoolId' => [
- 'title' => '地址池 ID',
- 'description' => '地址池ID,地址池的唯一识别码。',
- 'type' => 'string',
- 'example' => 'pool-89528023225442****',
- ],
- 'AddressPoolName' => [
- 'title' => '地址池名称',
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'app',
- ],
- 'InstanceConfigs' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Data' => [
+ 'description' => '返回数据列表。',
'type' => 'object',
- 'itemNode' => true,
'properties' => [
- 'InstanceConfig' => [
- 'description' => '引用地址池的实例列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '引用地址池的实例。',
- 'type' => 'object',
- 'properties' => [
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '全局流量管理3.0实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-jmp3qnw****',
- ],
- 'ConfigId' => [
- 'title' => '实例id',
- 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。',
- 'type' => 'string',
- 'example' => 'config-00****',
- ],
- 'VersionCode' => [
- 'title' => '实例id',
- 'description' => '全局流量管理3.0实例版本:'."\n"
- ."\n"
- .'- standard:标准版'."\n"
- ."\n"
- .'- ultimate:旗舰版',
- 'type' => 'string',
- 'example' => 'ultimate',
- ],
- 'InstanceName' => [
- 'title' => '调度实例名称',
- 'description' => '实例名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ScheduleZoneName' => [
- 'title' => 'zone名称',
- 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'ScheduleHostname' => [
- 'title' => '主机记录',
- 'description' => 'GTM接入域名的主机记录。',
- 'type' => 'string',
- 'example' => 'www',
- ],
- 'ScheduleDomainName' => [
- 'title' => '域名,主机记录+zoneNamne',
- 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)。',
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
- 'ScheduleRrType' => [
- 'description' => '调度域名的解析记录类型:'."\n"
- ."\n"
- .'- A:IPv4地址'."\n"
- ."\n"
- .'- AAAA:IPv6地址'."\n"
- ."\n"
- .'- CNAME:域名',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Ttl' => [
- 'description' => '全局TTL,接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'AddressPoolLbStrategy' => [
- 'description' => '地址池之间的负载均衡策略:'."\n"
- ."\n"
- .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序。'."\n"
- ."\n"
- .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
- ."\n"
- .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
- ."\n"
- .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。',
- 'type' => 'string',
- 'example' => 'round_robin',
- ],
- 'SequenceLbStrategyMode' => [
- 'description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
- ."\n"
- .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
- ."\n"
- .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。',
- 'type' => 'string',
- 'example' => 'preemptive',
- ],
- 'AvailableStatus' => [
- 'description' => '域名实例服务可用状态:'."\n"
- ."\n"
- .'- available:可用,域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
- ."\n"
- .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。',
- 'type' => 'string',
- 'example' => 'available',
- ],
- 'EnableStatus' => [
- 'description' => '域名实例的启用状态:'."\n"
- ."\n"
- .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
- ."\n"
- .'- disable:禁用状态,GTM实例智能调度策略不可用。',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'HealthStatus' => [
- 'description' => '域名实例健康状态:'."\n"
- ."\n"
- .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
- ."\n"
- .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
- ."\n"
- .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'Remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- ],
- ],
- ],
+ 'SuddenIncreaseDomainCount' => ['description' => 'QPS突增域名数量', 'type' => 'integer', 'format' => 'int64', 'example' => '56'],
+ 'SuddenDropDomainCount' => ['description' => 'QPS突降域名数量', 'type' => 'integer', 'format' => 'int64', 'example' => '66'],
+ 'RefusedDomainCount' => ['description' => '否定应答域名数量', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"853805EA-3D47-47D5-9A1A-A45C24313ABD\\",\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\",\\n \\"AddressPoolName\\": \\"app\\",\\n \\"InstanceConfigs\\": {\\n \\"InstanceConfig\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-jmp3qnw****\\",\\n \\"ConfigId\\": \\"config-00****\\",\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"ScheduleZoneName\\": \\"example.com\\",\\n \\"ScheduleHostname\\": \\"www\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"ScheduleRrType\\": \\"A\\",\\n \\"Ttl\\": 30,\\n \\"AddressPoolLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取地址池被实例引用的信息',
- 'summary' => '根据传入参数获取地址池被实例引用的信息。',
- ],
- 'SearchCloudGtmMonitorTemplates' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '公网权威解析域名解析统计概览',
+ 'summary' => '公网权威解析统计信息Zone维度总览',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Data\\": {\\n \\"SuddenIncreaseDomainCount\\": 56,\\n \\"SuddenDropDomainCount\\": 66,\\n \\"RefusedDomainCount\\": 6\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeInternetDnsLogs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'readAndWrite',
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsCCJUYL'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'StartTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '查询的开始时间(时间戳,单位:毫秒)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1738848000000'],
+ ],
+ [
+ 'name' => 'EndTimestamp',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询的结束时间(时间戳,单位:毫秒)。'."\n"
+ .'><warning>如果查询时间段跨度较大,查询域名的解析日志量过多,可能会导致查询超时或者查询结果不准确。></warning>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1741526400000'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页查询大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'Name',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '健康探测模板的名称,按照输入的关键字进行模糊搜索。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPv4-Ping'."\n",
- ],
+ 'schema' => ['description' => '页码,默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'IpVersion',
+ 'name' => 'Module',
'in' => 'query',
- 'schema' => [
- 'description' => '按照探测节点IP地址的类型进行精确搜索:'."\n"
- ."\n"
- .'- IPv4:当探测的目标地址类型为IPv4地址时适用。'."\n"
- ."\n"
- .'- IPv6:当探测的目标地址类型为IPv6地址时适用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPv4',
- ],
+ 'schema' => ['description' => '模块类型'."\n"
+ .'- AUTHORITY(默认值):公网权威DNS'."\n"
+ .'- RECURSION:公网递归DNS', 'type' => 'string', 'required' => false, 'example' => 'AUTHORITY'],
],
[
- 'name' => 'Protocol',
+ 'name' => 'QueryCondition',
'in' => 'query',
- 'schema' => [
- 'description' => '按照探测协议类型进行精确搜索:'."\n"
- ."\n"
- .'- ping'."\n"
- ."\n"
- .'- tcp'."\n"
- ."\n"
- .'- http'."\n"
- ."\n"
- .'- https',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ping',
- ],
+ 'schema' => ['description' => '查询参数'."\n"
+ .'- sourceIp:源IP地址'."\n"
+ .'- queryNameFuzzy:域名(模糊值)'."\n"
+ .'- queryType:记录类型'."\n"
+ .'- value:解析结果'."\n"
+ .'- status:状态'."\n"
+ .'- serverIp:解析服务器IP', 'type' => 'string', 'required' => false, 'example' => '{"sourceIp":"59.82.XX.XX","queryType":"A"}'],
+ ],
+ [
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'],
+ ],
+ [
+ 'name' => 'AccountId',
+ 'in' => 'query',
+ 'schema' => ['description' => '公共DNS专属配置ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '51**4'],
+ ],
+ [
+ 'name' => 'RecursionProtocolType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ [
+ 'name' => 'PreciseSort',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean'],
],
],
'responses' => [
@@ -19200,289 +13343,99 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '搜索到的健康探测模板总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Templates' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Complete' => ['description' => '解析日志查询是否精确。', 'type' => 'boolean', 'example' => 'true'],
+ 'Logs' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Template' => [
- 'description' => '健康探测模板列表。',
+ 'Log' => [
+ 'description' => '日志列表。'."\n"
+ ."\n",
'type' => 'array',
'items' => [
- 'description' => '健康探测模板信息。',
+ 'description' => '日志对象。',
'type' => 'object',
'properties' => [
- 'TemplateId' => [
- 'title' => '模板 ID ,全局唯一',
- 'description' => '健康探测模板ID,唯一标识健康探测模板。',
- 'type' => 'string',
- 'example' => 'mtp-89518052425100**80',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '健康探测模板的创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-23T13:09Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '健康探测模板的创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '健康探测模板的最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-29T13:20Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '健康探测模板的最后一次修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'Name' => [
- 'title' => '探测模板名称',
- 'description' => '健康检查探测模板的名称,一般为了方便配置人员区分和记忆,建议名称可以区分健康检查协议。',
- 'type' => 'string',
- 'example' => 'IPv4-Ping',
- ],
- 'IpVersion' => [
- 'title' => '探测的网络环境 IP 版本',
- 'description' => '探测节点IP地址的类型:'."\n"
- ."\n"
- .'- IPv4:当探测的目标地址类型为IPv4地址时适用。'."\n"
- .'- IPv6:当探测的目标地址类型为IPv6地址时适用。',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'Protocol' => [
- 'title' => '探测协议',
- 'description' => '对目标IP地址发起探测的协议类型:'."\n"
- ."\n"
- .'- ping'."\n"
- ."\n"
- .'- tcp'."\n"
- ."\n"
- .'- http'."\n"
- ."\n"
- .'- https',
- 'type' => 'string',
- 'example' => 'ping',
- ],
- 'Interval' => [
- 'title' => '探测间隔(秒)',
- 'description' => '每次检查的时间间隔(秒),默认每间隔1分钟探测一次,健康检查间隔最小支持15秒(面向旗舰版实例开放)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Timeout' => [
- 'title' => '探测超时时间',
- 'description' => '探测超时时间(毫秒),大于超时时间未返回的数据包即判断为健康检查超时:'."\n"
- ."\n"
- .'- 2000'."\n"
- ."\n"
- .'- 3000'."\n"
- ."\n"
- .'- 5000'."\n"
- ."\n"
- .'- 10000',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5000',
- ],
- 'EvaluationCount' => [
- 'title' => '探测连续次数',
- 'description' => '重试次数,连续多次监控出现异常,系统才将应用服务判断为异常,以防止因为一些网络瞬间抖动等其他原因影响监控准确率。重试次数可选值为:'."\n"
- ."\n"
- .'- 1'."\n"
- ."\n"
- .'- 2'."\n"
- ."\n"
- .'- 3',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'FailureRate' => [
- 'title' => '告警失败率',
- 'description' => '所选节点探测失败比例(%),即健康检查异常的探测点占探测点总数的百分比,当失败比例超过设置的阈值时,将服务地址判断为异常。可设置的失败比例阈值为:'."\n"
- ."\n"
- .'- 20'."\n"
- ."\n"
- .'- 50'."\n"
- ."\n"
- .'- 80'."\n"
- ."\n"
- .'- 100',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'ExtendInfo' => [
- 'description' => 'Json 字符串扩展信息,各协议检查所需参数:'."\n"
- ."\n"
- .'- **http(s)**:'."\n"
- ."\n"
- .' **host**:执行HTTP(S)监控时,指定HTTP(S)请求头部信息中携带的Host字段,用于标识需要访问的具体HTTP网站,默认为主域名,如果目标网站的host有特殊要求,请自行修改;'."\n"
- ."\n"
- .' **path**:HTTP路径,用户HTTP(S)健康检查的URL路径配置,系统默认填写“/”;'."\n"
- ."\n"
- .' **code**:当执行HTTP(S)监控时,根据Web服务器的返回码判断Web服务器是否正常工作,大于返回码报警阈值时,系统认为应用服务出现异常:'."\n"
- ."\n"
- .' - 400:Bad Request,即如果HTTP(S)请求携带了错误的请求参数,Web服务器将返回大于400的返回码,如果校验内容设置为“异常码大于400”,请务必在URL路径中填写精确的URL访问路径参数;'."\n"
- ."\n"
- .' - 500:Server Error,即如果Web服务器出现了某些异常,将返回大于500的异常码,系统默认使用大于500的异常码作为报警阈值;'."\n"
- ."\n"
- .' **sni**:是否开启sni,仅在HTTPS协议时使用。SNI(Server Name Indication)是TLS协议的一个扩展,它允许客户端在发起TLS握手时指定想要连接的主机名。由于TLS握手发生在HTTP请求的任何数据被发送之前,SNI允许服务器在发送证书之前知道客户端试图访问的服务,这使得服务器可以选择正确的证书来呈现给客户端。'."\n"
- ."\n"
- .' - true-开启'."\n"
- .' '."\n"
- .' - false-未开启'."\n"
- .' '."\n"
- .' **followRedirect**:是否跟随3XX重定向'."\n"
- ."\n"
- .' - true:监控点获取的状态码为3XX (301,302,303, 307,308) 时,跟随跳转;'."\n"
- ."\n"
- .' - false:不跳转;'."\n"
- ."\n\n"
- .'- **ping**:'."\n"
- ."\n"
- .' **packetNum**:每次Ping监控,同时发出多少个ICMP数据包,可选20、50、100'."\n"
- ."\n"
- .' **packetLossRate**:异常时丢包率,每次ping监控,对发出的ICMP数据包,计算丢包率(%)。丢包率=(丢失数据包/发送的总ICMP数据包数目)* 100%,达到丢包率阈值时,异常报警。丢包率可选值为:10、30、40、80、90、100',
- 'type' => 'string',
- 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}',
- ],
- 'IspCityNodes' => [
+ 'DnsMsgId' => ['description' => '解析日志ID(会重复)。', 'type' => 'string', 'example' => '3583'],
+ 'LogTime' => ['description' => '解析时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1709196249000'],
+ 'ZoneName' => ['description' => '域名(Zone)名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'QueryName' => ['description' => '是指子域名,即查询的解析记录的域名。', 'type' => 'string', 'example' => 'www.example.com'],
+ 'QueryType' => ['description' => '记录类型。', 'type' => 'string', 'example' => 'A'],
+ 'Rt' => ['description' => '解析响应时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'ServerIp' => ['description' => '解析服务器IP。', 'type' => 'string', 'example' => '140.205.XX.XX'],
+ 'SourceIp' => ['description' => '源IP地址。', 'type' => 'string', 'example' => '59.82.XX.XX'],
+ 'Status' => ['description' => '响应状态。', 'type' => 'string', 'example' => 'NOERROR'],
+ 'SubnetIp' => ['description' => 'edns-client-subnet 可选项设置的值。', 'type' => 'string', 'example' => '170.33.XX.XX'],
+ 'Protocol' => ['description' => '域名解析查询请求的协议类型:'."\n"
+ ."\n"
+ .'- UDP'."\n"
+ ."\n"
+ .'- TCP'."\n"
+ ."\n"
+ .'- HTTP'."\n"
+ ."\n"
+ .'- HTTPS'."\n"
+ ."\n"
+ .'- DOH', 'type' => 'string', 'example' => 'UDP'],
+ 'Value' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'IspCityNode' => [
- 'title' => '探点信息',
- 'description' => '探测节点列表。',
+ 'Value' => [
+ 'description' => '解析结果数组。',
'type' => 'array',
- 'items' => [
- 'description' => '探测节点信息。',
- 'type' => 'object',
- 'properties' => [
- 'CountryCode' => [
- 'title' => '国家 Code',
- 'description' => '国家编码。',
- 'type' => 'string',
- 'example' => '001',
- ],
- 'CountryName' => [
- 'title' => '国家名称',
- 'description' => '国家名称。',
- 'type' => 'string',
- 'example' => '中国',
- ],
- 'CityCode' => [
- 'title' => '城市 Code',
- 'description' => '城市编码。',
- 'type' => 'string',
- 'example' => '503',
- ],
- 'CityName' => [
- 'title' => '城市名称',
- 'description' => '城市名称。',
- 'type' => 'string',
- 'example' => '张家口市',
- ],
- 'GroupType' => [
- 'title' => '监控探点分组类型',
- 'description' => '探测节点分组类型:'."\n"
- ."\n"
- .'- BGP:BGP节点。'."\n"
- ."\n"
- .'- OVERSEAS:国际节点。'."\n"
- ."\n"
- .'- ISP:运营商节点。',
- 'type' => 'string',
- 'example' => 'BGP',
- ],
- 'GroupName' => [
- 'title' => '监控探点分组类型名称',
- 'description' => '探测节点分组类型名称。',
- 'type' => 'string',
- 'example' => 'BGP',
- ],
- 'IspCode' => [
- 'title' => 'ISP Code',
- 'description' => '运营商编码。',
- 'type' => 'string',
- 'example' => '465',
- ],
- 'IspName' => [
- 'title' => 'ISP 名称',
- 'description' => '运营商名称。',
- 'type' => 'string',
- 'example' => '阿里巴巴',
- ],
- ],
- ],
+ 'items' => ['description' => '解析结果。', 'type' => 'string', 'example' => '172.64.XX.XX'],
],
],
+ 'description' => '',
],
- 'Remark' => [
- 'description' => '健康探测模板的备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'ResponseTimestamp' => ['type' => 'string'],
+ 'QueryFlags' => ['type' => 'string'],
+ 'Flags' => ['type' => 'string'],
],
],
],
],
+ 'description' => '',
],
+ 'PageSize' => ['description' => '分页查询大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'CurPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'TotalSize' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '48'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"Templates\\": {\\n \\"Template\\": [\\n {\\n \\"TemplateId\\": \\"mtp-89518052425100**80\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"Name\\": \\"IPv4-Ping\\",\\n \\"IpVersion\\": \\"IPv4\\",\\n \\"Protocol\\": \\"ping\\",\\n \\"Interval\\": 60,\\n \\"Timeout\\": 5000,\\n \\"EvaluationCount\\": 2,\\n \\"FailureRate\\": 50,\\n \\"ExtendInfo\\": \\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":200,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\index.htm\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aliyun.com\\\\\\\\\\\\\\"}\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CountryCode\\": \\"001\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityCode\\": \\"503\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"GroupName\\": \\"BGP\\",\\n \\"IspCode\\": \\"465\\",\\n \\"IspName\\": \\"阿里巴巴\\"\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '搜索健康检查模板列表',
- 'summary' => '查询健康检查模板列表信息。',
- ],
- 'CreateCloudGtmMonitorTemplate' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询公网解析日志',
+ 'summary' => '查询解析日志',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInternetDnsLogs'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeInternetDnsLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Complete\\": true,\\n \\"Logs\\": {\\n \\"Log\\": [\\n {\\n \\"DnsMsgId\\": \\"3583\\",\\n \\"LogTime\\": 1709196249000,\\n \\"ZoneName\\": \\"example.com\\",\\n \\"QueryName\\": \\"www.example.com\\",\\n \\"QueryType\\": \\"A\\",\\n \\"Rt\\": 0,\\n \\"ServerIp\\": \\"140.205.XX.XX\\",\\n \\"SourceIp\\": \\"59.82.XX.XX\\",\\n \\"Status\\": \\"NOERROR\\",\\n \\"SubnetIp\\": \\"170.33.XX.XX\\",\\n \\"Protocol\\": \\"UDP\\",\\n \\"Value\\": {\\n \\"Value\\": [\\n \\"172.64.XX.XX\\"\\n ]\\n },\\n \\"ResponseTimestamp\\": \\"\\",\\n \\"QueryFlags\\": \\"\\",\\n \\"Flags\\": \\"\\"\\n }\\n ]\\n },\\n \\"PageSize\\": 10,\\n \\"CurPage\\": 1,\\n \\"TotalPage\\": 5,\\n \\"TotalSize\\": 48\\n}","type":"json"}]',
+ ],
+ 'DescribeIspFlushCacheInstances' => [
+ 'summary' => '获取缓存刷新套餐包列表',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19491,219 +13444,133 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsIRW4YX'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9999999', 'minimum' => '1'],
],
[
- 'name' => 'Name',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'title' => '模板名',
- 'description' => '健康检查探测模板的名称。为了方便区分和记忆,建议名称可以区分健康检查协议。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Ping-IPv4',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1'],
],
[
- 'name' => 'IpVersion',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'title' => '探测的网络环境 IP 版本',
- 'description' => '探测节点IP地址的类型:'."\n"
- ."\n"
- .'- IPv4:当探测的目标地址类型为IPv4地址时适用。'."\n"
- ."\n"
- .'- IPv6:当探测的目标地址类型为IPv6地址时适用。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'IPv4',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Protocol',
+ 'name' => 'Isp',
'in' => 'query',
- 'schema' => [
- 'title' => '探测协议',
- 'description' => '对目标IP地址发起探测的协议类型:'."\n"
- ."\n"
- .'- ping'."\n"
- ."\n"
- .'- tcp'."\n"
- ."\n"
- .'- http'."\n"
- ."\n"
- .'- https',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ping',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'Interval',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'title' => '探测间隔(秒)',
- 'description' => '每次检查的时间间隔(秒),默认每间隔1分钟探测一次,健康检查间隔最小支持15秒(面向旗舰版实例开放)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '60',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'Timeout',
+ 'name' => 'OrderBy',
'in' => 'query',
- 'schema' => [
- 'title' => '探测超时时间(毫秒)',
- 'description' => '探测超时时间(毫秒),大于超时时间未返回的数据包即判断为健康检查超时:'."\n"
- ."\n"
- .'- 2000'."\n"
- ."\n"
- .'- 3000'."\n"
- ."\n"
- .'- 5000'."\n"
- ."\n"
- .'- 10000',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '5000',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'EvaluationCount',
+ 'name' => 'Direction',
'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '探测连续次数',
- 'description' => '重试次数,连续多次监控出现异常,系统才将应用服务判断为异常,以防止因为一些网络瞬间抖动等其他原因影响监控准确率。重试次数可选值为:'."\n"
- ."\n"
- .'- 1'."\n"
- ."\n"
- .'- 2'."\n"
- ."\n"
- .'- 3',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '2',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'IspFlushCacheInstances' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Isp' => ['type' => 'string'],
+ 'ExpireTime' => ['type' => 'string'],
+ 'InstanceId' => ['type' => 'string'],
+ 'QuotaInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'InstanceQuotaUsed' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'ExpireTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'InstanceName' => ['type' => 'string'],
+ 'VersionCode' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ 'TotalPages' => ['type' => 'integer', 'format' => 'int32'],
+ 'TotalItems' => ['type' => 'integer', 'format' => 'int32'],
+ ],
],
],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIspFlushCacheInstances'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'FailureRate',
- 'in' => 'query',
- 'schema' => [
- 'title' => '告警失败率',
- 'description' => '所选节点探测失败比例(%),即健康检查异常的探测点占探测点总数的百分比,当失败比例超过设置的阈值时,将服务地址判断为异常。可设置的失败比例阈值为:'."\n"
- ."\n"
- .'- 20'."\n"
- ."\n"
- .'- 50'."\n"
- ."\n"
- .'- 80'."\n"
- ."\n"
- .'- 100',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '50',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeIspFlushCacheInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 0,\\n \\"RequestId\\": \\"\\",\\n \\"PageNumber\\": 0,\\n \\"IspFlushCacheInstances\\": [\\n {\\n \\"Isp\\": \\"\\",\\n \\"ExpireTime\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"QuotaInfo\\": {\\n \\"InstanceQuota\\": 0,\\n \\"InstanceQuotaUsed\\": 0\\n },\\n \\"ExpireTimestamp\\": 0,\\n \\"InstanceName\\": \\"\\",\\n \\"VersionCode\\": \\"\\",\\n \\"Status\\": \\"\\"\\n }\\n ],\\n \\"TotalPages\\": 0,\\n \\"TotalItems\\": 0\\n}","type":"json"}]',
+ ],
+ 'DescribeIspFlushCacheRemainQuota' => [
+ 'summary' => '获取剩余可缓存刷新次数',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ExtendInfo',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Json 字符串扩展信息,各协议检查所需参数:'."\n"
- ."\n"
- .'- http(s):'."\n"
- ."\n"
- .' **host**:执行HTTP(S)监控时,指定HTTP(S)请求头部信息中携带的Host字段,用于标识需要访问的具体HTTP网站,默认为主域名,如果目标网站的host有特殊要求,请自行修改;'."\n"
- ."\n"
- .' **path**:HTTP路径,用户HTTP(S)健康检查的URL路径配置,系统默认填写“/”;'."\n"
- ."\n"
- .' **code**:当执行HTTP(S)监控时,根据Web服务器的返回码判断Web服务器是否正常工作,大于返回码报警阈值时,系统认为应用服务出现异常:'."\n"
- ."\n"
- .' - 400:Bad Request,即如果HTTP(S)请求携带了错误的请求参数,Web服务器将返回大于400的返回码,如果校验内容设置为“异常码大于400”,请务必在URL路径中填写精确的URL访问路径参数;'."\n"
- ."\n"
- .' - 500:Server Error,即如果Web服务器出现了某些异常,将返回大于500的异常码,系统默认使用大于500的异常码作为报警阈值;'."\n"
- ."\n"
- .' **sni**:是否开启sni,仅在HTTPS协议时使用。SNI(Server Name Indication)是TLS协议的一个扩展,它允许客户端在发起TLS握手时指定想要连接的主机名。由于TLS握手发生在HTTP请求的任何数据被发送之前,SNI允许服务器在发送证书之前知道客户端试图访问的服务,这使得服务器可以选择正确的证书来呈现给客户端。'."\n"
- ."\n"
- .' - true-开启'."\n"
- .' '."\n"
- .' - false-未开启'."\n"
- .' '."\n"
- .' **followRedirect**:是否跟随3XX重定向'."\n"
- ."\n"
- .' - true:监控点获取的状态码为3XX (301,302,303, 307,308) 时,跟随跳转;'."\n"
- ."\n"
- .' - false:不跳转;'."\n"
- ."\n\n"
- .'- ping:'."\n"
- ."\n"
- .' **packetNum**:每次Ping监控,同时发出多少个ICMP数据包,可选20、50、100'."\n"
- ."\n"
- .' **packetLossRate**:异常时丢包率,每次ping监控,对发出的ICMP数据包,计算丢包率(%)。丢包率=(丢失数据包/发送的总ICMP数据包数目)* 100%,达到丢包率阈值时,异常报警。丢包率可选值为:10、30、40、80、90、100',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsIRW4YX'],
+ ],
+ 'parameters' => [
[
- 'name' => 'IspCityNodes',
+ 'name' => 'Lang',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'title' => '探测节点列表',
- 'description' => '探测节点列表,具体信息可通过调用 [ListCloudGtmMonitorNodes](~~2797349~~) 获取',
- 'type' => 'array',
- 'items' => [
- 'description' => '探测节点。',
- 'type' => 'object',
- 'properties' => [
- 'CityCode' => [
- 'title' => '探测节点 城市 code',
- 'description' => '探测节点-城市编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '503',
- ],
- 'IspCode' => [
- 'title' => '探测节点 isp code',
- 'description' => '探测节点-运营商编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '465',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -19711,43 +13578,38 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TemplateId' => [
- 'description' => '健康探测模板ID,唯一标识健康探测模板。',
- 'type' => 'string',
- 'example' => 'mtp-89518052425100****',
- ],
+ 'TelecomRemainQuota' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\"\\n}","type":"json"}]',
- 'title' => '创建健康探测模板',
- 'summary' => '根据传入参数创建健康探测模板。',
- ],
- 'DeleteCloudGtmMonitorTemplate' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIspFlushCacheRemainQuota'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeIspFlushCacheRemainQuota',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TelecomRemainQuota\\": 0,\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeIspFlushCacheTask' => [
+ 'summary' => '获取缓存刷新任务详情',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19756,42 +13618,22 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '100699',
+ 'abilityTreeNodes' => ['FEATUREdnsIRW4YX'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
- ],
- [
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TemplateId',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '健康探测模板ID,唯一标识健康探测模板。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'mtp-89518052425100****',
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'pattern' => '^\\d+$'],
],
],
'responses' => [
@@ -19799,37 +13641,77 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Success' => [
- 'description' => '删除健康探测模板操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'RequestId' => ['type' => 'string'],
+ 'TaskId' => ['type' => 'string'],
+ 'DomainName' => ['type' => 'string'],
+ 'InstanceId' => ['type' => 'string'],
+ 'InstanceName' => ['type' => 'string'],
+ 'Isp' => ['type' => 'string'],
+ 'TaskStatus' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'CreateTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'FlushCacheResults' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Province' => ['type' => 'string'],
+ 'DnsNodes' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeIp' => ['type' => 'string'],
+ 'Answers' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
+ 'Record' => ['type' => 'string'],
+ 'Ttl' => ['type' => 'integer', 'format' => 'int64'],
+ ],
+ ],
+ ],
+ 'SpName' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '删除健康探测模板',
- 'summary' => '根据传入参数删除健康探测模板。',
- ],
- 'UpdateCloudGtmMonitorTemplate' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIspFlushCacheTask'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeIspFlushCacheTask',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\",\\n \\"TaskId\\": \\"\\",\\n \\"DomainName\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"InstanceName\\": \\"\\",\\n \\"Isp\\": \\"\\",\\n \\"TaskStatus\\": \\"\\",\\n \\"CreateTime\\": \\"\\",\\n \\"CreateTimestamp\\": 0,\\n \\"FlushCacheResults\\": [\\n {\\n \\"Province\\": \\"\\",\\n \\"DnsNodes\\": [\\n {\\n \\"NodeIp\\": \\"\\",\\n \\"Answers\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Record\\": \\"\\",\\n \\"Ttl\\": 0\\n }\\n ],\\n \\"SpName\\": \\"\\",\\n \\"Status\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeIspFlushCacheTasks' => [
+ 'summary' => '获取缓存刷新任务列表',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19838,196 +13720,51 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsIRW4YX'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24****',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9999999', 'minimum' => '1'],
],
[
- 'name' => 'TemplateId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '模板 ID',
- 'description' => '需要修改的健康探测模板ID,唯一标识健康探测模板。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'mtp-89518052425100****',
- ],
- ],
- [
- 'name' => 'Name',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'title' => '模板名',
- 'description' => '健康检查探测模板的名称,一般为了方便配置人员区分和记忆,建议名称可以区分健康检查协议。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Ping-IPv4'."\n",
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1'],
],
[
- 'name' => 'Interval',
+ 'name' => 'Isp',
'in' => 'query',
- 'schema' => [
- 'title' => '探测间隔(秒)',
- 'description' => '每次健康探测的时间间隔(秒),默认每间隔1分钟探测一次,健康检查间隔最小支持15秒(面向旗舰版实例开放)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'Timeout',
- 'in' => 'query',
- 'schema' => [
- 'title' => '探测超时时间',
- 'description' => '探测超时时间(毫秒),大于超时时间未返回的数据包即判断为健康检查超时:'."\n"
- ."\n"
- .'- 2000'."\n"
- ."\n"
- .'- 3000'."\n"
- ."\n"
- .'- 5000'."\n"
- ."\n"
- .'- 10000',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5000',
- ],
- ],
- [
- 'name' => 'EvaluationCount',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'title' => '探测连续次数',
- 'description' => '重试次数,连续多次监控出现异常,系统才将应用服务判断为异常,以防止因为一些网络瞬间抖动等其他原因影响监控准确率。重试次数可选值为:'."\n"
- ."\n"
- .'- 1'."\n"
- ."\n"
- .'- 2'."\n"
- ."\n"
- .'- 3',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'FailureRate',
+ 'name' => 'OrderBy',
'in' => 'query',
- 'schema' => [
- 'title' => '告警失败率',
- 'description' => '所选节点探测失败比例(%),即健康检查异常的探测点占探测点总数的百分比,当失败比例超过设置的阈值时,将服务地址判断为异常。可设置的失败比例阈值为:'."\n"
- ."\n"
- .'- 20'."\n"
- ."\n"
- .'- 50'."\n"
- ."\n"
- .'- 80'."\n"
- ."\n"
- .'- 100',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'ExtendInfo',
+ 'name' => 'Direction',
'in' => 'query',
- 'schema' => [
- 'description' => 'Json 字符串扩展信息,各协议检查所需参数:'."\n"
- ."\n"
- .'- http(s):'."\n"
- ."\n"
- .' host:执行HTTP(S)监控时,指定HTTP(S)请求头部信息中携带的Host字段,用于标识需要访问的具体HTTP网站,默认为主域名,如果目标网站的host有特殊要求,请自行修改;'."\n"
- ."\n"
- .' path:HTTP路径,用户HTTP(S)健康检查的URL路径配置,系统默认填写“/”;'."\n"
- ."\n"
- .' code:当执行HTTP(S)监控时,根据Web服务器的返回码判断Web服务器是否正常工作,大于返回码报警阈值时,系统认为应用服务出现异常:'."\n"
- ."\n"
- .' - 400:Bad Request,即如果HTTP(S)请求携带了错误的请求参数,Web服务器将返回大于400的返回码,如果校验内容设置为“异常码大于400”,请务必在URL路径中填写精确的URL访问路径参数;'."\n"
- ."\n"
- .' - 500:Server Error,即如果Web服务器出现了某些异常,将返回大于500的异常码,系统默认使用大于500的异常码作为报警阈值;'."\n"
- ."\n"
- .' sni:是否开启sni,仅在HTTPS协议时使用。SNI(Server Name Indication)是TLS协议的一个扩展,它允许客户端在发起TLS握手时指定想要连接的主机名。由于TLS握手发生在HTTP请求的任何数据被发送之前,SNI允许服务器在发送证书之前知道客户端试图访问的服务,这使得服务器可以选择正确的证书来呈现给客户端。'."\n"
- ."\n"
- .' - true-开启'."\n"
- .' '."\n"
- .' - false-未开启'."\n"
- .' '."\n"
- .' followRedirect:是否跟随3XX重定向'."\n"
- ."\n"
- .' - true:监控点获取的状态码为3XX (301,302,303, 307,308) 时,跟随跳转;'."\n"
- ."\n"
- .' - false:不跳转;'."\n"
- ."\n"
- .'- ping:'."\n"
- ."\n"
- .' packetNum:每次Ping监控,同时发出多少个ICMP数据包,可选20、50、100'."\n"
- ."\n"
- .' packetLossRate:异常时丢包率,每次ping监控,对发出的ICMP数据包,计算丢包率(%)。丢包率=(丢失数据包/发送的总ICMP数据包数目)* 100%,达到丢包率阈值时,异常报警。丢包率可选值为:10、30、40、80、90、100',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'IspCityNodes',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'title' => '探测节点列表',
- 'description' => '探测节点列表,具体信息可通过调用 [ListCloudGtmMonitorNodes](~~2797327~~)获取。',
- 'type' => 'array',
- 'items' => [
- 'description' => '探测节点。',
- 'type' => 'object',
- 'properties' => [
- 'CityCode' => [
- 'title' => '探测节点 城市 code',
- 'description' => '探测节点-城市编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '503',
- ],
- 'IspCode' => [
- 'title' => '探测节点 isp code',
- 'description' => '探测节点-运营商编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '465',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -20035,37 +13772,57 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'Success' => [
- 'description' => '修改健康探测模板操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'PageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'RequestId' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'IspFlushCacheTasks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => ['type' => 'string'],
+ 'DomainName' => ['type' => 'string'],
+ 'InstanceId' => ['type' => 'string'],
+ 'InstanceName' => ['type' => 'string'],
+ 'Isp' => ['type' => 'string'],
+ 'TaskStatus' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ 'CreateTimestamp' => ['type' => 'integer', 'format' => 'int64'],
+ ],
+ ],
],
+ 'TotalPages' => ['type' => 'integer', 'format' => 'int32'],
+ 'TotalItems' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '修改健康探测模板',
- 'summary' => '根据传入参数修改探测模板信息。',
- ],
- 'ListCloudGtmMonitorTemplates' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIspFlushCacheTasks'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeIspFlushCacheTasks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 0,\\n \\"RequestId\\": \\"\\",\\n \\"PageNumber\\": 0,\\n \\"IspFlushCacheTasks\\": [\\n {\\n \\"TaskId\\": \\"\\",\\n \\"DomainName\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"InstanceName\\": \\"\\",\\n \\"Isp\\": \\"\\",\\n \\"TaskStatus\\": \\"\\",\\n \\"CreateTime\\": \\"\\",\\n \\"CreateTimestamp\\": 0\\n }\\n ],\\n \\"TotalPages\\": 0,\\n \\"TotalItems\\": 0\\n}","type":"json"}]',
+ ],
+ 'DescribePdnsAccountSummary' => [
+ 'summary' => '获取公共DNS用户数据概览',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20073,87 +13830,95 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- ."\n"
- .'- en-US(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'EndDate',
'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '20',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['type' => 'string'],
+ 'Data' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => ['type' => 'integer', 'format' => 'int64'],
+ 'DomainCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'SubDomainCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'HttpCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'HttpsCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'ThreatCount' => ['type' => 'integer', 'format' => 'int64'],
+ ],
+ ],
+ ],
],
],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsAccountSummary'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '健康检查探测模板的名称,一般为了方便配置人员区分和记忆,建议名称可以区分健康检查协议。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPv4-Ping',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsAccountSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\",\\n \\"Data\\": {\\n \\"UserId\\": 0,\\n \\"DomainCount\\": 0,\\n \\"SubDomainCount\\": 0,\\n \\"HttpCount\\": 0,\\n \\"HttpsCount\\": 0,\\n \\"TotalCount\\": 0,\\n \\"ThreatCount\\": 0\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribePdnsAppKey' => [
+ 'summary' => '获取公共DNS AppKey 详情',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'IpVersion',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'AppKeyId',
'in' => 'query',
- 'schema' => [
- 'description' => '探测节点IP地址的类型:'."\n"
- ."\n"
- .'- IPv4:当探测的目标地址类型为IPv4地址时适用。'."\n"
- ."\n"
- .'- IPv6:当探测的目标地址类型为IPv6地址时适用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPv4',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'Protocol',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '对目标IP地址发起探测的协议类型:'."\n"
- ."\n"
- .'- ping'."\n"
- ."\n"
- .'- tcp'."\n"
- ."\n"
- .'- http'."\n"
- ."\n"
- .'- https',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ping',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'AuthCode',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -20161,322 +13926,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D',
- ],
- 'TotalPages' => [
- 'description' => '数据分页后总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'TotalItems' => [
- 'description' => '获取的健康探测模板列表总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '30',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Templates' => [
+ 'RequestId' => ['type' => 'string'],
+ 'AppKey' => [
'type' => 'object',
- 'itemNode' => true,
'properties' => [
- 'Template' => [
- 'description' => '健康探测模板列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '健康探测模板详细信息。',
- 'type' => 'object',
- 'properties' => [
- 'TemplateId' => [
- 'title' => '模板 ID ,全局唯一',
- 'description' => '健康探测模板ID,唯一标识健康探测模板。',
- 'type' => 'string',
- 'example' => 'mtp-89518052425100****',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '健康探测模板创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-23T13:09Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '健康探测模板创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '健康探测模板最后一次修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-29T13:20Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '健康检查模板配置修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'Name' => [
- 'title' => '探测模板名称',
- 'description' => '健康检查探测模板的名称,一般为了方便配置人员区分和记忆。',
- 'type' => 'string',
- 'example' => 'IPv4-Ping',
- ],
- 'IpVersion' => [
- 'title' => '探测的网络环境 IP 版本',
- 'description' => '探测节点IP地址的类型:'."\n"
- ."\n"
- .'- IPv4:当探测的目标地址类型为IPv4地址时适用。'."\n"
- ."\n"
- .'- IPv6:当探测的目标地址类型为IPv6地址时适用。',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'Protocol' => [
- 'title' => '探测协议',
- 'description' => '对目标IP地址发起探测的协议类型:'."\n"
- ."\n"
- .'- ping'."\n"
- ."\n"
- .'- tcp'."\n"
- ."\n"
- .'- http'."\n"
- ."\n"
- .'- https',
- 'type' => 'string',
- 'example' => 'ping',
- ],
- 'Interval' => [
- 'title' => '探测间隔(秒)',
- 'description' => '每次检查的时间间隔(秒),默认每间隔1分钟探测一次,健康检查间隔最小支持15秒(面向旗舰版实例开放)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Timeout' => [
- 'title' => '探测超时时间',
- 'description' => '探测超时时间(毫秒),大于超时时间未返回的数据包即判断为健康检查超时:'."\n"
- ."\n"
- .'- 2000'."\n"
- ."\n"
- .'- 3000'."\n"
- ."\n"
- .'- 5000'."\n"
- ."\n"
- .'- 10000',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5000',
- ],
- 'EvaluationCount' => [
- 'title' => '探测连续次数',
- 'description' => '重试次数,连续多次监控出现异常,系统才将应用服务判断为异常,以防止因为一些网络瞬间抖动等其他原因影响监控准确率。重试次数可选值为:'."\n"
- ."\n"
- .'- 1'."\n"
- ."\n"
- .'- 2'."\n"
- ."\n"
- .'- 3',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'FailureRate' => [
- 'title' => '告警失败率',
- 'description' => '所选节点探测失败比例(%),即健康检查异常的探测点占探测点总数的百分比,当失败比例超过设置的阈值时,将服务地址判断为异常。可设置的失败比例阈值为:'."\n"
- ."\n"
- .'- 20'."\n"
- ."\n"
- .'- 50'."\n"
- ."\n"
- .'- 80'."\n"
- ."\n"
- .'- 100',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'ExtendInfo' => [
- 'description' => 'Json 字符串扩展信息,各协议检查所需参数:'."\n"
- ."\n"
- .'- http(s):'."\n"
- ."\n"
- .' **host**:执行HTTP(S)监控时,指定HTTP(S)请求头部信息中携带的Host字段,用于标识需要访问的具体HTTP网站,默认为主域名,如果目标网站的host有特殊要求,请自行修改;'."\n"
- ."\n"
- .' **path**:HTTP路径,用户HTTP(S)健康检查的URL路径配置,系统默认填写“/”;'."\n"
- ."\n"
- .' **code**:当执行HTTP(S)监控时,根据Web服务器的返回码判断Web服务器是否正常工作,大于返回码报警阈值时,系统认为应用服务出现异常:'."\n"
- ."\n"
- .' - 400:Bad Request,即如果HTTP(S)请求携带了错误的请求参数,Web服务器将返回大于400的返回码,如果校验内容设置为“异常码大于400”,请务必在URL路径中填写精确的URL访问路径参数;'."\n"
- ."\n"
- .' - 500:Server Error,即如果Web服务器出现了某些异常,将返回大于500的异常码,系统默认使用大于500的异常码作为报警阈值;'."\n"
- ."\n"
- .' **sni**:是否开启sni,仅在HTTPS协议时使用。SNI(Server Name Indication)是TLS协议的一个扩展,它允许客户端在发起TLS握手时指定想要连接的主机名。由于TLS握手发生在HTTP请求的任何数据被发送之前,SNI允许服务器在发送证书之前知道客户端试图访问的服务,这使得服务器可以选择正确的证书来呈现给客户端。'."\n"
- ."\n"
- .' - true-开启'."\n"
- .' '."\n"
- .' - false-未开启'."\n"
- .' '."\n"
- .' **followRedirect**:是否跟随3XX重定向'."\n"
- ."\n"
- .' - true:监控点获取的状态码为3XX (301,302,303, 307,308) 时,跟随跳转;'."\n"
- ."\n"
- .' - false:不跳转;'."\n"
- ."\n\n"
- .'- ping:'."\n"
- ."\n"
- .' **packetNum**:每次Ping监控,同时发出多少个ICMP数据包,可选20、50、100'."\n"
- ."\n"
- .' **packetLossRate**:异常时丢包率,每次ping监控,对发出的ICMP数据包,计算丢包率(%)。丢包率=(丢失数据包/发送的总ICMP数据包数目)* 100%,达到丢包率阈值时,异常报警。丢包率可选值为:10、30、40、80、90、100',
- 'type' => 'string',
- 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}'."\n",
- ],
- 'IspCityNodes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'IspCityNode' => [
- 'title' => '探点信息',
- 'description' => '探测节点列表,具体信息可通过调用[ListCloudGtmMonitorNodes](~~2797327~~) 获取。',
- 'type' => 'array',
- 'items' => [
- 'description' => '探测节点。',
- 'type' => 'object',
- 'properties' => [
- 'CountryCode' => [
- 'title' => '国家 Code',
- 'description' => '国家编码。',
- 'type' => 'string',
- 'example' => '001',
- ],
- 'CountryName' => [
- 'title' => '国家名称',
- 'description' => '国家名称。',
- 'type' => 'string',
- 'example' => '中国',
- ],
- 'CityCode' => [
- 'title' => '城市 Code',
- 'description' => '城市编码。',
- 'type' => 'string',
- 'example' => '503',
- ],
- 'CityName' => [
- 'title' => '城市名称',
- 'description' => '城市名称。',
- 'type' => 'string',
- 'example' => '张家口市',
- ],
- 'GroupType' => [
- 'title' => '监控探点分组类型',
- 'description' => '探测节点分组类型:'."\n"
- ."\n"
- .'- BGP:BGP节点'."\n"
- ."\n"
- .'- OVERSEAS:国际节点'."\n"
- ."\n"
- .'- ISP:运营商节点',
- 'type' => 'string',
- 'example' => 'BGP',
- ],
- 'GroupName' => [
- 'title' => '监控探点分组类型名称',
- 'description' => '探测节点分组名称。',
- 'type' => 'string',
- 'example' => 'BGP节点',
- ],
- 'IspCode' => [
- 'title' => 'ISP Code',
- 'description' => '运营商编码。',
- 'type' => 'string',
- 'example' => '465',
- ],
- 'IspName' => [
- 'title' => 'ISP 名称',
- 'description' => '运营商名称。',
- 'type' => 'string',
- 'example' => '阿里巴巴',
- ],
- ],
- ],
- ],
- ],
- ],
- 'Remark' => [
- 'description' => '健康探测模板的备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- ],
- ],
- ],
+ 'AppKeyId' => ['type' => 'string'],
+ 'AppKeySecret' => ['type' => 'string'],
+ 'Remark' => ['type' => 'string'],
+ 'State' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'CreateTimestamp' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\",\\n \\"TotalPages\\": 2,\\n \\"TotalItems\\": 30,\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"Templates\\": {\\n \\"Template\\": [\\n {\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"Name\\": \\"IPv4-Ping\\",\\n \\"IpVersion\\": \\"IPv4\\",\\n \\"Protocol\\": \\"ping\\",\\n \\"Interval\\": 60,\\n \\"Timeout\\": 5000,\\n \\"EvaluationCount\\": 2,\\n \\"FailureRate\\": 50,\\n \\"ExtendInfo\\": \\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":200,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\index.htm\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aliyun.com\\\\\\\\\\\\\\"}\\\\n\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CountryCode\\": \\"001\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityCode\\": \\"503\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"IspName\\": \\"阿里巴巴\\"\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取健康探测模板列表',
- 'summary' => '根据传入参数获取健康探测模板列表。',
- ],
- 'DescribeCloudGtmMonitorTemplate' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsAppKey'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsAppKey',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\",\\n \\"AppKey\\": {\\n \\"AppKeyId\\": \\"\\",\\n \\"AppKeySecret\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"State\\": \\"\\",\\n \\"CreateDate\\": \\"\\",\\n \\"CreateTimestamp\\": 0\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribePdnsAppKeys' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsBBR04Z'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置返回后可用区名称的语言,取值:'."\n"
- .'* **zh-CN**:中文。'."\n"
- .'* **en-US**(默认值):英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
- ],
- [
- 'name' => 'TemplateId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的健康探测模板ID,唯一标识健康探测模板。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'mtp-89518052425100****',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => ''],
],
],
'responses' => [
@@ -20484,305 +13992,117 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF',
- ],
- 'TemplateId' => [
- 'title' => '模板 ID ,全局唯一',
- 'description' => '健康探测模板ID,唯一标识健康探测模板。',
- 'type' => 'string',
- 'example' => 'mtp-89518052425100****',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '健康探测模板创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-23T13:09Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '健康探测模板创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '健康检查模板配置修改时间。',
- 'type' => 'string',
- 'example' => '2024-03-29T13:20Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '健康检查模板配置修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'Name' => [
- 'title' => '探测模板名称',
- 'description' => '健康检查探测模板的名称,一般为了方便配置人员区分和记忆,建议名称可以区分健康检查协议。',
- 'type' => 'string',
- 'example' => 'Ping-IPv4',
- ],
- 'IpVersion' => [
- 'title' => '探测的网络环境 IP 版本',
- 'description' => '探测节点IP地址的类型:'."\n"
- ."\n"
- .'- IPv4:当探测的目标地址类型为IPv4地址时适用;'."\n"
- ."\n"
- .'- IPv6:当探测的目标地址类型为IPv6地址时适用;',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'Protocol' => [
- 'title' => '探测协议',
- 'description' => '对目标IP地址发起探测的协议类型:'."\n"
- ."\n"
- .'- ping'."\n"
- ."\n"
- .'- tcp'."\n"
- ."\n"
- .'- http'."\n"
- ."\n"
- .'- https',
- 'type' => 'string',
- 'example' => 'ping',
- ],
- 'Interval' => [
- 'title' => '探测间隔(秒)',
- 'description' => '每次检查的时间间隔(秒),默认每间隔1分钟探测一次,健康检查间隔最小支持15秒(面向旗舰版实例开放)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Timeout' => [
- 'title' => '探测超时时间',
- 'description' => '探测超时时间(毫秒),大于超时时间未返回的数据包即判断为健康检查超时:'."\n"
- ."\n"
- .'- 2000'."\n"
- ."\n"
- .'- 3000'."\n"
- ."\n"
- .'- 5000'."\n"
- ."\n"
- .'- 10000',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5000',
- ],
- 'EvaluationCount' => [
- 'title' => '探测连续次数',
- 'description' => '重试次数,连续多次监控出现异常,系统才将应用服务判断为异常,以防止因为一些网络瞬间抖动等其他原因影响监控准确率。重试次数可选值为:'."\n"
- ."\n"
- .'- 1'."\n"
- ."\n"
- .'- 2'."\n"
- ."\n"
- .'- 3',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'FailureRate' => [
- 'title' => '告警失败率',
- 'description' => '所选节点探测失败比例(%),即健康检查异常的探测点占探测点总数的百分比,当失败比例超过设置的阈值时,将服务地址判断为异常。可设置的失败比例阈值为:'."\n"
- ."\n"
- .'- 20'."\n"
- ."\n"
- .'- 50'."\n"
- ."\n"
- .'- 80'."\n"
- ."\n"
- .'- 100',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'ExtendInfo' => [
- 'description' => 'Json 字符串扩展信息,各协议检查所需参数:'."\n"
- ."\n"
- .'- http(s):'."\n"
- ."\n"
- .' **host**:执行HTTP(S)监控时,指定HTTP(S)请求头部信息中携带的Host字段,用于标识需要访问的具体HTTP网站,默认为主域名,如果目标网站的host有特殊要求,请自行修改;'."\n"
- ."\n"
- .' **path**:HTTP路径,用户HTTP(S)健康检查的URL路径配置,系统默认填写“/”;'."\n"
- ."\n"
- .' **code**:当执行HTTP(S)监控时,根据Web服务器的返回码判断Web服务器是否正常工作,大于返回码报警阈值时,系统认为应用服务出现异常:'."\n"
- ."\n"
- .' - 400:Bad Request,即如果HTTP(S)请求携带了错误的请求参数,Web服务器将返回大于400的返回码,如果校验内容设置为“异常码大于400”,请务必在URL路径中填写精确的URL访问路径参数;'."\n"
- ."\n"
- .' - 500:Server Error,即如果Web服务器出现了某些异常,将返回大于500的异常码,系统默认使用大于500的异常码作为报警阈值;'."\n"
- ."\n"
- .' **sni**:是否开启sni,仅在HTTPS协议时使用。SNI(Server Name Indication)是TLS协议的一个扩展,它允许客户端在发起TLS握手时指定想要连接的主机名。由于TLS握手发生在HTTP请求的任何数据被发送之前,SNI允许服务器在发送证书之前知道客户端试图访问的服务,这使得服务器可以选择正确的证书来呈现给客户端。'."\n"
- ."\n"
- .' - true-开启'."\n"
- .' '."\n"
- .' - false-未开启'."\n"
- .' '."\n"
- .' **followRedirect**:是否跟随3XX重定向'."\n"
- ."\n"
- .' - true:监控点获取的状态码为3XX (301,302,303, 307,308) 时,跟随跳转;'."\n"
- ."\n"
- .' - false:不跳转;'."\n"
- ."\n\n"
- .'- ping:'."\n"
- ."\n"
- .' **packetNum**:每次Ping监控,同时发出多少个ICMP数据包,可选20、50、100'."\n"
- ."\n"
- .' **packetLossRate**:异常时丢包率,每次ping监控,对发出的ICMP数据包,计算丢包率(%)。丢包率=(丢失数据包/发送的总ICMP数据包数目)* 100%,达到丢包率阈值时,异常报警。丢包率可选值为:10、30、40、80、90、100',
- 'type' => 'string',
- 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}',
- ],
- 'IspCityNodes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'IspCityNode' => [
- 'title' => '探点信息',
- 'description' => '探测节点列表,具体信息可通过调用 ListCloudGtmMonitorNodes 获取。',
- 'type' => 'array',
- 'items' => [
- 'description' => '探测节点',
- 'type' => 'object',
- 'properties' => [
- 'CountryCode' => [
- 'title' => '国家 Code',
- 'description' => '国家编码',
- 'type' => 'string',
- 'example' => '001',
- ],
- 'CountryName' => [
- 'title' => '国家名称',
- 'description' => '国家名称',
- 'type' => 'string',
- 'example' => '中国',
- ],
- 'CityCode' => [
- 'title' => '城市 Code',
- 'description' => '城市编码',
- 'type' => 'string',
- 'example' => '503',
- ],
- 'CityName' => [
- 'title' => '城市名称',
- 'description' => '城市名称',
- 'type' => 'string',
- 'example' => '张家口市',
- ],
- 'GroupType' => [
- 'title' => '监控探点分组类型',
- 'description' => '探测节点分组类型:'."\n"
- ."\n"
- .'- BGP:BGP节点'."\n"
- ."\n"
- .'- OVERSEAS:国际节点'."\n"
- ."\n"
- .'- ISP:运营商节点',
- 'type' => 'string',
- 'example' => 'BGP',
- ],
- 'GroupName' => [
- 'title' => '监控探点分组类型名称',
- 'description' => '探测节点分组类型名称',
- 'type' => 'string',
- 'example' => 'BGP节点',
- ],
- 'IspCode' => [
- 'title' => 'ISP Code',
- 'description' => '运营商编码',
- 'type' => 'string',
- 'example' => '465',
- ],
- 'IspName' => [
- 'title' => 'ISP 名称',
- 'description' => '运营商名称',
- 'type' => 'string',
- 'example' => '阿里巴巴',
+ 'RequestId' => ['type' => 'string', 'description' => ''],
+ 'AppKeys' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AppKeyId' => ['type' => 'string', 'description' => ''],
+ 'CreateDate' => ['type' => 'string', 'description' => ''],
+ 'Remark' => ['type' => 'string', 'description' => ''],
+ 'State' => ['type' => 'string', 'description' => ''],
+ 'CreateTimestamp' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ 'BindEdgeDnsClusters' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ClusterId' => ['type' => 'string'],
+ 'ClusterName' => ['type' => 'string'],
+ 'ClusterUserId' => ['type' => 'string'],
],
],
],
],
+ 'description' => '',
],
- ],
- 'Remark' => [
- 'description' => '健康探测模板的备注。',
- 'type' => 'string',
- 'example' => 'test',
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF\\",\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"Name\\": \\"Ping-IPv4\\",\\n \\"IpVersion\\": \\"IPv4\\",\\n \\"Protocol\\": \\"ping\\",\\n \\"Interval\\": 60,\\n \\"Timeout\\": 5000,\\n \\"EvaluationCount\\": 2,\\n \\"FailureRate\\": 50,\\n \\"ExtendInfo\\": \\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":200,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\index.htm\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aliyun.com\\\\\\\\\\\\\\"}\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CountryCode\\": \\"001\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityCode\\": \\"503\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"IspName\\": \\"阿里巴巴\\"\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\"\\n}","type":"json"}]',
- 'title' => '获取指定健康探测模板配置',
- 'summary' => '根据传入参数获取指定健康探测模板配置。',
- ],
- 'UpdateCloudGtmMonitorTemplateRemark' => [
- 'methods' => [
- 'post',
- 'get',
+ 'summary' => '获取公共DNS AppKey 列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsAppKeys'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsAppKeys',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\",\\n \\"AppKeys\\": [\\n {\\n \\"AppKeyId\\": \\"\\",\\n \\"CreateDate\\": \\"\\",\\n \\"Remark\\": \\"\\",\\n \\"State\\": \\"\\",\\n \\"CreateTimestamp\\": 0,\\n \\"BindEdgeDnsClusters\\": [\\n {\\n \\"ClusterId\\": \\"\\",\\n \\"ClusterName\\": \\"\\",\\n \\"ClusterUserId\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribePdnsOperateLogs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsCCJUYL'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'ActionType',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'TemplateId',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'title' => '地址 ID',
- 'description' => '健康探测模板ID,唯一标识健康探测模板。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'mtp-89518052455928**00',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'Remark',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'title' => '备注',
- 'description' => '填写更新后的备注,传空值则删除备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -20790,37 +14110,53 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'Success' => [
- 'description' => '修改健康探测模板备注操作是否成功:'."\n"
- ."\n"
- .'- true:操作成功'."\n"
- ."\n"
- .'- false:操作失败',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int64'],
+ 'RequestId' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int64'],
+ 'Logs' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateTime' => ['type' => 'string'],
+ 'Type' => ['type' => 'string'],
+ 'Action' => ['type' => 'string'],
+ 'content' => ['type' => 'string'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '修改健康探测模板备注',
- ],
- 'ListCloudGtmMonitorNodes' => [
- 'methods' => [
- 'post',
- 'get',
+ 'summary' => '获取公共DNS 操作日志列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsOperateLogs'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsOperateLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 0,\\n \\"PageSize\\": 0,\\n \\"RequestId\\": \\"\\",\\n \\"PageNumber\\": 0,\\n \\"Logs\\": [\\n {\\n \\"OperateTime\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"Action\\": \\"\\",\\n \\"content\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribePdnsRequestStatistic' => [
+ 'summary' => '查询公共DNS的请求量列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20829,22 +14165,50 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '16786',
+ 'abilityTreeNodes' => ['FEATUREdns5Q9UHE'],
],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- **zh-CN**:中文'."\n"
- ."\n"
- .'- **en-US**(默认值):英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ ."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '要查看统计数据的主域名名称。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'SubDomain',
+ 'in' => 'query',
+ 'schema' => ['description' => '要查看统计数据的子域名名称。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '请求量统计类型:'."\n"
+ .'- **ACCOUNT**:按照账户维度查看请求量统计;'."\n"
+ .'- **DOMAIN**:按照域名维度查看请求量统计;此时,DomainName必填'."\n"
+ .'- **SUB_DOMAIN**:按照子域名维度查看请求量统计;此时,DomainName和SubDomain必填', 'type' => 'string', 'required' => false, 'example' => 'ACCOUNT'],
+ ],
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询的开始时间,格式:**YYYY-MM-DD**。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录。', 'type' => 'string', 'required' => false, 'example' => '2024-06-14'],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询的结束时间,格式:**YYYY-MM-DD**。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'example' => '2024-07-01'],
],
],
'responses' => [
@@ -20852,217 +14216,27 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Ipv4IspCityNodes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Ipv4IspCityNode' => [
- 'description' => '公网IPv4监控节点列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '公网IPv4监控节点信息。',
- 'type' => 'object',
- 'properties' => [
- 'CountryCode' => [
- 'title' => '国家 Code',
- 'description' => '国家编码。',
- 'type' => 'string',
- 'example' => '001',
- ],
- 'CountryName' => [
- 'title' => '国家名称',
- 'description' => '国家名称。',
- 'type' => 'string',
- 'example' => '中国',
- ],
- 'CityCode' => [
- 'title' => '城市 Code',
- 'description' => '城市编码。',
- 'type' => 'string',
- 'example' => '503',
- ],
- 'CityName' => [
- 'title' => '城市名称',
- 'description' => '城市名称。',
- 'type' => 'string',
- 'example' => '张家口市',
- ],
- 'GroupType' => [
- 'title' => '监控探点分组类型',
- 'description' => '监控节点分组类型,当前支持:'."\n"
- ."\n"
- .'- BGP:BGP节点'."\n"
- ."\n"
- .'- OVERSEAS:国际节点'."\n"
- ."\n"
- .'- ISP:运营商节点',
- 'type' => 'string',
- 'example' => 'BGP',
- ],
- 'GroupName' => [
- 'title' => '监控探点分组类型名称',
- 'description' => '监控探点分组名称。',
- 'type' => 'string',
- 'example' => 'BGP节点',
- ],
- 'IspCode' => [
- 'title' => 'ISP Code',
- 'description' => '运营商编码。',
- 'type' => 'string',
- 'example' => '465',
- ],
- 'IspName' => [
- 'title' => 'ISP 名称',
- 'description' => '运营商名称。',
- 'type' => 'string',
- 'example' => '阿里巴巴',
- ],
- 'DefaultSelected' => [
- 'title' => '是否默认勾选',
- 'description' => '监控节点是否默认选中:'."\n"
- ."\n"
- .'- true:默认选中'."\n"
- ."\n"
- .'- false:默认不选中',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'NodeId' => [
- 'description' => '探测节点的唯一标识 ID。',
- 'type' => 'string',
- 'example' => 'node-ewze1bysndy4gf**j8',
- ],
- 'Ips' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Ip' => [
- 'description' => '节点IP列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '节点IP列表。',
- 'type' => 'string',
- 'example' => ' ['."\n"
- .' "47.92.XX.XX",'."\n"
- .' "47.92.XX.XX",'."\n"
- .' "39.98.XX.XX",'."\n"
- .' "39.100.XX.XX"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'Ipv6IspCityNodes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Ipv6IspCityNode' => [
- 'description' => '公网IPv6监控节点列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '公网Ipv6监控节点。'."\n"
- ."\n",
- 'type' => 'object',
- 'properties' => [
- 'CountryCode' => [
- 'title' => '国家 Code',
- 'description' => '国家编码。',
- 'type' => 'string',
- 'example' => '001',
- ],
- 'CountryName' => [
- 'title' => '国家名称',
- 'description' => '国家名称。',
- 'type' => 'string',
- 'example' => '中国',
- ],
- 'CityCode' => [
- 'title' => '城市 Code',
- 'description' => '城市编码。',
- 'type' => 'string',
- 'example' => '503',
- ],
- 'CityName' => [
- 'title' => '城市名称',
- 'description' => '城市名称。',
- 'type' => 'string',
- 'example' => '张家口市',
- ],
- 'GroupType' => [
- 'title' => '监控探点分组类型',
- 'description' => '监控节点分组类型,当前支持:'."\n"
- ."\n"
- .'- BGP:BGP节点'."\n"
- ."\n"
- .'- OVERSEAS:国际节点'."\n"
- ."\n"
- .'- ISP:运营商节点',
- 'type' => 'string',
- 'example' => 'BGP',
- ],
- 'GroupName' => [
- 'title' => '监控探点分组类型名称',
- 'description' => '监控探点分组名称。',
- 'type' => 'string',
- 'example' => 'BGP节点',
- ],
- 'IspCode' => [
- 'title' => 'ISP Code',
- 'description' => '运营商编码。',
- 'type' => 'string',
- 'example' => '465',
- ],
- 'IspName' => [
- 'title' => 'ISP 名称',
- 'description' => '运营商名称。',
- 'type' => 'string',
- 'example' => '阿里巴巴',
- ],
- 'DefaultSelected' => [
- 'title' => '是否默认勾选',
- 'description' => '监控节点是否默认选中:'."\n"
- ."\n"
- .'- true:默认选中'."\n"
- ."\n"
- .'- false:默认不选中',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'NodeId' => [
- 'description' => '探测节点的唯一标识 ID。',
- 'type' => 'string',
- 'example' => 'node-ewze1bysndy4gf**j8'."\n",
- ],
- 'Ips' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Ip' => [
- 'description' => '节点IP列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '节点IP列表。',
- 'type' => 'string',
- 'example' => ' ['."\n"
- .' "240e:e9:6002:15c:0:ff:b015:1**f",'."\n"
- .' "240e:e9:6002:15a:0:ff:b05c:1**8"'."\n"
- .' ]'."\n",
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Data' => [
+ 'description' => '请求量数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '请求量数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'V6HttpCount' => ['description' => 'IPv6 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'V6HttpsCount' => ['description' => 'IPv6 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'Timestamp' => ['description' => '统计时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1706716800000'],
+ 'TotalCount' => ['description' => '请求总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'V4HttpCount' => ['description' => 'IPv4 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'V4HttpsCount' => ['description' => 'IPv4 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'V4Count' => ['description' => 'IPv4请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'V6Count' => ['description' => 'IPv6请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HttpCount' => ['description' => 'HTTP请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HttpsCount' => ['description' => 'HTTPS请求量。但在公共DNS控制台流量分析页签中,此参数版包含了DoH的请求量,所以DoH的请求量没有在控制台单独展示。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'DohTotalCount' => ['description' => 'Doh总请求量,包含了HTTP和HTTPS请求总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UdpTotalCount' => ['description' => 'Udp总请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5000'],
+ 'IpCount' => ['description' => '源IP地址数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
],
@@ -21070,108 +14244,33 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Ipv4IspCityNodes\\": {\\n \\"Ipv4IspCityNode\\": [\\n {\\n \\"CountryCode\\": \\"001\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityCode\\": \\"503\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"DefaultSelected\\": true,\\n \\"NodeId\\": \\"node-ewze1bysndy4gf**j8\\",\\n \\"Ips\\": {\\n \\"Ip\\": [\\n \\" [\\\\n \\\\\\"47.92.XX.XX\\\\\\",\\\\n \\\\\\"47.92.XX.XX\\\\\\",\\\\n \\\\\\"39.98.XX.XX\\\\\\",\\\\n \\\\\\"39.100.XX.XX\\\\\\"\\\\n ]\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"Ipv6IspCityNodes\\": {\\n \\"Ipv6IspCityNode\\": [\\n {\\n \\"CountryCode\\": \\"001\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityCode\\": \\"503\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"DefaultSelected\\": true,\\n \\"NodeId\\": \\"node-ewze1bysndy4gf**j8\\\\n\\",\\n \\"Ips\\": {\\n \\"Ip\\": [\\n \\" [\\\\n \\\\\\"240e:e9:6002:15c:0:ff:b015:1**f\\\\\\",\\\\n \\\\\\"240e:e9:6002:15a:0:ff:b05c:1**8\\\\\\"\\\\n ]\\\\n\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取健康检查探点列表',
- 'summary' => '根据传入参数获取健康探测检查探点列表。',
- ],
- 'DescribeCloudGtmSystemLines' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'title' => '查询公共DNS请求量统计数据',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsRequestStatistic'],
],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
- 'parameters' => [],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemLines' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'SystemLine' => [
- 'description' => '系统线路列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '系统线路信息。',
- 'type' => 'object',
- 'properties' => [
- 'Code' => [
- 'description' => '线路code。',
- 'type' => 'string',
- 'example' => 'aliyun_r_ap-south-1',
- ],
- 'ParentCode' => [
- 'description' => '线路父级code。',
- 'type' => 'string',
- 'example' => 'String aliyun',
- ],
- 'IsAvailable' => [
- 'description' => '线路是否可以作为解析请求来源被选中:'."\n"
- ."\n"
- .'- true:可被选中;'."\n"
- ."\n"
- .'- false:不可被选中;',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DisplayName' => [
- 'description' => '线路展示名称。',
- 'type' => 'string',
- 'example' => '华北_河北',
- ],
- 'Name' => [
- 'description' => '线路名称。',
- 'type' => 'string',
- 'example' => '河北',
- ],
- ],
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA',
- ],
- 'SystemLinesTree' => [
- 'description' => '系统线路树状结构数据,线路很多,此处不一一列举。',
- 'type' => 'string',
- 'example' => '"SystemLinesTree":"[{\\"displayName\\":\\"默认\\",\\"id\\":\\"default\\",\\"isAvailable\\":true,\\"name\\":\\"默认\\",\\"parentId\\":\\"\\"}',
- ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsRequestStatistic',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SystemLines\\": {\\n \\"SystemLine\\": [\\n {\\n \\"Code\\": \\"aliyun_r_ap-south-1\\",\\n \\"ParentCode\\": \\"String\\\\taliyun\\",\\n \\"IsAvailable\\": true,\\n \\"DisplayName\\": \\"华北_河北\\",\\n \\"Name\\": \\"河北\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\",\\n \\"SystemLinesTree\\": \\"\\\\\\"SystemLinesTree\\\\\\":\\\\\\"[{\\\\\\\\\\\\\\"displayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"默认\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"isAvailable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"默认\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"}\\"\\n}","type":"json"}]',
- 'title' => '查询GTM支持的系统线路',
- 'summary' => '查询GTM支持的系统线路',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Data\\": [\\n {\\n \\"V6HttpCount\\": 0,\\n \\"V6HttpsCount\\": 0,\\n \\"Timestamp\\": 1706716800000,\\n \\"TotalCount\\": 0,\\n \\"V4HttpCount\\": 0,\\n \\"V4HttpsCount\\": 0,\\n \\"V4Count\\": 0,\\n \\"V6Count\\": 0,\\n \\"HttpCount\\": 0,\\n \\"HttpsCount\\": 0,\\n \\"DohTotalCount\\": 0,\\n \\"UdpTotalCount\\": 5000,\\n \\"IpCount\\": 10\\n }\\n ]\\n}","type":"json"}]',
],
- 'ListCloudGtmAlertLogs' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribePdnsRequestStatistics' => [
+ 'summary' => '查询指定子域名请求量的统计数据。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21180,111 +14279,63 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '16787',
+ 'abilityTreeNodes' => ['FEATUREdns5Q9UHE'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回信息的语言类型:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ ."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ActionType',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'title' => '地址名称',
- 'description' => '告警类型:'."\n"
- ."\n"
- .'- ALERT:告警'."\n"
- ."\n"
- .'- RESUME:恢复',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ALERT',
- ],
+ 'schema' => ['description' => '需要查询的主域名名称。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
[
- 'name' => 'EntityType',
+ 'name' => 'SubDomain',
'in' => 'query',
- 'schema' => [
- 'title' => '地址类型',
- 'description' => '告警对象:'."\n"
- ."\n"
- .'- GTM_ADDRESS:地址'."\n"
- ."\n"
- .'- GTM_ADDRESS_POOL:地址池'."\n"
- ."\n"
- .'- GTM_INSTANCE:实例'."\n"
- ."\n"
- .'- GTM_MONITOR_TEMPLATE:健康探测模板',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'GTM_ADDRESS',
- ],
+ 'schema' => ['description' => '要查看统计数据的子域名名称。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'],
],
[
- 'name' => 'Keyword',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'title' => '地址',
- 'description' => '搜索关键词,一般为地址 ID、地址池 ID、域名信息等。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool-895280232254422016',
- ],
+ 'schema' => ['description' => '查询请求量统计类型:'."\n"
+ ."\n"
+ .'- DOMAIN:按照域名维度查看请求量统计;'."\n"
+ ."\n"
+ .'- SUB_DOMAIN:按照子域名维度查看请求量统计;', 'type' => 'string', 'required' => false, 'example' => 'DOMAIN'],
],
[
- 'name' => 'StartTimestamp',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1611328826977',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录。', 'type' => 'string', 'required' => false, 'example' => '2024-06-14'],
],
[
- 'name' => 'EndTimestamp',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1711328826977',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式:YYYY-MM-DD。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'example' => '2024-07-14'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'],
],
],
'responses' => [
@@ -21292,82 +14343,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '告警日志总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- ],
- 'Logs' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Log' => [
- 'description' => '告警日志列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '告警日志信息。',
- 'type' => 'object',
- 'properties' => [
- 'ActionType' => [
- 'title' => '地址 ID',
- 'description' => '告警类型:'."\n"
- ."\n"
- .'- ALERT:告警'."\n"
- ."\n"
- .'- RESUME:恢复',
- 'type' => 'string',
- 'example' => 'ALERT',
- ],
- 'EntityType' => [
- 'title' => '创建时间',
- 'description' => '告警对象:'."\n"
- ."\n"
- .'- GTM_ADDRESS:地址'."\n"
- ."\n"
- .'- GTM_ADDRESS_POOL:地址池'."\n"
- ."\n"
- .'- GTM_INSTANCE:实例'."\n"
- ."\n"
- .'- GTM_MONITOR_TEMPLATE:健康探测模板',
- 'type' => 'string',
- 'example' => 'GTM_ADDRESS',
- ],
- 'Content' => [
- 'title' => '修改时间',
- 'description' => '告警内容。',
- 'type' => 'string',
- 'example' => '"Pool name:华东\\nType:IPv4\\nReason: Normal health determination\\nNumber of addresses in the pool : 2\\nAbnormal address: --\\nDetermination conditions : Any address in the addresspool is available address\\nAffected domain names: www.cloud-example.com"',
- ],
- 'Timestamp' => [
- 'description' => '告警日志时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1711328826977',
+ 'TotalCount' => ['description' => '获取的总列表数。', 'type' => 'integer', 'format' => 'int64', 'example' => '49'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Data' => [
+ 'description' => '请求量数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '请求量数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'SubDomain' => ['description' => '子域名名称。', 'type' => 'string', 'example' => 'www.example.com'],
+ 'V6HttpCount' => ['description' => 'IPv6 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'V6HttpsCount' => ['description' => 'IPv6 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'TotalCount' => ['description' => '请求总量', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
+ 'V4HttpCount' => ['description' => 'IPv4 HTTP 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'V4HttpsCount' => ['description' => 'IPv4 HTTPS 请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'V4Count' => ['description' => 'IPv4请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'V6Count' => ['description' => 'IPv6请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HttpCount' => ['description' => 'HTTP请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'HttpsCount' => ['description' => 'HTTPS请求量。但在公共DNS控制台流量分析页签中,此参数版包含了DoH的请求量,所以DoH的请求量没有在控制台单独展示。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'DohTotalCount' => ['description' => 'Doh总请求量。Doh总请求量,包含了HTTP和HTTPS请求总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'UdpTotalCount' => ['description' => 'Udp总请求量。', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
+ 'IpCount' => ['description' => '源IP地址数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'ThreatCount' => ['description' => '当前版本暂不支持此参数。', 'type' => 'integer', 'format' => 'int64', 'example' => '-'],
+ 'MaxThreatLevel' => ['description' => '当前版本暂不支持此参数。', 'type' => 'string', 'example' => '-'],
+ 'ThreatInfo' => [
+ 'description' => '当前版本暂不支持此参数。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前版本暂不支持此参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ThreatType' => ['description' => '当前版本暂不支持此参数。', 'type' => 'string', 'example' => '-'],
+ 'ThreatLevel' => ['description' => '当前版本暂不支持此参数。', 'type' => 'string', 'example' => '-'],
],
],
],
@@ -21378,19 +14390,33 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 15,\\n \\"Logs\\": {\\n \\"Log\\": [\\n {\\n \\"ActionType\\": \\"ALERT\\",\\n \\"EntityType\\": \\"GTM_ADDRESS\\",\\n \\"Content\\": \\"\\\\\\"Pool name:华东\\\\\\\\nType:IPv4\\\\\\\\nReason: Normal health determination\\\\\\\\nNumber of addresses in the pool : 2\\\\\\\\nAbnormal address: --\\\\\\\\nDetermination conditions : Any address in the addresspool is available address\\\\\\\\nAffected domain names: www.cloud-example.com\\\\\\"\\",\\n \\"Timestamp\\": 1711328826977\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取告警日志列表',
- 'summary' => '获取告警日志列表',
- ],
- 'DescribeCloudGtmInstanceConfigAlert' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询公共DNS请求量统计数据列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsRequestStatistics'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsRequestStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 49,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"Data\\": [\\n {\\n \\"DomainName\\": \\"example.com\\",\\n \\"SubDomain\\": \\"www.example.com\\",\\n \\"V6HttpCount\\": 0,\\n \\"V6HttpsCount\\": 0,\\n \\"TotalCount\\": 500,\\n \\"V4HttpCount\\": 0,\\n \\"V4HttpsCount\\": 0,\\n \\"V4Count\\": 0,\\n \\"V6Count\\": 0,\\n \\"HttpCount\\": 0,\\n \\"HttpsCount\\": 0,\\n \\"DohTotalCount\\": 0,\\n \\"UdpTotalCount\\": 500,\\n \\"IpCount\\": 10,\\n \\"ThreatCount\\": 0,\\n \\"MaxThreatLevel\\": \\"-\\",\\n \\"ThreatInfo\\": [\\n {\\n \\"ThreatType\\": \\"-\\",\\n \\"ThreatLevel\\": \\"-\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribePdnsThreatLogs' => [
+ 'summary' => '获取公共DNS 威胁日志列表',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21398,53 +14424,52 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值: '."\n"
- .' '."\n"
- .'- **zh-CN**:中文。'."\n"
- ."\n"
- .'- **en-US**:英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'ThreatType',
'in' => 'query',
- 'schema' => [
- 'description' => '用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符,且该参数值中不能包含非ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'ThreatLevel',
'in' => 'query',
- 'schema' => [
- 'description' => '全局流量管理3.0实例id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'ConfigId',
+ 'name' => 'ThreatSourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '域名实例配置id,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Config-000**11',
- ],
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'Keyword',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'StartDate',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
'responses' => [
@@ -21452,103 +14477,20 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '0F32959D-417B-4D66-8463-68606605E3E2',
- ],
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '全局流量管理3.0实例id。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
- 'ConfigId' => [
- 'title' => '实例id',
- 'description' => '域名实例配置id,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。',
- 'type' => 'string',
- 'example' => 'Config-000**11'."\n",
- ],
- 'AlertMode' => [
- 'title' => '备注',
- 'description' => '实例告警配置模式:'."\n"
- ."\n"
- .'- global:继承全局报警配置,即实例采用全局告警配置'."\n"
- ."\n"
- .'- instance_config:自定义报警配置',
- 'type' => 'string',
- 'example' => 'global',
- ],
- 'AlertGroup' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AlertGroup' => [
- 'description' => '告警通知组列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '告警通知组。',
- 'type' => 'string',
- 'example' => '[\\"云账号报警联系人\\"]',
- ],
- ],
- ],
- ],
- 'AlertConfig' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AlertConfig' => [
- 'description' => '报警配置列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '报警规则配置信息。',
- 'type' => 'object',
- 'properties' => [
- 'NoticeType' => [
- 'description' => '报警事件类型:'."\n"
- ."\n"
- .'- addr_alert:地址不可用'."\n"
- ."\n"
- .'- addr_resume:地址恢复可用'."\n"
- ."\n"
- .'- addr_pool_unavailable:地址池不可用'."\n"
- ."\n"
- .'- addr_pool_available:地址池恢复可用',
- 'type' => 'string',
- 'example' => 'addr_alert',
- ],
- 'SmsNotice' => [
- 'description' => '是否配置短信报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送短信通知'."\n"
- ."\n"
- .'- false:未配置'."\n"
- ."\n"
- .'仅中国站支持短信通知,国际站不支持短信通知。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EmailNotice' => [
- 'description' => '是否配置邮件报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送邮件通知'."\n"
- ."\n"
- .'- false:未配置',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DingtalkNotice' => [
- 'description' => '是否配置钉钉报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送钉钉通知'."\n"
- ."\n"
- .'- false:未配置',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int64'],
+ 'RequestId' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int64'],
+ 'Logs' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ThreatTime' => ['type' => 'string'],
+ 'ThreatType' => ['type' => 'string'],
+ 'ThreatLevel' => ['type' => 'string'],
+ 'SourceIp' => ['type' => 'string'],
+ 'SubDomain' => ['type' => 'string'],
],
],
],
@@ -21556,144 +14498,59 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"ConfigId\\": \\"Config-000**11\\\\n\\",\\n \\"AlertMode\\": \\"global\\",\\n \\"AlertGroup\\": {\\n \\"AlertGroup\\": [\\n \\"[\\\\\\\\\\\\\\"云账号报警联系人\\\\\\\\\\\\\\"]\\"\\n ]\\n },\\n \\"AlertConfig\\": {\\n \\"AlertConfig\\": [\\n {\\n \\"NoticeType\\": \\"addr_alert\\",\\n \\"SmsNotice\\": true,\\n \\"EmailNotice\\": true,\\n \\"DingtalkNotice\\": true\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取实例配置的告警配置',
- 'summary' => '获取实例配置的告警配置',
- ],
- 'UpdateCloudGtmGlobalAlert' => [
- 'summary' => '更新全局流量管理告警设置',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsThreatLogs'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsThreatLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 0,\\n \\"PageSize\\": 0,\\n \\"RequestId\\": \\"\\",\\n \\"PageNumber\\": 0,\\n \\"Logs\\": [\\n {\\n \\"ThreatTime\\": \\"\\",\\n \\"ThreatType\\": \\"\\",\\n \\"ThreatLevel\\": \\"\\",\\n \\"SourceIp\\": \\"\\",\\n \\"SubDomain\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribePdnsThreatStatistic' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns6GP3X5',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果显示的语言。取值:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'ThreatSourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22'."\n",
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'AlertGroup',
+ 'name' => 'StartDate',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '告警通知组列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '告警通知组信息,读取云监控产品下的告警通知组配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"云账号报警联系人\\"]',
- ],
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'AlertConfig',
+ 'name' => 'EndDate',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '报警配置列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '报警配置。',
- 'type' => 'object',
- 'properties' => [
- 'NoticeType' => [
- 'description' => '报警事件类型:'."\n"
- ."\n"
- .'- addr_alert:地址不可用'."\n"
- ."\n"
- .'- addr_resume:地址恢复可用'."\n"
- ."\n"
- .'- addr_pool_unavailable:地址池不可用'."\n"
- ."\n"
- .'- addr_pool_available:地址池恢复可用',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'addr_alert',
- ],
- 'SmsNotice' => [
- 'description' => '是否配置短信报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送短信通知'."\n"
- .'- false|null:未配置'."\n"
- ."\n"
- .'仅中国站支持短信通知,国际站不支持短信通知。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'EmailNotice' => [
- 'description' => '是否配置邮件报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送邮件通知'."\n"
- ."\n"
- .'- false|null:未配置',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'DingtalkNotice' => [
- 'description' => '是否配置钉钉报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送钉钉通知'."\n"
- .'- false:未配置',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
- 'Threshold' => [
- 'title' => '阈值,仅突增突降类指标支持',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '50',
- 'example' => '100',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -21701,36 +14558,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
- ],
- 'Success' => [
- 'description' => '本次修改全局告警配置操作是否成功:'."\n"
- .'- true:成功'."\n"
- .'- false:失败',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'RequestId' => ['type' => 'string'],
+ 'Data' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'Timestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'ThreatType' => ['type' => 'string'],
+ 'ThreatLevel' => ['type' => 'string'],
+ 'DohTotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'UdpTotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '修改全局告警配置',
- ],
- 'DescribeCloudGtmGlobalAlert' => [
- 'summary' => '查询全局流量管理告警配置',
- 'methods' => [
- 'post',
- 'get',
+ 'summary' => '获取公共DNS 威胁统计',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsThreatStatistic'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsThreatStatistic',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\",\\n \\"Data\\": [\\n {\\n \\"TotalCount\\": 0,\\n \\"Timestamp\\": 0,\\n \\"ThreatType\\": \\"\\",\\n \\"ThreatLevel\\": \\"\\",\\n \\"DohTotalCount\\": 0,\\n \\"UdpTotalCount\\": 0\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribePdnsThreatStatistics' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21738,294 +14610,72 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns6GP3X5',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回信息的语言类型:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- ."\n"
- .'- en-US:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22',
- ],
+ 'schema' => ['type' => 'string'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195',
- ],
- 'AlertGroup' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AlertGroup' => [
- 'description' => '告警通知组列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '告警通知组。',
- 'type' => 'string',
- 'example' => '[\\"云账号报警联系人\\"]',
- ],
- ],
- ],
- ],
- 'AlertConfig' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AlertConfig' => [
- 'description' => '报警配置列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '报警规则配置信息。',
- 'type' => 'object',
- 'properties' => [
- 'NoticeType' => [
- 'description' => '报警事件类型:'."\n"
- ."\n"
- .'- addr_alert:地址不可用'."\n"
- ."\n"
- .'- addr_resume:地址恢复可用'."\n"
- ."\n"
- .'- addr_pool_unavailable:地址池不可用'."\n"
- ."\n"
- .'- addr_pool_available:地址池恢复可用',
- 'type' => 'string',
- 'example' => 'addr_alert',
- ],
- 'SmsNotice' => [
- 'description' => '是否配置短信报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送短信通知'."\n"
- ."\n"
- .'- false:未配置'."\n"
- ."\n"
- .'仅中国站支持短信通知,国际站不支持短信通知。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EmailNotice' => [
- 'description' => '是否配置邮件报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送邮件通知'."\n"
- ."\n"
- .'- false:未配置',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DingtalkNotice' => [
- 'description' => '是否配置钉钉报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送钉钉通知'."\n"
- ."\n"
- .'- false:未配置',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Threshold' => [
- 'title' => '阈值,仅突增突降类指标支持',
- 'description' => '阈值,仅突增突降类指标支持',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- 'default' => '50',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'name' => 'SubDomain',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"AlertGroup\\": {\\n \\"AlertGroup\\": [\\n \\"[\\\\\\\\\\\\\\"云账号报警联系人\\\\\\\\\\\\\\"]\\"\\n ]\\n },\\n \\"AlertConfig\\": {\\n \\"AlertConfig\\": [\\n {\\n \\"NoticeType\\": \\"addr_alert\\",\\n \\"SmsNotice\\": true,\\n \\"EmailNotice\\": true,\\n \\"DingtalkNotice\\": false,\\n \\"Threshold\\": 50\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取全局告警配置',
- ],
- 'UpdateCloudGtmInstanceConfigAlert' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'ThreatType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
- 'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'ThreatLevel',
'in' => 'query',
- 'schema' => [
- 'description' => '返回信息的语言类型:'."\n"
- ."\n"
- .'- zh-CN:中文'."\n"
- .'- en-US:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'OrderBy',
'in' => 'query',
- 'schema' => [
- 'description' => '全局流量管理3.0实例id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-zz11t58**0s',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'ConfigId',
+ 'name' => 'Direction',
'in' => 'query',
- 'schema' => [
- 'description' => '域名实例配置id,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Config-000**11',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'AlertMode',
+ 'name' => 'ThreatSourceIp',
'in' => 'query',
- 'schema' => [
- 'description' => '实例告警配置模式:'."\n"
- ."\n"
- .'- global:继承全局报警配置,即实例采用全局告警配置'."\n"
- ."\n"
- .'- instance_config:自定义报警配置',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'global',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'AlertGroup',
+ 'name' => 'StartDate',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '告警通知组列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '告警通知组信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"云账号报警联系人\\"]',
- ],
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'AlertConfig',
+ 'name' => 'EndDate',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '报警配置列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '报警规则配置信息。',
- 'type' => 'object',
- 'properties' => [
- 'NoticeType' => [
- 'description' => '报警事件类型:'."\n"
- ."\n"
- .'- addr_alert:地址不可用'."\n"
- ."\n"
- .'- addr_resume:地址恢复可用'."\n"
- ."\n"
- .'- addr_pool_unavailable:地址池不可用'."\n"
- ."\n"
- .'- addr_pool_available:地址池恢复可用',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'addr_alert',
- ],
- 'SmsNotice' => [
- 'description' => '是否配置短信报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送短信通知'."\n"
- ."\n"
- .'- false:未配置'."\n"
- ."\n"
- .'仅中国站支持短信通知,国际站不支持短信通知。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'EmailNotice' => [
- 'description' => '是否配置邮件报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送邮件通知'."\n"
- ."\n"
- .'- false:未配置',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'DingtalkNotice' => [
- 'description' => '是否配置钉钉报警通知:'."\n"
- ."\n"
- .'- true:已配置,当报警事情发生时,会发送钉钉通知'."\n"
- ."\n"
- .'- false:未配置',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
'responses' => [
@@ -22033,34 +14683,60 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功:'."\n"
- .'- **true**:调用成功。'."\n"
- .'- **false**:调用失败。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int64'],
+ 'RequestId' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int64'],
+ 'Data' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['type' => 'string'],
+ 'SubDomain' => ['type' => 'string'],
+ 'LatestThreatTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'DohTotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'UdpTotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'MaxThreatLevel' => ['type' => 'string'],
+ 'DomainCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'SourceIp' => ['type' => 'string'],
+ 'ThreatType' => ['type' => 'string'],
+ 'ThreatLevel' => ['type' => 'string'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '更新实例的告警配置',
- ],
- 'ListCloudGtmAvailableAlertGroups' => [
- 'methods' => [
- 'post',
- 'get',
+ 'summary' => '获取公共DNS 威胁统计列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsThreatStatistics'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsThreatStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 0,\\n \\"PageSize\\": 0,\\n \\"RequestId\\": \\"\\",\\n \\"PageNumber\\": 0,\\n \\"Data\\": [\\n {\\n \\"DomainName\\": \\"\\",\\n \\"SubDomain\\": \\"\\",\\n \\"LatestThreatTime\\": 0,\\n \\"TotalCount\\": 0,\\n \\"DohTotalCount\\": 0,\\n \\"UdpTotalCount\\": 0,\\n \\"MaxThreatLevel\\": \\"\\",\\n \\"DomainCount\\": 0,\\n \\"SourceIp\\": \\"\\",\\n \\"ThreatType\\": \\"\\",\\n \\"ThreatLevel\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribePdnsUdpIpSegments' => [
+ 'summary' => '获取公共DNS Udp IP段列表',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22068,23 +14744,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'AcceptLanguage',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'- **zh-CN**:中文'."\n"
- ."\n"
- .'- **en-US**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en-US',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
'responses' => [
@@ -22092,31 +14767,25 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'AlertGroups' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AlertGroup' => [
- 'description' => '报警通知组列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '报警通知组。',
- 'type' => 'object',
- 'properties' => [
- 'GroupName' => [
- 'title' => '地址 ID',
- 'description' => '报警通知组名称。',
- 'type' => 'string',
- 'example' => '云账号报警联系人',
- ],
- ],
- ],
+ 'TotalPages' => ['type' => 'string'],
+ 'TotalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'PageSize' => ['type' => 'integer', 'format' => 'int64'],
+ 'RequestId' => ['type' => 'string'],
+ 'PageNumber' => ['type' => 'integer', 'format' => 'int64'],
+ 'IpSegments' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'Ip' => ['type' => 'string'],
+ 'Mask' => ['type' => 'integer', 'format' => 'int64'],
+ 'State' => ['type' => 'string'],
+ 'SecretKey' => ['type' => 'string'],
+ 'CreateDate' => ['type' => 'string'],
+ 'UpdateDate' => ['type' => 'string'],
+ 'CreateTimestamp' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -22124,62 +14793,51 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"AlertGroups\\": {\\n \\"AlertGroup\\": [\\n {\\n \\"GroupName\\": \\"云账号报警联系人\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '获取用户可用的告警组列表',
- ],
- 'SetGtmAccessMode' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsUdpIpSegments'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsUdpIpSegments',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalPages\\": \\"\\",\\n \\"TotalCount\\": 0,\\n \\"PageSize\\": 0,\\n \\"RequestId\\": \\"\\",\\n \\"PageNumber\\": 0,\\n \\"IpSegments\\": [\\n {\\n \\"Id\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Ip\\": \\"\\",\\n \\"Mask\\": 0,\\n \\"State\\": \\"\\",\\n \\"SecretKey\\": \\"\\",\\n \\"CreateDate\\": \\"\\",\\n \\"UpdateDate\\": \\"\\",\\n \\"CreateTimestamp\\": 0\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribePdnsUserInfo' => [
+ 'summary' => '获取公共DNS用户信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '16827',
+ 'abilityTreeNodes' => ['FEATUREdns6E2Y22'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'StrategyId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '访问策略ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'hra0hx',
- ],
- ],
- [
- 'name' => 'AccessMode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '目标访问策略。取值:'."\n"
- .'- **AUTO**: 自动切换'."\n"
- .'- **DEFAULT**:主地址池集合'."\n"
- .'- **FAILOVER**: 备地址池集合',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'AUTO',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
],
'responses' => [
@@ -22187,225 +14845,108 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
+ 'RequestId' => ['description' => '唯一请求识别码', 'type' => 'string', 'example' => 'FD552816-FCC8-4832-B4A2-2DA0C2BA1688'],
+ 'UserInfo' => [
+ 'description' => '用户信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'PdnsId' => ['description' => '公网递归专属配置ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1***1'],
+ 'State' => ['description' => '公网递归服务状态', 'type' => 'string', 'example' => 'AVAILABLE'],
+ 'ServiceType' => ['description' => '公网递归服务类型', 'type' => 'string', 'example' => 'normal'],
+ 'StoppedService' => ['description' => '关闭的公网递归服务', 'type' => 'string'],
+ 'AvailableService' => ['description' => '启用的公网递归服务', 'type' => 'string', 'example' => 'HTTP,HTTPS'],
+ 'StatisticSwitchStatus' => ['description' => '公网递归流量分析开关状态', 'type' => 'string', 'example' => 'CLOSED'],
+ 'SecretKey' => ['description' => 'UDP接入IP地址段配置SecretKey', 'type' => 'string', 'example' => '1c09*******'],
+ 'AvailableAccessSecurityType' => ['description' => '启用的安全接入类型,INSECURE指非加密接入,SECURE指安全加密接入。', 'type' => 'string', 'example' => 'SECURE'],
+ ],
],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<SetGtmAccessModeResponse>\\r\\n<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n</SetGtmAccessModeResponse>","errorExample":""}]',
- 'title' => '修改生效地址池切换策略(旧版)',
- 'summary' => '根据传入参数修改生效地址池切换策略。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'UpdateDnsGtmInstanceGlobalConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取公共DNS用户信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsUserInfo'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsUserInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD552816-FCC8-4832-B4A2-2DA0C2BA1688\\",\\n \\"UserInfo\\": {\\n \\"PdnsId\\": 0,\\n \\"State\\": \\"AVAILABLE\\",\\n \\"ServiceType\\": \\"normal\\",\\n \\"StoppedService\\": \\"\\",\\n \\"AvailableService\\": \\"HTTP,HTTPS\\",\\n \\"StatisticSwitchStatus\\": \\"CLOSED\\",\\n \\"SecretKey\\": \\"1c09*******\\",\\n \\"AvailableAccessSecurityType\\": \\"SECURE\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeRecordLogs' => [
+ 'summary' => '根据传入参数获取域名的解析操作日志。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsI154TB'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'GTM实例ID。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
- ],
- [
- 'name' => 'InstanceName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '实例名称:首次更新必填,再次更新则非必填。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test-1',
- ],
- ],
- [
- 'name' => 'Ttl',
- 'in' => 'query',
- 'schema' => [
- 'description' => '全局TTL。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '9999999',
- 'minimum' => '1',
- 'example' => '60',
- ],
- ],
- [
- 'name' => 'PublicCnameMode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '公网域名接入方式:'."\n"
- ."\n"
- .'- SYSTEM_ASSIGN:系统分配(此选项功能关闭)'."\n"
- .'- CUSTOM:自定义',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CUSTOM',
- ],
- ],
- [
- 'name' => 'PublicUserDomainName',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '业务域名(公网)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.1'],
],
[
- 'name' => 'PublicZoneName',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => 'CNAME接入域名(公网):主域名,且当为自定义接入时为必填。'."\n"
- ."\n"
- .'> 此处应填入主域名,不包含PublicRr参数内容'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'AlertGroup',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '报警组(List<String>的JSON格式)。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '["test1","test2"]',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'CnameType',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => 'CNAME接入域名类型:'."\n"
- ."\n"
- .'- PUBLIC: 公网型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PUBLIC',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
[
- 'name' => 'AlertConfig',
+ 'name' => 'KeyWord',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '报警配置列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SmsNotice' => [
- 'description' => '是否配置短信通知:'."\n"
- ."\n"
- .'- true:已配置'."\n"
- .'- false|null : 未配置',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'NoticeType' => [
- 'description' => '报警事件类型:'."\n"
- ."\n"
- .'- ADDR_ALERT:地址不可用'."\n"
- .'- ADDR_RESUME:地址恢复可用'."\n"
- .'- ADDR_POOL_GROUP_UNAVAILABLE:地址池集合不可用'."\n"
- .'- ADDR_POOL_GROUP_AVAILABLE:地址池集合恢复可用'."\n"
- .'- ACCESS_STRATEGY_POOL_GROUP_SWITCH:主备地址池切换'."\n"
- .'- MONITOR_NODE_IP_CHANGE:监控节点IP地址变更',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ADDR_ALERT',
- ],
- 'EmailNotice' => [
- 'description' => '是否配置邮件通知:'."\n"
- ."\n"
- .'- true:已配置'."\n"
- .'- false|null : 未配置',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'DingtalkNotice' => [
- 'description' => '是否需要钉钉报警:'."\n"
- ."\n"
- .'- true-需要'."\n"
- .'- false-不需要',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => '关键字,按照“%KeyWord%”模式搜索,不区分大小写。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'PublicRr',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => 'CNAME接入域名(公网):主机名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test.rr',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式:**YYYY-MM-DD**。', 'type' => 'string', 'required' => false, 'example' => '2015-12-12'],
],
[
- 'name' => 'ForceUpdate',
+ 'name' => 'endDate',
'in' => 'query',
- 'schema' => [
- 'description' => '是否强制更新。'."\n"
- ."\n"
- .'- true-强制更新,不进行冲突提示。'."\n"
- .'- false|null-不强制更新,若遇冲突则提示。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式:**YYYY-MM-DD**。', 'type' => 'string', 'required' => false, 'example' => '2015-12-12'],
],
],
'responses' => [
@@ -22413,175 +14954,195 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF559**',
+ 'TotalCount' => ['description' => '日志列表总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'PageSize' => ['description' => '本次查询获取的日志数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'RecordLogs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RecordLog' => [
+ 'description' => '域名操作日志列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Action' => ['description' => '操作行为', 'type' => 'string', 'example' => '暂停解析记录'],
+ 'ActionTimestamp' => ['description' => '操作时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '134514540000'],
+ 'ClientIp' => ['description' => '操作者IP', 'type' => 'string', 'example' => '192.0.2.1'],
+ 'Message' => ['description' => '操作消息', 'type' => 'string', 'example' => 'MX记录 mail 默认 xxxx.top. ( TTL: 600)'],
+ 'ActionTime' => ['description' => '操作时间', 'type' => 'string', 'example' => '2015-12-12T09:23Z'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'DnsGtmInstance.PublicRrDuplicate.OtherUserInstance',
- 'errorMessage' => ' ',
- ],
- [
- 'errorCode' => 'GtmInstance.CnameModeDeny',
- 'errorMessage' => ' ',
- ],
- [
- 'errorCode' => 'DnsGtmInstance.CnameModeDeny',
- 'errorMessage' => ' ',
- ],
- [
- 'errorCode' => 'DnsGtmSystemBusyness',
- 'errorMessage' => ' ',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF559**\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>","errorExample":""}]',
- 'title' => '修改GTM实例全局配置',
- 'summary' => '通过GTM实例ID修改实例配置。',
+ 'title' => '获取解析记录操作日志',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateGtmInstanceGlobalConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecordLogs'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeRecordLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"RecordLogs\\": {\\n \\"RecordLog\\": [\\n {\\n \\"Action\\": \\"暂停解析记录\\",\\n \\"ActionTimestamp\\": 134514540000,\\n \\"ClientIp\\": \\"192.0.2.1\\",\\n \\"Message\\": \\"MX记录 mail 默认 xxxx.top. ( TTL: 600)\\",\\n \\"ActionTime\\": \\"2015-12-12T09:23Z\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeRecordLogsResponse>\\n <TotalCount>2</TotalCount>\\n <PageSize>2</PageSize>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <PageNumber>1</PageNumber>\\n <RecordLogs>\\n <Action>暂停解析记录</Action>\\n <ActionTimestamp>134514540000</ActionTimestamp>\\n <ClientIp>192.0.2.0</ClientIp>\\n <Message>MX记录 mail 默认 xxxx.top. ( TTL: 600)</Message>\\n <ActionTime>2015-12-12T09:23Z</ActionTime>\\n </RecordLogs>\\n</DescribeRecordLogsResponse>","errorExample":""}]',
+ ],
+ 'DescribeRecordResolveStatisticsSummary' => [
+ 'summary' => '查询指定域名下的全部子域名的请求量统计。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsQIXAM1'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['title' => '可选参数,传递具体域名时查询该域名下各子域名的解析量, 不传递时查询用户账号下所有付费域名的解析量列表', 'description' => '域名名称。', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'DomainType',
'in' => 'query',
- 'schema' => [
- 'description' => 'GTM实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-cs02xyk4a**',
- ],
+ 'schema' => ['title' => '指定域名时需要传递'."\n"
+ .'域名类型,大小写不敏感。取值: '."\n"
+ ."\n"
+ .'权威域名(默认): PUBLIC'."\n"
+ .'缓存加速域名: CACHE', 'description' => '域名类型,大小写不敏感。取值:'."\n"
+ ."\n"
+ .'- PUBLIC:权威托管域名(默认值)'."\n"
+ ."\n"
+ .'- CACHE:权威代理域名', 'type' => 'string', 'required' => false, 'example' => 'PUBLIC'],
],
[
- 'name' => 'InstanceName',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '实例名称。'."\n"
- ."\n"
- .'> 首次更新必填,再次更新则非必填。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试实例',
- ],
+ 'schema' => ['title' => '关键字,与SearchMode配合使用', 'description' => '关键字,与SearchMode配合使用。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'Ttl',
+ 'name' => 'SearchMode',
'in' => 'query',
- 'schema' => [
- 'description' => '全局TTL。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['title' => '关键词的搜索模式。取值:'."\n"
+ ."\n"
+ .'模糊搜索(默认): LIKE'."\n"
+ .'精确搜索: EXACT', 'description' => '关键词的搜索模式。取值:'."\n"
+ ."\n"
+ .'- 模糊搜索(默认):LIKE'."\n"
+ ."\n"
+ .'- 精确搜索:EXACT', 'type' => 'string', 'required' => false, 'example' => 'LIKE'],
],
[
- 'name' => 'UserDomainName',
+ 'name' => 'Direction',
'in' => 'query',
- 'schema' => [
- 'description' => '主域名。'."\n"
- .'> 首次更新必填,再次更新非必填。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dns-example.top',
- ],
+ 'schema' => ['title' => '排序方向。取值: '."\n"
+ .'递减(默认): DESC'."\n"
+ .'递增: ASC', 'description' => '排序方向。取值:'."\n"
+ ."\n"
+ .'- 递减(默认):DESC'."\n"
+ ."\n"
+ .'- 递增:ASC', 'type' => 'string', 'required' => false, 'example' => 'DESC'],
],
[
- 'name' => 'LbaStrategy',
+ 'name' => 'Threshold',
'in' => 'query',
- 'schema' => [
- 'description' => '均衡策略。取值:'."\n"
- ."\n"
- .'- **ALL_RR**: 负载均摊'."\n"
- .'- **RATIO**:加权轮询'."\n"
- .'> 首次更新必填,再次更新非必填。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RATIO',
- ],
+ 'schema' => ['title' => '查询总解析量阈值,也可查询相应的解析量不大于threshold的数据。例如,可查询出解析量小于100次的域名。'."\n"
+ .'不传或者传小于0的值,查询所有数据'."\n"
+ .'传0,查询无解析量的数据'."\n"
+ .'传大于0的值,查询解析量不超过该值的域名'."\n", 'description' => '解析量查询条件,可用于查询不同解析量类别的子域名列表及子域名解析量数据。'."\n"
+ ."\n"
+ .'不传:查询解析量非0的数据'."\n"
+ ."\n"
+ .'传小于0的值:查询所有数据'."\n"
+ ."\n"
+ .'传0:查询无解析量的数据'."\n"
+ ."\n"
+ .'传大于0的值:查询解析量不超过该值的子域名', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-1'],
],
[
- 'name' => 'AlertGroup',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '报警组。目前仅支持一个报警组。'."\n"
- ."\n"
- .'> 首次更新必填,再次更新非必填。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"研发组\\"]',
- ],
+ 'schema' => ['title' => '开始时间,格式yyyy-MM-dd,如: 2023-03-01', 'description' => '开始时间,格式yyyy-MM-dd,如: 2023-03-01。', 'type' => 'string', 'required' => true, 'example' => '2023-03-29'],
],
[
- 'name' => 'CnameMode',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '接入方式。取值:'."\n"
- .'- **SYSTEM_ASSIGN**:系统分配'."\n"
- .'- **CUSTOM**:自定义',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SYSTEM_ASSIGN',
- ],
+ 'schema' => ['title' => '结束时间,格式yyyy-MM-dd,如:2023-03-13', 'description' => '结束时间,格式yyyy-MM-dd,如:2023-03-13。', 'type' => 'string', 'required' => false, 'example' => '2023-03-29'],
],
[
- 'name' => 'CnameCustomDomainName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '**CnameMode**为**CUSTOM**接入时必传,必须是主域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dns-example.top',
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '当前页数,起始值为1,默认为1。', 'description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '分页查询时设置的每页行数,最大值1000,最小值为1。', 'description' => '分页查询时设置的每页行数,最大值1000,最小值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'Lang',
+ 'in' => 'query',
+ 'schema' => ['title' => 'lang,语言:zh、en、ja', 'description' => 'lang,语言:zh、en、ja。', 'type' => 'string', 'required' => false, 'example' => 'zh', 'default' => 'en'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'PopResultDTO<PageResult<ResolveQueryStatisticsPopResult>>',
+ 'description' => 'PopResultDTO<PageResult<ResolveQueryStatisticsPopResult>>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
+ 'RequestId' => ['title' => 'RequestId', 'description' => '唯一请求识别码。', 'type' => 'string', 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**500**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '数据分页后总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '总数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Statistics' => [
+ 'description' => '统计数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SubDomain' => ['title' => '子域名', 'description' => '子域。', 'type' => 'string', 'example' => 'test.example.com'],
+ 'DomainName' => ['title' => '子域名', 'description' => '子域名。', 'type' => 'string', 'example' => 'test.example.com'],
+ 'Count' => ['description' => '请求量(次)。', 'type' => 'string', 'example' => '330'],
+ 'DomainType' => ['description' => '域名类型,大小写不敏感。取值:'."\n"
+ ."\n"
+ .'- PUBLIC:权威托管域名(默认值)'."\n"
+ ."\n"
+ .'- CACHE:权威代理域名', 'type' => 'string', 'example' => 'PUBLIC'],
+ ],
+ ],
],
],
],
@@ -22589,297 +15150,243 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'GtmInstance.CnameModeDeny',
- 'errorMessage' => ' ',
- ],
- [
- 'errorCode' => 'DnsGtmInstance.CnameModeDeny',
- 'errorMessage' => ' ',
+ ['errorCode' => 'Statistics.TooManyResults', 'errorMessage' => 'Your query has produced too many results.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidDomainName', 'errorMessage' => 'Your query param DomainName is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidStartDate', 'errorMessage' => 'Your query param StartDate is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidEndDate', 'errorMessage' => 'Your query param EndDate is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidSearchMode', 'errorMessage' => 'Your query param SearchMode is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidOrderDirection', 'errorMessage' => 'Your query param OrderDirection is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.InvalidDomainType', 'errorMessage' => 'Your query param DomainType is invalid.', 'description' => ''],
+ ['errorCode' => 'Statistics.QuotaExceededTime', 'errorMessage' => 'Your query time range exceeds 90 days.', 'description' => ''],
+ ['errorCode' => 'Sys.ParamsError', 'errorMessage' => 'Your query param is invalid.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取子域名的请求量统计',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecordResolveStatisticsSummary'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeRecordResolveStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateGtmInstanceGlobalConfigResponse>\\r\\n<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n</UpdateGtmInstanceGlobalConfigResponse>","errorExample":""}]',
- 'title' => '修改GTM实例全局配置(旧版)',
- 'summary' => '根据传入参数修改GTM实例配置。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"Statistics\\": [\\n {\\n \\"SubDomain\\": \\"test.example.com\\",\\n \\"DomainName\\": \\"test.example.com\\",\\n \\"Count\\": \\"330\\",\\n \\"DomainType\\": \\"PUBLIC\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeRecordResolveStatisticsSummaryResponse>\\n <RequestId>389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA</RequestId>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalPages>1</TotalPages>\\n <TotalItems>1</TotalItems>\\n <Statistics>\\n <SubDomain>test.example.com</SubDomain>\\n <Count>330</Count>\\n <DomainType>PUBLIC</DomainType>\\n </Statistics>\\n</DescribeRecordResolveStatisticsSummaryResponse>","errorExample":""}]',
],
- 'UpdateDnsGtmAccessStrategy' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeRecordStatistics' => [
+ 'summary' => '查询指定子域名请求量的实时数据。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsG5IRRX'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh(默认):中文'."\n"
+ .'- en:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'StrategyId',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '策略id。可通过调用[DescribeDnsGtmAccessStrategies ](~~2357191~~)获取。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => "\n"
- .'hrb**',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式:**YYYY-MM-DD**。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。'."\n"
+ ."\n"
+ .'若查询时间小于等于7天,按照`维度:小时`返回数据,即:`StartDate <= Now - 7`。'."\n"
+ ."\n"
+ .'若查询时间大于7天,按照`维度:天`返回数据,即:`StartDate > Now - 7`。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-07-04'],
],
[
- 'name' => 'StrategyName',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '查询的结束时间,格式:**YYYY-MM-DD**。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'example' => '2019-07-04'],
],
[
- 'name' => 'Lines',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '访问区域LineCode列表。例如:`["default", "drpeng"]`,即全局策略和鹏博士。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '["default", "drpeng"]',
- ],
+ 'schema' => ['description' => '主域名名称。域名名称。<props="china">可通过调取[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取</props>'."\n"
+ .'<props="intl">可通过调取[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'exmaple.com'],
],
[
- 'name' => 'DefaultAddrPoolType',
+ 'name' => 'Rr',
'in' => 'query',
- 'schema' => [
- 'description' => '主地址池类型:'."\n"
- ."\n"
- .'- IPV4'."\n"
- .'- IPV6'."\n"
- .'- DOMAIN(域名)',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'IPV4',
- ],
+ 'schema' => ['description' => '指主机记录,如果要解析www.exmaple.com,主机记录要填写www。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www'],
],
[
- 'name' => 'DefaultLbaStrategy',
+ 'name' => 'DomainType',
'in' => 'query',
+ 'schema' => ['description' => '域名类型,大小写不敏感。取值:'."\n"
+ ."\n"
+ .'- PUBLIC:权威域名(默认值)'."\n"
+ ."\n"
+ .'- CACHE:权威代理域名', 'type' => 'string', 'required' => false, 'example' => 'PUBLIC'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '主地址池集合均衡策略:'."\n"
- ."\n"
- .'- ALL_RR: 返回全部地址'."\n"
- .'- RATIO:按权重返回地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ALL_RR',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF'],
+ 'Statistics' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Statistic' => [
+ 'description' => '请求量数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '统计数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Timestamp' => ['description' => '统计时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1556640000000'],
+ 'Count' => ['description' => '请求量(次)。', 'type' => 'integer', 'format' => 'int64', 'example' => '15292887'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ ],
+ 'title' => '获取子域名请求量实时统计',
+ 'description' => '实时数据的统计维度是按小时。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecordStatistics'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'DefaultMinAvailableAddrNum',
- 'in' => 'query',
- 'schema' => [
- 'description' => '主地址池集合最小可用地址数量。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '400',
- 'minimum' => '1',
- 'example' => '1',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeRecordStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF\\",\\n \\"Statistics\\": {\\n \\"Statistic\\": [\\n {\\n \\"Timestamp\\": 1556640000000,\\n \\"Count\\": 15292887\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeRecordStatisticsSummary' => [
+ 'summary' => '查询指定域名下的全部子域名的请求量统计。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'DefaultMaxReturnAddrNum',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsG5IRRX'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '主地址池集合最多返回地址数量。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '8',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'DefaultLatencyOptimization',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '主地址池集合延时解析调度优化:'."\n"
- ."\n"
- .'- OPEN:开启'."\n"
- .'- CLOSE:关闭',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OPEN',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'minimum' => '1', 'example' => '1'],
],
[
- 'name' => 'FailoverAddrPoolType',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '备地址池类型:'."\n"
- ."\n"
- .'- IPV4'."\n"
- .'- IPV6'."\n"
- .'- DOMAIN',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPV4',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,最小值为**1**,默认值为**20**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
[
- 'name' => 'FailoverLbaStrategy',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '备地址池集合均衡策略:'."\n"
- ."\n"
- .'- ALL_RR: 返回全部地址'."\n"
- .'- RATIO:按权重返回地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ALL_RR',
- ],
+ 'schema' => ['description' => '查询的开始时间,格式:**YYYY-MM-DD**。'."\n"
+ ."\n"
+ .'只能查询最近90天的记录,即:`StartDate >= Now - 90。`', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '2019-07-04'],
],
[
- 'name' => 'FailoverMinAvailableAddrNum',
+ 'name' => 'EndDate',
'in' => 'query',
- 'schema' => [
- 'description' => '备地址池集合最小可用地址数量。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '400',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '查询的结束时间。格式:**YYYY-MM-DD**。'."\n"
+ ."\n"
+ .'默认为查询当天的时间。', 'type' => 'string', 'required' => false, 'example' => '2019-07-04'],
],
[
- 'name' => 'FailoverMaxReturnAddrNum',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '备地址池集合最多返回地址数量。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '8',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.top'],
],
[
- 'name' => 'FailoverLatencyOptimization',
+ 'name' => 'SearchMode',
'in' => 'query',
- 'schema' => [
- 'description' => '备地址池集合延时解析调度优化:'."\n"
- ."\n"
- .'- OPEN:开启'."\n"
- .'- CLOSE:关闭',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OPEN',
- ],
+ 'schema' => ['description' => '关键词的搜索模式。取值:'."\n"
+ ."\n"
+ .'- 模糊搜索(默认):**LIKE**'."\n"
+ .'- 精确搜索:**EXACT**', 'type' => 'string', 'required' => false, 'example' => 'EXACT'],
],
[
- 'name' => 'DefaultAddrPool',
+ 'name' => 'Keyword',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '主地址池集合。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'LbaWeight' => [
- 'description' => '主地址池集合列表中权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'Id' => [
- 'description' => '主地址池集合列表中地址池id。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'po***',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => '关键词,按照“%KeyWord%”模式搜索,不区分大小写。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'FailoverAddrPool',
+ 'name' => 'Threshold',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '备地址池集合,若未设置备地址池集合,输入"EMPTY"。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'LbaWeight' => [
- 'description' => '备地址池集合列表中权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'Id' => [
- 'description' => '备地址池集合列表中地址池id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'po**',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => '查询解析请求量不大于threshold的域名数据。取值为任意大于等于threshold值的整数。例如:'."\n"
+ .'- 为100时,查询对应时间段内有解析请求量且小于等于100次的域名。'."\n"
+ .'- 为空时,查询对应时间段内有解析请求量的全部域名。'."\n"
+ .'- 为0时,查询对应时间段内无解析请求量的域名,如果是当天添加的域名且没有任何请求量,需要第二天才能查询到。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12'],
],
[
- 'name' => 'AccessMode',
+ 'name' => 'DomainType',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池集合切换策略:'."\n"
- ."\n"
- .'- AUTO: 自动切换'."\n"
- .'- DEFAULT:主地址池集合'."\n"
- .'- FAILOVER: 备地址池集合',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DEFAULT',
- ],
+ 'schema' => ['description' => '域名类型,大小写不敏感。取值: '."\n"
+ ."\n"
+ .'- PUBLIC:权威托管域名(默认值)'."\n"
+ ."\n"
+ .'- CACHE:权威代理域名', 'type' => 'string', 'required' => false, 'example' => 'PUBLIC'],
],
],
'responses' => [
@@ -22887,94 +15394,149 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
- 'StrategyId' => [
- 'description' => '策略id。',
- 'type' => 'string',
- 'example' => 'testS******',
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'E49F0023-4A98-486F-8BA3-6003D5664105'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '数据分页后总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '数据总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Statistics' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Statistic' => [
+ 'description' => '请求量数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SubDomain' => ['description' => '子域名。', 'type' => 'string', 'example' => 'example.top'],
+ 'Count' => ['description' => '请求量(次)。', 'type' => 'integer', 'format' => 'int64', 'example' => '838711553'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'DnsGtmSystemBusyness',
- 'errorMessage' => ' ',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"StrategyId\\": \\"testS******\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\n<StrategyId>testStrategyId1</StrategyId>","errorExample":""}]',
- 'title' => '修改访问策略',
- 'summary' => '修改访问策略。',
+ 'title' => '获取全部子域名的请求量统计',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmAddrAttributeInfo' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecordStatisticsSummary'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeRecordStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"E49F0023-4A98-486F-8BA3-6003D5664105\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 3,\\n \\"Statistics\\": {\\n \\"Statistic\\": [\\n {\\n \\"SubDomain\\": \\"example.top\\",\\n \\"Count\\": 838711553\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeRecordStatisticsSummaryResponse>\\r\\n <PageNumber>1</PageNumber>\\r\\n <Statistics>\\r\\n <Statistic>\\r\\n <Count>838711553</Count>\\r\\n <SubDomain>t1.alitest2.com</SubDomain>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>3467</Count>\\r\\n <SubDomain>alitest2.com</SubDomain>\\r\\n </Statistic>\\r\\n <Statistic>\\r\\n <Count>487</Count>\\r\\n <SubDomain>txt.alitest2.com</SubDomain>\\r\\n </Statistic>\\r\\n </Statistics>\\r\\n <PageSize>20</PageSize>\\r\\n <RequestId>E49F0023-4A98-486F-8BA3-6003D5664105</RequestId>\\r\\n <TotalItems>3</TotalItems>\\r\\n <TotalPages>1</TotalPages>\\r\\n</DescribeRecordStatisticsSummaryResponse>","errorExample":""}]',
+ ],
+ 'DescribeRecursionRecord' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'RecordId',
'in' => 'query',
+ 'schema' => ['description' => '解析记录id,解析记录的唯一标识', 'type' => 'string', 'required' => true, 'example' => '1917628665627259904', 'pattern' => '^\\d+$'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'ZoneId' => ['title' => 'zone ID', 'description' => 'zone ID', 'type' => 'string', 'example' => '172635074000011'],
+ 'RecordId' => ['title' => 'record ID', 'description' => 'record ID', 'type' => 'string', 'example' => '1903634198947606528'],
+ 'Rr' => ['title' => '解析记录名称', 'description' => '主机记录', 'type' => 'string', 'example' => 'test'],
+ 'Type' => ['title' => '解析记录类型', 'description' => '解析记录类型', 'type' => 'string', 'example' => 'A'],
+ 'Value' => ['title' => '解析记录值', 'description' => '解析记录值', 'type' => 'string', 'example' => '1.1.XX.XX'],
+ 'Weight' => ['title' => '权重', 'description' => '权重', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'Ttl' => ['title' => 'ttl', 'description' => 'ttl', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Priority' => ['title' => 'ttl', 'description' => 'MX记录的优先级', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Remark' => ['title' => '解析记录值', 'description' => '备注', 'type' => 'string', 'example' => 'test'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2024-03-23T13:09Z'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '修改时间', 'type' => 'string', 'example' => '2024-03-29T13:20Z'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '查询HTTPDNS内置权威解析记录详情',
+ 'summary' => '查询递归解析内置权威解析记录详情',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址类型:'."\n"
- ."\n"
- .'- IPV4:ipv4地址'."\n"
- .'- IPV6: ipv6地址'."\n"
- .'- DOMAIN:域名',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'IPV4',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribeRecursionRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"ZoneId\\": \\"172635074000011\\",\\n \\"RecordId\\": \\"1903634198947606528\\",\\n \\"Rr\\": \\"test\\",\\n \\"Type\\": \\"A\\",\\n \\"Value\\": \\"1.1.XX.XX\\",\\n \\"Weight\\": 2,\\n \\"Ttl\\": 60,\\n \\"Priority\\": 1,\\n \\"Remark\\": \\"test\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357\\n}","type":"json"}]',
+ ],
+ 'DescribeRecursionZone' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'Addrs',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '241101',
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '地址列表。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '['."\n"
- .' "1.1.XX.XX"'."\n"
- .']',
- ],
+ 'schema' => ['description' => 'Zone ID,Zone的唯一识别码。', 'type' => 'string', 'required' => true, 'example' => '169783221000012', 'pattern' => '^\\d+$'],
],
],
'responses' => [
@@ -22982,181 +15544,152 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'Addr' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'ZoneId' => ['title' => 'zone ID', 'description' => 'Zone ID,Zone的唯一识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '169438909000011'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2018-06-06T11:34Z'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1533773400000'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '修改时间', 'type' => 'string', 'example' => '2018-01-03T08:57Z'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'ZoneName' => ['title' => 'zone 名称', 'description' => 'zone 名称', 'type' => 'string', 'example' => 'cheng.suow.cc'],
+ 'UserId' => ['title' => 'user Id', 'description' => '用户ID', 'type' => 'string', 'example' => '1527690629357'],
+ 'ProxyPattern' => ['title' => '代理模式', 'description' => '是否开启子域名递归代理。取值:'."\n"
+ ."\n"
+ .'zone: 关闭(当解析本域名下不存在的子域名时,直接返回NXDOMAIN,表示子域名不存在)'."\n"
+ .'record: 开启(当解析本域名下不存在的子域名时,会依次查询“转发”和“递归”模块,并以最终查询到的解析结果来应答解析请求)', 'type' => 'string', 'example' => 'record'],
+ 'RecordCount' => ['description' => '域名Zone下的解析记录数量', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'Remark' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'example' => 'test'],
+ 'Creator' => ['title' => '创建者 id', 'description' => '创建者 id', 'type' => 'string', 'example' => 'SOAR'],
+ 'CreatorType' => ['title' => '创建者类型', 'description' => '创建者类型', 'type' => 'string', 'example' => 'USER'],
+ 'CreatorSubType' => ['title' => '创建者子类型', 'description' => '创建者子类型', 'type' => 'string', 'example' => 'SUB'],
+ 'EffectiveScopes' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Addr' => [
- 'description' => '地址池地址。'."\n"
- ."\n",
+ 'EffectiveScope' => [
+ 'title' => '生效范围数组',
+ 'description' => '内置权威域名zone生效范围',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'AttributeInfo' => [
- 'description' => '地址归属信息。'."\n"
- ."\n",
+ 'EffectiveType' => ['description' => '内置权威域名zone生效类型'."\n"
+ .'account:递归解析为用户分配的account id', 'type' => 'string', 'example' => 'account'],
+ 'Scopes' => [
'type' => 'object',
+ 'itemNode' => true,
'properties' => [
- 'FatherCode' => [
- 'description' => '父线路的code。',
- 'type' => 'string',
- 'example' => 'telecom',
- ],
- 'GroupName' => [
- 'description' => '地址归属区域分组名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'LineCode' => [
- 'description' => '归属线路code。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'LineName' => [
- 'description' => '地址归属线路名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'GroupCode' => [
- 'description' => '地址归属区域分组code。',
- 'type' => 'string',
- 'example' => 'DEFAULT',
+ 'Scope' => [
+ 'description' => '生效范围。'."\n"
+ .'account生效类型则对应为account id列表',
+ 'example' => '[20003]',
+ 'type' => 'array',
+ 'items' => ['description' => '生效范围子元素'."\n"
+ .'若生效类型为account则对应单个account id', 'type' => 'string', 'example' => '20003'],
],
],
- ],
- 'Addr' => [
- 'description' => '地址。',
- 'type' => 'string',
- 'example' => '1.1.XX.XX',
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Addr\\": {\\n \\"Addr\\": [\\n {\\n \\"AttributeInfo\\": {\\n \\"FatherCode\\": \\"telecom\\",\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n },\\n \\"Addr\\": \\"1.1.XX.XX\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<Addr>\\n <Addr>\\n <Addr>1.1.1.1</Addr>\\n <AttributeInfo>\\n <GroupName>Global</GroupName>\\n <GroupCode>DEFAULT</GroupCode>\\n <FatherCode>telecom</FatherCode>\\n <LineCode>default</LineCode>\\n <LineName>Global</LineName>\\n </AttributeInfo>\\n </Addr>\\n</Addr>","errorExample":""}]',
- 'title' => '查询地址归属区域信息',
- 'summary' => '查询地址归属区域。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmAvailableAlertGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
+ 'title' => '查询HTTPDNS内置权威域名zone详情',
+ 'summary' => '查询递归解析内置权威域名zone详情',
+ 'description' => '实时数据的统计维度是按小时。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'AvailableAlertGroup' => [
- 'description' => '可设置的报警组。',
- 'type' => 'string',
- 'example' => '[\\"测试报警组\\",\\"研发报警组\\"]',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribeRecursionZone',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"AvailableAlertGroup\\": \\"[\\\\\\\\\\\\\\"测试报警组\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"研发报警组\\\\\\\\\\\\\\"]\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<AvailableAlertGroup>[\\"测试报警组\\",\\"研发报警组\\"]</AvailableAlertGroup>","errorExample":""}]',
- 'title' => '获取GTM实例可用的报警组列表',
- 'summary' => '获取可设置的报警组。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"ZoneId\\": \\"169438909000011\\",\\n \\"CreateTime\\": \\"2018-06-06T11:34Z\\",\\n \\"CreateTimestamp\\": 1533773400000,\\n \\"UpdateTime\\": \\"2018-01-03T08:57Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"ZoneName\\": \\"cheng.suow.cc\\",\\n \\"UserId\\": \\"1527690629357\\",\\n \\"ProxyPattern\\": \\"record\\",\\n \\"RecordCount\\": 8,\\n \\"Remark\\": \\"test\\",\\n \\"Creator\\": \\"SOAR\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"CreatorSubType\\": \\"SUB\\",\\n \\"EffectiveScopes\\": {\\n \\"EffectiveScope\\": [\\n {\\n \\"EffectiveType\\": \\"account\\",\\n \\"Scopes\\": {\\n \\"Scope\\": [\\n \\"20003\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
],
- 'DescribeDnsGtmInstance' => [
- 'summary' => '通过实例ID获取实例详情。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSubDomainRecords' => [
+ 'summary' => '根据传入参数获取某个固定子域名的所有解析记录列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsYSO7XZ',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsQIXAM1'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.0'],
+ ],
+ [
+ 'name' => 'SubDomain',
+ 'in' => 'query',
+ 'schema' => ['description' => '`例如参数SubDomain为"a.www.example.com"为例:`'."\n"
+ ."\n"
+ .'`如果参数DomainName为空,则查询域名为example.com、主机名为”a.www“的解析记录。`'."\n"
+ .'`如果参数DomainName为"www.example.com",则查询域名为"www.example.com"、主机名为"a"的解析记录。`'."\n"
+ .'`如果参数DomainName为"a.www.example.com",则查询域名为"a.www.example.com"、主机名为"@"的解析记录。`', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'a.www.example.com'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '20', 'default' => '20'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析记录类型。若不传值,则返回子域名对应的全部解析记录类型。'."\n"
+ ."\n"
+ .'解析类型包括(不区分大小写):**A、MX、CNAME、TXT、REDIRECT_URL、FORWORD_URL、NS、AAAA、SRV**。', 'type' => 'string', 'required' => false, 'example' => 'MX'],
+ ],
+ [
+ 'name' => 'Line',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析线路。', 'type' => 'string', 'required' => false, 'example' => 'default'],
+ ],
+ [
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
],
'responses' => [
@@ -23164,281 +15697,101 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ExpireTimestamp' => [
- 'description' => '实例到期时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1602656937000',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '84314904-D047-4176-A0EC-256D7F68C7F5',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组id。',
- 'type' => 'string',
- 'example' => 'resourc*****',
- ],
- 'InstanceId' => [
- 'description' => '实例id。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
- 'TaskQuota' => [
- 'description' => '探测任务总数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Config' => [
- 'description' => '实例配置信息。'."\n"
- ."\n",
+ 'TotalCount' => ['description' => '解析记录总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'PageSize' => ['description' => '本次查询获取的解析数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'DomainRecords' => [
'type' => 'object',
+ 'itemNode' => true,
'properties' => [
- 'Ttl' => [
- 'description' => '全局TTL。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'AlertGroup' => [
- 'description' => '报警组(List<String>的JSON格式)。',
- 'type' => 'string',
- 'example' => '["test1","test2"]',
- ],
- 'CnameType' => [
- 'description' => 'cname接入域名类型:'."\n"
- ."\n"
- .'- PUBLIC: 公网型',
- 'type' => 'string',
- 'example' => 'PUBLIC',
- ],
- 'StrategyMode' => [
- 'description' => '访问策略模式:'."\n"
- ."\n"
- .'- LATENCY:基于延时'."\n"
- .'- GEO:基于地理位置',
- 'type' => 'string',
- 'example' => 'GEO',
- ],
- 'InstanceName' => [
- 'description' => '实例名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'PublicCnameMode' => [
- 'description' => '公网cname接入方式:'."\n"
- ."\n"
- .'- CUSTOM: 自定义'."\n"
- .'- SYSTEM_ASSIGN: 系统分配(此功能已关闭)',
- 'type' => 'string',
- 'example' => 'CUSTOM',
- ],
- 'AlertConfig' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AlertConfig' => [
- 'description' => '报警通知方式。'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SmsNotice' => [
- 'description' => '是否配置短信通知:'."\n"
- ."\n"
- .'- true:已配置'."\n"
- .'- false|null : 未配置',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'NoticeType' => [
- 'description' => '报警事件类型:'."\n"
- ."\n"
- .'- ADDR_ALERT:地址不可用'."\n"
- .'- ADDR_RESUME:地址恢复可用'."\n"
- .'- ADDR_POOL_GROUP_UNAVAILABLE:地址池集合不可用'."\n"
- .'- ADDR_POOL_GROUP_AVAILABLE:地址池集合恢复可用'."\n"
- .'- ACCESS_STRATEGY_POOL_GROUP_SWITCH:主备地址池切换'."\n"
- .'- MONITOR_NODE_IP_CHANGE:监控节点IP地址变更',
- 'type' => 'string',
- 'example' => 'ADDR_ALERT',
- ],
- 'EmailNotice' => [
- 'description' => '是否配置邮件通知:'."\n"
- ."\n"
- .'- true:已配置'."\n"
- .'- false|null : 未配置',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DingtalkNotice' => [
- 'description' => '是否配置钉钉通知:'."\n"
- ."\n"
- .'- true:已配置'."\n"
- .'- false|null :未配置',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
+ 'Record' => [
+ 'description' => '解析记录列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '解析记录状态。', 'type' => 'string', 'example' => 'Enable'],
+ 'Type' => ['description' => '记录类型。', 'type' => 'string', 'example' => 'CNAME'],
+ 'Weight' => ['description' => '解析记录的权重。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'Value' => ['description' => '记录值。', 'type' => 'string', 'example' => 'example.net'],
+ 'TTL' => ['description' => '生存时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '600'],
+ 'Line' => ['description' => '解析线路。', 'type' => 'string', 'example' => 'default'],
+ 'RecordId' => ['description' => '解析记录ID。', 'type' => 'string', 'example' => '99******'],
+ 'Priority' => ['description' => 'MX记录的优先级。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'RR' => ['description' => '主机记录。', 'type' => 'string', 'example' => 'www'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'Locked' => ['description' => '解析记录锁定状态。', 'type' => 'boolean', 'example' => 'false'],
+ 'Remark' => ['description' => '备注信息。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
],
],
- 'PublicUserDomainName' => [
- 'description' => '公网用户业务域名。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'PubicZoneName' => [
- 'description' => '公网接入域名。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => "\n"
- .'gtm-cn-wwo3a3hbz**.example.com',
- ],
- 'PublicRr' => [
- 'description' => '公网接入主机名'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'test.rr',
- ],
- ],
- ],
- 'CreateTime' => [
- 'description' => '实例创建时间。',
- 'type' => 'string',
- 'example' => '2020-10-14T06:58Z',
- ],
- 'SmsQuota' => [
- 'description' => '短信通知总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'VersionCode' => [
- 'description' => '实例版本。',
- 'type' => 'string',
- 'example' => 'standard',
- ],
- 'PaymentType' => [
- 'description' => '付费类型'."\n"
- ."\n"
- .'- Subscription:预付费',
- 'type' => 'string',
- 'example' => 'Subscription',
- ],
- 'ExpireTime' => [
- 'description' => '到期日。',
- 'type' => 'string',
- 'example' => '2020-10-14T06:58Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '实例创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1602656937000',
- ],
- 'UsedQuota' => [
- 'description' => '已使用的配额。'."\n"
- ."\n",
- 'type' => 'object',
- 'properties' => [
- 'EmailUsedCount' => [
- 'description' => '已发送邮件总数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '123',
- ],
- 'TaskUsedCount' => [
- 'description' => '已创建探测任务数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '123',
- ],
- 'SmsUsedCount' => [
- 'description' => '已发送短信总数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '123',
- ],
- 'DingtalkUsedCount' => [
- 'description' => '已发送钉钉总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '123',
- ],
],
],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExpireTimestamp\\": 1602656937000,\\n \\"RequestId\\": \\"84314904-D047-4176-A0EC-256D7F68C7F5\\",\\n \\"ResourceGroupId\\": \\"resourc*****\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"TaskQuota\\": 100,\\n \\"Config\\": {\\n \\"Ttl\\": 60,\\n \\"AlertGroup\\": \\"[\\\\\\"test1\\\\\\",\\\\\\"test2\\\\\\"]\\",\\n \\"CnameType\\": \\"PUBLIC\\",\\n \\"StrategyMode\\": \\"GEO\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"PublicCnameMode\\": \\"CUSTOM\\",\\n \\"AlertConfig\\": {\\n \\"AlertConfig\\": [\\n {\\n \\"SmsNotice\\": true,\\n \\"NoticeType\\": \\"ADDR_ALERT\\",\\n \\"EmailNotice\\": true,\\n \\"DingtalkNotice\\": true\\n }\\n ]\\n },\\n \\"PublicUserDomainName\\": \\"example.com\\",\\n \\"PubicZoneName\\": \\"\\\\ngtm-cn-wwo3a3hbz**.example.com\\",\\n \\"PublicRr\\": \\"test.rr\\"\\n },\\n \\"CreateTime\\": \\"2020-10-14T06:58Z\\",\\n \\"SmsQuota\\": 100,\\n \\"VersionCode\\": \\"standard\\",\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"ExpireTime\\": \\"2020-10-14T06:58Z\\",\\n \\"CreateTimestamp\\": 1602656937000,\\n \\"UsedQuota\\": {\\n \\"EmailUsedCount\\": 123,\\n \\"TaskUsedCount\\": 123,\\n \\"SmsUsedCount\\": 123,\\n \\"DingtalkUsedCount\\": 123\\n }\\n}","errorExample":""},{"type":"xml","example":"<ExpireTimestamp>1602656937000</ExpireTimestamp>\\n<ResourceGroupId>resourcegroupid1</ResourceGroupId>\\n<RequestId>84314904-D047-4176-A0EC-256D7F68C7F5</RequestId>\\n<InstanceId>instanceid1</InstanceId>\\n<TaskQuota>100</TaskQuota>\\n<Config>\\n <InstanceName>instancetest1</InstanceName>\\n <PubicZoneName>test.rr.gtm-003.com</PubicZoneName>\\n <AlertGroup>[\\"test1\\",\\"test2\\"]</AlertGroup>\\n <CnameType>public</CnameType>\\n <PublicUserDomainName>example.com</PublicUserDomainName>\\n <PublicRr>test.rr</PublicRr>\\n <StrategyMode>GEO</StrategyMode>\\n <Ttl>1</Ttl>\\n <PublicCnameMode>custom</PublicCnameMode>\\n <AlertConfig>\\n <AlertConfig>\\n <EmailNotice>true</EmailNotice>\\n <NoticeType>ADDR_ALERT</NoticeType>\\n <SmsNotice>true</SmsNotice>\\n <DingtalkNotice>true</DingtalkNotice>\\n </AlertConfig>\\n </AlertConfig>\\n</Config>\\n<CreateTime>2020-10-14T06:58Z</CreateTime>\\n<SmsQuota>100</SmsQuota>\\n<VersionCode>versioncode1</VersionCode>\\n<PaymentType>Subscription</PaymentType>\\n<ExpireTime>2020-10-14T06:58Z</ExpireTime>\\n<CreateTimestamp>1602656937000</CreateTimestamp>\\n<UsedQuota>\\n <TaskUsedCount>123</TaskUsedCount>\\n <DingtalkUsedCount>123</DingtalkUsedCount>\\n <SmsUsedCount>123</SmsUsedCount>\\n <EmailUsedCount>123</EmailUsedCount>\\n</UsedQuota>","errorExample":""}]',
- 'title' => '获取GTM实例详情',
+ 'title' => '获取子域名解析记录列表',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeGtmInstance' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSubDomainRecords'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeSubDomainRecords',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"DomainRecords\\": {\\n \\"Record\\": [\\n {\\n \\"Status\\": \\"Enable\\",\\n \\"Type\\": \\"CNAME\\",\\n \\"Weight\\": 10,\\n \\"Value\\": \\"example.net\\",\\n \\"TTL\\": 600,\\n \\"Line\\": \\"default\\",\\n \\"RecordId\\": \\"99******\\",\\n \\"Priority\\": 2,\\n \\"RR\\": \\"www\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"Locked\\": false,\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n },\\n \\"PageNumber\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeSubDomainRecordsResponse>\\n <TotalCount>2</TotalCount>\\n <PageSize>2</PageSize>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <DomainRecords>\\n <Status>Enable</Status>\\n <Type>CNAME</Type>\\n <Weight>10</Weight>\\n <Value>example.net</Value>\\n <TTL>600</TTL>\\n <Line>default</Line>\\n <RecordId>9999985</RecordId>\\n <Priority>2</Priority>\\n <RR>www</RR>\\n <DomainName>example.com</DomainName>\\n <Locked>false</Locked>\\n </DomainRecords>\\n <PageNumber>1</PageNumber>\\n</DescribeSubDomainRecordsResponse>","errorExample":""}]',
+ ],
+ 'DescribeSupportLines' => [
+ 'summary' => '查询云解析支持的所有线路列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => 'GTM实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'instance1',
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '1.1.*.*'],
],
[
- 'name' => 'NeedDetailAttributes',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '是否需要额外信息,默认为**false**。取值为**true**时,返回AccessStrategyNum(访问策略个数)、AddressPoolNum(地址池个数)。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
],
'responses' => [
@@ -23446,193 +15799,97 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ExpireTimestamp' => [
- 'description' => '实例到期时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1528284856000',
- ],
- 'UserDomainName' => [
- 'description' => '用户域名。',
- 'type' => 'string',
- 'example' => 'dns-example.top',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'E41AA251-F9BA-48C6-99B2-2B82B26A573A',
- ],
- 'LbaStrategy' => [
- 'description' => '负载均衡策略。'."\n"
- .'- **ALL_RR**: 负载均摊'."\n"
- .'- **RATIO**: 加权轮询',
- 'type' => 'string',
- 'example' => 'RATIO',
- ],
- 'InstanceId' => [
- 'description' => 'GTM实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
- 'CreateTime' => [
- 'description' => '实例创建时间。',
- 'type' => 'string',
- 'example' => '2018-06-06T11:34Z',
- ],
- 'CnameMode' => [
- 'description' => '当前接入方式。其中:'."\n"
- ."\n"
- .'- **SYSTEM_ASSIGN**:系统分配'."\n"
- .'- **CUSTOM**:自定义',
- 'type' => 'string',
- 'example' => 'CUSTOM',
- ],
- 'Ttl' => [
- 'description' => '全局TTL。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Cname' => [
- 'description' => 'CNAME接入域名。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**.dns-example.top',
- ],
- 'InstanceName' => [
- 'description' => '实例名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'VersionCode' => [
- 'description' => '版本Code。',
- 'type' => 'string',
- 'example' => 'biaozhun',
- ],
- 'AlertGroup' => [
- 'description' => '报警组。',
- 'type' => 'string',
- 'example' => '[\\"日常测试-研发组\\"]',
- ],
- 'AddressPoolNum' => [
- 'description' => '地址池个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'AccessStrategyNum' => [
- 'description' => '访问策略个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'ExpireTime' => [
- 'description' => '实例到期时间。',
- 'type' => 'string',
- 'example' => '2018-06-06T11:34Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1528284856000',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-testgroupid',
+ 'RecordLines' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RecordLine' => [
+ 'description' => '云解析线路列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FatherCode' => ['description' => '父线路Code,暂时不支持返回。', 'type' => 'string', 'example' => 'unicom'],
+ 'LineDisplayName' => ['description' => '线路展示名称。', 'type' => 'string', 'example' => '中国联通_海南'],
+ 'LineCode' => ['description' => '线路Code。', 'type' => 'string', 'example' => 'cn_unicom_hainan'],
+ 'LineName' => ['description' => '子线路名称。', 'type' => 'string', 'example' => '海南'],
+ ],
+ ],
+ ],
+ ],
],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'CFDA0830-7D6E-4C13-8632-B57C7EDCF079'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"ExpireTimestamp\\": 1528284856000,\\n \\"UserDomainName\\": \\"dns-example.top\\",\\n \\"RequestId\\": \\"E41AA251-F9BA-48C6-99B2-2B82B26A573A\\",\\n \\"LbaStrategy\\": \\"RATIO\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"CreateTime\\": \\"2018-06-06T11:34Z\\",\\n \\"CnameMode\\": \\"CUSTOM\\",\\n \\"Ttl\\": 60,\\n \\"Cname\\": \\"gtm-cn-wwo3a3hbz**.dns-example.top\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"VersionCode\\": \\"biaozhun\\",\\n \\"AlertGroup\\": \\"[\\\\\\\\\\\\\\"日常测试-研发组\\\\\\\\\\\\\\"]\\",\\n \\"AddressPoolNum\\": 5,\\n \\"AccessStrategyNum\\": 5,\\n \\"ExpireTime\\": \\"2018-06-06T11:34Z\\",\\n \\"CreateTimestamp\\": 1528284856000,\\n \\"ResourceGroupId\\": \\"rg-testgroupid\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmInstanceResponse>\\r\\n\\t<Cname>instance1.14.com</Cname>\\r\\n\\t<CnameMode>SYSTEM_ASSIGN</CnameMode>\\r\\n\\t<CreateTimestamp>1528284856000</CreateTimestamp>\\r\\n\\t<InstanceId>instance1</InstanceId>\\r\\n\\t<ExpireTimestamp>1528284856000</ExpireTimestamp>\\r\\n\\t<ExpireTime>2018-06-06T11:34Z</ExpireTime>\\r\\n\\t<Ttl>60</Ttl>\\r\\n\\t<RequestId>E41AA251-F9BA-48C6-99B2-2B82B26A573A</RequestId>\\r\\n\\t<VersionCode>biaozhun</VersionCode>\\r\\n\\t<CreateTime>2018-06-06T11:34Z</CreateTime>\\r\\n\\t<UserDomainName>www.example.com</UserDomainName>\\r\\n\\t<AlertGroup>[&quot;日常测试-研发组&quot;]</AlertGroup>\\r\\n\\t<InstanceName>获取实例详情测试</InstanceName>\\r\\n\\t<LbaStrategy>RATIO</LbaStrategy>\\r\\n\\t<AccessStrategyNum>5</AccessStrategyNum>\\r\\n\\t<AddressPoolNum>5</AddressPoolNum>\\r\\n</DescribeGtmInstanceResponse>","errorExample":""}]',
- 'title' => '获取GTM实例详情(旧版)',
- 'summary' => '获取GTM实例的详情信息。',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => '获取解析线路列表',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmInstances' => [
- 'summary' => '获取实例列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportLines'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeSupportLines',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RecordLines\\": {\\n \\"RecordLine\\": [\\n {\\n \\"FatherCode\\": \\"unicom\\",\\n \\"LineDisplayName\\": \\"中国联通_海南\\",\\n \\"LineCode\\": \\"cn_unicom_hainan\\",\\n \\"LineName\\": \\"海南\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"CFDA0830-7D6E-4C13-8632-B57C7EDCF079\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeSupportLinesResponse>\\n <RecordLines>\\n <FatherCode>unicom</FatherCode>\\n <LineDisplayName>联通_山西</LineDisplayName>\\n <LineCode>cn_unicom_shanxi</LineCode>\\n <LineName>山西</LineName>\\n </RecordLines>\\n <RequestId>CFDA0830-7D6E-4C13-8632-B57C7EDCF079</RequestId>\\n</DescribeSupportLinesResponse>","errorExample":""}]',
+ ],
+ 'DescribeTags' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsBCOB1Q',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en,zh,ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '9999999',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '资源类型。取值:'."\n"
+ .'- **DOMAIN**:域名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DOMAIN'],
],
[
- 'name' => 'Keyword',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '查询关键字,支持实例ID、实例名称模糊搜索。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-testgroupid',
- ],
+ 'schema' => ['description' => '分页数,默认值:200。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '200'],
],
],
'responses' => [
@@ -23640,329 +15897,118 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '84314904-D047-4176-A0EC-256D7F68C7F5',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'GtmInstances' => [
- 'description' => 'GTM实例列表。',
+ 'TotalCount' => ['description' => '总计数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'PageSize' => ['description' => '分页数,默认值:200。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '89184F33-48A1-4401-9C0F-40E45DB091AB'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Tags' => [
+ 'description' => '标签列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'PaymentType' => [
- 'description' => '付费类型:'."\n"
- ."\n"
- .'- Subscription:预付费',
- 'type' => 'string',
- 'example' => 'Subscription',
- ],
- 'ExpireTime' => [
- 'description' => '实例到期时间。',
- 'type' => 'string',
- 'example' => '2020-10-14T06:58Z',
- ],
- 'CreateTime' => [
- 'description' => '实例创建时间。',
- 'type' => 'string',
- 'example' => '2020-10-14T06:58Z',
- ],
- 'SmsQuota' => [
- 'description' => '短信通知总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'InstanceId' => [
- 'description' => '实例id。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
- 'Config' => [
- 'description' => '实例配置信息。',
- 'type' => 'object',
- 'properties' => [
- 'Ttl' => [
- 'description' => '全局TTL。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'AlertGroup' => [
- 'description' => '报警组(List<String>的JSON格式)。',
- 'type' => 'string',
- 'example' => '["test1","test2"]',
- ],
- 'PublicZoneName' => [
- 'description' => '公网接入域名。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**.dns-example.top',
- ],
- 'CnameType' => [
- 'description' => 'cname接入域名类型:'."\n"
- ."\n"
- .'- PUBLIC:公网型',
- 'type' => 'string',
- 'example' => 'PUBLIC',
- ],
- 'StrategyMode' => [
- 'description' => '访问策略模式:'."\n"
- ."\n"
- .'- LATENCY:基于延时'."\n"
- .'- GEO:基于地理位置',
- 'type' => 'string',
- 'example' => 'GEO',
- ],
- 'InstanceName' => [
- 'description' => '实例名称。',
- 'type' => 'string',
- 'example' => 'instanceTest',
- ],
- 'PublicCnameMode' => [
- 'description' => '公网cname接入方式:'."\n"
- ."\n"
- .'- CUSTOM:自定义'."\n"
- .'- SYSTEM_ASSIGN:系统分配(此功能已关闭)',
- 'type' => 'string',
- 'example' => 'CUSTOM',
- ],
- 'AlertConfig' => [
- 'description' => '报警通知方式。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SmsNotice' => [
- 'description' => '是否配置短信通知:'."\n"
- ."\n"
- .'- true:已配置'."\n"
- .'- false|null: 未配置',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'NoticeType' => [
- 'description' => '报警事件类型:'."\n"
- ."\n"
- .'- ADDR_ALERT:地址不可用'."\n"
- .'- ADDR_RESUME:地址恢复可用'."\n"
- .'- ADDR_POOL_GROUP_UNAVAILABLE:地址池集合不可用'."\n"
- .'- ADDR_POOL_GROUP_AVAILABLE:地址池集合恢复可用'."\n"
- .'- ACCESS_STRATEGY_POOL_GROUP_SWITCH:主备地址池切换',
- 'type' => 'string',
- 'example' => 'ADDR_ALERT',
- ],
- 'EmailNotice' => [
- 'description' => '是否配置邮件通知:'."\n"
- ."\n"
- .'- true:已配置'."\n"
- .'- false|null:未配置',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'DingtalkNotice' => [
- 'description' => '是否配置钉钉报警通知:'."\n"
- ."\n"
- .'- true:已配置'."\n"
- .'- false|null:未配置',
- 'type' => 'string',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'PublicUserDomainName' => [
- 'description' => '公网用户业务域名。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'dns-example.top',
- ],
- 'PublicRr' => [
- 'description' => '公网接入主机名'."\n",
- 'type' => 'string',
- 'example' => 'test.rr',
- ],
- ],
- ],
- 'ExpireTimestamp' => [
- 'description' => '实例到期时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1602658709000',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组Id。',
- 'type' => 'string',
- 'example' => 'resourceGroupid123',
- ],
- 'VersionCode' => [
- 'description' => '实例版本。',
- 'type' => 'string',
- 'example' => 'standard',
- ],
- 'UsedQuota' => [
- 'description' => '已使用的配额。'."\n"
- ."\n",
- 'type' => 'object',
- 'properties' => [
- 'EmailUsedCount' => [
- 'description' => '已发送邮件总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'TaskUsedCount' => [
- 'description' => '已创建探测任务数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'SmsUsedCount' => [
- 'description' => '已发送短信总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'DingtalkUsedCount' => [
- 'description' => '已发送钉钉总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- ],
- ],
- 'TaskQuota' => [
- 'description' => '探测任务总数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1602658709000',
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'abc'],
+ 'Values' => [
+ 'description' => '标签值列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '标签值。', 'type' => 'string', 'example' => '11111'],
],
],
],
],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '123',
- ],
- 'TotalItems' => [
- 'description' => '总个数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 1,\\n \\"RequestId\\": \\"84314904-D047-4176-A0EC-256D7F68C7F5\\",\\n \\"PageNumber\\": 1,\\n \\"GtmInstances\\": [\\n {\\n \\"PaymentType\\": \\"Subscription\\",\\n \\"ExpireTime\\": \\"2020-10-14T06:58Z\\",\\n \\"CreateTime\\": \\"2020-10-14T06:58Z\\",\\n \\"SmsQuota\\": 1,\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"Config\\": {\\n \\"Ttl\\": 60,\\n \\"AlertGroup\\": \\"[\\\\\\"test1\\\\\\",\\\\\\"test2\\\\\\"]\\",\\n \\"PublicZoneName\\": \\"gtm-cn-wwo3a3hbz**.dns-example.top\\",\\n \\"CnameType\\": \\"PUBLIC\\",\\n \\"StrategyMode\\": \\"GEO\\",\\n \\"InstanceName\\": \\"instanceTest\\",\\n \\"PublicCnameMode\\": \\"CUSTOM\\",\\n \\"AlertConfig\\": [\\n {\\n \\"SmsNotice\\": \\"true\\",\\n \\"NoticeType\\": \\"ADDR_ALERT\\",\\n \\"EmailNotice\\": \\"true\\",\\n \\"DingtalkNotice\\": \\"true\\"\\n }\\n ],\\n \\"PublicUserDomainName\\": \\"dns-example.top\\",\\n \\"PublicRr\\": \\"test.rr\\"\\n },\\n \\"ExpireTimestamp\\": 1602658709000,\\n \\"ResourceGroupId\\": \\"resourceGroupid123\\",\\n \\"VersionCode\\": \\"standard\\",\\n \\"UsedQuota\\": {\\n \\"EmailUsedCount\\": 100,\\n \\"TaskUsedCount\\": 100,\\n \\"SmsUsedCount\\": 100,\\n \\"DingtalkUsedCount\\": 100\\n },\\n \\"TaskQuota\\": 1,\\n \\"CreateTimestamp\\": 1602658709000\\n }\\n ],\\n \\"TotalPages\\": 123,\\n \\"TotalItems\\": 100\\n}","errorExample":""},{"type":"xml","example":"<RequestId>84314904-D047-4176-A0EC-256D7F68C7F5</RequestId>\\n<PageSize>1</PageSize>\\n<PageNumber>1</PageNumber>\\n<GtmInstances>\\n <VersionCode>testVersion1</VersionCode>\\n <ExpireTimestamp>1602658709000</ExpireTimestamp>\\n <ResourceGroupId>resourceGroupid123</ResourceGroupId>\\n <InstanceId>instance1</InstanceId>\\n <TaskQuota>1</TaskQuota>\\n <CreateTime>2020-10-14T06:58Z</CreateTime>\\n <PaymentType>Subscription</PaymentType>\\n <ExpireTime>2020-10-14T06:58Z</ExpireTime>\\n <CreateTimestamp>1602658709000</CreateTimestamp>\\n <SmsQuota>1</SmsQuota>\\n <Config>\\n <InstanceName>instanceTest</InstanceName>\\n <AlertGroup>[\\"test1\\",\\"test2\\"]</AlertGroup>\\n <CnameType>public</CnameType>\\n <PublicUserDomainName>example.com</PublicUserDomainName>\\n <PublicZoneName>test.rr.gtm-003.com</PublicZoneName>\\n <PublicRr>test.rr</PublicRr>\\n <StrategyMode>geo</StrategyMode>\\n <Ttl>1</Ttl>\\n <PublicCnameMode>custom</PublicCnameMode>\\n <AlertConfig>\\n <EmailNotice>true</EmailNotice>\\n <NoticeType>ADDR_ALERT</NoticeType>\\n <SmsNotice>true</SmsNotice>\\n <DingtalkNotice>true</DingtalkNotice>\\n </AlertConfig>\\n </Config>\\n <UsedQuota>\\n <TaskUsedCount>100</TaskUsedCount>\\n <DingtalkUsedCount>100</DingtalkUsedCount>\\n <SmsUsedCount>100</SmsUsedCount>\\n <EmailUsedCount>100</EmailUsedCount>\\n </UsedQuota>\\n</GtmInstances>\\n<TotalPages>123</TotalPages>\\n<TotalItems>100</TotalItems>","errorExample":""}]',
- 'title' => '获取GTM实例列表',
+ 'title' => '查询已有标签列表',
+ 'summary' => '查询已有标签。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeGtmInstances' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTags'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeTags',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 5,\\n \\"PageSize\\": 200,\\n \\"RequestId\\": \\"89184F33-48A1-4401-9C0F-40E45DB091AB\\",\\n \\"PageNumber\\": 1,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"abc\\",\\n \\"Values\\": [\\n \\"11111\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<TotalCount>6</TotalCount>\\n<RequestId>89184F33-48A1-4401-9C0F-40E45DB091AB</RequestId>\\n<PageSize>1</PageSize>\\n<PageNumber>1</PageNumber>\\n<Tags>\\n <Values>1</Values>\\n <Key>a</Key>\\n</Tags>\\n<Tags>\\n <Values>123</Values>\\n <Key>123</Key>\\n</Tags>\\n<Tags>\\n <Values>001</Values>\\n <Key>abc</Key>\\n</Tags>\\n<Tags>\\n <Values>1111</Values>\\n <Key>1111</Key>\\n</Tags>\\n<Tags>\\n <Values>abcd</Values>\\n <Key>abcd</Key>\\n</Tags>\\n<Tags>\\n <Key>testtag</Key>\\n</Tags>","errorExample":""}]',
+ ],
+ 'DescribeTransferDomains' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '请求和接收消息的语言类型。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'zh:中文 '."\n"
+ ."\n"
+ .'en:英文'."\n"
+ ."\n"
+ .' 默认取值为zh。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'],
],
[
- 'name' => 'Keyword',
+ 'name' => 'TransferType',
'in' => 'query',
- 'schema' => [
- 'description' => '查询关键字,支持实例Id,实例名称精确搜索。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '转移类型。取值范围:'."\n"
+ ."\n"
+ .'- IN:转入到本账号的列表'."\n"
+ .'- OUT:本账号转出的列表', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'IN'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-xxxxx',
- ],
+ 'schema' => ['description' => '域名名称,查询指定域名的转移记录。', 'type' => 'string', 'required' => false, 'example' => 'example.top'],
],
[
- 'name' => 'NeedDetailAttributes',
+ 'name' => 'FromUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '是否需要额外信息,默认为**false**。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '域名来源账号ID,查看从该ID账号转移给本账号的域名列表', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1*******'],
+ ],
+ [
+ 'name' => 'TargetUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名去处账号ID,查看从本账号转移给该ID账号的域名列表', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1*******'],
],
],
'responses' => [
@@ -23970,191 +16016,88 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '193B0163-7F93-42DF-AB05-ACEEB7D22707',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'GtmInstances' => [
+ 'TotalCount' => ['description' => '列表总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'DomainTransfers' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'GtmInstance' => [
- 'description' => 'GTM实例列表。',
+ 'DomainTransfer' => [
+ 'description' => '跨账号转移DNS列表。'."\n"
+ ."\n",
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ExpireTime' => [
- 'description' => '实例到期时间。',
- 'type' => 'string',
- 'example' => '2018-06-06T11:34Z',
- ],
- 'AccessStrategyNum' => [
- 'description' => '访问策略个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'CreateTime' => [
- 'description' => '实例创建时间。',
- 'type' => 'string',
- 'example' => '2018-06-06T11:34Z',
- ],
- 'CnameMode' => [
- 'description' => '当前接入方式。其中:'."\n"
- .'- **SYSTEM_ASSIGN**:系统分配'."\n"
- .'- **CUSTOM**:自定义',
- 'type' => 'string',
- 'example' => 'CUSTOM',
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
- 'ExpireTimestamp' => [
- 'description' => '实例到期时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1528284856000',
- ],
- 'Ttl' => [
- 'description' => '全局TTL。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'AlertGroup' => [
- 'description' => '报警组。',
- 'type' => 'string',
- 'example' => '[\\"研发组\\"]',
- ],
- 'AddressPoolNum' => [
- 'description' => '地址池个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'InstanceName' => [
- 'description' => '实例名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'LbaStrategy' => [
- 'description' => '负载均衡策略。'."\n"
- .'- **ALL_RR**: 负载均摊'."\n"
- .'- **RATIO**: 加权轮询',
- 'type' => 'string',
- 'example' => 'RATIO',
- ],
- 'Cname' => [
- 'description' => 'CNAME接入域名。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**.dns-example.top'."\n",
- ],
- 'VersionCode' => [
- 'description' => '版本Code。',
- 'type' => 'string',
- 'example' => 'biaozhun',
- ],
- 'UserDomainName' => [
- 'description' => '用户域名。',
- 'type' => 'string',
- 'example' => 'dns-example.top',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1528284856000',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfm2q2jqpjh***',
- ],
+ 'FromUserId' => ['description' => '域名转出的原始用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2*******'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2019-10-30T07:16Z'],
+ 'TargetUserId' => ['description' => '转移到的目标用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1*******'],
+ 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.top'],
+ 'Id' => ['description' => '转移记录的ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1*******'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1572419764000'],
],
],
],
],
],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"193B0163-7F93-42DF-AB05-ACEEB7D22707\\",\\n \\"PageNumber\\": 1,\\n \\"GtmInstances\\": {\\n \\"GtmInstance\\": [\\n {\\n \\"ExpireTime\\": \\"2018-06-06T11:34Z\\",\\n \\"AccessStrategyNum\\": 5,\\n \\"CreateTime\\": \\"2018-06-06T11:34Z\\",\\n \\"CnameMode\\": \\"CUSTOM\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"ExpireTimestamp\\": 1528284856000,\\n \\"Ttl\\": 60,\\n \\"AlertGroup\\": \\"[\\\\\\\\\\\\\\"研发组\\\\\\\\\\\\\\"]\\",\\n \\"AddressPoolNum\\": 5,\\n \\"InstanceName\\": \\"test\\",\\n \\"LbaStrategy\\": \\"RATIO\\",\\n \\"Cname\\": \\"gtm-cn-wwo3a3hbz**.dns-example.top\\\\n\\",\\n \\"VersionCode\\": \\"biaozhun\\",\\n \\"UserDomainName\\": \\"dns-example.top\\",\\n \\"CreateTimestamp\\": 1528284856000,\\n \\"ResourceGroupId\\": \\"rg-acfm2q2jqpjh***\\"\\n }\\n ]\\n },\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmInstancesResponse>\\r\\n<GtmInstances>\\r\\n\\t\\t<GtmInstance>\\r\\n\\t\\t\\t<Cname>instance1.14.com</Cname>\\r\\n\\t\\t\\t<CnameMode>SYSTEM_ASSIGN</CnameMode>\\r\\n\\t\\t\\t<CreateTimestamp>1528284856000</CreateTimestamp>\\r\\n\\t\\t\\t<ExpireTime>2018-06-06T11:34Z</ExpireTime>\\r\\n\\t\\t\\t<Ttl>60</Ttl>\\r\\n\\t\\t\\t<CreateTime>2018-06-06T11:34Z</CreateTime>\\r\\n\\t\\t\\t<InstanceId>instance1</InstanceId>\\r\\n\\t\\t\\t<AlertGroup>[&quot;研发组&quot;]</AlertGroup>\\r\\n\\t\\t\\t<UserDomainName>www.example.com</UserDomainName>\\r\\n\\t\\t\\t<ExpireTimestamp>1528284856000</ExpireTimestamp>\\r\\n\\t\\t\\t<LbaStrategy>RATIO</LbaStrategy>\\r\\n\\t\\t\\t<InstanceName>获取实例列表测试</InstanceName>\\r\\n\\t\\t\\t<VerisonCode>biaozhun</VerisonCode>\\r\\n\\t\\t\\t<AccessStrategyNum>5</AccessStrategyNum>\\r\\n\\t\\t\\t<AddressPoolNum>5</AddressPoolNum>\\r\\n\\t\\t</GtmInstance>\\r\\n\\t</GtmInstances>\\r\\n\\t<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>20</PageSize>\\r\\n\\t<RequestId>193B0163-7F93-42DF-AB05-ACEEB7D22707</RequestId>\\r\\n\\t<TotalItems>1</TotalItems>\\r\\n\\t<TotalPages>1</TotalPages>\\r\\n</DescribeGtmInstancesResponse>","errorExample":""}]',
- 'title' => '获取GTM实例列表(旧版)',
- 'summary' => '获取GTM实例列表。',
+ 'title' => '获取跨账号转移DNS权限列表',
+ 'summary' => '根据传入参数获取跨账号转移DNS列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmInstanceStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTransferDomains'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeTransferDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"DomainTransfers\\": {\\n \\"DomainTransfer\\": [\\n {\\n \\"FromUserId\\": 0,\\n \\"CreateTime\\": \\"2019-10-30T07:16Z\\",\\n \\"TargetUserId\\": 0,\\n \\"DomainName\\": \\"example.top\\",\\n \\"Id\\": 0,\\n \\"CreateTimestamp\\": 1572419764000\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeTransferDomainsResponse>\\n<DomainTransfers>\\n <DomainTransfer>\\n <CreateTimestamp>1574304668000</CreateTimestamp>\\n <CreateTime>2019-11-21T02:51Z</CreateTime>\\n <DomainName>test.com</DomainName>\\n <Id>1</Id>\\n <TargetUserId>1111</TargetUserId>\\n <FromUserId>2222</FromUserId>\\n </DomainTransfer>\\n</DomainTransfers>\\n<PageNumber>1</PageNumber>\\n<TotalCount>1</TotalCount>\\n<PageSize>20</PageSize>\\n<RequestId>A54C2B66-E857-434D-B77F-BE5B45C89458</RequestId>\\n</DescribeTransferDomainsResponse>","errorExample":""}]',
+ ],
+ 'ExecuteGtmRecoveryPlan' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => [],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'RecoveryPlanId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '10**'],
],
],
'responses' => [
@@ -24162,97 +16105,66 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'StrategyNotAvailableNum' => [
- 'description' => '当前生效地址池集合不可用的访问策略个数。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AddrAvailableNum' => [
- 'description' => '正常地址个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA',
- ],
- 'SwitchToFailoverStrategyNum' => [
- 'description' => '切换到备用地址池集合的访问策略个数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AddrNotAvailableNum' => [
- 'description' => '故障地址个数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AddrPoolGroupNotAvailableNum' => [
- 'description' => '不可用地址池集合个数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"StrategyNotAvailableNum\\": 1,\\n \\"AddrAvailableNum\\": 1,\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\",\\n \\"SwitchToFailoverStrategyNum\\": 1,\\n \\"AddrNotAvailableNum\\": 1,\\n \\"AddrPoolGroupNotAvailableNum\\": 1\\n}","errorExample":""},{"type":"xml","example":"<AddrAvailableNum>1</AddrAvailableNum>\\n<StrategyNotAvailableNum>1</StrategyNotAvailableNum>\\n<RequestId>389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA</RequestId>\\n<SwitchToFailoverStrategyNum>1</SwitchToFailoverStrategyNum>\\n<AddrNotAvailableNum>1</AddrNotAvailableNum>\\n<AddrPoolGroupNotAvailableNum>1</AddrPoolGroupNotAvailableNum>","errorExample":""}]',
- 'title' => '获取GTM实例状态',
- 'summary' => '通过实例ID获取实例当前状态。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeGtmInstanceStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '执行容灾预案',
+ 'summary' => '执行容灾预案。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteGtmRecoveryPlan'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:ExecuteGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","type":"json"}]',
+ ],
+ 'GetMainDomainName' => [
+ 'summary' => '通过输入的参数,获取主域名名称。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:zh', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'InputString',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.example.com'],
],
],
'responses' => [
@@ -24260,168 +16172,201 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '实例状态:'."\n"
- ."\n"
- .'- ALLOW:允许操作'."\n"
- .'- DENY:不允许操作',
- 'type' => 'string',
- 'example' => 'ALLOW',
- ],
- 'StrategyNotAvailableNum' => [
- 'description' => '当前生效地址池不可用的访问策略个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA',
- ],
- 'SwitchToFailoverStrategyNum' => [
- 'description' => '切换到备用地址池的访问策略个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'StatusReason' => [
- 'description' => '实例状态原因列表'."\n"
- ."\n"
- .'- INSTANCE_OPERATE_BLACK_LIST:黑名单'."\n"
- .'- BETA_INSTANCE:公测期实例'."\n",
- 'type' => 'string',
- 'example' => '["BETA_INSTANCE"]',
- ],
- 'AddrNotAvailableNum' => [
- 'description' => '故障地址个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'AddrPoolNotAvailableNum' => [
- 'description' => '不可用地址池个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'RR' => ['description' => '主机记录信息。', 'type' => 'string', 'example' => 'www'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'DomainLevel' => ['description' => '输入域名的级别。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"ALLOW\\",\\n \\"StrategyNotAvailableNum\\": 10,\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\",\\n \\"SwitchToFailoverStrategyNum\\": 10,\\n \\"StatusReason\\": \\"[\\\\\\"BETA_INSTANCE\\\\\\"]\\",\\n \\"AddrNotAvailableNum\\": 10,\\n \\"AddrPoolNotAvailableNum\\": 10\\n}","errorExample":""},{"type":"xml","example":"<RequestId>389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA</RequestId>\\n<AddrNotAvailableNum>10</AddrNotAvailableNum>\\n<AddrPoolNotAvailableNum>10</AddrPoolNotAvailableNum>\\n<SwitchToFailoverStrategyNum>10</SwitchToFailoverStrategyNum>\\n<StrategyNotAvailableNum>10</StrategyNotAvailableNum>\\n<Status>DENY</Status>\\n<StatusReason>[\\"BETA_INSTANCE\\"]</StatusReason>","errorExample":""}]',
- 'title' => '获取GTM实例状态(旧版)',
- 'summary' => '获取实例的当前状态。',
+ 'title' => '获取主域名名称',
+ 'description' => '关于主域名和子域名级别,参见:'."\n"
+ .'<props="china">[域名级别](https://help.aliyun.com/document_detail/39803.html?spm=a2c4g.2357293.0.0.211f41ffUR1cPb)。 如输入`www.abc.com`,则输出abc.com。</props>'."\n"
+ .'<props="intl">[域名级别](https://www.alibabacloud.com/help/zh/faq-detail/39803.htm)。 如输入`www.abc.com`,则输出abc.com。</props>',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
- ],
- 'DescribeDnsGtmLogs' => [
- 'methods' => [
- 'post',
- 'get',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMainDomainName'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:GetMainDomainName',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RR\\": \\"www\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"DomainLevel\\": 2\\n}","type":"json"}]',
+ ],
+ 'GetTxtRecordForVerify' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'Keyword',
+ 'name' => 'Type',
'in' => 'query',
+ 'schema' => ['description' => 'txt验证的功能。取值:'."\n"
+ ."\n"
+ .'- 添加子域验证 : ADD_SUB_DOMAIN'."\n"
+ .'- 其他验证:RETRIEVAL', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ADD_SUB_DOMAIN'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '关键字,按照”%KeyWord%”模式搜索,不区分大小写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'demo',
+ 'type' => 'object',
+ 'properties' => [
+ 'RR' => ['description' => '主机记录。', 'type' => 'string', 'example' => 'aliyun******'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '9CC0D642-49D4-48DE-A1A5-9F218652E4A7'],
+ 'DomainName' => ['description' => '域名名称。'."\n"
+ ."\n"
+ .'> 若传入为空,则不返回该字段。', 'type' => 'string', 'example' => 'example.com'],
+ 'Value' => ['description' => '记录值。'."\n"
+ ."\n"
+ .'> 有效期为三天。', 'type' => 'string', 'example' => 'c99419e6997f41daaa3e*****'],
+ 'ParentDomainName' => ['description' => '顶级域', 'type' => 'string', 'example' => 'com'],
+ ],
],
],
+ ],
+ 'title' => '生成txt记录',
+ 'summary' => '生成txt记录。用于域名、子域名找回、添加子域名验证、批量找回等功能。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTxtRecordForVerify'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:GetTxtRecordForVerify',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RR\\": \\"aliyun******\\",\\n \\"RequestId\\": \\"9CC0D642-49D4-48DE-A1A5-9F218652E4A7\\",\\n \\"DomainName\\": \\"example.com\\",\\n \\"Value\\": \\"c99419e6997f41daaa3e*****\\",\\n \\"ParentDomainName\\": \\"com\\"\\n}","errorExample":""},{"type":"xml","example":"<GetTxtRecordForVerifyResponse>\\r\\n <RequestId>9CC0D642-49D4-48DE-A1A5-9F218652E4A7</RequestId>\\r\\n <DomainName>example.com</DomainName>\\r\\n <RR>aliyunRetrieval</RR>\\r\\n <Value>c99419e6997f41daaa3eS*****</Value>\\r\\n</GetTxtRecordForVerifyResponse>","errorExample":""}]',
+ ],
+ 'ListCloudGtmAddressPools' => [
+ 'summary' => '获取地址池列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsL59O18'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
+ ],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '9999999',
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
[
- 'name' => 'StartTimestamp',
+ 'name' => 'AddressPoolName',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '999999999999999',
- 'minimum' => '1',
- 'example' => '1516779348000',
- ],
+ 'schema' => ['description' => '地址池名称。', 'type' => 'string', 'required' => false, 'example' => 'AddressPool-1'],
],
[
- 'name' => 'EndTimestamp',
+ 'name' => 'AddressPoolType',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '999999999999999',
- 'minimum' => '1',
- 'example' => '1516779348000',
- ],
+ 'schema' => ['description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPv4:表示要解析的服务地址是IPv4地址。'."\n"
+ ."\n"
+ .'- IPv6:表示要解析的服务地址是IPv6地址。'."\n"
+ ."\n"
+ .'- domain:表示要解析的服务地址是域名。', 'type' => 'string', 'required' => false, 'example' => 'IPv4'],
+ ],
+ [
+ 'name' => 'EnableStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态。'."\n"
+ ."\n"
+ .'- disable:禁用状态。', 'type' => 'string', 'required' => false, 'example' => 'enable'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池备注信息。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
],
'responses' => [
@@ -24429,142 +16374,313 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '50C60A29-2E93-425A-ABA8-068686E28873',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Logs' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '地址池总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'AddressPools' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Log' => [
- 'description' => '日志列表。'."\n"
- ."\n",
+ 'AddressPool' => [
+ 'description' => '地址池列表。',
'type' => 'array',
'items' => [
+ 'description' => '地址池信息。',
'type' => 'object',
'properties' => [
- 'OperTimestamp' => [
- 'description' => '操作时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1516779348000',
- ],
- 'EntityId' => [
- 'description' => '操作对象Id。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '121*****',
- ],
- 'EntityType' => [
- 'description' => '操作的对象类型。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '地址池',
- ],
- 'OperTime' => [
- 'description' => '操作时间。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '2018-01-24T07:35Z',
- ],
- 'OperAction' => [
- 'description' => '操作的动作。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '增加',
- ],
- 'Content' => [
- 'description' => '格式化的消息内容。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'addtest-pool-1',
- ],
- 'EntityName' => [
- 'description' => '操作对象名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'test-pool-1',
- ],
- 'Id' => [
- 'description' => '记录Id。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '67****',
+ 'CreateTime' => ['title' => '创建时间', 'description' => '地址池创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '地址池创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '地址池最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '地址池最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'."\n"],
+ 'AddressPoolId' => ['title' => '地址池Id', 'description' => '地址池ID,地址池的唯一标识码。', 'type' => 'string', 'example' => 'pool-89528023225442**16'],
+ 'AddressPoolName' => ['title' => '地址池名称', 'description' => '地址池名称。', 'type' => 'string', 'example' => 'AddressPool-1'],
+ 'AddressPoolType' => ['title' => '地址池类型ipv4、ipv6、domain', 'description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'example' => 'IPv4'],
+ 'AddressLbStrategy' => ['title' => '地址负载策略', 'description' => '地址池中地址间负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['title' => '顺序负载策略模式(抢占式、非抢占式)', 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。', 'type' => 'string', 'example' => 'preemptive'],
+ 'EnableStatus' => ['title' => '启用状态', 'description' => '地址池启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态。'."\n"
+ ."\n"
+ .'- disable:禁用状态。', 'type' => 'string', 'example' => 'enable'],
+ 'HealthJudgement' => ['title' => '健康判定', 'description' => '地址健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:所有探测模板至少一个探测正常。'."\n"
+ ."\n"
+ .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
+ ."\n"
+ .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
+ ."\n"
+ .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
+ ."\n"
+ .'- all_ok:所有探测模板全部探测正常。', 'type' => 'string', 'example' => 'any_ok'],
+ 'HealthStatus' => ['title' => '健康状态', 'description' => '地址池健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。', 'type' => 'string', 'example' => 'ok'],
+ 'AvailableStatus' => ['title' => '可用性状态', 'description' => '地址池可用性状态:'."\n"
+ ."\n"
+ .'- available:可用。'."\n"
+ ."\n"
+ .'- unavailable:不可用。', 'type' => 'string', 'example' => 'available'],
+ 'Addresses' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Address' => [
+ 'description' => '地址列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['title' => '创建时间', 'description' => '地址创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '地址创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '地址最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '地址最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'AddressId' => ['title' => '地址 ID', 'description' => '地址 ID,地址的唯一标识码。', 'type' => 'string', 'example' => 'addr-89518218114368****'],
+ 'WeightValue' => ['title' => '权重', 'description' => '权重值(1-100内的整数),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SerialNumber' => ['title' => '序号', 'description' => '顺序号,标识地址返回的优先级,越小优先级越高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestSource' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RequestSource' => [
+ 'description' => '请求来源列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。', 'type' => 'string', 'example' => '["default"]'],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'Name' => ['title' => '地址名称', 'description' => '地址名称。', 'type' => 'string', 'example' => 'Address-1'],
+ 'Type' => ['title' => '地址类型', 'description' => '地址类型:'."\n"
+ ."\n"
+ .'- IPv4:ipv4地址'."\n"
+ ."\n"
+ .'- IPv6:ipv6地址'."\n"
+ ."\n"
+ .'- domain:域名', 'type' => 'string', 'example' => 'IPv4'],
+ 'Address' => ['title' => '地址', 'description' => 'IP地址或者域名。', 'type' => 'string', 'example' => '223.5.XX.XX'],
+ 'AttributeInfo' => ['title' => '地址归属信息', 'description' => '地址归属信息,当前版本不支持返回此参数。', 'type' => 'string', 'example' => '当前版本不支持返回此参数。'],
+ 'Remark' => ['title' => '备注', 'description' => '地址备注。', 'type' => 'string', 'example' => 'test'],
+ 'EnableStatus' => ['title' => '启用状态 enable: 可用, disable:不可用', 'description' => '地址启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'example' => 'enable'],
+ 'AvailableMode' => ['title' => '可用状态设置模式', 'description' => '地址探测异常切换方式:'."\n"
+ ."\n"
+ .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
+ ."\n"
+ .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。', 'type' => 'string', 'example' => 'auto'],
+ 'ManualAvailableStatus' => ['title' => '手动设置的可用状态', 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
+ ."\n"
+ .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
+ ."\n"
+ .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。', 'type' => 'string', 'example' => 'available'],
+ 'AvailableStatus' => ['title' => '地址可用状态', 'description' => '地址可用状态:'."\n"
+ ."\n"
+ .'- available:地址可用。'."\n"
+ ."\n"
+ .'- unavailable:地址不可用。', 'type' => 'string', 'example' => 'available'],
+ 'HealthStatus' => ['title' => '地址的健康状态:', 'description' => '地址健康探测状态:'."\n"
+ ."\n"
+ .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
+ ."\n"
+ .'- ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
+ ."\n"
+ .'- ok_no_monitor:地址没有引用任何健康探测模板,状态正常。'."\n"
+ ."\n"
+ .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。', 'type' => 'string', 'example' => 'ok'],
+ 'HealthJudgement' => ['title' => '地址健康状态判定为ok 的方式:', 'description' => '地址健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:所有探测模板至少一个探测正常。'."\n"
+ ."\n"
+ .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
+ ."\n"
+ .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
+ ."\n"
+ .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
+ ."\n"
+ .'- all_ok:所有探测模板全部探测正常。', 'type' => 'string', 'example' => 'any_ok'],
+ 'HealthTasks' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'HealthTask' => [
+ 'title' => '健康探测任务列表',
+ 'description' => '健康探测任务列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '健康探测任务信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Port' => ['description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'TemplateId' => ['description' => '健康探测模板ID。', 'type' => 'string', 'example' => 'mtp-89518052425100****'],
+ 'TemplateName' => ['description' => '健康探测模板名称。', 'type' => 'string', 'example' => 'IPv4-Ping'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'SeqNonPreemptiveSchedule' => ['description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
+ ."\n"
+ .'- true:是'."\n"
+ ."\n"
+ .'- false:不是', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
+ 'Remark' => ['description' => '备注。', 'type' => 'string', 'example' => 'test'],
],
],
],
],
- ],
- 'TotalItems' => [
- 'description' => '总个数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"50C60A29-2E93-425A-ABA8-068686E28873\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"Logs\\": {\\n \\"Log\\": [\\n {\\n \\"OperTimestamp\\": 1516779348000,\\n \\"EntityId\\": \\"121*****\\",\\n \\"EntityType\\": \\"地址池\\",\\n \\"OperTime\\": \\"2018-01-24T07:35Z\\",\\n \\"OperAction\\": \\"增加\\",\\n \\"Content\\": \\"addtest-pool-1\\",\\n \\"EntityName\\": \\"test-pool-1\\",\\n \\"Id\\": 0\\n }\\n ]\\n },\\n \\"TotalItems\\": 1\\n}","errorExample":""},{"type":"xml","example":"<PageSize>1</PageSize>\\n<RequestId>50C60A29-2E93-425A-ABA8-068686E28873</RequestId>\\n<PageNumber>1</PageNumber>\\n<TotalPages>1</TotalPages>\\n<Logs>\\n <Log>\\n <EntityId>121212</EntityId>\\n <EntityType>地址池</EntityType>\\n <EntityName>test-pool-1</EntityName>\\n <OperTime>2018-01-24T07:35Z</OperTime>\\n <Content>addtest-pool-1</Content>\\n <OperTimestamp>1516779348000</OperTimestamp>\\n <Id>6726</Id>\\n <OperAction>增加</OperAction>\\n </Log>\\n</Logs>\\n<TotalItems>1</TotalItems>","errorExample":""}]',
- 'title' => '获取GTM操作日志列表',
- 'summary' => '通过实例ID获取操作日志列表。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeGtmAvailableAlertGroup' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取地址池列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmAddressPools'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmAddressPools',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 11,\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89528023225442**16\\",\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressId\\": \\"addr-89518218114368****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持返回此参数。\\",\\n \\"Remark\\": \\"test\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"TemplateName\\": \\"IPv4-Ping\\"\\n }\\n ]\\n },\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListCloudGtmAddresses' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US:英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址名称', 'description' => '地址名称。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址类型', 'description' => '地址类型:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'required' => false, 'example' => 'IPv4'],
+ ],
+ [
+ 'name' => 'Address',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址', 'description' => 'IP地址或者域名。', 'type' => 'string', 'required' => false, 'example' => '223.5.XX.XX'],
+ ],
+ [
+ 'name' => 'EnableStatus',
+ 'in' => 'query',
+ 'schema' => ['title' => '启用状态 enable: 可用, disable:不可用', 'description' => '表示地址当前是否可用:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'required' => false, 'example' => 'enable'],
+ ],
+ [
+ 'name' => 'HealthStatus',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址探测结果: ok, ok_alert, ok_no_monitor, exceptional', 'description' => '地址健康检查探测状态:'."\n"
+ ."\n"
+ .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
+ ."\n"
+ .' - ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
+ ."\n"
+ .' - ok_no_monitor:地址没有引用任何健康探测模板。'."\n"
+ ."\n"
+ .' - exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。', 'type' => 'string', 'required' => false, 'example' => 'ok'],
+ ],
+ [
+ 'name' => 'MonitorTemplateId',
+ 'in' => 'query',
+ 'schema' => ['description' => '健康检查模板ID,健康探测模板的唯一标识码。', 'type' => 'string', 'required' => false, 'example' => 'mtp-89518052425100****'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
+ ],
+ [
+ 'name' => 'AddressId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址ID,地址唯一标识码。', 'type' => 'string', 'required' => false, 'example' => 'addr-89518218114368****'],
],
],
'responses' => [
@@ -24572,125 +16688,205 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
- 'AvailableAlertGroup' => [
- 'description' => '可用报警组。',
- 'type' => 'string',
- 'example' => '[\\"研发组\\",\\"GTM测试组\\"]',
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalItems' => ['description' => '获取到地址列表中的地址总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'Addresses' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Address' => [
+ 'description' => '地址列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AddressId' => ['title' => '地址 ID', 'description' => '地址ID,唯一标识该地址。', 'type' => 'string', 'example' => 'addr-89518218114368****'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '地址创建时间。', 'type' => 'string', 'example' => '2024-03-23T13:09Z'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '地址修改时间。', 'type' => 'string', 'example' => '2024-03-29T13:20Z'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690824357'],
+ 'Name' => ['title' => '地址名称', 'description' => '地址名称。', 'type' => 'string', 'example' => 'Address-1'],
+ 'Type' => ['title' => '地址类型', 'description' => '地址类型:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'example' => 'IPv4'],
+ 'Address' => ['title' => '地址', 'description' => 'IP地址或者域名。', 'type' => 'string', 'example' => '223.5.XX.XX'],
+ 'AttributeInfo' => ['title' => '地址归属信息', 'description' => '地址归属信息。', 'type' => 'string', 'example' => '当前版本不支持此参数,不会返回地址归属信息。'],
+ 'Remark' => ['title' => '备注', 'description' => '备注。', 'type' => 'string', 'example' => 'app'],
+ 'EnableStatus' => ['title' => '启用状态 enable: 可用, disable:不可用', 'description' => '表示地址当前是否可用:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'example' => 'enable'],
+ 'AvailableMode' => ['title' => '可用状态设置模式', 'description' => '地址探测异常切换方式:'."\n"
+ ."\n"
+ .'auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
+ ."\n"
+ .'manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。', 'type' => 'string', 'example' => 'auto'],
+ 'ManualAvailableStatus' => ['title' => '手动设置的可用状态', 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
+ ."\n"
+ .'available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
+ ."\n"
+ .'unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。', 'type' => 'string', 'example' => 'available'],
+ 'AvailableStatus' => ['title' => '地址可用状态', 'description' => '地址可用状态:'."\n"
+ ."\n"
+ .'- available:地址可用。'."\n"
+ ."\n"
+ .'- unavailable:地址不可用。', 'type' => 'string', 'example' => 'available'],
+ 'HealthStatus' => ['title' => '地址的健康状态:', 'description' => '地址健康检查探测状态:'."\n"
+ ."\n"
+ .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
+ ."\n"
+ .' - ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
+ ."\n"
+ .' - ok_no_monitor:地址没有引用任何健康探测模板。'."\n"
+ ."\n"
+ .' - exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。', 'type' => 'string', 'example' => 'ok'],
+ 'HealthJudgement' => ['title' => '地址健康状态判定为ok 的方式:', 'description' => '地址健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:所有探测模板至少一个探测正常。'."\n"
+ ."\n"
+ .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
+ ."\n"
+ .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
+ ."\n"
+ .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
+ ."\n"
+ .'- all_ok:所有探测模板全部探测正常。', 'type' => 'string', 'example' => 'p50_ok'],
+ 'HealthTasks' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'HealthTask' => [
+ 'title' => '健康探测任务列表',
+ 'description' => '健康探测任务列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址关联的健康探测任务列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Port' => ['description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'TemplateId' => ['description' => '地址关联的健康探测模板ID。', 'type' => 'string', 'example' => 'mtp-89518052425100****'],
+ 'TemplateName' => ['description' => '健康探测模板名称。', 'type' => 'string', 'example' => 'Ping-IPv4'],
+ 'MonitorStatus' => ['description' => '健康探测模板探测任务状态:'."\n"
+ .'- ok:正常。'."\n"
+ ."\n"
+ .'- alert:告警。'."\n"
+ ."\n"
+ .'- no_data:无数据,一般是健康探测任务刚创建,探测任务数据暂未采集到。', 'type' => 'string', 'example' => 'ok'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"AvailableAlertGroup\\": \\"[\\\\\\\\\\\\\\"研发组\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"GTM测试组\\\\\\\\\\\\\\"]\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmAvailableAlertGroupResponse>\\r\\n\\t<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n\\t<AvailableAlertGroup>[&quot;研发组&quot;,&quot;GTM测试组&quot;]</AvailableAlertGroup>\\r\\n</DescribeGtmAvailableAlertGroupResponse>","errorExample":""}]',
- 'title' => '获取GTM实例可用的报警组列表(旧版)',
- 'summary' => '获取GTM实例可用的报警组列表。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeGtmLogs' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取地址列表',
+ 'summary' => '根据传入参数获取地址列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmAddresses'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmAddresses',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 2,\\n \\"TotalItems\\": 30,\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"AddressId\\": \\"addr-89518218114368****\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690824357,\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持此参数,不会返回地址归属信息。\\",\\n \\"Remark\\": \\"app\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"p50_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"TemplateName\\": \\"Ping-IPv4\\",\\n \\"MonitorStatus\\": \\"ok\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListCloudGtmAlertLogs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '用户语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回信息的语言类型:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US:英文', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'ActionType',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-xxxxx',
- ],
+ 'schema' => ['title' => '地址名称', 'description' => '告警类型:'."\n"
+ ."\n"
+ .'- ALERT:告警'."\n"
+ ."\n"
+ .'- RESUME:恢复', 'type' => 'string', 'required' => false, 'example' => 'ALERT'],
+ ],
+ [
+ 'name' => 'EntityType',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址类型', 'description' => '告警对象:'."\n"
+ ."\n"
+ .'- GTM_ADDRESS:地址'."\n"
+ ."\n"
+ .'- GTM_ADDRESS_POOL:地址池'."\n"
+ ."\n"
+ .'- GTM_INSTANCE:实例'."\n"
+ ."\n"
+ .'- GTM_MONITOR_TEMPLATE:健康探测模板', 'type' => 'string', 'required' => false, 'example' => 'GTM_ADDRESS'],
],
[
'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'description' => '关键字,按照“%Keyword%”模式搜索,不区分大小写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['title' => '地址', 'description' => '搜索关键词,一般为地址 ID、地址池 ID、域名信息等。', 'type' => 'string', 'required' => false, 'example' => 'pool-895280232254422016'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'StartTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '查询的开始时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1611328826977'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'EndTimestamp',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '查询的结束时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1711328826977'],
],
[
- 'name' => 'StartTimestamp',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1363453340000',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'EndTimestamp',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1363453340000',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
],
'responses' => [
@@ -24698,148 +16894,92 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '页面大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '50C60A29-2E93-425A-ABA8-068686E28873',
- ],
- 'PageNumber' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '224',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '告警日志总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
'Logs' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'Log' => [
- 'description' => '日志列表。',
+ 'description' => '告警日志列表。',
'type' => 'array',
'items' => [
+ 'description' => '告警日志信息。',
'type' => 'object',
'properties' => [
- 'OperTimestamp' => [
- 'description' => '操作时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1516779348000',
- ],
- 'EntityId' => [
- 'description' => '操作对象ID',
- 'type' => 'string',
- 'example' => '121212',
- ],
- 'EntityType' => [
- 'description' => '操作的对象类型',
- 'type' => 'string',
- 'example' => 'POOL',
- ],
- 'OperTime' => [
- 'description' => '操作时间',
- 'type' => 'string',
- 'example' => '2018-01-24T07:35Z',
- ],
- 'OperIp' => [
- 'description' => '操作ip',
- 'type' => 'string',
- 'example' => '106.11.34.X',
- ],
- 'OperAction' => [
- 'description' => '操作的动作',
- 'type' => 'string',
- 'example' => 'add',
- ],
- 'Content' => [
- 'description' => '格式化的消息内容',
- 'type' => 'string',
- 'example' => 'addtest-pool-1',
- ],
- 'EntityName' => [
- 'description' => '操作对象名称',
- 'type' => 'string',
- 'example' => 'test-pool-1',
- ],
- 'Id' => [
- 'description' => '记录ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6726',
- ],
+ 'ActionType' => ['title' => '地址 ID', 'description' => '告警类型:'."\n"
+ ."\n"
+ .'- ALERT:告警'."\n"
+ ."\n"
+ .'- RESUME:恢复', 'type' => 'string', 'example' => 'ALERT'],
+ 'EntityType' => ['title' => '创建时间', 'description' => '告警对象:'."\n"
+ ."\n"
+ .'- GTM_ADDRESS:地址'."\n"
+ ."\n"
+ .'- GTM_ADDRESS_POOL:地址池'."\n"
+ ."\n"
+ .'- GTM_INSTANCE:实例'."\n"
+ ."\n"
+ .'- GTM_MONITOR_TEMPLATE:健康探测模板', 'type' => 'string', 'example' => 'GTM_ADDRESS'],
+ 'Content' => ['title' => '修改时间', 'description' => '告警内容。', 'type' => 'string', 'example' => '"Pool name:华东\\nType:IPv4\\nReason: Normal health determination\\nNumber of addresses in the pool : 2\\nAbnormal address: --\\nDetermination conditions : Any address in the addresspool is available address\\nAffected domain names: www.cloud-example.com"'],
+ 'Timestamp' => ['description' => '告警日志时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1711328826977'],
],
],
],
],
],
- 'TotalItems' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '224',
- ],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"50C60A29-2E93-425A-ABA8-068686E28873\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 224,\\n \\"Logs\\": {\\n \\"Log\\": [\\n {\\n \\"OperTimestamp\\": 1516779348000,\\n \\"EntityId\\": \\"121212\\",\\n \\"EntityType\\": \\"POOL\\",\\n \\"OperTime\\": \\"2018-01-24T07:35Z\\",\\n \\"OperIp\\": \\"106.11.34.X\\",\\n \\"OperAction\\": \\"add\\",\\n \\"Content\\": \\"addtest-pool-1\\",\\n \\"EntityName\\": \\"test-pool-1\\",\\n \\"Id\\": 6726\\n }\\n ]\\n },\\n \\"TotalItems\\": 224\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmLogsResponse>\\r\\n\\t<Logs>\\r\\n\\t\\t<Content>addtest-pool-1</Content>\\r\\n\\t\\t<EntityId>121212</EntityId>\\r\\n\\t\\t<EntityName>test-pool-1</EntityName>\\r\\n\\t\\t<Id>6726</Id>\\r\\n\\t\\t<OperAction>add</OperAction>\\r\\n\\t\\t<OperIp>106.11.34.X</OperIp>\\r\\n\\t\\t<EntityType>POOL</EntityType>\\r\\n\\t\\t<OperTime>2018-01-24T07:35Z</OperTime>\\r\\n\\t\\t<OperTimestamp>1516779348000</OperTimestamp>\\r\\n\\t</Logs>\\r\\n\\t<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>1</PageSize>\\r\\n\\t<RequestId>50C60A29-2E93-425A-ABA8-068686E28873</RequestId>\\r\\n\\t<TotalItems>224</TotalItems>\\r\\n\\t<TotalPages>224</TotalPages>\\r\\n</DescribeGtmLogsResponse>","errorExample":""}]',
- 'title' => '获取GTM操作日志列表(旧版)',
- 'summary' => '获取日志列表。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeGtmInstanceSystemCname' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取告警日志列表',
+ 'summary' => '获取告警日志列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmAlertLogs'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmAlertLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 15,\\n \\"Logs\\": {\\n \\"Log\\": [\\n {\\n \\"ActionType\\": \\"ALERT\\",\\n \\"EntityType\\": \\"GTM_ADDRESS\\",\\n \\"Content\\": \\"\\\\\\"Pool name:华东\\\\\\\\nType:IPv4\\\\\\\\nReason: Normal health determination\\\\\\\\nNumber of addresses in the pool : 2\\\\\\\\nAbnormal address: --\\\\\\\\nDetermination conditions : Any address in the addresspool is available address\\\\\\\\nAffected domain names: www.cloud-example.com\\\\\\"\\",\\n \\"Timestamp\\": 1711328826977\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListCloudGtmAvailableAlertGroups' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'InstanceId',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- **zh-CN**:中文'."\n"
+ ."\n"
+ .'- **en-US**:英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
],
'responses' => [
@@ -24847,69 +16987,121 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SystemCname' => [
- 'description' => '系统分配cname域名。',
- 'type' => 'string',
- 'example' => 'gtm-cn-mp91004xxxx.gtm-a2**.com',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'AlertGroups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AlertGroup' => [
+ 'description' => '报警通知组列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '报警通知组。',
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupName' => ['title' => '地址 ID', 'description' => '报警通知组名称。', 'type' => 'string', 'example' => '云账号报警联系人'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"SystemCname\\": \\"gtm-cn-mp91004xxxx.gtm-a2**.com\\",\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmInstanceSystemCnameResponse>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<SystemCname>gtm-cn-mp91004xxxx.gtm-a2b4.com</SystemCname>\\r\\n</DescribeGtmInstanceSystemCnameResponse>","errorExample":""}]',
- 'title' => '获取系统分配的CNAME域名(旧版)',
- 'summary' => '获取系统分配的cname域名。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmInstanceSystemCname' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取用户可用的告警组列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmAvailableAlertGroups'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmAvailableAlertGroups',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"AlertGroups\\": {\\n \\"AlertGroup\\": [\\n {\\n \\"GroupName\\": \\"云账号报警联系人\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListCloudGtmInstanceConfigs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsBCOB1Q'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'."\n"],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['title' => '调度实例id', 'description' => '全局流量管理3.0实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3h****'],
+ ],
+ [
+ 'name' => 'ScheduleZoneName',
+ 'in' => 'query',
+ 'schema' => ['title' => 'zone名称', 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'EnableStatus',
+ 'in' => 'query',
+ 'schema' => ['title' => '启用状态', 'description' => '域名实例的启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
+ ."\n"
+ .'- disable:禁用状态,GTM实例智能调度策略不可用。', 'type' => 'string', 'required' => false, 'example' => 'enable'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'ScheduleDomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'],
],
],
'responses' => [
@@ -24917,89 +17109,266 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'SystemCname' => [
- 'description' => '系统分配cname域名。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'gtm-cn-mp91004xxxx.gtm-a2**.com',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
+ 'RequestId' => ['description' => '唯一请求识别码', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '域名实例配置的总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'InstanceConfigs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'InstanceConfig' => [
+ 'description' => '实例配置列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '实例配置信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => ['title' => '实例id', 'description' => '全局流量管理3.0实例ID。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3h****'],
+ 'ConfigId' => ['title' => '实例id', 'description' => '域名实例配置ID。相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。', 'type' => 'string', 'example' => 'Config-000****'."\n"],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '实例配置创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '实例创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '实例配置最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'."\n"],
+ 'UpdateTimestamp' => ['description' => '实例配置最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'VersionCode' => ['title' => '版本code', 'description' => '全局流量管理3.0实例版本:'."\n"
+ ."\n"
+ .'- standard:标准版。'."\n"
+ ."\n"
+ .'- ultimate:旗舰版。', 'type' => 'string', 'example' => 'ultimate'],
+ 'CommodityCode' => ['title' => '商品code', 'description' => '商品编码:'."\n"
+ ."\n"
+ .'- dns_gtm_public_cn:中国站商品编码。'."\n"
+ ."\n"
+ .'- dns_gtm_public_intl:国际站商品编码。', 'type' => 'string', 'example' => 'dns_gtm_public_cn'],
+ 'ScheduleZoneMode' => ['title' => '接入zone分配模式', 'description' => '接入域名分配模式:'."\n"
+ ."\n"
+ .'- custom:自定义接入域名,用户自定义主机记录,并关联GTM实例所在账号下的主域或子域,生成接入域名。'."\n"
+ ."\n"
+ .'- sys_assign:系统默认分配接入域名,本功能已经不支持,请勿选择此模式。', 'type' => 'string', 'example' => 'custom'],
+ 'ScheduleZoneName' => ['title' => 'zone名称', 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。', 'type' => 'string', 'example' => 'example.com'],
+ 'ScheduleHostname' => ['title' => '主机记录', 'description' => 'GTM接入域名的主机记录。', 'type' => 'string', 'example' => 'www'],
+ 'ScheduleDomainName' => ['title' => '域名,主机记录+zoneNamne', 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)。', 'type' => 'string', 'example' => 'www.example.com'."\n"],
+ 'ScheduleRrType' => ['title' => '调度解析记录类型', 'description' => '调度域名的解析记录类型:'."\n"
+ ."\n"
+ .'- A:IPv4地址'."\n"
+ ."\n"
+ .'- AAAA:IPv6地址'."\n"
+ ."\n"
+ .'- CNAME:域名', 'type' => 'string', 'example' => 'A'],
+ 'Ttl' => ['title' => '调度调度实例的TTL', 'description' => '全局TTL(单位:秒),接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'AddressPoolLbStrategy' => ['title' => '地址池的负载均衡策略', 'description' => '地址池之间的负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['title' => '顺序负载策略模式(抢占式、非抢占式)', 'description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。', 'type' => 'string', 'example' => 'preemptive'],
+ 'AvailableStatus' => ['description' => '域名实例服务可用状态:'."\n"
+ ."\n"
+ .'- available:可用,域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
+ ."\n"
+ .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。', 'type' => 'string', 'example' => 'available'],
+ 'EnableStatus' => ['title' => '启用状态', 'description' => '域名实例的启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
+ ."\n"
+ .'- disable:禁用状态,GTM实例智能调度策略不可用。', 'type' => 'string', 'example' => 'enable'],
+ 'HealthStatus' => ['title' => '监控状态', 'description' => '域名实例健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。', 'type' => 'string', 'example' => 'ok'],
+ 'Remark' => ['title' => '备注', 'description' => '域名实例配置的备注。', 'type' => 'string', 'example' => 'test'],
+ 'AddressPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AddressPool' => [
+ 'description' => '地址池列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址池配置信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '地址池创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '地址池创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['description' => '地址池最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '地址池最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'AddressPoolId' => ['title' => '地址池Id', 'description' => '地址池Id,地址池的唯一标识码。', 'type' => 'string', 'example' => 'pool-89528023225442****'],
+ 'WeightValue' => ['title' => '权重值', 'description' => '权重值(1-100之间的整数,包括1和100),支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SerialNumber' => ['title' => '序号', 'description' => '顺序号,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestSource' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RequestSource' => [
+ 'description' => '解析请求来源列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。', 'type' => 'string', 'example' => '["default"]'],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'AddressPoolName' => ['title' => '地址池名称', 'description' => '地址池名称。', 'type' => 'string', 'example' => 'AddressPool-1'."\n"],
+ 'AddressPoolType' => ['title' => '地址池类型ipv4、ipv6、domain', 'description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'example' => 'IPv4'],
+ 'AddressLbStrategy' => ['title' => '地址负载策略', 'description' => '地址池中地址间负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['title' => '顺序负载策略模式(抢占式、非抢占式)', 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。', 'type' => 'string', 'example' => 'preemptive'],
+ 'EnableStatus' => ['title' => '启用状态', 'description' => '地址池启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'example' => 'enable'],
+ 'HealthJudgement' => ['title' => '健康判定', 'description' => '地址池健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。', 'type' => 'string', 'example' => 'ok'],
+ 'HealthStatus' => ['title' => '健康状态', 'description' => '地址池健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。', 'type' => 'string', 'example' => 'ok'],
+ 'AvailableStatus' => ['title' => '可用性状态', 'description' => '地址池可用性状态:'."\n"
+ ."\n"
+ .'- available:可用'."\n"
+ ."\n"
+ .'- unavailable:不可用', 'type' => 'string', 'example' => 'available'],
+ 'SeqNonPreemptiveSchedule' => ['description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
+ ."\n"
+ .'- true:是'."\n"
+ ."\n"
+ .'- false:不是', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'ConfigLoggingSwitchStatus' => ['type' => 'string', 'example' => 'ENABLE'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"SystemCname\\": \\"gtm-cn-mp91004xxxx.gtm-a2**.com\\",\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<SystemCname>gtminstance.com</SystemCname>","errorExample":""}]',
- 'title' => '获取系统分配的CNAME域名',
- 'summary' => '通过实例ID获取系统分配的CNAME域名。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CopyGtmConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取实例配置列表',
+ 'summary' => '获取实例配置列表,包括接入域名、地址池信息等。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmInstanceConfigs'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmInstanceConfigs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 10,\\n \\"InstanceConfigs\\": {\\n \\"InstanceConfig\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3h****\\",\\n \\"ConfigId\\": \\"Config-000****\\\\n\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\\\n\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"CommodityCode\\": \\"dns_gtm_public_cn\\",\\n \\"ScheduleZoneMode\\": \\"custom\\",\\n \\"ScheduleZoneName\\": \\"example.com\\",\\n \\"ScheduleHostname\\": \\"www\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\\\n\\",\\n \\"ScheduleRrType\\": \\"A\\",\\n \\"Ttl\\": 60,\\n \\"AddressPoolLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"Remark\\": \\"test\\",\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"AddressPoolName\\": \\"AddressPool-1\\\\n\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n },\\n \\"ConfigLoggingSwitchStatus\\": \\"ENABLE\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListCloudGtmInstances' => [
+ 'summary' => '根据传入参数获取GTM 3.0实例列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [],
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsBCOB1Q'],
+ ],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US:英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'SourceId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '源对象Id,目前仅支持实例id。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-0pp1j84v60d',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'TargetId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '目标对象Id,目前仅支持实例id。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-v0h1gaujg06',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'CopyType',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '复制类型,目前仅支持INSTANCE。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'INSTANCE',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['title' => '调度实例id', 'description' => 'GTM实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-jmp3qnw****'],
+ ],
+ [
+ 'name' => 'InstanceName',
+ 'in' => 'query',
+ 'schema' => ['title' => '调度实例名称', 'description' => '实例名称,方便区分实例的业务用途。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['title' => '指定实例的付费类型', 'type' => 'string', 'example' => 'postpay/prepay'],
],
],
'responses' => [
@@ -25007,70 +17376,112 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA',
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '实例总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
+ 'Instances' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Instance' => [
+ 'description' => '实例列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '实例信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => ['title' => '实例id', 'description' => 'GTM实例ID。', 'type' => 'string', 'example' => 'gtm-cn-jmp3qnw****'],
+ 'InstanceName' => ['title' => '调度实例名称', 'description' => '实例名称。', 'type' => 'string', 'example' => 'test'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '实例创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '实例创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231298343343'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '实例最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'."\n"],
+ 'UpdateTimestamp' => ['description' => '实例最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231298343343'],
+ 'VersionCode' => ['title' => '版本code', 'description' => 'GTM实例版本:'."\n"
+ ."\n"
+ .'- standard:标准版'."\n"
+ ."\n"
+ .'- ultimate:旗舰版', 'type' => 'string', 'example' => 'ultimate'],
+ 'CommodityCode' => ['title' => '商品code', 'description' => '商品编码:'."\n"
+ ."\n"
+ .'- dns_gtm_public_cn:中国站商品编码。'."\n"
+ ."\n"
+ .'- dns_gtm_public_intl:国际站商品编码。', 'type' => 'string', 'example' => 'dns_gtm_public_cn'],
+ 'MonthlySmsQuota' => ['title' => '短消息配额', 'description' => '短息配额,仅中国站支持短消息,国际站不支持短消息。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'MonitorTaskQuota' => ['title' => '监控任务配额', 'description' => '监控探测任务配额。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'ExpireTimestamp' => ['description' => '实例到期时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1231298343343'],
+ 'ExpireTime' => ['title' => '到期日', 'description' => '实例到期时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'ScheduleDomainName' => ['description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)。', 'type' => 'string', 'example' => 'www.example.com'],
+ 'MonthlySmsUsed' => ['description' => '当月短信发送量,仅中国站支持短信,国际站不支持短信。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'MonthlyEmailUsed' => ['description' => '当月邮件发送量。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'MonthlyWebhookUsed' => ['description' => '当月 webhook 发送量。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'ChargeType' => ['title' => '实例的付费类型', 'type' => 'string', 'example' => 'postpay / prepay'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA</RequestId>","errorExample":""}]',
- 'title' => '复制GTM配置',
- 'summary' => '复制GTM配置。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- ],
- 'MoveGtmResourceGroup' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取实例列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmInstances'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 15,\\n \\"Instances\\": {\\n \\"Instance\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-jmp3qnw****\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1231298343343,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\\\n\\",\\n \\"UpdateTimestamp\\": 1231298343343,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"CommodityCode\\": \\"dns_gtm_public_cn\\",\\n \\"MonthlySmsQuota\\": 1000,\\n \\"MonitorTaskQuota\\": 100,\\n \\"ExpireTimestamp\\": 1231298343343,\\n \\"ExpireTime\\": \\"2024-03-15T01:46Z\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"MonthlySmsUsed\\": 100,\\n \\"MonthlyEmailUsed\\": 50,\\n \\"MonthlyWebhookUsed\\": 80,\\n \\"ChargeType\\": \\"postpay / prepay\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListCloudGtmMonitorNodes' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns6ZABD5'],
+ ],
'parameters' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'ResourceId',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '资源id。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'rg-aekzzk7hx3*****',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- **zh-CN**:中文'."\n"
+ ."\n"
+ .'- **en-US**(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
],
[
- 'name' => 'NewResourceGroupId',
+ 'name' => 'ShowDisabledNodes',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'AgIDE1MA_XXX',
- ],
+ 'allowEmptyValue' => true,
+ 'schema' => ['type' => 'boolean', 'default' => 'false'],
],
],
'responses' => [
@@ -25078,89 +17489,202 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB',
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Ipv4IspCityNodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ipv4IspCityNode' => [
+ 'description' => '公网IPv4监控节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '公网IPv4监控节点信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CountryCode' => ['title' => '国家 Code', 'description' => '国家编码。', 'type' => 'string', 'example' => '001'],
+ 'CountryName' => ['title' => '国家名称', 'description' => '国家名称。', 'type' => 'string', 'example' => '中国'],
+ 'CityCode' => ['title' => '城市 Code', 'description' => '城市编码。', 'type' => 'string', 'example' => '503'],
+ 'CityName' => ['title' => '城市名称', 'description' => '城市名称。', 'type' => 'string', 'example' => '张家口市'],
+ 'GroupType' => ['title' => '监控探点分组类型', 'description' => '监控节点分组类型,当前支持:'."\n"
+ ."\n"
+ .'- BGP:BGP节点'."\n"
+ ."\n"
+ .'- OVERSEAS:国际节点'."\n"
+ ."\n"
+ .'- ISP:运营商节点', 'type' => 'string', 'example' => 'BGP'],
+ 'GroupName' => ['title' => '监控探点分组类型名称', 'description' => '监控探点分组名称。', 'type' => 'string', 'example' => 'BGP节点'],
+ 'IspCode' => ['title' => 'ISP Code', 'description' => '运营商编码。', 'type' => 'string', 'example' => '465'],
+ 'IspName' => ['title' => 'ISP 名称', 'description' => '运营商名称。', 'type' => 'string', 'example' => '阿里巴巴'],
+ 'DefaultSelected' => ['title' => '是否默认勾选', 'description' => '监控节点是否默认选中:'."\n"
+ ."\n"
+ .'- true:默认选中'."\n"
+ ."\n"
+ .'- false:默认不选中', 'type' => 'boolean', 'example' => 'true'],
+ 'NodeId' => ['description' => '探测节点的唯一标识 ID。', 'type' => 'string', 'example' => 'node-ewze1bysndy4gf**j8'],
+ 'Ips' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ip' => [
+ 'description' => '节点IP列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '节点IP列表。', 'type' => 'string', 'example' => ' ['."\n"
+ .' "47.92.XX.XX",'."\n"
+ .' "47.92.XX.XX",'."\n"
+ .' "39.98.XX.XX",'."\n"
+ .' "39.100.XX.XX"'."\n"
+ .' ]'],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'EnableStatus' => ['type' => 'string', 'example' => 'enable', 'default' => 'enable'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'Ipv6IspCityNodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ipv6IspCityNode' => [
+ 'description' => '公网IPv6监控节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '公网Ipv6监控节点。'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'CountryCode' => ['title' => '国家 Code', 'description' => '国家编码。', 'type' => 'string', 'example' => '001'],
+ 'CountryName' => ['title' => '国家名称', 'description' => '国家名称。', 'type' => 'string', 'example' => '中国'],
+ 'CityCode' => ['title' => '城市 Code', 'description' => '城市编码。', 'type' => 'string', 'example' => '503'],
+ 'CityName' => ['title' => '城市名称', 'description' => '城市名称。', 'type' => 'string', 'example' => '张家口市'],
+ 'GroupType' => ['title' => '监控探点分组类型', 'description' => '监控节点分组类型,当前支持:'."\n"
+ ."\n"
+ .'- BGP:BGP节点'."\n"
+ ."\n"
+ .'- OVERSEAS:国际节点'."\n"
+ ."\n"
+ .'- ISP:运营商节点', 'type' => 'string', 'example' => 'BGP'],
+ 'GroupName' => ['title' => '监控探点分组类型名称', 'description' => '监控探点分组名称。', 'type' => 'string', 'example' => 'BGP节点'],
+ 'IspCode' => ['title' => 'ISP Code', 'description' => '运营商编码。', 'type' => 'string', 'example' => '465'],
+ 'IspName' => ['title' => 'ISP 名称', 'description' => '运营商名称。', 'type' => 'string', 'example' => '阿里巴巴'],
+ 'DefaultSelected' => ['title' => '是否默认勾选', 'description' => '监控节点是否默认选中:'."\n"
+ ."\n"
+ .'- true:默认选中'."\n"
+ ."\n"
+ .'- false:默认不选中', 'type' => 'boolean', 'example' => 'true'],
+ 'NodeId' => ['description' => '探测节点的唯一标识 ID。', 'type' => 'string', 'example' => 'node-ewze1bysndy4gf**j8'."\n"],
+ 'Ips' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ip' => [
+ 'description' => '节点IP列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '节点IP列表。', 'type' => 'string', 'example' => ' ['."\n"
+ .' "240e:e9:6002:15c:0:ff:b015:1**f",'."\n"
+ .' "240e:e9:6002:15a:0:ff:b05c:1**8"'."\n"
+ .' ]'."\n"],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'EnableStatus' => ['type' => 'string', 'example' => 'enable', 'default' => 'enable'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB\\"\\n}","errorExample":""},{"type":"xml","example":"<MoveGtmResourceGroupResponse>\\r\\n <RequestId>C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB</RequestId>\\r\\n</MoveGtmResourceGroupResponse>","errorExample":""}]',
- 'title' => '修改GTM实例的资源组ID',
- 'summary' => '根据传入参数修改GTM实例的资源组ID。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ValidateDnsGtmCnameRrCanUse' => [
- 'summary' => '检查实例主机名是否可添加',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取健康检查探点列表',
+ 'summary' => '根据传入参数获取健康探测检查探点列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmMonitorNodes'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmMonitorNodes',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Ipv4IspCityNodes\\": {\\n \\"Ipv4IspCityNode\\": [\\n {\\n \\"CountryCode\\": \\"001\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityCode\\": \\"503\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"DefaultSelected\\": true,\\n \\"NodeId\\": \\"node-ewze1bysndy4gf**j8\\",\\n \\"Ips\\": {\\n \\"Ip\\": [\\n \\" [\\\\n \\\\\\"47.92.XX.XX\\\\\\",\\\\n \\\\\\"47.92.XX.XX\\\\\\",\\\\n \\\\\\"39.98.XX.XX\\\\\\",\\\\n \\\\\\"39.100.XX.XX\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"EnableStatus\\": \\"enable\\"\\n }\\n ]\\n },\\n \\"Ipv6IspCityNodes\\": {\\n \\"Ipv6IspCityNode\\": [\\n {\\n \\"CountryCode\\": \\"001\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityCode\\": \\"503\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"DefaultSelected\\": true,\\n \\"NodeId\\": \\"node-ewze1bysndy4gf**j8\\\\n\\",\\n \\"Ips\\": {\\n \\"Ip\\": [\\n \\" [\\\\n \\\\\\"240e:e9:6002:15c:0:ff:b015:1**f\\\\\\",\\\\n \\\\\\"240e:e9:6002:15a:0:ff:b05c:1**8\\\\\\"\\\\n ]\\\\n\\"\\n ]\\n },\\n \\"EnableStatus\\": \\"enable\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListCloudGtmMonitorTemplates' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'CnameRr',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
[
- 'name' => 'CnameType',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['description' => '健康检查探测模板的名称,一般为了方便配置人员区分和记忆,建议名称可以区分健康检查协议。', 'type' => 'string', 'required' => false, 'example' => 'IPv4-Ping'],
],
[
- 'name' => 'CnameMode',
+ 'name' => 'IpVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['description' => '探测节点IP地址的类型:'."\n"
+ ."\n"
+ .'- IPv4:当探测的目标地址类型为IPv4地址时适用。'."\n"
+ ."\n"
+ .'- IPv6:当探测的目标地址类型为IPv6地址时适用。', 'type' => 'string', 'required' => false, 'example' => 'IPv4'],
],
[
- 'name' => 'CnameZone',
+ 'name' => 'Protocol',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['description' => '对目标IP地址发起探测的协议类型:'."\n"
+ ."\n"
+ .'- ping'."\n"
+ ."\n"
+ .'- tcp'."\n"
+ ."\n"
+ .'- http'."\n"
+ ."\n"
+ .'- https', 'type' => 'string', 'required' => false, 'example' => 'ping'],
],
],
'responses' => [
@@ -25168,252 +17692,249 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D'],
+ 'TotalPages' => ['description' => '数据分页后总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'TotalItems' => ['description' => '获取的健康探测模板列表总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Templates' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Template' => [
+ 'description' => '健康探测模板列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '健康探测模板详细信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TemplateId' => ['title' => '模板 ID ,全局唯一', 'description' => '健康探测模板ID,唯一标识健康探测模板。', 'type' => 'string', 'example' => 'mtp-89518052425100****'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '健康探测模板创建时间。', 'type' => 'string', 'example' => '2024-03-23T13:09Z'],
+ 'CreateTimestamp' => ['description' => '健康探测模板创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '健康探测模板最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-29T13:20Z'],
+ 'UpdateTimestamp' => ['description' => '健康检查模板配置修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'Name' => ['title' => '探测模板名称', 'description' => '健康检查探测模板的名称,一般为了方便配置人员区分和记忆。', 'type' => 'string', 'example' => 'IPv4-Ping'],
+ 'IpVersion' => ['title' => '探测的网络环境 IP 版本', 'description' => '探测节点IP地址的类型:'."\n"
+ ."\n"
+ .'- IPv4:当探测的目标地址类型为IPv4地址时适用。'."\n"
+ ."\n"
+ .'- IPv6:当探测的目标地址类型为IPv6地址时适用。', 'type' => 'string', 'example' => 'IPv4'],
+ 'Protocol' => ['title' => '探测协议', 'description' => '对目标IP地址发起探测的协议类型:'."\n"
+ ."\n"
+ .'- ping'."\n"
+ ."\n"
+ .'- tcp'."\n"
+ ."\n"
+ .'- http'."\n"
+ ."\n"
+ .'- https', 'type' => 'string', 'example' => 'ping'],
+ 'Interval' => ['title' => '探测间隔(秒)', 'description' => '每次检查的时间间隔(秒),默认每间隔1分钟探测一次,健康检查间隔最小支持15秒(面向旗舰版实例开放)。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Timeout' => ['title' => '探测超时时间', 'description' => '探测超时时间(毫秒),大于超时时间未返回的数据包即判断为健康检查超时:'."\n"
+ ."\n"
+ .'- 2000'."\n"
+ ."\n"
+ .'- 3000'."\n"
+ ."\n"
+ .'- 5000'."\n"
+ ."\n"
+ .'- 10000', 'type' => 'integer', 'format' => 'int32', 'example' => '5000'],
+ 'EvaluationCount' => ['title' => '探测连续次数', 'description' => '重试次数,连续多次监控出现异常,系统才将应用服务判断为异常,以防止因为一些网络瞬间抖动等其他原因影响监控准确率。重试次数可选值为:'."\n"
+ ."\n"
+ .'- 1'."\n"
+ ."\n"
+ .'- 2'."\n"
+ ."\n"
+ .'- 3', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'FailureRate' => ['title' => '告警失败率', 'description' => '所选节点探测失败比例(%),即健康检查异常的探测点占探测点总数的百分比,当失败比例超过设置的阈值时,将服务地址判断为异常。可设置的失败比例阈值为:'."\n"
+ ."\n"
+ .'- 20'."\n"
+ ."\n"
+ .'- 50'."\n"
+ ."\n"
+ .'- 80'."\n"
+ ."\n"
+ .'- 100', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'ExtendInfo' => ['description' => 'Json 字符串扩展信息,各协议检查所需参数:'."\n"
+ ."\n"
+ .'- http(s):'."\n"
+ ."\n"
+ .' **host**:执行HTTP(S)监控时,指定HTTP(S)请求头部信息中携带的Host字段,用于标识需要访问的具体HTTP网站,默认为主域名,如果目标网站的host有特殊要求,请自行修改;'."\n"
+ ."\n"
+ .' **path**:HTTP路径,用户HTTP(S)健康检查的URL路径配置,系统默认填写“/”;'."\n"
+ ."\n"
+ .' **code**:当执行HTTP(S)监控时,根据Web服务器的返回码判断Web服务器是否正常工作,大于返回码报警阈值时,系统认为应用服务出现异常:'."\n"
+ ."\n"
+ .' - 400:Bad Request,即如果HTTP(S)请求携带了错误的请求参数,Web服务器将返回大于400的返回码,如果校验内容设置为“异常码大于400”,请务必在URL路径中填写精确的URL访问路径参数;'."\n"
+ ."\n"
+ .' - 500:Server Error,即如果Web服务器出现了某些异常,将返回大于500的异常码,系统默认使用大于500的异常码作为报警阈值;'."\n"
+ ."\n"
+ .' **sni**:是否开启sni,仅在HTTPS协议时使用。SNI(Server Name Indication)是TLS协议的一个扩展,它允许客户端在发起TLS握手时指定想要连接的主机名。由于TLS握手发生在HTTP请求的任何数据被发送之前,SNI允许服务器在发送证书之前知道客户端试图访问的服务,这使得服务器可以选择正确的证书来呈现给客户端。'."\n"
+ ."\n"
+ .' - true-开启'."\n"
+ .' '."\n"
+ .' - false-未开启'."\n"
+ .' '."\n"
+ .' **followRedirect**:是否跟随3XX重定向'."\n"
+ ."\n"
+ .' - true:监控点获取的状态码为3XX (301,302,303, 307,308) 时,跟随跳转;'."\n"
+ ."\n"
+ .' - false:不跳转;'."\n"
+ ."\n\n"
+ .'- ping:'."\n"
+ ."\n"
+ .' **packetNum**:每次Ping监控,同时发出多少个ICMP数据包,可选20、50、100'."\n"
+ ."\n"
+ .' **packetLossRate**:异常时丢包率,每次ping监控,对发出的ICMP数据包,计算丢包率(%)。丢包率=(丢失数据包/发送的总ICMP数据包数目)* 100%,达到丢包率阈值时,异常报警。丢包率可选值为:10、30、40、80、90、100', 'type' => 'string', 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}'."\n"],
+ 'IspCityNodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'IspCityNode' => [
+ 'title' => '探点信息',
+ 'description' => '探测节点列表,具体信息可通过调用[ListCloudGtmMonitorNodes](~~2797327~~) 获取。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '探测节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CountryCode' => ['title' => '国家 Code', 'description' => '国家编码。', 'type' => 'string', 'example' => '001'],
+ 'CountryName' => ['title' => '国家名称', 'description' => '国家名称。', 'type' => 'string', 'example' => '中国'],
+ 'CityCode' => ['title' => '城市 Code', 'description' => '城市编码。', 'type' => 'string', 'example' => '503'],
+ 'CityName' => ['title' => '城市名称', 'description' => '城市名称。', 'type' => 'string', 'example' => '张家口市'],
+ 'GroupType' => ['title' => '监控探点分组类型', 'description' => '探测节点分组类型:'."\n"
+ ."\n"
+ .'- BGP:BGP节点'."\n"
+ ."\n"
+ .'- OVERSEAS:国际节点'."\n"
+ ."\n"
+ .'- ISP:运营商节点', 'type' => 'string', 'example' => 'BGP'],
+ 'GroupName' => ['title' => '监控探点分组类型名称', 'description' => '探测节点分组名称。', 'type' => 'string', 'example' => 'BGP节点'],
+ 'IspCode' => ['title' => 'ISP Code', 'description' => '运营商编码。', 'type' => 'string', 'example' => '465'],
+ 'IspName' => ['title' => 'ISP 名称', 'description' => '运营商名称。', 'type' => 'string', 'example' => '阿里巴巴'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Remark' => ['description' => '健康探测模板的备注。', 'type' => 'string', 'example' => 'test'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '',
- ],
- 'AddGtmAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取健康探测模板列表',
+ 'summary' => '根据传入参数获取健康探测模板列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmMonitorTemplates'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmMonitorTemplates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\",\\n \\"TotalPages\\": 2,\\n \\"TotalItems\\": 30,\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"Templates\\": {\\n \\"Template\\": [\\n {\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"Name\\": \\"IPv4-Ping\\",\\n \\"IpVersion\\": \\"IPv4\\",\\n \\"Protocol\\": \\"ping\\",\\n \\"Interval\\": 60,\\n \\"Timeout\\": 5000,\\n \\"EvaluationCount\\": 2,\\n \\"FailureRate\\": 50,\\n \\"ExtendInfo\\": \\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":200,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\index.htm\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aliyun.com\\\\\\\\\\\\\\"}\\\\n\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CountryCode\\": \\"001\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityCode\\": \\"503\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"IspName\\": \\"阿里巴巴\\"\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListRecursionRecords' => [
+ 'summary' => '查询递归解析内置权威解析记录',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '241160',
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '解析记录对应的ZoneId', 'type' => 'string', 'required' => true, 'example' => '17832322323', 'pattern' => '^\\d+$'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'Rr',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-xxxxxxx',
- ],
- ],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '测试',
- ],
+ 'schema' => ['description' => '主机记录', 'type' => 'string', 'required' => false, 'example' => 'www'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池类型。取值:'."\n"
- ."\n"
- .'- **IP**:IPv4地址'."\n"
- .'- **DOMAIN**:域名',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'IP',
- ],
+ 'schema' => ['description' => '解析记录类型,目前支持如下: A:IPV4记录,支持将域名映射到IPv4地址使用 AAAA:IPV6记录,支持将域名映射到IPv6地址使用 CNAME:别名记录,支持将域名指向另外一个域名 MX:电邮交互记录,支持将域名指向邮件服务器地址 TXT:文本记录,是任意可读的文本DNS记录 SRV:服务器资源记录,用来标识某台服务器使用了某个服务,常见于微软系统的目录管理', 'type' => 'string', 'required' => false, 'example' => 'A'],
],
[
- 'name' => 'MinAvailableAddrNum',
+ 'name' => 'Weight',
'in' => 'query',
- 'schema' => [
- 'description' => '最小可用地址数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '解析记录权重 0-100', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'MonitorStatus',
+ 'name' => 'RequestSource',
'in' => 'query',
- 'schema' => [
- 'description' => '健康检查开启状态。取值:'."\n"
- ."\n"
- .'- **OPEN**:开启'."\n"
- .'- **CLOSE**(默认):关闭',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OPEN',
- ],
+ 'schema' => ['description' => '解析线路,默认为**default**。参见:'."\n"
+ ."\n"
+ .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
+ ."\n"
+ .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>', 'type' => 'string', 'required' => false, 'example' => 'default'],
],
[
- 'name' => 'ProtocolType',
+ 'name' => 'Enable',
'in' => 'query',
- 'schema' => [
- 'description' => '检查协议。取值:'."\n"
- ."\n"
- .'- HTTP'."\n"
- .'- HTTPS'."\n"
- .'- Ping'."\n"
- .'- TCP',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TCP',
- ],
+ 'schema' => ['description' => '解析记录启用状态,**enable:启用 disable:禁用**', 'type' => 'string', 'required' => false, 'example' => 'enable'],
],
[
- 'name' => 'Interval',
+ 'name' => 'Ttl',
'in' => 'query',
- 'schema' => [
- 'description' => '检查间隔,单位:秒,取值范围:60。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '本地缓存时间。目前取值仅支持5、30、60、3600(1小时)、43200(12小时)、86400(24小时),单位秒(s),默认60。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'],
],
[
- 'name' => 'EvaluationCount',
+ 'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '连续失败次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '备注', 'type' => 'string', 'required' => false, 'example' => 'remark'],
],
[
- 'name' => 'Timeout',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '超时时间,单位:毫秒,取值范围:2000、3000、5000、10000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5000',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'MonitorExtendInfo',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息。根据不同协议,进行传参:'."\n"
- ."\n"
- .'HTTP、HTTPS:'."\n"
- .' '."\n"
- .'- port:检查端口'."\n"
- .'- failureRate:失败比例'."\n"
- .'- code:返回码(大于此值会被判定为异常)。取值:400、500。'."\n"
- .'- host:Host设置'."\n"
- .'- path:URL路径'."\n"
- ."\n"
- .'PING:'."\n"
- ."\n"
- .'- packetNum:ping包数目'."\n"
- .'- packetLossRate:丢包率'."\n"
- .'- failureRate:失败比例'."\n"
- ."\n"
- .'TCP:'."\n"
- ."\n"
- .'- port:检查端口'."\n"
- .'- failureRate:失败比例',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"host":"aliyun.com","port":80}',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
[
- 'name' => 'Addr',
+ 'name' => 'NextToken',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '地址池列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => '地址池地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.XX.XX',
- ],
- 'LbaWeight' => [
- 'description' => '地址池权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'Mode' => [
- 'description' => '地址池模式。取值:'."\n"
- ."\n"
- .'- **SMART**:智能返回'."\n"
- .'- **ONLINE**:永远在线'."\n"
- .'- **OFFLINE**:永远离线',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SMART',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 50,
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'required' => false, 'example' => '4698691'],
],
[
- 'name' => 'IspCityNode',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '监控城市节点列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'CityCode' => [
- 'description' => '监控节点的城市Code。具体取值请参考DescribeGtmMonitorAvailableConfig的返回值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '546',
- ],
- 'IspCode' => [
- 'description' => '- 具体取值可参考:DescribeGtmMonitorAvailableConfig接口返回数据。'."\n"
- .'- GroupType为BGP或Overseas时,IspCityNode.N.IspCode为非必传值,默认为465。'."\n"
- .'- GroupType为非BGP或Overseas时,IspCityNode.N.IspCode为必传值。并与IspCityNode.N.CityCode匹配使用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '465',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 20,
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
],
],
'responses' => [
@@ -25421,312 +17942,301 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'AddrPoolId' => [
- 'description' => '地址池ID。',
- 'type' => 'string',
- 'example' => 'hraf3x',
- ],
- 'MonitorConfigId' => [
- 'description' => '健康检查配置ID。',
- 'type' => 'string',
- 'example' => 'hraf14',
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'."\n"],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalPages' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'TotalItems' => ['description' => '总记录条数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Records' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Record' => [
+ 'description' => '解析记录列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '解析记录',
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneId' => ['title' => 'zone ID', 'description' => '解析记录对应的ZoneId', 'type' => 'string', 'example' => '169439170000011'],
+ 'RecordId' => ['title' => 'record ID', 'description' => '解析记录ID,解析记录的唯一标识', 'type' => 'string', 'example' => '1897105298264316928'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2023-06-28T09:16Z'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1721119172000'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '修改时间', 'type' => 'string', 'example' => '2024-10-22T09:54Z'],
+ 'UpdateTimestamp' => ['description' => '修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1620283051000'],
+ 'Rr' => ['title' => 'record 名称', 'description' => '主机记录', 'type' => 'string', 'example' => 'wap'],
+ 'Type' => ['title' => 'record 类型', 'description' => '解析记录类型', 'type' => 'string', 'example' => 'A'],
+ 'Ttl' => ['title' => 'ttl', 'description' => '解析记录ttl', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Priority' => ['title' => '优先级', 'description' => 'MX记录的优先级', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'Value' => ['title' => '解析记录值', 'description' => '解析记录值', 'type' => 'string', 'example' => '120.38.70.54'],
+ 'EnableStatus' => ['title' => '启用状态', 'description' => '启用状态', 'type' => 'string', 'example' => 'enable'],
+ 'Remark' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'example' => '1150'],
+ 'RequestSource' => ['title' => '请求来源', 'description' => '请求来源', 'type' => 'string', 'example' => 'default'],
+ 'Weight' => ['description' => '解析记录权重', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Creator' => ['title' => '创建者', 'description' => '创建者ID', 'type' => 'integer', 'format' => 'int64', 'example' => '123121312'],
+ 'CreatorType' => ['title' => '创建者类型', 'description' => '创建者类型 user用户,system系统', 'type' => 'string', 'example' => 'user'],
+ 'CreatorSubType' => ['title' => '创建者子类型', 'description' => '账号类型。说明:'."\n"
+ ."\n"
+ .'custom:主账号 sub:子账号 sts:角色扮演 other:其他', 'type' => 'string', 'example' => 'custom'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
+ 'MaxResults' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '500'],
+ 'NextToken' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'example' => '4698691'],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"AddrPoolId\\": \\"hraf3x\\",\\n \\"MonitorConfigId\\": \\"hraf14\\"\\n}","errorExample":""},{"type":"xml","example":"<AddGtmAddressPoolResponse>\\r\\n <RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<AddrPoolId>hraf3x</AddrPoolId>\\r\\n\\t<MonitorConfigId>hraf14</MonitorConfigId>\\r\\n</AddGtmAddressPoolResponse>","errorExample":""}]',
- 'title' => '新增地址池(旧版)',
- 'summary' => '新增地址池。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'AddDnsGtmAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询HTTPDNS内置权威解析记录',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'pubdns:ListRecursionRecords',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursion', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\\\n\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 5,\\n \\"TotalItems\\": 100,\\n \\"Records\\": {\\n \\"Record\\": [\\n {\\n \\"ZoneId\\": \\"169439170000011\\",\\n \\"RecordId\\": \\"1897105298264316928\\",\\n \\"CreateTime\\": \\"2023-06-28T09:16Z\\",\\n \\"CreateTimestamp\\": 1721119172000,\\n \\"UpdateTime\\": \\"2024-10-22T09:54Z\\",\\n \\"UpdateTimestamp\\": 1620283051000,\\n \\"Rr\\": \\"wap\\",\\n \\"Type\\": \\"A\\",\\n \\"Ttl\\": 60,\\n \\"Priority\\": 10,\\n \\"Value\\": \\"120.38.70.54\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"Remark\\": \\"1150\\",\\n \\"RequestSource\\": \\"default\\",\\n \\"Weight\\": 1,\\n \\"Creator\\": 123121312,\\n \\"CreatorType\\": \\"user\\",\\n \\"CreatorSubType\\": \\"custom\\"\\n }\\n ]\\n },\\n \\"MaxResults\\": 500,\\n \\"NextToken\\": \\"4698691\\"\\n}","type":"json"}]',
+ ],
+ 'ListRecursionZones' => [
+ 'summary' => '查询递归解析内置权威域名zone',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '241053',
+ 'abilityTreeNodes' => ['FEATUREdns379HH9'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ZoneName',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '域名Zone名称。', 'type' => 'string', 'required' => false, 'example' => 'lisheng999.com'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-cs02xyk****',
- ],
+ 'schema' => ['description' => '备注信息。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'Name',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'Type',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPV4:ipv4地址'."\n"
- .'- IPV6: ipv6地址'."\n"
- .'- DOMAIN:域名',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'IPV4',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
],
[
- 'name' => 'LbaStrategy',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '负载均衡状态:'."\n"
- ."\n"
- .'- ALL_RR:返回全部地址'."\n"
- .'- RATIO:按权重返回地址',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ALL_RR',
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
],
[
- 'name' => 'MonitorStatus',
+ 'name' => 'NextToken',
'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'required' => false, 'example' => '4698691'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '健康检查开启状态(默认CLOSE),若OPEN则校验健康检查配置,否则抛弃'."\n"
- ."\n"
- .'- OPEN:开启'."\n"
- .'- CLOSE:关闭',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OPEN',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '每页个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '获取到地址列表中的地址总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Zones' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Zone' => [
+ 'description' => '当前地域支持的可用区列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '当前地域支持的可用区列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneId' => ['title' => 'zone ID', 'description' => 'Zone ID,Zone的唯一识别码。', 'type' => 'string', 'example' => '173671468000011'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2021-03-08T05:45Z'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1729674680000'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '修改时间', 'type' => 'string', 'example' => '2024-11-12T04:30Z'],
+ 'UpdateTimestamp' => ['description' => '修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1707189878000'],
+ 'ZoneName' => ['title' => 'zone名称', 'description' => 'zone名称', 'type' => 'string', 'example' => 'dfsdfsd'],
+ 'Remark' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'example' => '107'],
+ 'RecordCount' => ['description' => 'Zone含有的解析记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'ProxyPattern' => ['title' => '代理模式', 'description' => '是否开启子域名递归代理。取值:'."\n"
+ ."\n"
+ .'zone: 关闭(当解析本域名下不存在的子域名时,直接返回NXDOMAIN,表示子域名不存在)'."\n"
+ .'record: 开启(当解析本域名下不存在的子域名时,会依次查询“转发”和“递归”模块,并以最终查询到的解析结果来应答解析请求)', 'type' => 'string', 'example' => 'record'],
+ 'Creator' => ['title' => '创建者', 'description' => '创建者', 'type' => 'string', 'example' => '218497924149333932'],
+ 'CreatorType' => ['title' => '创建者类型', 'description' => '创建者类型'."\n"
+ .'user用户,system系统', 'type' => 'string', 'example' => 'USER'],
+ 'CreatorSubType' => ['title' => '创建者子类型', 'description' => '账号类型。说明:'."\n"
+ ."\n"
+ .'custom:主账号'."\n"
+ .'sub:子账号'."\n"
+ .'sts:角色扮演'."\n"
+ .'other:其他'."\n", 'type' => 'string', 'example' => 'SUB'],
+ 'EffectiveScopes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EffectiveScope' => [
+ 'title' => '解析范围',
+ 'description' => '解析范围',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EffectiveType' => ['title' => '解析范围类型', 'description' => '生效范围类型'."\n"
+ .'account:账户', 'type' => 'string', 'example' => 'account'],
+ 'Scopes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Scope' => [
+ 'title' => '解析范围值列表',
+ 'description' => '解析范围值列表',
+ 'type' => 'array',
+ 'items' => ['description' => '生效范围,和生效范围类型对应'."\n"
+ .'account类型对应 用户的递归解析accountId泪表', 'type' => 'string', 'example' => '20003'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'MaxResults' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'NextToken' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'example' => '4698691'],
+ ],
],
],
+ ],
+ 'title' => '查询HTTPDNS内置权威域名zone',
+ 'description' => '- 请求中至少指定参数ResourceId.N或Tag.N(Tag.N.Key与Tag.N.Value),以确定检索对象。'."\n"
+ .'- Tag.N是资源的标签,由一个键值对组成。仅指定Tag.N.Key时,则返回该标签键关联的所有标签值。仅指定Tag.N.Value会报错。'."\n"
+ .'- 如果您同时指定Tag.N和ResourceId.N筛选标签,则ResourceId.N必须满足所有输入的标签键值对。'."\n"
+ .'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ProtocolType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '检查协议:'."\n"
- ."\n"
- .'- HTTP'."\n"
- .'- HTTPS'."\n"
- .'- PING'."\n"
- .'- TCP',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TCP',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'pubdns:ListRecursionZones',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 5,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"Zones\\": {\\n \\"Zone\\": [\\n {\\n \\"ZoneId\\": \\"173671468000011\\",\\n \\"CreateTime\\": \\"2021-03-08T05:45Z\\",\\n \\"CreateTimestamp\\": 1729674680000,\\n \\"UpdateTime\\": \\"2024-11-12T04:30Z\\",\\n \\"UpdateTimestamp\\": 1707189878000,\\n \\"ZoneName\\": \\"dfsdfsd\\",\\n \\"Remark\\": \\"107\\",\\n \\"RecordCount\\": 8,\\n \\"ProxyPattern\\": \\"record\\",\\n \\"Creator\\": \\"218497924149333932\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"CreatorSubType\\": \\"SUB\\",\\n \\"EffectiveScopes\\": {\\n \\"EffectiveScope\\": [\\n {\\n \\"EffectiveType\\": \\"account\\",\\n \\"Scopes\\": {\\n \\"Scope\\": [\\n \\"20003\\"\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"MaxResults\\": 100,\\n \\"NextToken\\": \\"4698691\\"\\n}","type":"json"}]',
+ ],
+ 'ListTagResources' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Interval',
- 'in' => 'query',
- 'schema' => [
- 'description' => '检查间隔,单位秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '9999999',
- 'minimum' => '1',
- 'example' => '60',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
+ ],
+ 'parameters' => [
[
- 'name' => 'EvaluationCount',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '连续失败次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '9999999',
- 'minimum' => '1',
- 'example' => '2',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Timeout',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '超时时间,单位毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '9999999',
- 'minimum' => '1',
- 'example' => '2000',
- ],
+ 'schema' => ['description' => '资源类型。取值:'."\n"
+ .'- **DOMAIN**:域名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DOMAIN'],
],
[
- 'name' => 'MonitorExtendInfo',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息,各协议检查所需参数:'."\n"
- .'- HTTP(S):'."\n"
- ."\n"
- .' - port:检查端口'."\n"
- .' - host:Host设置'."\n"
- .' - path:URL路径'."\n"
- .' - code:返回码(大于此值会被判定为异常)。取值:400、500。'."\n"
- .' - failureRate:失败比例'."\n"
- .' - sni:是否开启sni,仅在HTTPS协议时使用。'."\n"
- .' - true-开启'."\n"
- .' - 其他-未开启'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6'."\n"
- ."\n"
- .'- PING:'."\n"
- ."\n"
- .' - failureRate:失败比例'."\n"
- .' - packetNum:ping包数目'."\n"
- .' - packetLossRate:丢包率'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6'."\n"
- ."\n"
- .'- TCP:'."\n"
- ."\n"
- .' - port:检查端口'."\n"
- .' - failureRate:失败比例'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"failureRate":50,"port":80}',
- ],
+ 'schema' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'required' => false, 'example' => '4698691'],
],
[
- 'name' => 'Addr',
+ 'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '地址池列表。',
+ 'description' => '标签键值对数组。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'AttributeInfo' => [
- 'description' => '地址归属信息, JSON字符串格式。'."\n"
- ."\n"
- .'- lineCode:归属线路Code'."\n"
- .'- lineCodeRectifyType:归属线路订正类型,默认:自动订正'."\n"
- .' - NO_NEED 不订正'."\n"
- .' - RECTIFIED 已订正'."\n"
- .' - AUTO 自动订正',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"lineCodeRectifyType":"AUTO", "lineCode":[]}',
- ],
- 'Remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- 'LbaWeight' => [
- 'description' => '权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'Addr' => [
- 'description' => '地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '223.5.XX.XX',
- ],
- 'Mode' => [
- 'description' => '模式:'."\n"
- ."\n"
- .'- SMART:智能返回'."\n"
- .'- ONLINE:永远在线'."\n"
- .'- OFFLINE:永远离线',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SMART',
- ],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'abcd'],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'abcd'],
],
'required' => false,
],
- 'required' => true,
- 'maxItems' => 50,
+ 'required' => false,
+ 'maxItems' => 21,
],
],
[
- 'name' => 'IspCityNode',
+ 'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '监控城市节点列表。当 MonitorStatus 为 OPEN 状态时,节点列表中至少应配置一个有效节点。',
+ 'description' => '资源id。',
'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'CityCode' => [
- 'description' => '城市Code。当 MonitorStatus 为 OPEN 状态时,CityCode不能为空。'."\n"
- ."\n"
- .'具体取值可参考:DescribeDnsGtmMonitorAvailableConfig接口返回数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '503',
- ],
- 'IspCode' => [
- 'description' => '当 MonitorStatus 为 OPEN 状态时,IspCode不能为空。'."\n"
- .'具体取值可参考:DescribeDnsGtmMonitorAvailableConfig接口返回数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '465',
- ],
- ],
- 'required' => false,
- ],
+ 'items' => ['description' => '域名,当Tag数组传空值时,ResourceId为必传。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
'required' => false,
- 'maxItems' => 20,
+ 'maxItems' => 51,
],
],
],
@@ -25735,51 +18245,58 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD5799335**B',
- ],
- 'AddrPoolId' => [
- 'description' => '地址池id。',
- 'type' => 'string',
- 'example' => 'hrbv**',
- ],
- 'MonitorConfigId' => [
- 'description' => '健康检查配置id。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'hra**a',
+ 'NextToken' => ['description' => '下一个查询开始token,nexttoken为空说明没有下一个。', 'type' => 'string', 'example' => '4698691'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '61092C8D-6AEB-4310-B74D-C632F89BF4FB'],
+ 'TagResources' => [
+ 'description' => '由资源及其标签组成的集合,包含了资源ID、资源类型和标签键值等信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceType' => ['description' => '资源类型。取值:DOMAIN。', 'type' => 'string', 'example' => 'DOMAIN'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'abcd'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'example.com'],
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'abcd'],
+ ],
+ ],
],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'DnsGtmSystemBusyness',
- 'errorMessage' => ' ',
+ 'errorCodes' => [],
+ 'title' => '标签查询资源',
+ 'summary' => '按照标签查询资源。',
+ 'description' => '- 请求中至少指定参数ResourceId.N或Tag.N(Tag.N.Key与Tag.N.Value),以确定检索对象。'."\n"
+ .'- Tag.N是资源的标签,由一个键值对组成。仅指定Tag.N.Key时,则返回该标签键关联的所有标签值。仅指定Tag.N.Value会报错。'."\n"
+ .'- 如果您同时指定Tag.N和ResourceId.N筛选标签,则ResourceId.N必须满足所有输入的标签键值对。'."\n"
+ .'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:ListTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD5799335**B\\",\\n \\"AddrPoolId\\": \\"hrbv**\\",\\n \\"MonitorConfigId\\": \\"hra**a\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<AddrPoolId>testpool1</AddrPoolId>\\n<MonitorConfigId>test1</MonitorConfigId>","errorExample":""}]',
- 'title' => '新增地址池',
- 'summary' => '新增地址池。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"4698691\\",\\n \\"RequestId\\": \\"61092C8D-6AEB-4310-B74D-C632F89BF4FB\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"DOMAIN\\",\\n \\"TagValue\\": \\"abcd\\",\\n \\"ResourceId\\": \\"example.com\\",\\n \\"TagKey\\": \\"abcd\\"\\n }\\n ]\\n}","type":"json"}]',
],
- 'DeleteDnsGtmAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyHichinaDomainDNS' => [
+ 'summary' => '变更域名绑定的DNS服务器名称,从其他服务商的DNS服务器名称,修改为阿里云解析DNS提供的DNS服务器名称。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -25788,30 +18305,30 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'AddrPoolId',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_7.1cee430dbd1I3y)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'testp******',
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.0'],
+ ],
+ [
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dns-example.top'],
],
],
'responses' => [
@@ -25819,40 +18336,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'NewDnsServers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DnsServer' => [
+ 'description' => '域名修改后的DNS服务器列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '域名修改后的DNS服务器。', 'type' => 'string', 'example' => '{"DnsServer": ["dns9.hichina.com","dns10.hichina.com"]}'],
+ ],
+ ],
+ ],
+ 'OriginalDnsServers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DnsServer' => [
+ 'description' => '域名修改前的DNS服务器列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '域名修改前的DNS服务器。', 'type' => 'string', 'example' => '{"DnsServer": ["NS3.DNSV5.COM","NS4.DNSV5.COM"]}'],
+ ],
+ ],
],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'DnsGtmSystemBusyness',
- 'errorMessage' => ' ',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>","errorExample":""}]',
- 'title' => '删除 DNS 地址池',
- 'summary' => '通过地址池ID删除地址池。',
+ 'errorCodes' => [],
+ 'title' => '修改域名DNS服务器名称',
+ 'description' => '修改成功后,DNS会被修改为云解析DNS(hichina.com结尾的DNS)。'."\n"
+ .'> **使用前提:适用于阿里云注册域名,且当前DNS服务器是第三方DNS的域名使用。**',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteGtmAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyHichinaDomainDNS'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:ModifyHichinaDomainDNS',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"NewDnsServers\\": {\\n \\"DnsServer\\": [\\n \\"{\\\\\\"DnsServer\\\\\\": [\\\\\\"dns9.hichina.com\\\\\\",\\\\\\"dns10.hichina.com\\\\\\"]}\\"\\n ]\\n },\\n \\"OriginalDnsServers\\": {\\n \\"DnsServer\\": [\\n \\"{\\\\\\"DnsServer\\\\\\": [\\\\\\"NS3.DNSV5.COM\\\\\\",\\\\\\"NS4.DNSV5.COM\\\\\\"]}\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ModifyHichinaDomainDNSResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <NewDnsServers>{\\"DnsServer\\": [\\"dns9.hichina.com\\",\\"dns10.hichina.com\\"]}</NewDnsServers>\\n <OriginalDnsServers>{\\"DnsServer\\": [\\"NS3.DNSV5.COM\\",\\"NS4.DNSV5.COM\\"]}</OriginalDnsServers>\\n</ModifyHichinaDomainDNSResponse>","errorExample":""}]',
+ ],
+ 'MoveDomainResourceGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -25860,29 +18402,28 @@
],
'operationType' => 'readAndWrite',
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。'."\n", 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'AddrPoolId',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1234',
- ],
+ 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'NewResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '新资源组ID。'."\n"
+ ."\n"
+ .'您可以通过[资源管理控制台](https://resourcemanager.console.aliyun.com/resource-groups?)查看资源组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rg-aek*******'],
],
],
'responses' => [
@@ -25890,152 +18431,64 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteGtmAddressPoolResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n</DeleteGtmAddressPoolResponse>","errorExample":""}]',
- 'title' => '删除地址池(旧版)',
- 'summary' => '删除地址池。',
+ 'title' => '更换域名资源组',
+ 'summary' => '更换资源组。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateDnsGtmAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MoveDomainResourceGroup'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:MoveDomainResourceGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB</RequestId>","errorExample":""}]',
+ ],
+ 'MoveGtmResourceGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => [],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'AddrPoolId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址池id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_7.1cee430dbd1I3y)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'testp******',
- ],
- ],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'testpoolname',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。'."\n", 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'LbaStrategy',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '负载均衡策略:'."\n"
- ."\n"
- .'- ALL_RR: 返回全部地址'."\n"
- .'- RATIO:按权重返回地址',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ALL_RR',
- ],
+ 'schema' => ['description' => '资源id。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'rg-aekzzk7hx3*****'],
],
[
- 'name' => 'Addr',
+ 'name' => 'NewResourceGroupId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '地址池列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'AttributeInfo' => [
- 'description' => '地址归属信息,JSON化字符串格式。'."\n"
- ."\n"
- .'- LineCode:归属线路Code(已废弃,以lineCodes数据为准)'."\n"
- .'- lineCodes:归属线路Code列表'."\n"
- .'- lineCodeRectifyType:归属线路订正类型,默认:自动订正'."\n"
- .' - NO_NEED 不订正'."\n"
- .' - RECTIFIED 已订正'."\n"
- .' - AUTO 自动订正'."\n"
- .' '."\n"
- ."\n\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Linecode: default'."\n"
- .'lineCodes: ["default"]'."\n"
- .'lineCodeRectifyType: AUTO',
- ],
- 'Remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- 'LbaWeight' => [
- 'description' => '权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'Addr' => [
- 'description' => '地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1.1.XX.XX',
- ],
- 'Mode' => [
- 'description' => '模式:'."\n"
- ."\n"
- .'- SMART:智能返回'."\n"
- .'- ONLINE:永远在线'."\n"
- .'- OFFLINE:永远离线',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SMART',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 50,
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AgIDE1MA_XXX'],
],
],
'responses' => [
@@ -26043,143 +18496,113 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'DnsGtmSystemBusyness',
- 'errorMessage' => ' ',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>","errorExample":""}]',
- 'title' => '修改地址池',
- 'summary' => '根据填写的参数修改地址池。',
+ 'errorCodes' => [],
+ 'title' => '修改GTM实例的资源组ID',
+ 'summary' => '根据传入参数修改GTM实例的资源组ID。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateGtmAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MoveGtmResourceGroup'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:MoveGtmResourceGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB\\"\\n}","errorExample":""},{"type":"xml","example":"<MoveGtmResourceGroupResponse>\\r\\n <RequestId>C6F1D541-E7A6-447A-A2B5-9F7A20B2A8FB</RequestId>\\r\\n</MoveGtmResourceGroupResponse>","errorExample":""}]',
+ ],
+ 'OperateBatchDomain' => [
+ 'summary' => '进行批量操作以添加或删除域名和解析记录。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'AddrPoolId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址池ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1234abc',
- ],
- ],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '名称',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:zh', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IP:ipv4地址'."\n"
- .'- DOMAIN:域名',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'IP',
- ],
- ],
- [
- 'name' => 'MinAvailableAddrNum',
- 'in' => 'query',
- 'schema' => [
- 'description' => '最小可用地址数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '批量操作类型,取值:'."\n"
+ ."\n"
+ .'- **DOMAIN_ADD**:批量添加域名'."\n"
+ .'- **DOMAIN_DEL**:批量删除域名'."\n"
+ .'- **RR_ADD**:批量添加解析'."\n"
+ .'- **RR_DEL**:批量删除解析(删除满足N.RR、N.VALUE、N.RR&amp;N.VALUE条件的解析记录。如果无N.RR&&N.VALUE则清空参数DomainRecordInfo.N.Domain下的解析记录)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'RR_ADD'],
],
[
- 'name' => 'Addr',
+ 'name' => 'DomainRecordInfo',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '地址池列表。',
+ 'description' => '用户提交的数据(POPAPI确认size,最大200条数据)。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '地址池地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.XX.XX',
- ],
- 'LbaWeight' => [
- 'description' => '地址池权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'Mode' => [
- 'description' => '模式。'."\n"
- .'- **SMART**:智能返回'."\n"
- .'- **ONLINE**:永远在线'."\n"
- .'- **OFFLINE**:永远离线',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SMART',
- ],
+ 'Type' => ['description' => '记录类型。例如:A、AAAA、TXT、MX、CNAME等。'."\n"
+ ."\n"
+ .'> 批量操作类型为**RR_ADD**、**RR_DEL**时必需。', 'type' => 'string', 'required' => false, 'example' => 'MX'],
+ 'Value' => ['description' => '记录值。'."\n"
+ ."\n"
+ .'> 批量操作类型为**RR_ADD**、**RR_DEL**时必需。', 'type' => 'string', 'required' => false, 'example' => 'fd87da3c4528844d45af39200155a905'],
+ 'Ttl' => ['description' => '生效时间(单位:秒),默认***600***。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600'],
+ 'Domain' => ['description' => '域名名称。'."\n"
+ ."\n"
+ .'> 用户提交的数据, N 从 1 开始,最多 200 条数据。由于HTTP请求头限制,请勿超过 200 条数据。', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
+ 'Line' => ['description' => '解析请求来源。默认:default。', 'type' => 'string', 'required' => false, 'example' => 'default'],
+ 'NewRr' => ['description' => '新的主机记录(仅修改操作时使用,外部用户不支持)。', 'type' => 'string', 'required' => false, 'example' => 'mail'],
+ 'Rr' => ['description' => '主机记录。'."\n"
+ ."\n"
+ .'> 批量操作类型为**RR_ADD**、**RR_DEL**时必需。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => 'zhaohui'],
+ 'Priority' => ['description' => 'MX优先级。'."\n"
+ ."\n"
+ .'记录类型为MX时必需。默认:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
+ 'NewType' => ['description' => '新的记录类型代码(仅修改操作时使用,外部用户不支持)。', 'type' => 'string', 'required' => false, 'example' => 'AAAA'],
+ 'NewValue' => ['description' => '新的记录值(仅修改操作时使用,外部用户不支持)。', 'type' => 'string', 'required' => false, 'example' => '114.92.XX.XX'],
],
'required' => false,
+ 'description' => '',
],
'required' => true,
- 'maxItems' => 50,
+ 'maxItems' => 1000,
],
],
],
@@ -26188,64 +18611,63 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求标识。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '34****'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '75446CC1-FC9A-4595-8D96-089D73D7A63D'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateGtmAddressPoolResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n</UpdateGtmAddressPoolResponse>","errorExample":""}]',
- 'title' => '修改地址池(旧版)',
- 'summary' => '修改地址池。',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": 0,\\n \\"RequestId\\": \\"75446CC1-FC9A-4595-8D96-089D73D7A63D\\"\\n}","type":"json"}]',
+ 'title' => '批量管理域名和解析记录',
+ 'description' => '使用场景:有大量需要执行的解析操作任务,但是对任务生效效率没有高需求。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmInstanceAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'OperateBatchDomain'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:OperateBatchDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'PausePdnsService' => [
+ 'summary' => '暂停公共DNS服务',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AddrPoolId',
+ 'name' => 'ServiceType',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_7.1cee430dbd1I3y)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'test*****',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -26253,248 +18675,70 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Addrs' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Addr' => [
- 'description' => '地址池地址。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'AttributeInfo' => [
- 'description' => '地址归属信息。'."\n"
- ."\n"
- .'- LineCode:归属线路code。(已废弃,以LineCodes数据为准)'."\n"
- .'- LineName:归属线路名称。(已废弃)'."\n"
- .'- LineCodes:归属线路列表。'."\n"
- ."\n\n"
- ."\n\n"
- ."\n\n"
- ."\n",
- 'type' => 'string',
- 'example' => '"LineCode":"aliyun_r_cn-zhangjiakou", "LineName": "阿里云_华北3(张家口)",“LineCodes”:["aliyun_r_cn-zhangjiakou"]',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'AlertStatus' => [
- 'description' => '健康检查状态:'."\n"
- ."\n"
- .'- OK:正常'."\n"
- .'- ALERT:报警',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'Remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'LbaWeight' => [
- 'description' => '权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Addr' => [
- 'description' => 'IP地址。',
- 'type' => 'string',
- 'example' => '1.1.XX.XX',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'Mode' => [
- 'description' => '模式:'."\n"
- ."\n"
- .'- SMART:智能返回'."\n"
- .'- ONLINE:永远在线'."\n"
- .'- OFFLINE:永远离线',
- 'type' => 'string',
- 'example' => 'SMART',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- ],
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'LbaStrategy' => [
- 'description' => '负载均衡策略:'."\n"
- ."\n"
- .'- ALL_RR: 返回全部地址'."\n"
- .'- RATIO:按权重返回地址',
- 'type' => 'string',
- 'example' => 'ALL_RR',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'AddrCount' => [
- 'description' => '地址池数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => '地址池名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Type' => [
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPV4:ipv4地址'."\n"
- .'- IPV6: ipv6地址'."\n"
- .'- DOMAIN:域名',
- 'type' => 'string',
- 'example' => 'IPV4',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'AddrPoolId' => [
- 'description' => '地址池id。',
- 'type' => 'string',
- 'example' => 'test*****',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'MonitorConfigId' => [
- 'description' => '监控配置id。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'test1',
- ],
- 'MonitorStatus' => [
- 'description' => '监控状态:'."\n"
- ."\n"
- .'- OPEN:开启'."\n"
- .'- CLOSE:关闭'."\n"
- .'- UNCONFIGURED:未配置',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Addrs\\": {\\n \\"Addr\\": [\\n {\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AttributeInfo\\": \\"\\\\\\"LineCode\\\\\\":\\\\\\"aliyun_r_cn-zhangjiakou\\\\\\", \\\\\\"LineName\\\\\\": \\\\\\"阿里云_华北3(张家口)\\\\\\",“LineCodes”:[\\\\\\"aliyun_r_cn-zhangjiakou\\\\\\"]\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AlertStatus\\": \\"OK\\",\\n \\"Remark\\": \\"test\\",\\n \\"LbaWeight\\": 1,\\n \\"Addr\\": \\"1.1.XX.XX\\",\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"Mode\\": \\"SMART\\",\\n \\"CreateTimestamp\\": 1527690629357\\n }\\n ]\\n },\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"LbaStrategy\\": \\"ALL_RR\\",\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrCount\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Type\\": \\"IPV4\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrPoolId\\": \\"test*****\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorConfigId\\": \\"test1\\",\\n \\"MonitorStatus\\": \\"OPEN\\",\\n \\"CreateTimestamp\\": 1527690629357\\n}","errorExample":""},{"type":"xml","example":"<Addrs>\\n <Addr>\\n <AttributeInfo>\\"LineCode\\":\\"aliyun_r_cn-zhangjiakou\\", \\"LineName\\": \\"阿里云_华北3(张家口)\\",“LineCodes”:[\\"aliyun_r_cn-zhangjiakou\\"]</AttributeInfo>\\n <LbaWeight>1</LbaWeight>\\n <AlertStatus>ok</AlertStatus>\\n <Mode>online</Mode>\\n <CreateTime>2017-12-28T13:08Z</CreateTime>\\n <UpdateTime>2017-12-28T13:08Z</UpdateTime>\\n <UpdateTimestamp>1527690629357</UpdateTimestamp>\\n <CreateTimestamp>1527690629357</CreateTimestamp>\\n <Addr>1.1.1.1</Addr>\\n <Remark>test</Remark>\\n </Addr>\\n</Addrs>\\n<LbaStrategy>all_rr</LbaStrategy>\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<CreateTime>2017-12-28T13:08Z</CreateTime>\\n<Name>test</Name>\\n<AddrCount>1</AddrCount>\\n<Type>ipv4</Type>\\n<UpdateTime>2017-12-28T13:08Z</UpdateTime>\\n<AddrPoolId>testpool1</AddrPoolId>\\n<UpdateTimestamp>1527690629357</UpdateTimestamp>\\n<MonitorConfigId>test1</MonitorConfigId>\\n<MonitorStatus>open</MonitorStatus>\\n<CreateTimestamp>1527690629357</CreateTimestamp>","errorExample":""}]',
- 'title' => '获取地址池详情',
- 'summary' => '通过地址池ID获取地址池详情。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmInstanceAddressPools' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PausePdnsService'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:PausePdnsService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'PreviewGtmRecoveryPlan' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'zh:中文'."\n"
+ ."\n"
+ .'en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'RecoveryPlanId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '10**'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '9999999',
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**20**,默认为**5**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
],
],
'responses' => [
@@ -26502,147 +18746,82 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '总页数。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AddrPools' => [
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '853805EA-3D47-47D5-9A1A-A45C24313ABD'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Previews' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'AddrPool' => [
- 'description' => '地址池列表。'."\n"
- ."\n",
+ 'Preview' => [
+ 'description' => '容灾预案执行预览。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Type' => [
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- IPV4:ipv4地址'."\n"
- .'- IPV6:ipv6地址'."\n"
- .'- DOMAIN:域名',
- 'type' => 'string',
- 'example' => 'IPV4',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'MonitorStatus' => [
- 'description' => '监控状态:'."\n"
- ."\n"
- .'- OPEN:开启'."\n"
- .'- CLOSE:关闭'."\n"
- .'- UNCONFIGURED:未配置',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'AddrPoolId' => [
- 'description' => '地址池id。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'hr****',
- ],
- 'LbaStrategy' => [
- 'description' => '负载均衡策略'."\n"
- ."\n"
- .'- ALL_RR: 返回全部地址'."\n"
- .'- RATIO:按权重返回地址',
- 'type' => 'string',
- 'example' => 'ALL_RR',
- ],
- 'Name' => [
- 'description' => '地址池名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'testpool',
- ],
- 'AddrCount' => [
- 'description' => '地址数量。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'MonitorConfigId' => [
- 'description' => '监控配置id。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'abc****',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3hbz**'],
+ 'SwitchInfos' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'SwitchInfo' => [
+ 'description' => '切换信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'StrategyName' => ['description' => '策略名称。', 'type' => 'string', 'example' => 'hrb5ju'],
+ 'Content' => ['description' => '格式化的消息内容。', 'type' => 'string', 'example' => '默认地址池(默认地址池1)切换备用地址池(备用地址池1)'],
+ ],
+ ],
+ ],
+ ],
],
+ 'Name' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'name-example'],
+ 'UserDomainName' => ['description' => '用户域名(列表)。', 'type' => 'string', 'example' => 'example.com'],
],
],
],
],
],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'TotalItems' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 1,\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"AddrPools\\": {\\n \\"AddrPool\\": [\\n {\\n \\"Type\\": \\"IPV4\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorStatus\\": \\"OPEN\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrPoolId\\": \\"hr****\\",\\n \\"LbaStrategy\\": \\"ALL_RR\\",\\n \\"Name\\": \\"testpool\\",\\n \\"AddrCount\\": 1,\\n \\"MonitorConfigId\\": \\"abc****\\",\\n \\"CreateTimestamp\\": 1527690629357\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<PageSize>1</PageSize>\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<PageNumber>1</PageNumber>\\n<TotalPages>1</TotalPages>\\n<TotalItems>1</TotalItems>\\n<AddrPools>\\n <AddrPool>\\n <Type>ipv4</Type>\\n <LbaStrategy>all_rr</LbaStrategy>\\n <CreateTime>2017-12-28T13:08Z</CreateTime>\\n <UpdateTime>2017-12-28T13:08Z</UpdateTime>\\n <AddrPoolId>pool-1</AddrPoolId>\\n <UpdateTimestamp>1527690629357</UpdateTimestamp>\\n <MonitorConfigId>abc123</MonitorConfigId>\\n <MonitorStatus>open</MonitorStatus>\\n <CreateTimestamp>1527690629357</CreateTimestamp>\\n <Name>testpool</Name>\\n <AddrCount>1</AddrCount>\\n </AddrPool>\\n</AddrPools>","errorExample":""}]',
- 'title' => '获取地址池列表',
- 'summary' => '通过GTM实例ID获取地址池列表。',
+ 'title' => '预览容灾预案',
+ 'summary' => '预览容灾预案。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmAddressPoolAvailableConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PreviewGtmRecoveryPlan'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:PreviewGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 5,\\n \\"RequestId\\": \\"853805EA-3D47-47D5-9A1A-A45C24313ABD\\",\\n \\"PageNumber\\": 1,\\n \\"Previews\\": {\\n \\"Preview\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"SwitchInfos\\": {\\n \\"SwitchInfo\\": [\\n {\\n \\"StrategyName\\": \\"hrb5ju\\",\\n \\"Content\\": \\"默认地址池(默认地址池1)切换备用地址池(备用地址池1)\\"\\n }\\n ]\\n },\\n \\"Name\\": \\"name-example\\",\\n \\"UserDomainName\\": \\"example.com\\"\\n }\\n ]\\n },\\n \\"TotalPages\\": 3,\\n \\"TotalItems\\": 15\\n}","errorExample":""},{"type":"xml","example":"<PreviewGtmRecoveryPlanResponse>\\r\\n\\t<PageNumber>1</PageNumber>\\r\\n\\t<Previews>\\r\\n\\t\\t<Preview>\\r\\n\\t\\t\\t<Name>name-example</Name>\\r\\n\\t\\t\\t<SwitchInfos>\\r\\n\\t\\t\\t\\t<SwitchInfo>\\r\\n\\t\\t\\t\\t\\t<StrategyName>strategy-name-example-1</StrategyName>\\r\\n\\t\\t\\t\\t\\t<Content>默认地址池(默认地址池1) 切换 备用地址池(备用地址池1)</Content>\\r\\n\\t\\t\\t\\t</SwitchInfo>\\r\\n\\t\\t\\t\\t<SwitchInfo>\\r\\n\\t\\t\\t\\t\\t<StrategyName>strategy-name-examle-2</StrategyName>\\r\\n\\t\\t\\t\\t\\t<Content>默认地址池(默认地址池2) 切换 备用地址池(备用地址池2)</Content>\\r\\n\\t\\t\\t\\t</SwitchInfo>\\r\\n\\t\\t\\t</SwitchInfos>\\r\\n\\t\\t\\t<InstanceId>instance-example</InstanceId>\\r\\n\\t\\t\\t<UserDomainName>30.yyy.com</UserDomainName>\\r\\n\\t\\t</Preview>\\r\\n\\t</Previews>\\r\\n\\t<PageSize>5</PageSize>\\r\\n\\t<RequestId>853805EA-3D47-47D5-9A1A-A45C24313ABD</RequestId>\\r\\n\\t<TotalItems>15</TotalItems>\\r\\n\\t<TotalPages>3</TotalPages>\\r\\n</PreviewGtmRecoveryPlanResponse>","errorExample":""}]',
+ ],
+ 'RemovePdnsAppKey' => [
+ 'summary' => '删除公共DNS AppKey',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -26650,31 +18829,17 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'AppKeyId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -26682,108 +18847,55 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '199C3699-9A7B-41A1-BB5A-F1E862D3CB38',
- ],
- 'AttributeInfos' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AttributeInfo' => [
- 'description' => '支持的地址归属区域列表。'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'FatherCode' => [
- 'description' => '地址归属区域父节点线路Code。',
- 'type' => 'string',
- 'example' => 'telecom',
- ],
- 'GroupName' => [
- 'description' => '地址归属区域分组名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'ISP',
- ],
- 'LineCode' => [
- 'description' => '地址归属区域线路Code。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'cn_telecom_jiangxi',
- ],
- 'LineName' => [
- 'description' => '地址归属区域线路名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'ChinaTelecom_jiangxi',
- ],
- 'GroupCode' => [
- 'description' => '地址归属区域分组Code。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'ISP',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"199C3699-9A7B-41A1-BB5A-F1E862D3CB38\\",\\n \\"AttributeInfos\\": {\\n \\"AttributeInfo\\": [\\n {\\n \\"FatherCode\\": \\"telecom\\",\\n \\"GroupName\\": \\"ISP\\",\\n \\"LineCode\\": \\"cn_telecom_jiangxi\\",\\n \\"LineName\\": \\"ChinaTelecom_jiangxi\\",\\n \\"GroupCode\\": \\"ISP\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>199C3699-9A7B-41A1-BB5A-F1E862D3CB38</RequestId>\\n<AttributeInfos>\\n <AttributeInfo>\\n <GroupName>global</GroupName>\\n <GroupCode>default</GroupCode>\\n <FatherCode>telecom</FatherCode>\\n <LineCode>default</LineCode>\\n <LineName>global</LineName>\\n </AttributeInfo>\\n</AttributeInfos>","errorExample":""}]',
- 'title' => '获取地址池可设置配置信息',
- 'summary' => '通过GTM实例ID获取地址池可设置配置。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeGtmInstanceAddressPool' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemovePdnsAppKey'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'pubdns:RemovePdnsAppKey',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'RemovePdnsUdpIpSegment' => [
+ 'summary' => '删除公共DNS Udp Ip地址段',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'AddrPoolId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'hrbpnf',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -26791,379 +18903,133 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '地址池可用状态。其中:'."\n"
- ."\n"
- .'- **AVAILABLE**:可用'."\n"
- .'- **NOT_AVAILABLE**:不可用',
- 'type' => 'string',
- 'example' => 'AVAILABLE',
- ],
- 'Addrs' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Addr' => [
- 'description' => '地址池列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => 'IP地址。',
- 'type' => 'string',
- 'example' => '1.1.XX.XX',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'AlertStatus' => [
- 'description' => '健康检查状态。其中:'."\n"
- ."\n"
- .'- **OK**:正常'."\n"
- .'- **ALERT**:报警',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'LbaWeight' => [
- 'description' => '权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'AddrId' => [
- 'description' => '地址ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
- ],
- 'Mode' => [
- 'description' => '返回模式。其中:'."\n"
- ."\n"
- .'- **SMART**:智能返回'."\n"
- .'- **ONLINE**:永远在线'."\n"
- .'- **OFFLINE**:永远离线',
- 'type' => 'string',
- 'example' => 'SMART',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- ],
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'AddrCount' => [
- 'description' => '地址数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Name' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => '名称',
- ],
- 'Type' => [
- 'description' => '地址池类型。其中:'."\n"
- ."\n"
- .'- **IP**:IP地址'."\n"
- .'- **DOMAIN**:域名',
- 'type' => 'string',
- 'example' => 'IP',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'AddrPoolId' => [
- 'description' => '地址池ID。',
- 'type' => 'string',
- 'example' => '1234abc',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'MonitorConfigId' => [
- 'description' => '监控配置ID。',
- 'type' => 'string',
- 'example' => '100abc',
- ],
- 'MinAvailableAddrNum' => [
- 'description' => '最小可用地址数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'MonitorStatus' => [
- 'description' => '监控状态。其中:'."\n"
- .'- **OPEN**:开启'."\n"
- .'- **CLOSE**:关闭'."\n"
- .'- **UNCONFIGURED**:未配置',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"AVAILABLE\\",\\n \\"Addrs\\": {\\n \\"Addr\\": [\\n {\\n \\"Value\\": \\"1.1.XX.XX\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AlertStatus\\": \\"OK\\",\\n \\"LbaWeight\\": 1,\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrId\\": 123,\\n \\"Mode\\": \\"SMART\\",\\n \\"CreateTimestamp\\": 1527690629357\\n }\\n ]\\n },\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrCount\\": 2,\\n \\"Name\\": \\"名称\\",\\n \\"Type\\": \\"IP\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"AddrPoolId\\": \\"1234abc\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorConfigId\\": \\"100abc\\",\\n \\"MinAvailableAddrNum\\": 1,\\n \\"MonitorStatus\\": \\"OPEN\\",\\n \\"CreateTimestamp\\": 1527690629357\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmInstanceAddressPoolResponse>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<AddrPoolId>1234abc</AddrPoolId>\\r\\n\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t<AddrCount>2</AddrCount>\\r\\n\\t<MinAvailableAddrNum>2</MinAvailableAddrNum>\\r\\n\\t<MonitorConfigId>100abc</MonitorConfigId>\\r\\n\\t<MonitorStatus>OPEN</MonitorStatus>\\r\\n\\t<Name>名称测试1</Name>\\r\\n\\t<Status>AVAILABLE</Status>\\r\\n\\t<Type>IP</Type>\\r\\n\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t<Addrs>\\r\\n\\t\\t<AddrId>123</AddrId>\\r\\n\\t\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t\\t<Value>1.1.1.1</Value>\\r\\n\\t\\t<LbaWeight>1</LbaWeight>\\r\\n\\t\\t<Mode>SMART</Mode>\\r\\n\\t\\t<AlertStatus>OK</AlertStatus>\\r\\n\\t</Addrs>\\r\\n\\t<Addrs>\\r\\n\\t\\t<AddrId>234</AddrId>\\r\\n\\t\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t\\t<Value>2.2.2.2</Value>\\r\\n\\t\\t<LbaWeight>1</LbaWeight>\\r\\n\\t\\t<Mode>SMART</Mode>\\r\\n\\t\\t<AlertStatus>OK</AlertStatus>\\r\\n\\t</Addrs>\\r\\n</DescribeGtmInstanceAddressPoolResponse>","errorExample":""}]',
- 'title' => '获取地址池详细信息(旧版)',
- 'summary' => '获取地址池详细信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeGtmInstanceAddressPools' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemovePdnsUdpIpSegment'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'pubdns:RemovePdnsUdpIpSegment',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'RemoveRspDomainServerHoldStatusForGateway' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'InstanceId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'GTM实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtmtest',
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '幂等参数', 'description' => '幂等参数', 'type' => 'string', 'required' => true, 'example' => 'asdf'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '域名名称', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'StatusMsg',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '状态描述信息', 'type' => 'string', 'required' => false, 'example' => '实名认证通过,解除serverHold状态'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
+ 'RequestId' => ['title' => '请求唯一标识'."\n", 'description' => '请求唯一标识'."\n", 'type' => 'string', 'example' => '0629502C-6224-5DC9-A8ED-2ED73A2E3931'],
+ 'Success' => ['title' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'RecoverableError' => ['title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'Data' => [
+ 'description' => '返回数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'ServerHoldStatus' => ['description' => '域名serverHold状态', 'type' => 'string', 'example' => 'enable'],
+ ],
],
- 'AddrPools' => [
+ 'AccessDeniedDetail' => [
+ 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
'type' => 'object',
- 'itemNode' => true,
'properties' => [
- 'AddrPool' => [
- 'description' => '地址池列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'description' => '地址池类型:'."\n"
- ."\n"
- .'- **IP**:IP地址'."\n"
- .'- **DOMAIN**:域名',
- 'type' => 'string',
- 'example' => 'IP',
- ],
- 'Status' => [
- 'description' => '地址池可用状态:'."\n"
- ."\n"
- .'- **AVAILABLE**:可用'."\n"
- .'- **NOT_AVAILABLE**:不可用',
- 'type' => 'string',
- 'example' => 'AVAILABLE',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'MonitorConfigId' => [
- 'description' => '监控配置ID。',
- 'type' => 'string',
- 'example' => '100abc',
- ],
- 'MinAvailableAddrNum' => [
- 'description' => '最小可用地址数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'MonitorStatus' => [
- 'description' => '监控状态。其中:'."\n"
- ."\n"
- .'- **OPEN**:开启'."\n"
- .'- **CLOSE**:关闭'."\n"
- .'- **UNCONFIGURED**:未配置',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- 'AddrPoolId' => [
- 'description' => '地址池ID。',
- 'type' => 'string',
- 'example' => 'hrbpnf',
- ],
- 'Name' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'AddrCount' => [
- 'description' => '地址数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- ],
- ],
- ],
+ 'AuthAction' => ['description' => '尝试执行的未授权操作。', 'type' => 'string', 'example' => 'RemoveRspDomainServerHoldStatusForGateway'],
+ 'AuthPrincipalDisplayName' => ['description' => '授权主体显示名称。', 'type' => 'string', 'example' => '2015555733387XXXX'],
+ 'AuthPrincipalOwnerId' => ['description' => '授权主体所有者ID。', 'type' => 'string', 'example' => '10469733312XXX'],
+ 'AuthPrincipalType' => ['description' => '身份类型', 'type' => 'string', 'example' => 'SubUser'],
+ 'EncodedDiagnosticMessage' => ['description' => '加密后的完整诊断信息。', 'type' => 'string', 'example' => 'AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng=='],
+ 'NoPermissionType' => ['description' => '导致鉴权失败的原因。具体取值为:'."\n"
+ .'- ExplicitDeny:显示拒绝'."\n"
+ .'- ImplicitDeny:隐式拒绝', 'type' => 'string', 'example' => 'ImplicitDeny'],
+ 'PolicyType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DlpSend'],
],
],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 2,\\n \\"AddrPools\\": {\\n \\"AddrPool\\": [\\n {\\n \\"Type\\": \\"IP\\",\\n \\"Status\\": \\"AVAILABLE\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"MonitorConfigId\\": \\"100abc\\",\\n \\"MinAvailableAddrNum\\": 2,\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorStatus\\": \\"OPEN\\",\\n \\"AddrPoolId\\": \\"hrbpnf\\",\\n \\"Name\\": \\"test\\",\\n \\"AddrCount\\": 2,\\n \\"CreateTimestamp\\": 1527690629357\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmInstanceAddressPoolsResponse>\\r\\n<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>20</PageSize>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<TotalItems>2</TotalItems>\\r\\n\\t<TotalPages>1</TotalPages>\\r\\n\\t<AddrPools>\\r\\n\\t\\t<AddrPoolId>1234abc</AddrPoolId>\\r\\n\\t\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t\\t<AddrCount>2</AddrCount>\\r\\n\\t\\t<MinAvailableAddrNum>2</MinAvailableAddrNum>\\r\\n\\t\\t<MonitorConfigId>100abc</MonitorConfigId>\\r\\n\\t\\t<MonitorStatus>OPEN</MonitorStatus>\\r\\n\\t\\t<Name>名称测试1</Name>\\r\\n\\t\\t<Status>AVAILABLE</Status>\\r\\n\\t\\t<Type>IP</Type>\\r\\n\\t\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t</AddrPools>\\r\\n\\t<AddrPools>\\r\\n\\t\\t<AddrPoolId>2345abc</AddrPoolId>\\r\\n\\t\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t\\t<AddrCount>2</AddrCount>\\r\\n\\t\\t<MinAvailableAddrNum>2</MinAvailableAddrNum>\\r\\n\\t\\t<MonitorConfigId>101abc</MonitorConfigId>\\r\\n\\t\\t<MonitorStatus>OPEN</MonitorStatus>\\r\\n\\t\\t<Name>名称测试2</Name>\\r\\n\\t\\t<Status>AVAILABLE</Status>\\r\\n\\t\\t<Type>IP</Type>\\r\\n\\t\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t</AddrPools>\\r\\n</DescribeGtmInstanceAddressPoolsResponse>","errorExample":""}]',
- 'title' => '获取GTM实例地址池列表(旧版)',
- 'summary' => '获取GTM实例地址池列表。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'AddDnsGtmMonitor' => [
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '移除域名serverHold状态',
+ 'summary' => '用于删除特定域名的serverHold状态信息。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于移除指定域名的serverHold状态。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:RemoveRspDomainServerHoldStatusForGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-6224-5DC9-A8ED-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\",\\n \\"ServerHoldStatus\\": \\"enable\\"\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"RemoveRspDomainServerHoldStatusForGateway\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"10469733312XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'RemoveRspDomainServerHoldStatusForGatewayOte' => [
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -27172,164 +19038,150 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '幂等参数', 'description' => '幂等参数', 'type' => 'string', 'required' => true, 'example' => 'qwoefasdf'],
],
[
- 'name' => 'AddrPoolId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_7.1cee430dbd1I3y)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'po**',
- ],
+ 'schema' => ['description' => '域名名称', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
[
- 'name' => 'ProtocolType',
+ 'name' => 'StatusMsg',
'in' => 'query',
+ 'schema' => ['description' => '状态描述信息', 'type' => 'string', 'required' => false, 'example' => '实名认证通过,解除serverHold状态'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '检查协议:'."\n"
- ."\n"
- .'- HTTP'."\n"
- .'- HTTPS'."\n"
- .'- PING'."\n"
- .'- TCP',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'TCP',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求唯一标识'."\n", 'description' => '请求唯一标识'."\n", 'type' => 'string', 'example' => '0629502C-6224-5DC9-A8ED-2ED73A2E3931'],
+ 'Success' => ['title' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'RecoverableError' => ['title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'Data' => [
+ 'description' => '返回数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ ],
+ ],
+ 'AccessDeniedDetail' => [
+ 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AuthAction' => ['description' => '尝试执行的未授权操作。', 'type' => 'string', 'example' => 'RemoveRspDomainServerHoldStatusForGatewayOte'],
+ 'AuthPrincipalDisplayName' => ['description' => '授权主体显示名称。', 'type' => 'string', 'example' => '2015555733387XXXX'],
+ 'AuthPrincipalOwnerId' => ['description' => '授权主体所有者ID。', 'type' => 'string', 'example' => '10469733312XXX'],
+ 'AuthPrincipalType' => ['description' => '身份类型', 'type' => 'string', 'example' => 'SubUser'],
+ 'EncodedDiagnosticMessage' => ['description' => '加密后的完整诊断信息。', 'type' => 'string', 'example' => 'AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng=='],
+ 'NoPermissionType' => ['description' => '导致鉴权失败的原因。具体取值为:'."\n"
+ .'- ExplicitDeny:显示拒绝'."\n"
+ .'- ImplicitDeny:隐式拒绝', 'type' => 'string', 'example' => 'ImplicitDeny'],
+ 'PolicyType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DlpSend'],
+ ],
+ ],
+ ],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '移除域名serverHold状态',
+ 'summary' => '用于删除指定域名的serverHold状态信息。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于删除指定域名的serverHold状态信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Interval',
- 'in' => 'query',
- 'schema' => [
- 'description' => '检查间隔,单位秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '60',
- 'minimum' => '15',
- 'example' => '60',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:RemoveRspDomainServerHoldStatusForGatewayOte',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-6224-5DC9-A8ED-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\"\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"RemoveRspDomainServerHoldStatusForGatewayOte\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"10469733312XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ReplaceCloudGtmAddressPoolAddress' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'EvaluationCount',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
+ 'parameters' => [
+ [
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '连续次数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '3',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '返回的语言。取值:'."\n"
+ ."\n"
+ .'- **zh-CN**:中文'."\n"
+ ."\n"
+ .'- **en-US**(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'Timeout',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '超时时间,单位毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '10000',
- 'minimum' => '1000',
- 'example' => '3000',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'MonitorExtendInfo',
+ 'name' => 'AddressPoolId',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息,各协议检查所需参数:'."\n"
- ."\n"
- .'- HTTP(S):'."\n"
- ."\n"
- .' - port:检查端口'."\n"
- .' - host:Host设置'."\n"
- .' - path:URL路径'."\n"
- .' - code:返回码大于某个数值时则判定健康检查异常。'."\n"
- .' - failureRate:失败率'."\n"
- .' - sni:是否开启sni,仅在HTTPS协议时使用。'."\n"
- .' - true-开启'."\n"
- .' - false-未开启'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6'."\n"
- ."\n"
- .'- PING:'."\n"
- ."\n"
- .' - failureRate:失败率'."\n"
- .' - packetNum:ping包数'."\n"
- .' - packetLossRate:ping丢包率'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6'."\n"
- ."\n"
- .'- TCP:'."\n"
- ."\n"
- .' - port:检查端口'."\n"
- .' - failureRate:失败率'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6'."\n"
- .'> 本字段需以 JSON 字符串格式输入。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'enumValueTitles' => [],
- 'example' => '{"failureRate":50,"port":80}',
- ],
+ 'schema' => ['description' => '需要更新地址的目标地址池ID,地址池的唯一标识码。', 'type' => 'string', 'required' => false, 'example' => 'pool-89618921167339****'],
],
[
- 'name' => 'IspCityNode',
+ 'name' => 'Addresses',
'in' => 'query',
- 'style' => 'repeatList',
+ 'style' => 'json',
'schema' => [
- 'description' => '监控城市节点列表。',
+ 'description' => '地址列表。',
'type' => 'array',
'items' => [
+ 'description' => '地址信息。',
'type' => 'object',
'properties' => [
- 'CityCode' => [
- 'description' => '监控节点-城市code。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '123',
- ],
- 'IspCode' => [
- 'description' => '监控节点-运营商code。',
- 'type' => 'string',
+ 'AddressId' => ['title' => '地址id', 'description' => '更新后的地址ID,地址的唯一标识码。'."\n"
+ ."\n"
+ .'- 该参数不为空时,地址池中原有的地址将会被删除,会全部替换为更新后的地址。'."\n"
+ ."\n"
+ .'- 该参数为空时,地址池中原有的地址均被删除,会将地址池置空。', 'type' => 'string', 'required' => false, 'example' => 'addr-89636516932803****'],
+ 'WeightValue' => ['title' => '权重值', 'description' => '权重值(1-100内的整数,包括1和100),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。对更新后的地址配置生效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'SerialNumber' => ['title' => '序号', 'description' => '顺序号,标识地址返回的优先级,越小优先级越高。对更新后的地址配置生效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'RequestSource' => [
+ 'description' => '解析请求来源列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。对更新后的地址配置生效。', 'type' => 'string', 'required' => false, 'example' => '["default"]'],
'required' => false,
- 'example' => '123',
+ 'maxItems' => 100,
],
],
'required' => false,
],
- 'required' => true,
- 'maxItems' => 50,
+ 'required' => false,
],
],
],
@@ -27338,387 +19190,297 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'MonitorConfigId' => [
- 'description' => '健康检查配置id。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'Mon*******',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
+ 'Success' => ['description' => '本次操作是否成功:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'AddressPoolId' => ['description' => '地址池ID,地址池的唯一标识码。', 'type' => 'string', 'example' => 'pool-89618921167339****'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"MonitorConfigId\\": \\"Mon*******\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<MonitorConfigId>MonitorConfigId1</MonitorConfigId>","errorExample":""}]',
- 'title' => '添加健康检查',
- 'summary' => '创建健康检查。',
- 'description' => '****',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'AddGtmMonitor' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '替换地址池引用的地址',
+ 'summary' => '根据传入参数替换地址池引用的地址。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReplaceCloudGtmAddressPoolAddress'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:ReplaceCloudGtmAddressPoolAddress',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89618921167339****\\"\\n}","type":"json"}]',
+ ],
+ 'ReplaceCloudGtmInstanceConfigAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'create',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'AddrPoolId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地址池ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'xxxx',
- ],
- ],
- [
- 'name' => 'ProtocolType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '检查协议。取值:'."\n"
- ."\n"
- .'- HTTP'."\n"
- .'- HTTPS'."\n"
- .'- PING'."\n"
- .'- TCP',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'HTTP',
- ],
- ],
- [
- 'name' => 'Interval',
- 'in' => 'query',
- 'schema' => [
- 'description' => '检查间隔,单位:秒,取值范围:60。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '60',
- ],
- ],
- [
- 'name' => 'EvaluationCount',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '连续失败次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '3',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'Timeout',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '超时时间,单位:毫秒,取值范围:2000、3000、5000、10000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '3000',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'."\n"],
],
[
- 'name' => 'MonitorExtendInfo',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息。根据不同协议,进行传参:'."\n"
- ."\n"
- .'HTTP、HTTPS:'."\n"
- ."\n"
- .'- port:检查端口'."\n"
- .'- failureRate:失败比例'."\n"
- .'- code:返回码(大于此值会被判定为异常)。取值:400、500。'."\n"
- .'- host:Host设置'."\n"
- .'- path:URL路径'."\n"
- ."\n"
- .'PING:'."\n"
- ."\n"
- .'- packetNum:ping包数'."\n"
- .'- packetLossRate:丢包率'."\n"
- .'- failureRate:失败比例'."\n"
- ."\n"
- .'TCP:'."\n"
- ."\n"
- .'- port:检查端口'."\n"
- .'- failureRate:失败比例',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{\\"code\\":200,\\"path\\":\\"/index.htm\\",\\"host\\":\\"aliyun.com\\"}',
- ],
+ 'schema' => ['title' => '调度实例id', 'description' => '需要替换地址池的GTM 3.0实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3hb****'],
],
[
- 'name' => 'IspCityNode',
+ 'name' => 'AddressPools',
'in' => 'query',
- 'style' => 'repeatList',
+ 'style' => 'json',
'schema' => [
- 'description' => '监控城市节点列表。',
+ 'description' => '地址池列表。',
'type' => 'array',
'items' => [
- 'description' => '监控城市节点。',
+ 'description' => '地址池信息。',
'type' => 'object',
'properties' => [
- 'CityCode' => [
- 'description' => '城市Code。'."\n"
- ."\n"
- .'具体取值可参考:DescribeGtmMonitorAvailableConfig接口返回数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '503',
- ],
- 'IspCode' => [
- 'description' => '具体取值可参考:DescribeGtmMonitorAvailableConfig接口返回数据。'."\n"
- ."\n"
- .'- GroupType为BGP或Overseas时,IspCityNode.N.IspCode为非必传值,默认为465。'."\n"
- .'- GroupType为非BGP或Overseas时,IspCityNode.N.IspCode为必传值。并与IspCityNode.N.CityCode匹配使用。',
- 'type' => 'string',
+ 'AddressPoolId' => ['description' => '地址池ID,地址池的唯一标识码。'."\n"
+ ."\n"
+ .'- 该参数不为空时,目标实例关联的地址池将会被删除,会全部替换为更新后的地址池。'."\n"
+ ."\n"
+ .'- 该参数为空时,目标实例引用的地址池全部删除,实例无关联的地址池。', 'type' => 'string', 'required' => false, 'example' => 'pool-89564542105737****'],
+ 'WeightValue' => ['title' => '权重值', 'description' => '权重值(1-100之间的整数,包括1和100),支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。配置参数对更新后的地址池生效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'SerialNumber' => ['title' => '序号', 'description' => '顺序号,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。配置参数对更新后的地址池生效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'RequestSource' => [
+ 'description' => '解析请求来源列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。配置参数对更新后的地址池生效。', 'type' => 'string', 'required' => false, 'example' => '["default"]'],
'required' => false,
- 'example' => '465',
+ 'maxItems' => 100,
],
],
'required' => false,
],
- 'required' => true,
- 'maxItems' => 20,
+ 'required' => false,
],
],
+ [
+ 'name' => 'ConfigId',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。'."\n"
+ ."\n"
+ .'调用 [ListCloudGtmInstanceConfigs](~~2797349~~) 接口可查询域名实例对应的 ConfigId 值。', 'type' => 'string', 'required' => false, 'example' => 'Config-000****'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'MonitorConfigId' => [
- 'description' => '健康检查配置ID',
- 'type' => 'string',
- 'example' => '1234abc',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Success' => ['description' => '本次操作是否成功,取值:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"MonitorConfigId\\": \\"1234abc\\"\\n}","errorExample":""},{"type":"xml","example":"<AddGtmMonitorResponse>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<MonitorConfigId>1234abc</MonitorConfigId>\\r\\n</AddGtmMonitorResponse>","errorExample":""}]',
- 'title' => '添加健康检查(旧版)',
- 'summary' => '创建健康检查。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'UpdateDnsGtmMonitor' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '替换实例关联的地址池',
+ 'summary' => '根据传入参数替换实例关联的地址池。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReplaceCloudGtmInstanceConfigAddressPool'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:ReplaceCloudGtmInstanceConfigAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'ResumePdnsService' => [
+ 'summary' => '恢复公共DNS服务',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MonitorConfigId',
+ 'name' => 'ServiceType',
'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '健康检查配置id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPool](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_6.7db77000nMCPI1)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPool](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Monito******',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['type' => 'string'],
+ ],
],
],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResumePdnsService'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ProtocolType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '检查协议:'."\n"
- ."\n"
- .'- HTTP'."\n"
- .'- HTTPS'."\n"
- .'- PING'."\n"
- .'- TCP',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'http',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:ResumePdnsService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'RetrieveDomain' => [
+ 'summary' => '执行找回域名操作。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Interval',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '检查间隔,单位秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '60',
- 'minimum' => '15',
- 'example' => '60',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:zh', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'EvaluationCount',
+ 'name' => 'DomainName',
'in' => 'query',
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '连续次数。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '3',
- 'minimum' => '1',
- 'example' => '2',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '9CC0D642-49D4-48DE-A1A5-9F218652E4A7'],
+ ],
],
],
+ ],
+ 'title' => '找回域名',
+ 'description' => '域名找回时需要做txt记录验证,请配合<props="china">[生成txt记录](https://help.aliyun.com/document_detail/145533.html)</props> <props="intl">[生成txt记录](https://www.alibabacloud.com/help/zh/alibaba-cloud-dns/latest/generating-a-txt-record)</props>接口使用。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RetrieveDomain'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Timeout',
- 'in' => 'query',
- 'schema' => [
- 'description' => '超时时间,单位毫秒。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '10000',
- 'minimum' => '1000',
- 'example' => '3000',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'alidns:RetrieveDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"9CC0D642-49D4-48DE-A1A5-9F218652E4A7\\"\\n}","errorExample":""},{"type":"xml","example":"<RetrieveDomainResponse>\\n <RequestId>9CC0D642-49D4-48DE-A1A5-9F218652E4A7</RequestId>\\n</RetrieveDomainResponse>","errorExample":""}]',
+ ],
+ 'RollbackGtmRecoveryPlan' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'MonitorExtendInfo',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息,各协议检查所需参数:'."\n"
- ."\n"
- .'- HTTP(S):'."\n"
- ."\n"
- .' - port:检查端口'."\n"
- .' - host:Host设置'."\n"
- .' - path:URL路径'."\n"
- .' - code:返回码大于设定值时则认为健康检查异常,例如设置为400,当返回码为404时,判定健康检查结果异常。'."\n"
- .' - failureRate:失败率'."\n"
- .' - sni:是否开启sni,仅在HTTPS协议时使用。'."\n"
- .' - true-开启'."\n"
- .' - false-未开启'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6'."\n"
- ."\n"
- .'- PING:'."\n"
- ."\n"
- .' - failureRate:失败率'."\n"
- .' - packetNum:ping包数'."\n"
- .' - packetLossRate:ping丢包率'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6'."\n"
- ."\n"
- .'- TCP:'."\n"
- ."\n"
- .' - port:检查端口'."\n"
- .' - failureRate:失败率'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'IspCityNode',
+ 'name' => 'RecoveryPlanId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '监控城市节点列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'CityCode' => [
- 'description' => '监控节点-城市Code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123',
- ],
- 'IspCode' => [
- 'description' => '监控节点-运营商code。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '123',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 50,
- ],
+ 'schema' => ['description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '10**'],
],
],
'responses' => [
@@ -27726,167 +19488,127 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '853805EA-3D47-47D5-9A1A-A45C24313ABD'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>","errorExample":""}]',
- 'title' => '修改健康检查',
- 'summary' => '修改健康检查。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'UpdateGtmMonitor' => [
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [],
+ 'title' => '回滚容灾预案',
+ 'summary' => '回滚容灾预案。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RollbackGtmRecoveryPlan'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:RollbackGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"853805EA-3D47-47D5-9A1A-A45C24313ABD\\"\\n}","type":"json"}]',
+ ],
+ 'SearchCloudGtmAddressPools' => [
+ 'summary' => '根据传入参数搜索地址池列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsL59O18'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '用户语言',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'MonitorConfigId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '健康检查配置ID',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '1234abc',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'."\n"],
],
[
- 'name' => 'ProtocolType',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '检查协议',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'HTTP',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'Interval',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '检查间隔,单位:秒,取值范围:60。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
],
[
- 'name' => 'EvaluationCount',
+ 'name' => 'AddressPoolName',
'in' => 'query',
- 'schema' => [
- 'description' => '连续次数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '3',
- ],
+ 'schema' => ['description' => '地址池名称,支持对输入的地址池名称进行模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'AddressPool-1'],
],
[
- 'name' => 'Timeout',
+ 'name' => 'AddressPoolType',
'in' => 'query',
- 'schema' => [
- 'description' => '超时时间,单位:毫秒,取值范围:2000、3000、5000、10000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '3000',
- ],
+ 'schema' => ['description' => '地址池类型,支持对地址池类型进行精确查询:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'required' => false, 'example' => 'IPv4'],
],
[
- 'name' => 'MonitorExtendInfo',
+ 'name' => 'EnableStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '扩展信息。根据不同协议,进行传参:'."\n"
- ."\n"
- .'HTTP、HTTPS:'."\n"
- ."\n"
- .'- port:检查端口'."\n"
- .'- failureRate:失败率'."\n"
- .'- code:返回码(大于此值会被判定为异常)。取值:400、500。'."\n"
- .'- host:Host设置'."\n"
- .'- path:URL路径'."\n"
- ."\n"
- .'PING:'."\n"
- ."\n"
- .'- packetNum:ping包数'."\n"
- .'- packetLossRate:ping丢包率'."\n"
- .'- failureRate:失败率'."\n"
- ."\n"
- .'TCP:'."\n"
- ."\n"
- .'- port:检查端口'."\n"
- .'- failureRate:失败率',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}',
- ],
+ 'schema' => ['description' => '地址池启用状态,支持对地址池启用状态进行精确查询:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'required' => false, 'example' => 'enable'],
],
[
- 'name' => 'IspCityNode',
+ 'name' => 'Remark',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '监控城市节点列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'CityCode' => [
- 'description' => '城市Code',
- 'type' => 'string',
- 'required' => false,
- 'example' => '572',
- ],
- 'IspCode' => [
- 'description' => '- 具体取值可参考:DescribeGtmMonitorAvailableConfig接口返回数据。'."\n"
- .'- GroupType为BGP或Overseas时,IspCityNode.N.IspCode为非必传值,默认为465。'."\n"
- .'- GroupType为非BGP或Overseas时,IspCityNode.N.IspCode为必传值。并与IspCityNode.N.CityCode匹配使用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '465',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 20,
- ],
+ 'schema' => ['description' => '地址池备注,支持对输入的备注进行模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'HealthStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池健康状态,支持对地址池健康状态精确查询:'."\n"
+ ."\n"
+ .'ok:正常,地址池引用的所有地址全部可用。'."\n"
+ ."\n"
+ .'ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。', 'type' => 'string', 'required' => false, 'example' => 'ok'],
+ ],
+ [
+ 'name' => 'AvailableStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池可用状态,支持对地址池可用状态进行精确查询:'."\n"
+ ."\n"
+ .'- available:可用'."\n"
+ ."\n"
+ .'- unavailable:不可用', 'type' => 'string', 'required' => false, 'example' => 'available'],
],
],
'responses' => [
@@ -27894,156 +19616,337 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalPages' => ['description' => '总页数。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '符合查询条件的地址池总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'AddressPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AddressPool' => [
+ 'description' => '地址池列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址池信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['title' => '创建时间', 'description' => '地址池创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '地址池创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '地址池最后一次修改时间。', 'type' => 'string', 'example' => '024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '地址池最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'AddressPoolId' => ['title' => '地址池Id', 'description' => '地址池ID,地址池的唯一标识码。', 'type' => 'string', 'example' => 'pool-89528023225442****'],
+ 'AddressPoolName' => ['title' => '地址池名称', 'description' => '地址池名称。', 'type' => 'string', 'example' => 'AddressPool-1'],
+ 'AddressPoolType' => ['title' => '地址池类型ipv4、ipv6、domain', 'description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'example' => 'IPv4'],
+ 'AddressLbStrategy' => ['title' => '地址负载策略', 'description' => '地址池中地址间负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['title' => '顺序负载策略模式(抢占式、非抢占式)', 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。', 'type' => 'string', 'example' => 'preemptive'],
+ 'EnableStatus' => ['title' => '启用状态', 'description' => '地址池启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'example' => 'enable'],
+ 'HealthJudgement' => ['title' => '健康判定', 'description' => '地址池健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
+ ."\n"
+ .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
+ ."\n"
+ .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
+ ."\n"
+ .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
+ ."\n"
+ .'- all_ok:地址池内地址全部可用。', 'type' => 'string', 'example' => 'any_ok'],
+ 'HealthStatus' => ['title' => '健康状态', 'description' => '地址池健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。', 'type' => 'string', 'example' => 'ok'],
+ 'AvailableStatus' => ['title' => '可用性状态', 'description' => '地址池可用性状态:'."\n"
+ ."\n"
+ .'- available:可用'."\n"
+ ."\n"
+ .'- unavailable:不可用', 'type' => 'string', 'example' => 'available'],
+ 'Addresses' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Address' => [
+ 'description' => 'IP地址或者域名列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'IP地址或者域名信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['title' => '创建时间', 'description' => '地址创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '地址创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '地址最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '地址的最后一次的修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'."\n"],
+ 'AddressId' => ['title' => '地址 ID', 'description' => '地址 ID,地址的唯一标识码。', 'type' => 'string', 'example' => 'addr-89518218114368****'],
+ 'WeightValue' => ['title' => '权重', 'description' => '权重值(1-100内的整数),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SerialNumber' => ['title' => '序号', 'description' => '顺序号,标识地址返回的优先级,越小优先级越高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestSource' => ['title' => '请求来源', 'description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。', 'type' => 'string', 'example' => 'default'],
+ 'Name' => ['title' => '地址名称', 'description' => '地址名称。', 'type' => 'string', 'example' => 'Address-1'],
+ 'Type' => ['title' => '地址类型', 'description' => '地址类型:'."\n"
+ ."\n"
+ .'- IPv4:ipv4地址'."\n"
+ .'- IPv6:ipv6地址'."\n"
+ .'- domain:域名', 'type' => 'string', 'example' => 'IPv4'],
+ 'Address' => ['title' => '地址', 'description' => 'IP地址或者域名。', 'type' => 'string', 'example' => '223.5.XX.XX'],
+ 'AttributeInfo' => ['title' => '地址归属信息', 'description' => '地址归属信息,当前版本不支持返回此参数。', 'type' => 'string', 'example' => '当前版本不支持返回此参数。'],
+ 'Remark' => ['title' => '备注', 'description' => '备注。', 'type' => 'string', 'example' => 'test'],
+ 'EnableStatus' => ['title' => '启用状态 enable: 可用, disable:不可用', 'description' => '地址启用状态,表示地址当前是否可用:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'example' => 'enable'],
+ 'AvailableMode' => ['title' => '可用状态设置模式', 'description' => '地址探测异常切换方式:'."\n"
+ ."\n"
+ .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
+ ."\n"
+ .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。', 'type' => 'string', 'example' => 'auto'],
+ 'ManualAvailableStatus' => ['title' => '手动设置的可用状态', 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
+ ."\n"
+ .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
+ ."\n"
+ .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。', 'type' => 'string', 'example' => 'available'],
+ 'AvailableStatus' => ['title' => '地址可用状态', 'description' => '地址可用状态:'."\n"
+ ."\n"
+ .'- available:地址可用'."\n"
+ ."\n"
+ .'- unavailable:地址不可用', 'type' => 'string', 'example' => 'available'],
+ 'HealthStatus' => ['title' => '地址的健康状态:', 'description' => '地址健康探测状态:'."\n"
+ ."\n"
+ .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
+ ."\n"
+ .'- ok_alert:地址引用的健康探测模板探测任务部分异常,但地址判定为正常状态。'."\n"
+ ."\n"
+ .'- ok_no_monitor:地址没有引用任何健康探测模板,状态正常。'."\n"
+ ."\n"
+ .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,且地址判定为异常状态。', 'type' => 'string', 'example' => 'ok'],
+ 'HealthJudgement' => ['title' => '地址健康状态判定为ok 的方式:', 'description' => '地址健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:所有探测模板至少一个探测正常。'."\n"
+ ."\n"
+ .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
+ ."\n"
+ .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
+ ."\n"
+ .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
+ ."\n"
+ .'- all_ok:所有探测模板全部探测正常。', 'type' => 'string', 'example' => 'any_ok'],
+ 'HealthTasks' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'HealthTask' => [
+ 'title' => '健康探测任务列表',
+ 'description' => '健康探测任务列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '健康探测任务信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Port' => ['description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'TemplateId' => ['description' => '地址关联的健康探测模板ID。', 'type' => 'string', 'example' => 'mtp-89518052425100****'],
+ 'TemplateName' => ['description' => '健康探测模板名称。', 'type' => 'string', 'example' => 'IPv4-Ping'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'Remark' => ['description' => '地址备注。', 'type' => 'string', 'example' => 'test'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateGtmMonitorResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n</UpdateGtmMonitorResponse>","errorExample":""}]',
- 'title' => '修改健康检查(旧版)',
- 'summary' => '修改健康检查。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'SetDnsGtmMonitorStatus' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '搜索地址池列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchCloudGtmAddressPools'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:SearchCloudGtmAddressPools',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 11,\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\",\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressId\\": \\"addr-89518218114368****\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": \\"default\\",\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不支持返回此参数。\\",\\n \\"Remark\\": \\"test\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"TemplateName\\": \\"IPv4-Ping\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'SearchCloudGtmAddresses' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ ."\n"
+ .'- en-US(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
+ ],
+ [
+ 'name' => 'Names',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
+ 'description' => '地址名称,一般为方便用户区分的名称。',
+ 'type' => 'array',
+ 'items' => ['description' => '地址名称搜索条件,支持同时输入多个关键词进行查询。', 'type' => 'string', 'required' => false, 'example' => '["address_1", "test"]'],
'required' => false,
- 'example' => 'en',
+ 'maxItems' => 100,
],
],
[
- 'name' => 'MonitorConfigId',
+ 'name' => 'NameSearchCondition',
'in' => 'query',
- 'schema' => [
- 'description' => '健康检查配置id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPool](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_6.7db77000nMCPI1)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPool](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Monito*****',
- ],
+ 'schema' => ['description' => '按地址名称查询时的搜索逻辑(选择地址名称查询时必选参数):'."\n"
+ ."\n"
+ .'- and:展示输入的搜索条件全部命中的查询结果。'."\n"
+ ."\n"
+ .'- or:展示输入的搜索条件部分或全部命中的查询结果。', 'type' => 'string', 'required' => false, 'example' => 'or'],
],
[
- 'name' => 'Status',
+ 'name' => 'AvailableStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '开启状态:'."\n"
- ."\n"
- .'- OPEN:开启'."\n"
- .'- CLOSE:关闭'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'OPEN',
- ],
+ 'schema' => ['description' => '按照地址可用状态条件精确搜索:'."\n"
+ ."\n"
+ .'- available:可用'."\n"
+ ."\n"
+ .'- unavailable:不可用', 'type' => 'string', 'required' => false, 'example' => 'available'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- ],
- ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址类型', 'description' => '按照地址类型条件精确搜索:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'required' => false, 'example' => 'IPv4'],
],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>","errorExample":""}]',
- 'title' => '设置 DNS 地址池健康检查状态',
- 'summary' => '设置地址池健康检查状态。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'SetGtmMonitorStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Address',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址', 'description' => '按照服务地址条件精确查询,支持IP地址或者域名。', 'type' => 'string', 'required' => false, 'example' => '223.5.XX.XX'],
],
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'MonitorTemplateName',
+ 'in' => 'query',
+ 'schema' => ['description' => '健康探测模板名称。', 'type' => 'string', 'required' => false, 'example' => 'Ping-IPv4'],
+ ],
+ [
+ 'name' => 'EnableStatus',
+ 'in' => 'query',
+ 'schema' => ['title' => '启用状态 enable: 可用, disable:不可用', 'description' => '按照地址启用状态进行精确查询:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'required' => false, 'example' => 'enable'],
+ ],
+ [
+ 'name' => 'HealthStatus',
'in' => 'query',
+ 'schema' => ['title' => '地址探测结果: ok, ok_alert, ok_no_monitor, exceptional', 'description' => '按照地址健康状态进行精确查询:'."\n"
+ ."\n"
+ .'- ok:地址引用的健康探测模板探测任务全部正常。'."\n"
+ ."\n"
+ .'- ok_alert:地址引用的健康探测模板探测任务部分异常,地址判定为正常状态。'."\n"
+ ."\n"
+ .'- ok_no_monitor:地址没有引用任何健康探测模板。'."\n"
+ ."\n"
+ .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,但地址判定为异常状态。', 'type' => 'string', 'required' => false, 'example' => 'ok'],
+ ],
+ [
+ 'name' => 'Remarks',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
+ 'description' => '地址的备注。',
+ 'type' => 'array',
+ 'items' => ['description' => '地址备注搜索条件,支持同时输入多个关键词进行查询。', 'type' => 'string', 'required' => false, 'example' => '["", "test"]'],
'required' => false,
- 'example' => 'en',
+ 'maxItems' => 100,
],
],
[
- 'name' => 'MonitorConfigId',
+ 'name' => 'RemarkSearchCondition',
'in' => 'query',
- 'schema' => [
- 'description' => '健康检查配置ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'abc1234',
- ],
+ 'schema' => ['description' => '按地址备注查询时的搜索逻辑(选择地址备注查询时必选参数):'."\n"
+ ."\n"
+ .'and:展示输入的搜索条件全部命中的查询结果。'."\n"
+ ."\n"
+ .'or:展示输入的搜索条件部分或全部命中的查询结果。', 'type' => 'string', 'required' => false, 'example' => 'or'],
],
[
- 'name' => 'Status',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '开启状态。取值:'."\n"
- ."\n"
- .'- **OPEN**:开启'."\n"
- .'- **CLOSE**:关闭',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'OPEN',
- ],
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
+ ],
+ [
+ 'name' => 'AddressId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址ID,地址唯一标识码。', 'type' => 'string', 'required' => false, 'example' => 'addr-89518218114368****'],
],
],
'responses' => [
@@ -28051,51 +19954,225 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '符合查询条件的地址总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
+ 'Addresses' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Address' => [
+ 'description' => '地址列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AddressId' => ['title' => '地址 ID', 'description' => '地址的ID,地址唯一标识码。', 'type' => 'string', 'example' => 'addr-89518218114368**92'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '地址的创建时间。', 'type' => 'string', 'example' => '2024-03-23T13:09Z'],
+ 'CreateTimestamp' => ['description' => '地址的创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '地址的最后一次的修改时间。', 'type' => 'string', 'example' => '2024-03-29T13:20Z'],
+ 'UpdateTimestamp' => ['description' => '地址的最后一次的修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'Name' => ['title' => '地址名称', 'description' => '地址名称。', 'type' => 'string', 'example' => 'Address-1'],
+ 'Type' => ['title' => '地址类型', 'description' => '地址类型:'."\n"
+ ."\n"
+ .'- IPv4:ipv4地址'."\n"
+ .'- IPv6:ipv6地址'."\n"
+ .'- domain:域名', 'type' => 'string', 'example' => 'IPv4'],
+ 'Address' => ['title' => '地址', 'description' => 'IP地址或者域名。', 'type' => 'string', 'example' => '223.5.XX.XX'],
+ 'AttributeInfo' => ['title' => '地址归属信息', 'description' => '地址归属信息,当前版本不支持此参数。', 'type' => 'string', 'example' => '当前版本不返回此参数。'],
+ 'Remark' => ['title' => '备注', 'description' => '备注。', 'type' => 'string', 'example' => 'test'],
+ 'EnableStatus' => ['title' => '启用状态 enable: 可用, disable:不可用', 'description' => '地址当前启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'example' => 'enable'],
+ 'AvailableMode' => ['title' => '可用状态设置模式', 'description' => '地址探测异常切换方式:'."\n"
+ ."\n"
+ .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
+ ."\n"
+ .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。', 'type' => 'string', 'example' => 'auto'],
+ 'ManualAvailableStatus' => ['title' => '手动设置的可用状态', 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
+ ."\n"
+ .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
+ ."\n"
+ .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。', 'type' => 'string', 'example' => 'available'],
+ 'AvailableStatus' => ['title' => '地址可用状态', 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
+ ."\n"
+ .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
+ ."\n"
+ .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。', 'type' => 'string', 'example' => 'available'],
+ 'HealthStatus' => ['title' => '地址的健康状态:', 'description' => '地址健康检查探测结果:'."\n"
+ ."\n"
+ .'- ok:地址引用的健康探测模板探测任务全部正常;'."\n"
+ ."\n"
+ .'- ok_alert:地址引用的健康探测模板探测任务部分异常,地址判定为正常状态。'."\n"
+ ."\n"
+ .'- ok_no_monitor:地址没有引用任何健康探测模板。'."\n"
+ ."\n"
+ .'- exceptional:地址引用的健康探测模板探测任务部分或全部异常,但地址判定为异常状态。', 'type' => 'string', 'example' => 'ok'],
+ 'HealthJudgement' => ['title' => '地址健康状态判定为ok 的方式:', 'description' => '地址健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:所有探测模板至少一个探测正常。'."\n"
+ ."\n"
+ .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
+ ."\n"
+ .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
+ ."\n"
+ .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
+ ."\n"
+ .'- all_ok:所有探测模板全部探测正常。', 'type' => 'string', 'example' => 'p50_ok'],
+ 'HealthTasks' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'HealthTask' => [
+ 'title' => '健康探测任务列表',
+ 'description' => '健康探测任务列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址引用的健康探测任务信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Port' => ['description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'TemplateId' => ['description' => '地址关联的健康探测模板ID。', 'type' => 'string', 'example' => 'mtp-89518052425100****'],
+ 'TemplateName' => ['description' => '健康探测模板名称。', 'type' => 'string', 'example' => 'IPv4-Ping'],
+ 'MonitorStatus' => ['description' => '健康探测模板探测任务状态:'."\n"
+ ."\n"
+ .'- ok:正常。'."\n"
+ ."\n"
+ .'- alert:告警。'."\n"
+ ."\n"
+ .'- no_data:无数据,一般是健康探测任务刚创建,探测任务数据暂未采集到。', 'type' => 'string', 'example' => 'ok'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<SetGtmMonitorStatusResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n</SetGtmMonitorStatusResponse>","errorExample":""}]',
- 'title' => '设置地址池健康检查状态(旧版)',
- 'summary' => '设置地址池健康检查状态。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeGtmMonitorAvailableConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '搜索地址列表',
+ 'summary' => '按照地址名称、备注信息、地址引用的探测模板或地址DI等信息搜索地址列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchCloudGtmAddresses'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:SearchCloudGtmAddresses',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 15,\\n \\"Addresses\\": {\\n \\"Address\\": [\\n {\\n \\"AddressId\\": \\"addr-89518218114368**92\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"Name\\": \\"Address-1\\",\\n \\"Type\\": \\"IPv4\\",\\n \\"Address\\": \\"223.5.XX.XX\\",\\n \\"AttributeInfo\\": \\"当前版本不返回此参数。\\",\\n \\"Remark\\": \\"test\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"AvailableMode\\": \\"auto\\",\\n \\"ManualAvailableStatus\\": \\"available\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"HealthJudgement\\": \\"p50_ok\\",\\n \\"HealthTasks\\": {\\n \\"HealthTask\\": [\\n {\\n \\"Port\\": 80,\\n \\"TemplateId\\": \\"mtp-89518052425100****\\",\\n \\"TemplateName\\": \\"IPv4-Ping\\",\\n \\"MonitorStatus\\": \\"ok\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'SearchCloudGtmInstanceConfigs' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsBCOB1Q'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['title' => '调度实例id', 'description' => '全局流量管理GTM 3.0实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3h****'],
+ ],
+ [
+ 'name' => 'ScheduleZoneName',
+ 'in' => 'query',
+ 'schema' => ['title' => 'zone名称', 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'ScheduleDomainName',
+ 'in' => 'query',
+ 'schema' => ['title' => 'zone名称', 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'],
+ ],
+ [
+ 'name' => 'EnableStatus',
+ 'in' => 'query',
+ 'schema' => ['title' => '启用状态', 'description' => '域名实例的启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
+ ."\n"
+ .'- disable:禁用状态,GTM实例智能调度策略不可用。', 'type' => 'string', 'required' => false, 'example' => 'enable'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名实例的备注。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'HealthStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名实例健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。', 'type' => 'string', 'required' => false, 'example' => 'ok'],
+ ],
+ [
+ 'name' => 'AvailableStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名实例服务可用状态:'."\n"
+ ."\n"
+ .'- available:可用,域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
+ ."\n"
+ .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。', 'type' => 'string', 'required' => false, 'example' => 'available'],
],
],
'responses' => [
@@ -28103,124 +20180,269 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'IspCityNodes' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF'],
+ 'PageNumber' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '实例配置列表总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'],
+ 'InstanceConfigs' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'IspCityNode' => [
- 'description' => '监控节点列表。',
+ 'InstanceConfig' => [
+ 'description' => '实例列表。',
'type' => 'array',
'items' => [
- 'description' => '监控节点。',
+ 'description' => '实例信息。',
'type' => 'object',
'properties' => [
- 'CityCode' => [
- 'description' => '城市编码。',
- 'type' => 'string',
- 'example' => '503',
- ],
- 'Mainland' => [
- 'description' => '是否是中国内地。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'GroupName' => [
- 'description' => '节点分组名称。',
- 'type' => 'string',
- 'example' => '国际节点',
- ],
- 'IspCode' => [
- 'description' => '运营商编码'."\n"
- ."\n"
- .'- GroupType为BGP或Overseas时,IspCode为非必传值,默认为465。'."\n"
- .'- GroupType为非BGP或Overseas时,IspCode为必传值。并与CityCode匹配使用。',
- 'type' => 'string',
- 'example' => '465',
- ],
- 'CityName' => [
- 'description' => '城市展示名。',
- 'type' => 'string',
- 'example' => '张家口市',
- ],
- 'IspName' => [
- 'description' => '运营商展示名(目前仅阿里巴巴)。',
- 'type' => 'string',
- 'example' => '阿里巴巴',
- ],
- 'GroupType' => [
- 'description' => '节点分组类型:当前支持'."\n"
- .'BGP:BGP节点;'."\n"
- .'OVERSEAS:国际节点;'."\n"
- .'ISP:运营商节点。',
- 'type' => 'string',
- 'example' => 'OVERSEAS',
- ],
- 'DefaultSelected' => [
- 'description' => '是否默认选中。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'InstanceId' => ['title' => '实例id', 'description' => '全局流量管理GTM 3.0实例ID。', 'type' => 'string', 'example' => 'gtm-cn-x0r38e0****'],
+ 'ConfigId' => ['title' => '实例id', 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。', 'type' => 'string', 'example' => 'Config-000****'."\n"],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '域名实例创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '域名实例创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '域名实例最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '域名实例最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'."\n"],
+ 'VersionCode' => ['title' => '版本code', 'description' => '全局流量管理3.0实例版本:'."\n"
+ ."\n"
+ .'- standard:标准版'."\n"
+ ."\n"
+ .'- ultimate:旗舰版', 'type' => 'string', 'example' => 'ultimate'],
+ 'CommodityCode' => ['title' => '商品code', 'description' => '商品编码:'."\n"
+ ."\n"
+ .'- dns_gtm_public_cn:中国站商品编码。'."\n"
+ ."\n"
+ .'- dns_gtm_public_intl:国际站商品编码。', 'type' => 'string', 'example' => 'dns_gtm_public_cn'],
+ 'ScheduleZoneMode' => ['title' => '接入zone分配模式', 'description' => '接入域名分配模式:'."\n"
+ ."\n"
+ .'- custom:自定义接入域名,用户自定义主机记录,并关联GTM实例所在账号下在权威解析中托管的域名,生成接入域名。'."\n"
+ ."\n"
+ .'- sys_assign:系统默认分配接入域名,本功能已经不支持,请勿选择此模式。', 'type' => 'string', 'example' => 'custom'],
+ 'ScheduleZoneName' => ['title' => 'zone名称', 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。', 'type' => 'string', 'example' => 'example.com'],
+ 'ScheduleHostname' => ['title' => '主机记录', 'description' => 'GTM接入域名的主机记录。', 'type' => 'string', 'example' => 'www'],
+ 'ScheduleDomainName' => ['title' => '域名,主机记录+zoneNamne', 'description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)', 'type' => 'string', 'example' => 'www.example.com'],
+ 'ScheduleRrType' => ['title' => '调度解析记录类型', 'description' => '调度域名的解析记录类型:'."\n"
+ ."\n"
+ .'- A:IPv4地址'."\n"
+ ."\n"
+ .'- AAAA:IPv6地址'."\n"
+ ."\n"
+ .'- CNAME:域名', 'type' => 'string', 'example' => 'A'],
+ 'Ttl' => ['title' => '调度调度实例的TTL', 'description' => '全局TTL(单位:秒),接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间,支持自定义TTL值。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'AddressPoolLbStrategy' => ['title' => '地址池的负载均衡策略', 'description' => '地址池之间的负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['title' => '顺序负载策略模式(抢占式、非抢占式)', 'description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。', 'type' => 'string', 'example' => 'preemptive'],
+ 'AvailableStatus' => ['description' => '域名实例服务可用状态:'."\n"
+ ."\n"
+ .'- available:可用,域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
+ ."\n"
+ .'- unavailable:不可用,域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。', 'type' => 'string', 'example' => 'available'],
+ 'EnableStatus' => ['title' => '启用状态', 'description' => '域名实例的启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态,GTM实例智能调度策略生效。'."\n"
+ ."\n"
+ .'- disable:禁用状态,GTM实例智能调度策略不可用。', 'type' => 'string', 'example' => 'enable'],
+ 'HealthStatus' => ['title' => '监控状态', 'description' => '域名实例健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,接入域名引用的所有地址池全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,接入域名引用的所有地址池部分不可用。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,接入域名引用的所有地址池全部不可用。此时,使用实例所引用的顺序号较小的非空地址池中的地址进行兜底解析,尽可能帮助客户端获得解析结果。', 'type' => 'string', 'example' => 'ok'],
+ 'Remark' => ['title' => '备注', 'description' => '域名实例的备注。', 'type' => 'string', 'example' => 'test'],
+ 'AddressPools' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AddressPool' => [
+ 'description' => '地址池列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址池信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '地址池创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '地址池创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['description' => '地址池最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '更新时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'AddressPoolId' => ['title' => '地址池Id', 'description' => '地址池ID,唯一标识地址池。', 'type' => 'string', 'example' => 'pool-89564504435014**60'],
+ 'WeightValue' => ['title' => '权重值', 'description' => '权重值(1-100之间的整数,包括1和100),支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SerialNumber' => ['title' => '序号', 'description' => '顺序号,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RequestSource' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RequestSource' => [
+ 'description' => '解析请求来源列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '请求来源,是指解析请求的来源,GTM是根据终端所用LocalDNS的出口IP进行调度。若LocalDNS支持ECS (edns-client-subnet),也可以根据访问终端的IP进行智能调度。', 'type' => 'string', 'example' => '["default"]'],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'AddressPoolName' => ['title' => '地址池名称', 'description' => '地址池名称。', 'type' => 'string', 'example' => 'AddressPool-1'],
+ 'AddressPoolType' => ['title' => '地址池类型ipv4、ipv6、domain', 'description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IPv4'."\n"
+ ."\n"
+ .'- IPv6'."\n"
+ ."\n"
+ .'- domain', 'type' => 'string', 'example' => 'IPv4'],
+ 'AddressLbStrategy' => ['title' => '地址负载策略', 'description' => '地址池中地址间负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。', 'type' => 'string', 'example' => 'round_robin'],
+ 'SequenceLbStrategyMode' => ['title' => '顺序负载策略模式(抢占式、非抢占式)', 'description' => '地址间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。', 'type' => 'string', 'example' => 'preemptive'],
+ 'EnableStatus' => ['title' => '启用状态', 'description' => '地址池启用状态:'."\n"
+ ."\n"
+ .'- enable:启用状态'."\n"
+ ."\n"
+ .'- disable:禁用状态', 'type' => 'string', 'example' => 'enable'],
+ 'HealthJudgement' => ['title' => '健康判定', 'description' => '地址池健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
+ ."\n"
+ .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
+ ."\n"
+ .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
+ ."\n"
+ .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
+ ."\n"
+ .'- all_ok:地址池内地址全部可用。', 'type' => 'string', 'example' => 'any_ok'],
+ 'HealthStatus' => ['title' => '健康状态', 'description' => '地址池健康状态:'."\n"
+ ."\n"
+ .'- ok:正常,地址池引用的所有地址全部可用。'."\n"
+ ."\n"
+ .'- ok_alert:警告,地址池引用的地址部分不可用,但是地址池状态判定为正常。警告状态下,可用的地址池正常解析,不可用的地址池停止解析。'."\n"
+ ."\n"
+ .'- exceptional:异常,地址池引用的地址部分或全部不可用,地址池状态判定为异常。', 'type' => 'string', 'example' => 'ok'],
+ 'AvailableStatus' => ['title' => '可用性状态', 'description' => '地址池可用性状态:'."\n"
+ ."\n"
+ .'- available:可用'."\n"
+ ."\n"
+ .'- unavailable:不可用', 'type' => 'string', 'example' => ' available'],
+ 'SeqNonPreemptiveSchedule' => ['description' => '是否是顺序(非抢占)模式调度对象,针对于融合云纳管场景:'."\n"
+ ."\n"
+ .'- true:是'."\n"
+ ."\n"
+ .'- false:不是', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
+ 'ConfigLoggingSwitchStatus' => ['type' => 'string', 'example' => 'ENABLE'],
],
],
],
],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"Mainland\\": true,\\n \\"GroupName\\": \\"国际节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"GroupType\\": \\"OVERSEAS\\",\\n \\"DefaultSelected\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmMonitorAvailableConfigResponse>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<IspCityNodes>\\r\\n\\t\\t<IspName>阿里巴巴</IspName>\\r\\n\\t\\t<IspCode>465</IspCode>\\r\\n\\t\\t<City>张家口市</City>\\r\\n\\t\\t<CityCode>503</CityCode>\\r\\n\\t\\t<DefaultSelected>true</DefaultSelected>\\r\\n\\t\\t<Mainland>true</Mainland>\\r\\n\\t</IspCityNodes>\\r\\n\\t<IspCityNodes>\\r\\n\\t\\t<IspName>阿里巴巴</IspName>\\r\\n\\t\\t<IspCode>465</IspCode>\\r\\n\\t\\t<City>青岛市</City>\\r\\n\\t\\t<CityCode>572</CityCode>\\r\\n\\t\\t<DefaultSelected>false</DefaultSelected>\\r\\n\\t\\t<Mainland>true</Mainland>\\r\\n\\t</IspCityNodes>\\r\\n</DescribeGtmMonitorAvailableConfigResponse>","errorExample":""}]',
- 'title' => '获取健康检查可设置的配置(旧版)',
- 'summary' => '获取健康检查可设置的配置。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeGtmMonitorConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '搜索实例配置列表',
+ 'summary' => '根据传入参数搜索实例配置列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchCloudGtmInstanceConfigs'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:SearchCloudGtmInstanceConfigs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 15,\\n \\"InstanceConfigs\\": {\\n \\"InstanceConfig\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-x0r38e0****\\",\\n \\"ConfigId\\": \\"Config-000****\\\\n\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"CommodityCode\\": \\"dns_gtm_public_cn\\",\\n \\"ScheduleZoneMode\\": \\"custom\\",\\n \\"ScheduleZoneName\\": \\"example.com\\",\\n \\"ScheduleHostname\\": \\"www\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"ScheduleRrType\\": \\"A\\",\\n \\"Ttl\\": 60,\\n \\"AddressPoolLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"AvailableStatus\\": \\"available\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"Remark\\": \\"test\\",\\n \\"AddressPools\\": {\\n \\"AddressPool\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"AddressPoolId\\": \\"pool-89564504435014**60\\",\\n \\"WeightValue\\": 1,\\n \\"SerialNumber\\": 1,\\n \\"RequestSource\\": {\\n \\"RequestSource\\": [\\n \\"[\\\\\\"default\\\\\\"]\\"\\n ]\\n },\\n \\"AddressPoolName\\": \\"AddressPool-1\\",\\n \\"AddressPoolType\\": \\"IPv4\\",\\n \\"AddressLbStrategy\\": \\"round_robin\\",\\n \\"SequenceLbStrategyMode\\": \\"preemptive\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"HealthJudgement\\": \\"any_ok\\",\\n \\"HealthStatus\\": \\"ok\\",\\n \\"AvailableStatus\\": \\" available\\",\\n \\"SeqNonPreemptiveSchedule\\": false\\n }\\n ]\\n },\\n \\"ConfigLoggingSwitchStatus\\": \\"ENABLE\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'SearchCloudGtmInstances' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsBCOB1Q'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值的语言,取值:'."\n"
+ ."\n"
+ .'- **zh-CN**:中文。'."\n"
+ .'- **en-US**:英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'MonitorConfigId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '健康检查配置ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。只支持ASCII字符,且不能超过64个字符。更多信息,请参见如何保证幂等性。', 'type' => 'string', 'required' => false, 'example' => ' '."\n"
+ .'1ae05db4-10e7-11ef-b126-00163e24****'."\n"],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['title' => '调度实例id', 'description' => '全局流量管理3.0实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3h****'],
+ ],
+ [
+ 'name' => 'InstanceName',
+ 'in' => 'query',
+ 'schema' => ['title' => '调度实例名称', 'description' => '调度实例名称,支持模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'example' => 'prepay / postpay'],
],
],
'responses' => [
@@ -28228,172 +20450,145 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'Timeout' => [
- 'description' => '超时时间,单位:毫秒,取值范围:2000、3000、5000、10000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3000',
- ],
- 'ProtocolType' => [
- 'description' => '检查协议。',
- 'type' => 'string',
- 'example' => 'HTTP',
- ],
- 'IspCityNodes' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '搜索出来的实例总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'Instances' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'IspCityNode' => [
- 'description' => '监控节点列表。',
+ 'Instance' => [
+ 'description' => '实例列表。',
'type' => 'array',
'items' => [
- 'description' => '监控节点。',
+ 'description' => '实例信息。',
'type' => 'object',
'properties' => [
- 'CityCode' => [
- 'description' => '城市编码。',
- 'type' => 'string',
- 'example' => '503',
- ],
- 'CountryName' => [
- 'description' => '国家展示名。',
- 'type' => 'string',
- 'example' => '中国',
- ],
- 'IspCode' => [
- 'description' => '运营商Code。',
- 'type' => 'string',
- 'example' => '465',
- ],
- 'CityName' => [
- 'description' => '城市展示名。',
- 'type' => 'string',
- 'example' => '张家口市',
- ],
- 'CountryCode' => [
- 'description' => '国家编码。',
- 'type' => 'string',
- 'example' => '001',
- ],
- 'IspName' => [
- 'description' => '运营商名称。',
- 'type' => 'string',
- 'example' => '阿里巴巴',
- ],
+ 'InstanceId' => ['title' => '实例id', 'description' => '全局流量管理3.0实例ID。', 'type' => 'string', 'example' => 'gtm-cn-wwo3a3h****'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '实例创建时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'CreateTimestamp' => ['description' => '实例创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1710467214858'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '实例最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-15T01:46Z'],
+ 'UpdateTimestamp' => ['description' => '实例最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1710467214858'],
+ 'VersionCode' => ['title' => '版本code', 'description' => '全局流量管理3.0实例版本:'."\n"
+ ."\n"
+ .'- standard:标准版'."\n"
+ ."\n"
+ .'- ultimate:旗舰版', 'type' => 'string', 'example' => 'ultimate'],
+ 'CommodityCode' => ['title' => '商品code', 'description' => '商品编码:'."\n"
+ ."\n"
+ .'- dns_gtm_public_cn:中国站商品编码。'."\n"
+ ."\n"
+ .'- dns_gtm_public_intl:国际站商品编码。', 'type' => 'string', 'example' => 'dns_gtm_public_cn'],
+ 'MonthlySmsQuota' => ['title' => '短消息配额', 'description' => '短息配额,仅中国站支持短消息,国际站不支持短消息。', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'],
+ 'MonitorTaskQuota' => ['title' => '监控任务配额', 'description' => '监控探测任务配额。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'InstanceName' => ['title' => '调度实例名称', 'description' => '调度实例名称。', 'type' => 'string', 'example' => 'test'],
+ 'ExpireTime' => ['description' => '实例到期时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2024-09-05T16:00Z'],
+ 'ExpireTimestamp' => ['title' => '到期日', 'description' => '实例到期时间(时间戳)。', 'type' => 'string', 'example' => '1725552000000'],
+ 'ScheduleDomainName' => ['description' => 'GTM接入域名。格式为接入域名主机记录(ScheduleHostname参数值)+主域或子域(ScheduleZoneName参数值)', 'type' => 'string', 'example' => 'www.example.com'],
+ 'MonthlySmsUsed' => ['description' => '当月短信发送量,仅中国站支持短信,国际站不支持短信。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'MonthlyEmailUsed' => ['description' => '当月邮件发送量。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'MonthlyWebhookUsed' => ['description' => '当月 webhook 发送量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'ChargeType' => ['type' => 'string', 'example' => 'postpay / prepay'],
],
],
],
],
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'EvaluationCount' => [
- 'description' => '连续次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'MonitorExtendInfo' => [
- 'description' => '扩展信息。根据不同协议,进行传参:'."\n"
- ."\n"
- .'HTTP、HTTPS:'."\n"
- ."\n"
- .'- port:检查端口'."\n"
- .'- failureRate:失败率'."\n"
- .'- code:返回码(大于此值会被判定为异常)。取值:400、500。'."\n"
- .'- host:Host设置'."\n"
- .'- path:URL路径'."\n"
- ."\n"
- .'PING:'."\n"
- ."\n"
- .'- packetNum:ping包数'."\n"
- .'- packetLossRate:ping丢包率'."\n"
- .'- failureRate:失败率'."\n"
- ."\n"
- .'TCP:'."\n"
- ."\n"
- .'- port:检查端口'."\n"
- .'- failureRate:失败率',
- 'type' => 'string',
- 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}',
- ],
- 'MonitorConfigId' => [
- 'description' => '健康检查配置ID。',
- 'type' => 'string',
- 'example' => '1234abc',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'Interval' => [
- 'description' => '检查间隔,单位:秒,取值范围:60。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Timeout\\": 3000,\\n \\"ProtocolType\\": \\"HTTP\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"CountryCode\\": \\"001\\",\\n \\"IspName\\": \\"阿里巴巴\\"\\n }\\n ]\\n },\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"UpdateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"EvaluationCount\\": 3,\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorExtendInfo\\": \\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":200,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\index.htm\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aliyun.com\\\\\\\\\\\\\\"}\\",\\n \\"MonitorConfigId\\": \\"1234abc\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"Interval\\": 60\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmMonitorConfigResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<MonitorConfigId>1234abc</MonitorConfigId>\\r\\n\\t<CreateTime>2017-12-28T13:08Z</CreateTime>\\r\\n\\t<CreateTimestamp>1527690629357</CreateTimestamp>\\r\\n\\t<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\r\\n\\t<UpdateTimestamp>1527690629357</UpdateTimestamp>\\r\\n\\t<ProtocolType>HTTP</ProtocolType>\\r\\n\\t<Interval>60</Interval>\\r\\n\\t<EvaluationCount>3</EvaluationCount>\\r\\n\\t<Timeout>3000</Timeout>\\r\\n\\t<MonitorExtendInfo>{&quot;code&quot;:200,&quot;path&quot;:&quot;\\\\index.htm&quot;,&quot;host&quot;:&quot;aliyun.com&quot;}</MonitorExtendInfo>\\r\\n\\t<IspCityNodes>\\r\\n\\t\\t<CountryName>中国</CountryName>\\r\\n\\t\\t<CountryCode>001</CountryCode>\\r\\n\\t\\t<City>张家口市</City>\\r\\n\\t\\t<CityCode>503</CityCode>\\r\\n\\t</IspCityNodes>\\r\\n\\t<IspCityNodes>\\r\\n\\t\\t<CountryName>中国</CountryName>\\r\\n\\t\\t<CountryCode>001</CountryCode>\\r\\n\\t\\t<City>青岛市</City>\\r\\n\\t\\t<CityCode>572</CityCode>\\r\\n\\t</IspCityNodes>\\r\\n</DescribeGtmMonitorConfigResponse>","errorExample":""}]',
- 'title' => '获取地址池健康检查配置(旧版)',
- 'summary' => '获取地址池健康检查配置。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmMonitorAvailableConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '搜索实例列表',
+ 'summary' => '根据传入参数搜索实例列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchCloudGtmInstances'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:SearchCloudGtmInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 10,\\n \\"Instances\\": {\\n \\"Instance\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3h****\\",\\n \\"CreateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"CreateTimestamp\\": 1710467214858,\\n \\"UpdateTime\\": \\"2024-03-15T01:46Z\\",\\n \\"UpdateTimestamp\\": 1710467214858,\\n \\"VersionCode\\": \\"ultimate\\",\\n \\"CommodityCode\\": \\"dns_gtm_public_cn\\",\\n \\"MonthlySmsQuota\\": 2000,\\n \\"MonitorTaskQuota\\": 100,\\n \\"InstanceName\\": \\"test\\",\\n \\"ExpireTime\\": 0,\\n \\"ExpireTimestamp\\": \\"1725552000000\\",\\n \\"ScheduleDomainName\\": \\"www.example.com\\",\\n \\"MonthlySmsUsed\\": 200,\\n \\"MonthlyEmailUsed\\": 200,\\n \\"MonthlyWebhookUsed\\": 100,\\n \\"ChargeType\\": \\"postpay / prepay\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'SearchCloudGtmMonitorTemplates' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns6ZABD5'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '20'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '健康探测模板的名称,按照输入的关键字进行模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'IPv4-Ping'."\n"],
+ ],
+ [
+ 'name' => 'IpVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => '按照探测节点IP地址的类型进行精确搜索:'."\n"
+ ."\n"
+ .'- IPv4:当探测的目标地址类型为IPv4地址时适用。'."\n"
+ ."\n"
+ .'- IPv6:当探测的目标地址类型为IPv6地址时适用。', 'type' => 'string', 'required' => false, 'example' => 'IPv4'],
+ ],
+ [
+ 'name' => 'Protocol',
+ 'in' => 'query',
+ 'schema' => ['description' => '按照探测协议类型进行精确搜索:'."\n"
+ ."\n"
+ .'- ping'."\n"
+ ."\n"
+ .'- tcp'."\n"
+ ."\n"
+ .'- http'."\n"
+ ."\n"
+ .'- https', 'type' => 'string', 'required' => false, 'example' => 'ping'],
],
],
'responses' => [
@@ -28401,362 +20596,267 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Ipv4IspCityNodes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Ipv4IspCityNode' => [
- 'description' => '公网Ipv4监控节点列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '公网ipv4监控节点。',
- 'type' => 'object',
- 'properties' => [
- 'CityCode' => [
- 'description' => '城市编码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '503',
- ],
- 'GroupName' => [
- 'description' => '节点分组名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'BGP节点',
- ],
- 'IspCode' => [
- 'description' => '运营商编码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '465',
- ],
- 'CityName' => [
- 'description' => '城市展示名。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '张家口市',
- ],
- 'IspName' => [
- 'description' => '运营商展示名。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '阿里巴巴',
- ],
- 'GroupType' => [
- 'description' => '节点分组类型,当前支持:'."\n"
- ."\n"
- .'- BGP:BGP节点'."\n"
- .'- OVERSEAS:国际节点'."\n"
- .'- ISP:运营商节点',
- 'type' => 'string',
- 'example' => 'BGP',
- ],
- 'DefaultSelected' => [
- 'description' => '是否默认选中。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Ips' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Ip' => [
- 'description' => '节点ip列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '节点IP列表。',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "1.1.XX.XX",'."\n"
- .' "2.2.XX.XX"'."\n"
- .']',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'DomainIpv4IspCityNodes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DomainIpv4IspCityNode' => [
- 'description' => '公网域名Ipv4监控节点列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '公网域名Ipv4监控节点。',
- 'type' => 'object',
- 'properties' => [
- 'CityCode' => [
- 'description' => '城市编码。',
- 'type' => 'string',
- 'example' => '503',
- ],
- 'GroupName' => [
- 'description' => '节点分组名称。',
- 'type' => 'string',
- 'example' => 'BGP节点',
- ],
- 'IspCode' => [
- 'description' => '运营商编码。',
- 'type' => 'string',
- 'example' => '465',
- ],
- 'CityName' => [
- 'description' => '城市展示名。',
- 'type' => 'string',
- 'example' => '张家口市',
- ],
- 'IspName' => [
- 'description' => '运营商展示名。',
- 'type' => 'string',
- 'example' => '阿里巴巴',
- ],
- 'GroupType' => [
- 'description' => '节点分组类型,当前支持:'."\n"
- ."\n"
- .'- BGP:BGP节点'."\n"
- .'- OVERSEAS:国际节点'."\n"
- .'- ISP:运营商节点',
- 'type' => 'string',
- 'example' => 'BGP',
- ],
- 'DefaultSelected' => [
- 'description' => '是否默认选中。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Ips' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Ip' => [
- 'description' => '节点ip列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '节点IP。',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "1.1.XX.XX",'."\n"
- .' "2.2.XX.XX"'."\n"
- .']',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'DomainIpv6IspCityNodes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DomainIpv6IspCityNode' => [
- 'description' => '公网域名Ipv6监控节点列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '公网域名ipv6监控节点。',
- 'type' => 'object',
- 'properties' => [
- 'CityCode' => [
- 'description' => '城市编码。',
- 'type' => 'string',
- 'example' => '503',
- ],
- 'GroupName' => [
- 'description' => '节点分组名称。',
- 'type' => 'string',
- 'example' => 'BGP节点',
- ],
- 'IspCode' => [
- 'description' => '运营商编码。',
- 'type' => 'string',
- 'example' => '465',
- ],
- 'CityName' => [
- 'description' => '城市展示名。',
- 'type' => 'string',
- 'example' => '张家口市',
- ],
- 'IspName' => [
- 'description' => '运营商展示名。',
- 'type' => 'string',
- 'example' => '阿里巴巴',
- ],
- 'GroupType' => [
- 'description' => '节点分组类型,当前支持:'."\n"
- ."\n"
- .'- BGP:BGP节点'."\n"
- .'- OVERSEAS:国际节点'."\n"
- .'- ISP:运营商节点',
- 'type' => 'string',
- 'example' => 'BGP',
- ],
- 'DefaultSelected' => [
- 'description' => '是否默认选中。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'Ips' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'ip' => [
- 'description' => '暂不开放此返回参数。',
- 'type' => 'array',
- 'items' => [
- 'description' => '暂不开放此返回参数。',
- 'type' => 'string',
- 'example' => '暂无',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'Ipv6IspCityNodes' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '搜索到的健康探测模板总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Templates' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Ipv6IspCityNode' => [
- 'description' => '公网Ipv6监控节点列表。',
+ 'Template' => [
+ 'description' => '健康探测模板列表。',
'type' => 'array',
'items' => [
- 'description' => '公网Ipv6监控节点。'."\n"
- ."\n",
+ 'description' => '健康探测模板信息。',
'type' => 'object',
'properties' => [
- 'CityCode' => [
- 'description' => '城市编码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '503',
- ],
- 'GroupName' => [
- 'description' => '节点分组名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'BGP节点',
- ],
- 'IspCode' => [
- 'description' => '运营商编码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '465',
- ],
- 'CityName' => [
- 'description' => '城市展示名。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '张家口市',
- ],
- 'IspName' => [
- 'description' => '运营商展示名。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '阿里巴巴',
- ],
- 'GroupType' => [
- 'description' => '节点分组类型,当前支持:'."\n"
- ."\n"
- .'- BGP:BGP节点'."\n"
- .'- OVERSEAS:国际节点'."\n"
- .'- ISP:运营商节点',
- 'type' => 'string',
- 'example' => 'BGP',
- ],
- 'DefaultSelected' => [
- 'description' => '是否默认选中。'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Ips' => [
+ 'TemplateId' => ['title' => '模板 ID ,全局唯一', 'description' => '健康探测模板ID,唯一标识健康探测模板。', 'type' => 'string', 'example' => 'mtp-89518052425100**80'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '健康探测模板的创建时间。', 'type' => 'string', 'example' => '2024-03-23T13:09Z'],
+ 'CreateTimestamp' => ['description' => '健康探测模板的创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '健康探测模板的最后一次修改时间。', 'type' => 'string', 'example' => '2024-03-29T13:20Z'],
+ 'UpdateTimestamp' => ['description' => '健康探测模板的最后一次修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1527690629357'],
+ 'Name' => ['title' => '探测模板名称', 'description' => '健康检查探测模板的名称,一般为了方便配置人员区分和记忆,建议名称可以区分健康检查协议。', 'type' => 'string', 'example' => 'IPv4-Ping'],
+ 'IpVersion' => ['title' => '探测的网络环境 IP 版本', 'description' => '探测节点IP地址的类型:'."\n"
+ ."\n"
+ .'- IPv4:当探测的目标地址类型为IPv4地址时适用。'."\n"
+ .'- IPv6:当探测的目标地址类型为IPv6地址时适用。', 'type' => 'string', 'example' => 'IPv4'],
+ 'Protocol' => ['title' => '探测协议', 'description' => '对目标IP地址发起探测的协议类型:'."\n"
+ ."\n"
+ .'- ping'."\n"
+ ."\n"
+ .'- tcp'."\n"
+ ."\n"
+ .'- http'."\n"
+ ."\n"
+ .'- https', 'type' => 'string', 'example' => 'ping'],
+ 'Interval' => ['title' => '探测间隔(秒)', 'description' => '每次检查的时间间隔(秒),默认每间隔1分钟探测一次,健康检查间隔最小支持15秒(面向旗舰版实例开放)。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Timeout' => ['title' => '探测超时时间', 'description' => '探测超时时间(毫秒),大于超时时间未返回的数据包即判断为健康检查超时:'."\n"
+ ."\n"
+ .'- 2000'."\n"
+ ."\n"
+ .'- 3000'."\n"
+ ."\n"
+ .'- 5000'."\n"
+ ."\n"
+ .'- 10000', 'type' => 'integer', 'format' => 'int32', 'example' => '5000'],
+ 'EvaluationCount' => ['title' => '探测连续次数', 'description' => '重试次数,连续多次监控出现异常,系统才将应用服务判断为异常,以防止因为一些网络瞬间抖动等其他原因影响监控准确率。重试次数可选值为:'."\n"
+ ."\n"
+ .'- 1'."\n"
+ ."\n"
+ .'- 2'."\n"
+ ."\n"
+ .'- 3', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'FailureRate' => ['title' => '告警失败率', 'description' => '所选节点探测失败比例(%),即健康检查异常的探测点占探测点总数的百分比,当失败比例超过设置的阈值时,将服务地址判断为异常。可设置的失败比例阈值为:'."\n"
+ ."\n"
+ .'- 20'."\n"
+ ."\n"
+ .'- 50'."\n"
+ ."\n"
+ .'- 80'."\n"
+ ."\n"
+ .'- 100', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'ExtendInfo' => ['description' => 'Json 字符串扩展信息,各协议检查所需参数:'."\n"
+ ."\n"
+ .'- **http(s)**:'."\n"
+ ."\n"
+ .' **host**:执行HTTP(S)监控时,指定HTTP(S)请求头部信息中携带的Host字段,用于标识需要访问的具体HTTP网站,默认为主域名,如果目标网站的host有特殊要求,请自行修改;'."\n"
+ ."\n"
+ .' **path**:HTTP路径,用户HTTP(S)健康检查的URL路径配置,系统默认填写“/”;'."\n"
+ ."\n"
+ .' **code**:当执行HTTP(S)监控时,根据Web服务器的返回码判断Web服务器是否正常工作,大于返回码报警阈值时,系统认为应用服务出现异常:'."\n"
+ ."\n"
+ .' - 400:Bad Request,即如果HTTP(S)请求携带了错误的请求参数,Web服务器将返回大于400的返回码,如果校验内容设置为“异常码大于400”,请务必在URL路径中填写精确的URL访问路径参数;'."\n"
+ ."\n"
+ .' - 500:Server Error,即如果Web服务器出现了某些异常,将返回大于500的异常码,系统默认使用大于500的异常码作为报警阈值;'."\n"
+ ."\n"
+ .' **sni**:是否开启sni,仅在HTTPS协议时使用。SNI(Server Name Indication)是TLS协议的一个扩展,它允许客户端在发起TLS握手时指定想要连接的主机名。由于TLS握手发生在HTTP请求的任何数据被发送之前,SNI允许服务器在发送证书之前知道客户端试图访问的服务,这使得服务器可以选择正确的证书来呈现给客户端。'."\n"
+ ."\n"
+ .' - true-开启'."\n"
+ .' '."\n"
+ .' - false-未开启'."\n"
+ .' '."\n"
+ .' **followRedirect**:是否跟随3XX重定向'."\n"
+ ."\n"
+ .' - true:监控点获取的状态码为3XX (301,302,303, 307,308) 时,跟随跳转;'."\n"
+ ."\n"
+ .' - false:不跳转;'."\n"
+ ."\n\n"
+ .'- **ping**:'."\n"
+ ."\n"
+ .' **packetNum**:每次Ping监控,同时发出多少个ICMP数据包,可选20、50、100'."\n"
+ ."\n"
+ .' **packetLossRate**:异常时丢包率,每次ping监控,对发出的ICMP数据包,计算丢包率(%)。丢包率=(丢失数据包/发送的总ICMP数据包数目)* 100%,达到丢包率阈值时,异常报警。丢包率可选值为:10、30、40、80、90、100', 'type' => 'string', 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}'],
+ 'IspCityNodes' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'Ip' => [
- 'description' => '暂不开放此返回参数。',
+ 'IspCityNode' => [
+ 'title' => '探点信息',
+ 'description' => '探测节点列表。',
'type' => 'array',
'items' => [
- 'description' => '暂不开放此返回参数。',
- 'type' => 'string',
- 'example' => '暂无',
+ 'description' => '探测节点信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CountryCode' => ['title' => '国家 Code', 'description' => '国家编码。', 'type' => 'string', 'example' => '001'],
+ 'CountryName' => ['title' => '国家名称', 'description' => '国家名称。', 'type' => 'string', 'example' => '中国'],
+ 'CityCode' => ['title' => '城市 Code', 'description' => '城市编码。', 'type' => 'string', 'example' => '503'],
+ 'CityName' => ['title' => '城市名称', 'description' => '城市名称。', 'type' => 'string', 'example' => '张家口市'],
+ 'GroupType' => ['title' => '监控探点分组类型', 'description' => '探测节点分组类型:'."\n"
+ ."\n"
+ .'- BGP:BGP节点。'."\n"
+ ."\n"
+ .'- OVERSEAS:国际节点。'."\n"
+ ."\n"
+ .'- ISP:运营商节点。', 'type' => 'string', 'example' => 'BGP'],
+ 'GroupName' => ['title' => '监控探点分组类型名称', 'description' => '探测节点分组类型名称。', 'type' => 'string', 'example' => 'BGP'],
+ 'IspCode' => ['title' => 'ISP Code', 'description' => '运营商编码。', 'type' => 'string', 'example' => '465'],
+ 'IspName' => ['title' => 'ISP 名称', 'description' => '运营商名称。', 'type' => 'string', 'example' => '阿里巴巴'],
+ ],
],
],
],
+ 'description' => '',
],
+ 'Remark' => ['description' => '健康探测模板的备注。', 'type' => 'string', 'example' => 'test'],
+ 'CloudGtmMonitorTemplateId' => ['type' => 'string', 'example' => 'mtp-xxxx'],
],
],
],
],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Ipv4IspCityNodes\\": {\\n \\"Ipv4IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"DefaultSelected\\": true,\\n \\"Ips\\": {\\n \\"Ip\\": [\\n \\"[\\\\n \\\\\\"1.1.XX.XX\\\\\\",\\\\n \\\\\\"2.2.XX.XX\\\\\\"\\\\n]\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"DomainIpv4IspCityNodes\\": {\\n \\"DomainIpv4IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"DefaultSelected\\": true,\\n \\"Ips\\": {\\n \\"Ip\\": [\\n \\"[\\\\n \\\\\\"1.1.XX.XX\\\\\\",\\\\n \\\\\\"2.2.XX.XX\\\\\\"\\\\n]\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"DomainIpv6IspCityNodes\\": {\\n \\"DomainIpv6IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"DefaultSelected\\": false,\\n \\"Ips\\": {\\n \\"ip\\": [\\n \\"暂无\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"Ipv6IspCityNodes\\": {\\n \\"Ipv6IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"503\\",\\n \\"GroupName\\": \\"BGP节点\\",\\n \\"IspCode\\": \\"465\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"IspName\\": \\"阿里巴巴\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"DefaultSelected\\": true,\\n \\"Ips\\": {\\n \\"Ip\\": [\\n \\"暂无\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Ipv4IspCityNodes>\\n <Ipv4IspCityNode>\\n <CityCode>503</CityCode>\\n <GroupName>BGP节点</GroupName>\\n <IspName>阿里巴巴</IspName>\\n <GroupType>BGP</GroupType>\\n <CityName>张家口市</CityName>\\n <IspCode>465</IspCode>\\n <DefaultSelected>true</DefaultSelected>\\n <Ips>\\n <Ip>1.1.1.1</Ip>\\n <Ip>2.2.2.2</Ip>\\n </Ips>\\n </Ipv4IspCityNode>\\n</Ipv4IspCityNodes>\\n<DomainIpv4IspCityNodes>\\n <DomainIpv4IspCityNode>\\n <CityCode>503</CityCode>\\n <GroupName>BGP节点</GroupName>\\n <IspName>阿里巴巴</IspName>\\n <GroupType>BGP</GroupType>\\n <CityName>张家口市</CityName>\\n <IspCode>465</IspCode>\\n <DefaultSelected>true</DefaultSelected>\\n <Ips>\\n <Ip>1.1.1.1</Ip>\\n <Ip>2.2.2.2</Ip>\\n </Ips>\\n </DomainIpv4IspCityNode>\\n</DomainIpv4IspCityNodes>\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<DomainIpv6IspCityNodes>\\n <DomainIpv6IspCityNode>\\n <CityCode>503</CityCode>\\n <GroupName>BGP节点</GroupName>\\n <IspName>阿里巴巴</IspName>\\n <GroupType>BGP</GroupType>\\n <CityName>张家口市</CityName>\\n <IspCode>465</IspCode>\\n <DefaultSelected>false</DefaultSelected>\\n </DomainIpv6IspCityNode>\\n</DomainIpv6IspCityNodes>\\n<Ipv6IspCityNodes>\\n <Ipv6IspCityNode>\\n <CityCode>503</CityCode>\\n <GroupName>BGP节点</GroupName>\\n <IspName>阿里巴巴</IspName>\\n <GroupType>BGP</GroupType>\\n <CityName>张家口市</CityName>\\n <IspCode>465</IspCode>\\n <DefaultSelected>true</DefaultSelected>\\n </Ipv6IspCityNode>\\n</Ipv6IspCityNodes>","errorExample":""}]',
- 'title' => '获取 DNS 健康检查可设置的配置',
- 'summary' => '获取 DNS 健康检查可设置的配置。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmMonitorConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '搜索健康检查模板列表',
+ 'summary' => '查询健康检查模板列表信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchCloudGtmMonitorTemplates'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:SearchCloudGtmMonitorTemplates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"Templates\\": {\\n \\"Template\\": [\\n {\\n \\"TemplateId\\": \\"mtp-89518052425100**80\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"Name\\": \\"IPv4-Ping\\",\\n \\"IpVersion\\": \\"IPv4\\",\\n \\"Protocol\\": \\"ping\\",\\n \\"Interval\\": 60,\\n \\"Timeout\\": 5000,\\n \\"EvaluationCount\\": 2,\\n \\"FailureRate\\": 50,\\n \\"ExtendInfo\\": \\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":200,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\index.htm\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aliyun.com\\\\\\\\\\\\\\"}\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CountryCode\\": \\"001\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityCode\\": \\"503\\",\\n \\"CityName\\": \\"张家口市\\",\\n \\"GroupType\\": \\"BGP\\",\\n \\"GroupName\\": \\"BGP\\",\\n \\"IspCode\\": \\"465\\",\\n \\"IspName\\": \\"阿里巴巴\\"\\n }\\n ]\\n },\\n \\"Remark\\": \\"test\\",\\n \\"CloudGtmMonitorTemplateId\\": \\"mtp-xxxx\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'SearchRecursionRecords' => [
+ 'summary' => '搜索递归解析内置权威解析记录',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '解析记录对应的ZoneId', 'type' => 'string', 'required' => true, 'example' => '169438909000011', 'pattern' => '^\\d+$'],
],
[
- 'name' => 'MonitorConfigId',
+ 'name' => 'Rr',
'in' => 'query',
- 'schema' => [
- 'description' => '健康检查配置id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPool](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_6.7db77000nMCPI1)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPool](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'Moni*******',
- ],
+ 'schema' => ['description' => '主机记录', 'type' => 'string', 'required' => false, 'example' => 'www'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析记录类型,目前支持如下: A:IPV4记录,支持将域名映射到IPv4地址使用 AAAA:IPV6记录,支持将域名映射到IPv6地址使用 CNAME:别名记录,支持将域名指向另外一个域名 MX:电邮交互记录,支持将域名指向邮件服务器地址 TXT:文本记录,是任意可读的文本DNS记录 SRV:服务器资源记录,用来标识某台服务器使用了某个服务,常见于微软系统的目录管理', 'type' => 'string', 'required' => false, 'example' => 'A'],
+ ],
+ [
+ 'name' => 'Weight',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析记录权重 0-100', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
+ ],
+ [
+ 'name' => 'RequestSource',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析线路,默认为**default**。参见:'."\n"
+ ."\n"
+ .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
+ ."\n"
+ .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>', 'type' => 'string', 'required' => false, 'example' => 'default'],
+ ],
+ [
+ 'name' => 'EnableStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析记录启用状态,**enable:启用,disable:禁用**', 'type' => 'string', 'required' => false, 'example' => 'enable'],
+ ],
+ [
+ 'name' => 'Ttl',
+ 'in' => 'query',
+ 'schema' => ['description' => '本地缓存时间。目前取值仅支持5、30、60、3600(1小时)、43200(12小时)、86400(一天),单位秒(s),默认60。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'Value',
+ 'in' => 'query',
+ 'schema' => ['description' => '记录值', 'type' => 'string', 'required' => false, 'example' => '1.1.XX.XX'],
+ ],
+ [
+ 'name' => 'OrderBy',
+ 'in' => 'query',
+ 'schema' => ['description' => '排序方式:'."\n"
+ .'支持rr/type/value/requestSource/weight/ttl/enableStatus', 'type' => 'string', 'required' => false, 'example' => 'rr'],
+ ],
+ [
+ 'name' => 'Direction',
+ 'in' => 'query',
+ 'schema' => ['description' => '排序方向,asc为生序,dsc为降序。', 'type' => 'string', 'required' => false, 'example' => 'asc'],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页数,起始值为1,默认为1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'required' => false, 'example' => '4698691'],
],
],
'responses' => [
@@ -28764,443 +20864,339 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'Timeout' => [
- 'description' => '超时时间。单位毫秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3000',
- ],
- 'ProtocolType' => [
- 'description' => '检查协议:'."\n"
- ."\n"
- .'- HTTP'."\n"
- .'- HTTPS'."\n"
- .'- PING'."\n"
- .'- TCP',
- 'type' => 'string',
- 'example' => 'TCP',
- ],
- 'IspCityNodes' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPages' => ['description' => '数据分页后总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalItems' => ['description' => '总数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'Records' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
- 'IspCityNode' => [
- 'description' => '监控节点列表。',
+ 'Record' => [
+ 'description' => '解析记录列表',
'type' => 'array',
'items' => [
- 'description' => '监控节点。',
+ 'description' => '解析记录',
'type' => 'object',
'properties' => [
- 'CityCode' => [
- 'description' => '城市编码。',
- 'type' => 'string',
- 'example' => '572',
- ],
- 'CountryName' => [
- 'description' => '国家展示名。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '中国',
- ],
- 'IspCode' => [
- 'description' => '运营商编码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '123',
- ],
- 'CityName' => [
- 'description' => '城市展示名。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '青岛市',
- ],
- 'CountryCode' => [
- 'description' => '国家编码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '001',
- ],
- 'IspName' => [
- 'description' => '运营商名称。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '阿里巴巴',
- ],
+ 'ZoneId' => ['title' => 'zone ID', 'description' => 'zone ID', 'type' => 'string', 'example' => '169783221000012'],
+ 'RecordId' => ['title' => 'record ID', 'description' => 'record ID', 'type' => 'string', 'example' => '1927184083990351872'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2025-06-16T02:18Z'],
+ 'CreateTimestamp' => ['description' => '创建时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1615182315000'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '修改时间', 'type' => 'string', 'example' => '2022-10-28T13:07Z'],
+ 'UpdateTimestamp' => ['description' => '修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1722107570000'],
+ 'Rr' => ['title' => 'record 名称', 'description' => '主机记录', 'type' => 'string', 'example' => 'wap'],
+ 'Type' => ['title' => 'record 类型', 'description' => '解析记录类型', 'type' => 'string', 'example' => 'A'],
+ 'Ttl' => ['title' => 'ttl', 'description' => '解析记录ttl', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'Priority' => ['title' => '优先级', 'description' => 'MX记录优先级', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Value' => ['title' => '解析记录值', 'description' => '解析记录值', 'type' => 'string', 'example' => '14.19.85.71'],
+ 'EnableStatus' => ['title' => '启用状态', 'description' => '启用状态,**enable:启用,disable:禁用**', 'type' => 'string', 'example' => 'enable'],
+ 'Remark' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'example' => 'vxwk'],
+ 'RequestSource' => ['title' => '请求来源', 'description' => '请求来源', 'type' => 'string', 'example' => 'default'],
+ 'Weight' => ['title' => '权重', 'description' => '权重', 'type' => 'string', 'example' => '4'],
+ 'Creator' => ['title' => '创建者', 'description' => '创建者ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1521021611066866'],
+ 'CreatorType' => ['title' => '创建者类型', 'description' => '创建者类型 user用户,system系统', 'type' => 'string', 'example' => 'user'],
+ 'CreatorSubType' => ['title' => '创建者子类型', 'description' => '账号类型。说明:'."\n"
+ ."\n"
+ .'custom:主账号 sub:子账号 sts:角色扮演 other:其他', 'type' => 'string', 'example' => 'custom'],
],
],
],
],
+ 'description' => '',
],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2017-12-28T13:08Z',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间。',
- 'type' => 'string',
- 'example' => '2018-01-03T08:57Z',
- ],
- 'EvaluationCount' => [
- 'description' => '连续失败次数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'MonitorExtendInfo' => [
- 'description' => '扩展信息,各协议检查所需参数:'."\n"
- ."\n"
- .'- HTTP(S):'."\n"
- ."\n"
- .' - port:检查端口'."\n"
- .' - host:Host设置'."\n"
- .' - path:URL路径'."\n"
- .' - code:返回码大于'."\n"
- .' - failureRate:失败率'."\n"
- .' - sni:是否开启sni,仅在HTTPS协议时使用。'."\n"
- .' - true-开启'."\n"
- .' - false-未开启'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6'."\n"
- ."\n"
- .'- PING:'."\n"
- ."\n"
- .' - failureRate:失败率'."\n"
- .' - packetNum:ping包数'."\n"
- .' - packetLossRate:ping丢包率'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6'."\n"
- ."\n"
- .'- TCP:'."\n"
- ."\n"
- .' - port:检查端口'."\n"
- .' - failureRate:失败率'."\n"
- .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
- .' - IPV4'."\n"
- .' - IPV6'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}',
- ],
- 'MonitorConfigId' => [
- 'description' => '健康检查配置id。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'Monit*********',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'Interval' => [
- 'description' => '检查间隔,单位秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'MaxResults' => ['description' => '本次请求所返回的最大记录条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '500'],
+ 'NextToken' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'example' => '4698691'],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Timeout\\": 3000,\\n \\"ProtocolType\\": \\"TCP\\",\\n \\"IspCityNodes\\": {\\n \\"IspCityNode\\": [\\n {\\n \\"CityCode\\": \\"572\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"IspCode\\": \\"123\\",\\n \\"CityName\\": \\"青岛市\\",\\n \\"CountryCode\\": \\"001\\",\\n \\"IspName\\": \\"阿里巴巴\\"\\n }\\n ]\\n },\\n \\"CreateTime\\": \\"2017-12-28T13:08Z\\",\\n \\"UpdateTime\\": \\"2018-01-03T08:57Z\\",\\n \\"EvaluationCount\\": 3,\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"MonitorExtendInfo\\": \\"{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":200,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\index.htm\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"aliyun.com\\\\\\\\\\\\\\"}\\",\\n \\"MonitorConfigId\\": \\"Monit*********\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"Interval\\": 1\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\n<Timeout>3000</Timeout>\\n<ProtocolType>http</ProtocolType>\\n<IspCityNodes>\\n <IspCityNode>\\n <CityCode>572</CityCode>\\n <IspName>阿里巴巴</IspName>\\n <CountryName>中国</CountryName>\\n <CityName>青岛市</CityName>\\n <CountryCode>001</CountryCode>\\n <IspCode>123</IspCode>\\n </IspCityNode>\\n</IspCityNodes>\\n<CreateTime>2017-12-28T13:08Z</CreateTime>\\n<UpdateTime>2018-01-03T08:57Z</UpdateTime>\\n<EvaluationCount>1</EvaluationCount>\\n<MonitorExtendInfo>\\"{\\\\\\"code\\\\\\":200,\\\\\\"path\\\\\\":\\\\\\"\\\\\\\\index.htm\\\\\\",\\\\\\"host\\\\\\":\\\\\\"aliyun.com\\\\\\"}\\"</MonitorExtendInfo>\\n<UpdateTimestamp>1527690629357</UpdateTimestamp>\\n<MonitorConfigId>MonitorConfigId1</MonitorConfigId>\\n<CreateTimestamp>1527690629357</CreateTimestamp>\\n<Interval>1</Interval>","errorExample":""}]',
- 'title' => '获取 DNS 地址池健康检查配置',
- 'summary' => '获取地址池健康检查配置。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'AddDnsGtmAccessStrategy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '搜索HTTPDNS内置权威解析记录',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'pubdns:SearchRecursionRecords',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursion', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 100,\\n \\"Records\\": {\\n \\"Record\\": [\\n {\\n \\"ZoneId\\": \\"169783221000012\\",\\n \\"RecordId\\": \\"1927184083990351872\\",\\n \\"CreateTime\\": \\"2025-06-16T02:18Z\\",\\n \\"CreateTimestamp\\": 1615182315000,\\n \\"UpdateTime\\": \\"2022-10-28T13:07Z\\",\\n \\"UpdateTimestamp\\": 1722107570000,\\n \\"Rr\\": \\"wap\\",\\n \\"Type\\": \\"A\\",\\n \\"Ttl\\": 60,\\n \\"Priority\\": 1,\\n \\"Value\\": \\"14.19.85.71\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"Remark\\": \\"vxwk\\",\\n \\"RequestSource\\": \\"default\\",\\n \\"Weight\\": \\"4\\",\\n \\"Creator\\": 1521021611066866,\\n \\"CreatorType\\": \\"user\\",\\n \\"CreatorSubType\\": \\"custom\\"\\n }\\n ]\\n },\\n \\"MaxResults\\": 500,\\n \\"NextToken\\": \\"4698691\\"\\n}","type":"json"}]',
+ ],
+ 'SearchRecursionZones' => [
+ 'summary' => '搜索递归解析内置权威域名zone',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '241109',
+ 'abilityTreeNodes' => ['FEATUREdns379HH9'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ZoneName',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '域名(Zone)名称。', 'type' => 'string', 'required' => false, 'example' => 'cheng.suow.cc'],
],
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '实例id。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'instance1',
- ],
- ],
- [
- 'name' => 'StrategyName',
+ 'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'testStrategyName',
- ],
+ 'schema' => ['description' => '地址池备注,支持对输入的备注进行模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'Lines',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '解析请求来源。例如:`["default", "drpeng"]`,即全局策略和鹏博士。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '["default", "drpeng"]',
- ],
+ 'schema' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'DefaultAddrPoolType',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '主地址池类型:'."\n"
- ."\n"
- .'- IPV4'."\n"
- .'- IPV6'."\n"
- .'- DOMAIN',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'IPV4',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值100,默认为20。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5'],
],
[
- 'name' => 'DefaultLbaStrategy',
+ 'name' => 'EffectiveScopes',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '主地址池集合负载均衡策略:'."\n"
- ."\n"
- .'- ALL_RR: 返回全部地址'."\n"
- .'- RATIO:按权重返回地址',
- 'type' => 'string',
+ 'description' => '生效范围列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内置权威域名zone生效范围',
+ 'type' => 'object',
+ 'properties' => [
+ 'EffectiveType' => ['description' => '生效范围类型'."\n"
+ .'account: 账户', 'type' => 'string', 'required' => false, 'example' => 'account'],
+ 'Scope' => [
+ 'description' => '生效范围列表,与生效类型对应 account类型对应递归解析用户的accountid列表',
+ 'type' => 'array',
+ 'items' => ['description' => '生效范围', 'type' => 'string', 'required' => false, 'example' => '20003'],
+ 'required' => false,
+ 'example' => '[20003]',
+ ],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => 'ALL_RR',
],
],
[
- 'name' => 'DefaultMinAvailableAddrNum',
+ 'name' => 'OrderBy',
'in' => 'query',
- 'schema' => [
- 'description' => '主地址池集合最小可用地址数量。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'docRequired' => true,
- 'maximum' => '400',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '排序字段,结果按哪个字段进行排序'."\n"
+ .'UpdateTime:修改时间'."\n"
+ .'RecordCount:解析记录条数'."\n", 'type' => 'string', 'required' => false, 'example' => 'default'],
],
[
- 'name' => 'DefaultMaxReturnAddrNum',
+ 'name' => 'Direction',
'in' => 'query',
- 'schema' => [
- 'description' => '主地址池集合最多返回地址数量。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '8',
- 'minimum' => '1',
- 'example' => '3',
- ],
+ 'schema' => ['description' => '排序方向'."\n"
+ .'asc:升序'."\n"
+ .'desc:降序', 'type' => 'string', 'required' => false, 'example' => 'asc'],
],
[
- 'name' => 'DefaultLatencyOptimization',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '主地址池集合延时解析调度优化:'."\n"
- ."\n"
- .'- OPEN:开启'."\n"
- .'- CLOSE:关闭',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OPEN',
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => '分批次查询时每次显示的条目数。取值范围:**1**~**100**,默认值为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'],
],
[
- 'name' => 'FailoverAddrPoolType',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '备地址池类型:'."\n"
- ."\n"
- .'- IPV4'."\n"
- .'- IPV6'."\n"
- .'- DOMAIN',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPV4',
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'required' => false, 'example' => '4698691'],
],
- [
- 'name' => 'FailoverLbaStrategy',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '备地址池集合负载均衡策略:'."\n"
- ."\n"
- .'- ALL_RR: 返回全部地址'."\n"
- .'- RATIO:按权重返回地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ALL_RR',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'PageNumber' => ['description' => '当前页数,起始值为**1**,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时每页设置的大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'TotalPages' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '123'],
+ 'TotalItems' => ['description' => '实例总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '11'],
+ 'Zones' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Zone' => [
+ 'description' => '域名zone列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '可用区的集合。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneId' => ['title' => 'zone ID', 'description' => 'Zone ID,Zone的唯一识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '169439170000011'],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2022-10-17T06:13Z'],
+ 'CreateTimestamp' => ['description' => '创建时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1749694625000'],
+ 'UpdateTime' => ['title' => '修改时间', 'description' => '修改时间', 'type' => 'string', 'example' => '2024-08-13T01:44Z'],
+ 'UpdateTimestamp' => ['description' => '修改时间(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1639621006000'],
+ 'ZoneName' => ['title' => 'zone名称', 'description' => 'zone名称', 'type' => 'string', 'example' => 'ixiqiu.cn'],
+ 'Remark' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'example' => '107'],
+ 'RecordCount' => ['description' => '域名zone下的解析记录条数', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'ProxyPattern' => ['title' => '代理模式', 'description' => '是否开启子域名递归代理。取值:'."\n"
+ ."\n"
+ .'zone: 关闭(当解析本域名下不存在的子域名时,直接返回NXDOMAIN,表示子域名不存在)'."\n"
+ .'record: 开启(当解析本域名下不存在的子域名时,会依次查询“转发”和“递归”模块,并以最终查询到的解析结果来应答解析请求)', 'type' => 'string', 'example' => 'record'],
+ 'Creator' => ['title' => '创建者 id', 'description' => '创建者 id', 'type' => 'string', 'example' => '***'],
+ 'CreatorType' => ['title' => '创建者类型', 'description' => '创建者类型,说明'."\n"
+ .'user:用户'."\n"
+ .'system:系统', 'type' => 'string', 'example' => 'USER'],
+ 'CreatorSubType' => ['title' => '创建者子类型', 'description' => '账号类型。说明:'."\n"
+ ."\n"
+ .'CUSTOMER:主账号'."\n"
+ .'SUB:子账号'."\n"
+ .'STS:角色扮演'."\n"
+ .'OTHER:其他'."\n", 'type' => 'string', 'example' => 'SUB'],
+ 'EffectiveScopes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EffectiveScope' => [
+ 'title' => '解析范围',
+ 'description' => '解析范围',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EffectiveType' => ['title' => '解析范围类型', 'description' => '生效范围类型'."\n"
+ .'account 账户', 'type' => 'string', 'example' => 'account'],
+ 'Scopes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Scope' => [
+ 'description' => '生效范围列表,与生效类型对应'."\n"
+ .'account类型对应递归解析用户的accountid列表',
+ 'example' => '[20003]',
+ 'type' => 'array',
+ 'items' => ['description' => '生效范围', 'type' => 'string', 'example' => '20003'],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'MaxResults' => ['description' => '分批次查询时每次显示的条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'NextToken' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'example' => '4698691'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '搜索HTTPDNS内置权威域名zone',
+ 'description' => '- 请求中至少指定参数ResourceId.N或Tag.N(Tag.N.Key与Tag.N.Value),以确定检索对象。'."\n"
+ .'- Tag.N是资源的标签,由一个键值对组成。仅指定Tag.N.Key时,则返回该标签键关联的所有标签值。仅指定Tag.N.Value会报错。'."\n"
+ .'- 如果您同时指定Tag.N和ResourceId.N筛选标签,则ResourceId.N必须满足所有输入的标签键值对。'."\n"
+ .'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'FailoverMinAvailableAddrNum',
- 'in' => 'query',
- 'schema' => [
- 'description' => '备地址池集合最小可用地址数量。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '400',
- 'minimum' => '1',
- 'example' => '1',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'pubdns:SearchRecursionZones',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 123,\\n \\"TotalItems\\": 11,\\n \\"Zones\\": {\\n \\"Zone\\": [\\n {\\n \\"ZoneId\\": \\"169439170000011\\",\\n \\"CreateTime\\": \\"2022-10-17T06:13Z\\",\\n \\"CreateTimestamp\\": 1749694625000,\\n \\"UpdateTime\\": \\"2024-08-13T01:44Z\\",\\n \\"UpdateTimestamp\\": 1639621006000,\\n \\"ZoneName\\": \\"ixiqiu.cn\\",\\n \\"Remark\\": \\"107\\",\\n \\"RecordCount\\": 20,\\n \\"ProxyPattern\\": \\"record\\",\\n \\"Creator\\": \\"***\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"CreatorSubType\\": \\"SUB\\",\\n \\"EffectiveScopes\\": {\\n \\"EffectiveScope\\": [\\n {\\n \\"EffectiveType\\": \\"account\\",\\n \\"Scopes\\": {\\n \\"Scope\\": [\\n \\"20003\\"\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"4698691\\"\\n}","type":"json"}]',
+ ],
+ 'SetCloudGtmInstanceConfigLogSwitch' => [
+ 'summary' => '按需启用或停用全局流量管理(GTM)实例的流量分析功能。'."\n"
+ .'启用后,即可查看该接入域名的解析日志、统计报表,并享受基于异常指标(如解析成功率、QPS 突变等)的智能告警服务,全面提升 GTM 解析的可观测性与运维效率。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'FailoverMaxReturnAddrNum',
- 'in' => 'query',
- 'schema' => [
- 'description' => '备地址池集合最多返回地址数量。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '8',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsXET43R'],
+ ],
+ 'parameters' => [
[
- 'name' => 'FailoverLatencyOptimization',
+ 'name' => 'ClientToken',
'in' => 'query',
'schema' => [
- 'description' => '备地址池集合延时解析调度优化:'."\n"
+ 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。'."\n"
."\n"
- .'- OPEN:开启'."\n"
- .'- CLOSE:关闭',
+ .'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId可能不一样。',
'type' => 'string',
'required' => false,
- 'example' => 'OPEN',
+ 'enumValueTitles' => [],
+ 'example' => 'F4D7C841-A1C9-50B4-88B7-F5****',
],
],
[
- 'name' => 'StrategyMode',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '访问策略类型:'."\n"
- ."\n"
- .'- GEO:基于地理位置的访问策略'."\n"
- .'- LATENCY:基于访问延时的访问策略',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'GEO',
- ],
+ 'schema' => ['description' => '全局流量管理GTM 3.0实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3h****'],
],
[
- 'name' => 'DefaultAddrPool',
+ 'name' => 'ConfigId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '主地址池集合列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '主地址池集合。',
- 'type' => 'object',
- 'properties' => [
- 'LbaWeight' => [
- 'description' => '主地址池集合列表中权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'Id' => [
- 'description' => '主地址池集合列表中地址池Id。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool1',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。'."\n"
+ .'调用[ListCloudGtmInstanceConfigs](~~2797349~~) 接口可查询域名实例对应的 ConfigId 值。', 'type' => 'string', 'required' => true, 'example' => 'Config-000****'],
],
[
- 'name' => 'FailoverAddrPool',
+ 'name' => 'Status',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '备地址池集合,若未设置备地址池集合,输入"EMPTY"。',
- 'type' => 'array',
- 'items' => [
- 'description' => '备地址池集合。',
- 'type' => 'object',
- 'properties' => [
- 'LbaWeight' => [
- 'description' => '备地址池集合列表中权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'Id' => [
- 'description' => '备地址池集合列表中地址池id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pool1',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 100,
- ],
+ 'schema' => ['description' => '实例启用流量分析的状态:'."\n"
+ .'- enable:开启,设置启用当前接入域名的流量分析;'."\n"
+ .'- disable:关闭,设置关闭当前接入域名的流量分析;'."\n", 'type' => 'string', 'required' => true, 'example' => 'enable'."\n"
+ .'disable'],
],
],
'responses' => [
@@ -29208,121 +21204,81 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
- 'StrategyId' => [
- 'description' => '访问策略id。',
- 'type' => 'string',
- 'example' => 'testStrategyId1',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Success' => ['description' => '本次操作是否成功:'."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'DnsGtmSystemBusyness',
- 'errorMessage' => ' ',
- ],
- ],
+ 'title' => '启用/禁用全局流量管理流量分析',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"StrategyId\\": \\"testStrategyId1\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\n<StrategyId>testStrategyId1</StrategyId>","errorExample":""}]',
- 'title' => '新增访问策略',
- 'summary' => '新增访问策略。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true\\n}","type":"json"}]',
],
- 'AddGtmAccessStrategy' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'SetDNSSLBStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsQIXAM1'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'instance1',
- ],
+ 'schema' => ['description' => '用户IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.1'],
],
[
- 'name' => 'StrategyName',
+ 'name' => 'SubDomain',
'in' => 'query',
- 'schema' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '访问策略测试',
- ],
+ 'schema' => ['description' => '需要权重配置的子域名,其中example.com为主域名是错误参数,请使用@.example.com', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'www.example.com'],
],
[
- 'name' => 'DefaultAddrPoolId',
+ 'name' => 'Open',
'in' => 'query',
- 'schema' => [
- 'description' => '主地址池集合ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'hrsix',
- ],
+ 'schema' => ['description' => '是否开启权重配置。取值:'."\n"
+ ."\n"
+ .'- **true**(默认):开启'."\n"
+ .'- **false**:关闭', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true'],
],
[
- 'name' => 'FailoverAddrPoolId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '备地址池集合ID。'."\n"
- ."\n"
- .'若未设置备地址池集合,参数输入**EMPTY**。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'hrsyw',
- ],
+ 'schema' => ['description' => '域名名称。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
[
- 'name' => 'AccessLines',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '解析请求来源。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["default", "drpeng"]',
- ],
+ 'schema' => ['description' => '记录类型,取值范围:A、AAAA,默认为A。', 'type' => 'string', 'required' => false, 'example' => 'A'],
+ ],
+ [
+ 'name' => 'Line',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析线路:例如默认、电信、移动等', 'type' => 'string', 'required' => false, 'example' => 'telecom'],
],
],
'responses' => [
@@ -29330,37 +21286,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
- 'StrategyId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => 'strategyid',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'RecordCount' => ['description' => '符合规则的A记录数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '8'],
+ 'Open' => ['description' => '权重配置的最新状态。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"StrategyId\\": \\"strategyid\\"\\n}","errorExample":""},{"type":"xml","example":"<AddGtmAccessStrategyResponse>\\r\\n <StrategyId>xxxx</StrategyId>\\r\\n\\t<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n</AddGtmAccessStrategyResponse>","errorExample":""}]',
- 'title' => '新增访问策略(旧版)',
- 'summary' => '根据传入参数新增访问策略。',
+ 'title' => '开启关闭权重配置',
+ 'summary' => '根据传入参数开启关闭权重配置。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteDnsGtmAccessStrategy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDNSSLBStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetDNSSLBStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordCount\\": 8,\\n \\"Open\\": true\\n}","errorExample":""},{"type":"xml","example":"<SetDNSSLBStatusResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <RecordCount>8</RecordCount>\\n <Open>true</Open>\\n</SetDNSSLBStatusResponse>","errorExample":""}]',
+ ],
+ 'SetDnsGtmAccessMode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -29368,30 +21330,26 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'StrategyId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略id。可通过调用[DescribeDnsGtmAccessStrategies](~~2357191~~)获取',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'testSt******',
- ],
+ 'schema' => ['description' => '策略Id。可通过调用[DescribeDnsGtmAccessStrategies](~~2357191~~)获取', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hr**zb'],
+ ],
+ [
+ 'name' => 'AccessMode',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池集合切换策略:'."\n"
+ ."\n"
+ .'- AUTO: 自动切换'."\n"
+ .'- DEFAULT:主地址池集合'."\n"
+ .'- FAILOVER: 备地址池集合', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AUTO'],
],
],
'responses' => [
@@ -29399,69 +21357,76 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'DnsGtmSystemBusyness',
- 'errorMessage' => ' ',
- ],
+ ['errorCode' => 'DnsGtmSystemBusyness', 'errorMessage' => ' ', 'description' => ''],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>","errorExample":""}]',
- 'title' => '删除访问策略',
- 'summary' => '通过策略ID删除访问策略。',
+ 'title' => '修改生效地址池切换策略',
+ 'summary' => '调整生效地址池访问策略。',
+ 'description' => '****',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteGtmAccessStrategy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDnsGtmAccessMode'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetDnsGtmAccessMode',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'AccessStrategy', 'arn' => 'acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>","errorExample":""}]',
+ ],
+ 'SetDnsGtmMonitorStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'StrategyId',
+ 'name' => 'MonitorConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'hrskc',
- ],
+ 'schema' => ['description' => '健康检查配置id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPool](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_6.7db77000nMCPI1)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPool](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Monito*****'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['description' => '开启状态:'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ .'- CLOSE:关闭'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OPEN'],
],
],
'responses' => [
@@ -29469,102 +21434,78 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求标识。',
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteGtmAccessStrategyResponse>\\r\\n<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n</DeleteGtmAccessStrategyResponse>","errorExample":""}]',
- 'title' => '删除访问策略(旧版)',
- 'summary' => '根据传入参数删除访问策略。',
+ 'title' => '设置 DNS 地址池健康检查状态',
+ 'summary' => '设置地址池健康检查状态。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateGtmAccessStrategy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDnsGtmMonitorStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetDnsGtmMonitorStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'MonitorConfig', 'arn' => 'acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>","errorExample":""}]',
+ ],
+ 'SetDomainDnssecStatus' => [
+ 'summary' => '开启/关闭域名的DNSSEC服务,仅支持付费版DNS用户。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'StrategyId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'hrmxc',
- ],
- ],
- [
- 'name' => 'StrategyName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '访问策略测试',
- ],
- ],
- [
- 'name' => 'DefaultAddrPoolId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '主地址池集合ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'hrsix',
- ],
- ],
- [
- 'name' => 'FailoverAddrPoolId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '备地址池集合ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'hrsyw',
- ],
+ 'schema' => ['description' => '要开启DNSSEC服务的DNS域名,仅支持付费版DNS用户。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'AccessLines',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '解析请求来源。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '["default", "mobile"]',
- ],
+ 'schema' => ['description' => 'Dnssec状态:'."\n"
+ ."\n"
+ .'- ON 开启'."\n"
+ .'- OFF 关闭', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ON'],
],
],
'responses' => [
@@ -29572,32 +21513,38 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateGtmAccessStrategyResponse>\\r\\n<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n</UpdateGtmAccessStrategyResponse>","errorExample":""}]',
- 'title' => '修改访问策略(旧版)',
- 'summary' => '根据传入参数修改访问策略。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'SetDnsGtmAccessMode' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '设置域名DNSSEC状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDomainDnssecStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetDomainDnssecStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>","errorExample":""}]',
+ ],
+ 'SetDomainRecordStatus' => [
+ 'summary' => '根据传入参数设置解析记录状态。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -29607,43 +21554,36 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'StrategyId',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'description' => '策略Id。可通过调用[DescribeDnsGtmAccessStrategies](~~2357191~~)获取',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'hr**zb',
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.1'],
],
[
- 'name' => 'AccessMode',
+ 'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池集合切换策略:'."\n"
- ."\n"
- .'- AUTO: 自动切换'."\n"
- .'- DEFAULT:主地址池集合'."\n"
- .'- FAILOVER: 备地址池集合',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'AUTO',
- ],
+ 'schema' => ['description' => '解析记录的ID。<props="china">可通过调取[DescribeDomainRecords](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取。</props>'."\n"
+ .'<props="intl">可通过调取[DescribeDomainRecords](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取。</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9********'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析记录状态。取值:'."\n"
+ ."\n"
+ .'- **Enable**: 启用解析 '."\n"
+ .'- **Disable**: 暂停解析', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Disable'],
],
],
'responses' => [
@@ -29651,112 +21591,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
+ 'Status' => ['description' => '当前解析记录状态。', 'type' => 'string', 'example' => 'Disable'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'RecordId' => ['description' => '解析记录的ID。', 'type' => 'string', 'example' => '9*******'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'DnsGtmSystemBusyness',
- 'errorMessage' => ' ',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => '设置解析记录状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDomainRecordStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetDomainRecordStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>","errorExample":""}]',
- 'title' => '修改生效地址池切换策略',
- 'summary' => '调整生效地址池访问策略。',
- 'description' => '****',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Disable\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordId\\": \\"9*******\\"\\n}","errorExample":""},{"type":"xml","example":"<SetDomainRecordStatusResponse>\\n <Status>Disable</Status>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <RecordId>9999985</RecordId>\\n</SetDomainRecordStatusResponse>","errorExample":""}]',
],
- 'DescribeDnsGtmAccessStrategies' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'SetGtmAccessMode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
- ],
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
+ 'name' => 'StrategyId',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '访问策略ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hra0hx'],
],
[
- 'name' => 'StrategyMode',
+ 'name' => 'AccessMode',
'in' => 'query',
- 'schema' => [
- 'description' => '访问策略类型:'."\n"
- ."\n"
- .'- GEO:基于地理位置的访问策略'."\n"
- .'- LATENCY:基于访问延时的访问策略',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'GEO',
- ],
+ 'schema' => ['description' => '目标访问策略。取值:'."\n"
+ .'- **AUTO**: 自动切换'."\n"
+ .'- **DEFAULT**:主地址池集合'."\n"
+ .'- **FAILOVER**: 备地址池集合', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'AUTO'],
],
],
'responses' => [
@@ -29764,224 +21660,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '0CCC9971-CEC9-4132-824B-4AE611C07623',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Strategies' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Strategy' => [
- 'description' => '策略列表。'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EffectiveLbaStrategy' => [
- 'description' => '当前生效地址池集合均衡策略(StrategyMode为GEO有返回值):'."\n"
- ."\n"
- .'- ALL_RR: 返回全部地址'."\n"
- .'- RATIO:按权重返回地址',
- 'type' => 'string',
- 'example' => 'ALL_RR',
- ],
- 'StrategyId' => [
- 'description' => '访问策略id。',
- 'type' => 'string',
- 'example' => 'hr***',
- ],
- 'StrategyName' => [
- 'description' => '访问策略名称。',
- 'type' => 'string',
- 'example' => 'strategname1',
- ],
- 'EffectiveAddrPoolGroupType' => [
- 'description' => '当前生效地址池集合类型:'."\n"
- ."\n"
- .'- DEFAULT:主地址池集合'."\n"
- .'- FAILOVER: 备地址池集合',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2018-08-09T00:10Z',
- ],
- 'EffectiveAddrPools' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'EffectiveAddrPool' => [
- 'description' => '当前生效地址池集合列表。'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '当前生效地址池集合。',
- 'type' => 'object',
- 'properties' => [
- 'LbaWeight' => [
- 'description' => '权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'AddrCount' => [
- 'description' => '地址数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'Id' => [
- 'description' => '地址池id。',
- 'type' => 'string',
- 'example' => 'po***',
- ],
- ],
- ],
- ],
- ],
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1533773400000',
- ],
- 'EffectiveAddrPoolType' => [
- 'description' => '当前生效地址池类型:'."\n"
- ."\n"
- .'- IPV4'."\n"
- .'- IPV6'."\n"
- .'- DOMAIN',
- 'type' => 'string',
- 'example' => 'IPV4',
- ],
- 'Lines' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Line' => [
- 'description' => '解析请求来源列表(StrategyMode为GEO有返回值)。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'GroupName' => [
- 'description' => '解析请求来源分组名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'LineCode' => [
- 'description' => '解析请求来源编码。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'LineName' => [
- 'description' => '解析请求来源名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'GroupCode' => [
- 'description' => '解析请求来源分组编码。',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'TotalItems' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 1,\\n \\"RequestId\\": \\"0CCC9971-CEC9-4132-824B-4AE611C07623\\",\\n \\"PageNumber\\": 1,\\n \\"Strategies\\": {\\n \\"Strategy\\": [\\n {\\n \\"EffectiveLbaStrategy\\": \\"ALL_RR\\",\\n \\"StrategyId\\": \\"hr***\\",\\n \\"StrategyName\\": \\"strategname1\\",\\n \\"EffectiveAddrPoolGroupType\\": \\"DEFAULT\\",\\n \\"CreateTime\\": \\"2018-08-09T00:10Z\\",\\n \\"EffectiveAddrPools\\": {\\n \\"EffectiveAddrPool\\": [\\n {\\n \\"LbaWeight\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"AddrCount\\": 3,\\n \\"Id\\": \\"po***\\"\\n }\\n ]\\n },\\n \\"CreateTimestamp\\": 1533773400000,\\n \\"EffectiveAddrPoolType\\": \\"IPV4\\",\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"TotalPages\\": 11,\\n \\"TotalItems\\": 11\\n}","errorExample":""},{"type":"xml","example":"<PageSize>1</PageSize>\\n<RequestId>0CCC9971-CEC9-4132-824B-4AE611C07623</RequestId>\\n<PageNumber>1</PageNumber>\\n<Strategies>\\n <Strategy>\\n <StrategyName>strategname1</StrategyName>\\n <EffectiveAddrPoolType>ipv4</EffectiveAddrPoolType>\\n <EffectiveAddrPoolGroupType>default</EffectiveAddrPoolGroupType>\\n <CreateTime>2018-08-09T00:10Z</CreateTime>\\n <StrategyId>strategyid1</StrategyId>\\n <CreateTimestamp>1533773400000</CreateTimestamp>\\n <EffectiveLbaStrategy>all_rr</EffectiveLbaStrategy>\\n </Strategy>\\n <Strategy>\\n <EffectiveAddrPools>\\n <EffectiveAddrPool>\\n <Id>pool1</Id>\\n <LbaWeight>1</LbaWeight>\\n <AddrCount>3</AddrCount>\\n <Name>test</Name>\\n </EffectiveAddrPool>\\n </EffectiveAddrPools>\\n <Lines>\\n <Line>\\n <GroupName>global</GroupName>\\n <GroupCode>default</GroupCode>\\n <LineCode>default</LineCode>\\n <LineName>global</LineName>\\n </Line>\\n </Lines>\\n </Strategy>\\n</Strategies>\\n<TotalPages>11</TotalPages>\\n<TotalItems>11</TotalItems>","errorExample":""}]',
- 'title' => '获取实例访问策略列表',
- 'summary' => '通过实例ID获取实例访问策略列表。',
+ 'title' => '修改生效地址池切换策略(旧版)',
+ 'summary' => '根据传入参数修改生效地址池切换策略。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmAccessStrategy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetGtmAccessMode'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetGtmAccessMode',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<SetGtmAccessModeResponse>\\r\\n<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n</SetGtmAccessModeResponse>","errorExample":""}]',
+ ],
+ 'SetGtmMonitorStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'StrategyId',
+ 'name' => 'MonitorConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '访问策略id。可通过调用[DescribeDnsGtmAccessStrategies](~~2357191~~)获取',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'hr****',
- ],
+ 'schema' => ['description' => '健康检查配置ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'abc1234'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['description' => '开启状态。取值:'."\n"
+ ."\n"
+ .'- **OPEN**:开启'."\n"
+ .'- **CLOSE**:关闭', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OPEN'],
],
],
'responses' => [
@@ -29989,301 +21728,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'FailoverMinAvailableAddrNum' => [
- 'description' => '备地址池集合最小可用地址数量。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DefaultAddrPoolType' => [
- 'description' => '主地址池类型:'."\n"
- ."\n"
- .'- IPV4'."\n"
- .'- IPV6'."\n"
- .'- DOMAIN',
- 'type' => 'string',
- 'example' => 'IPV4',
- ],
- 'DefaultAvailableAddrNum' => [
- 'description' => '主地址池当前可用地址数量。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'StrategyId' => [
- 'description' => '访问策略id。',
- 'type' => 'string',
- 'example' => 'hr***',
- ],
- 'FailoverAddrPoolGroupStatus' => [
- 'description' => '备地址池集合状态:'."\n"
- ."\n"
- .'- AVAILABLE:可用'."\n"
- .'- NOT_AVAILABLE:不可用',
- 'type' => 'string',
- 'example' => 'AVAILABLE',
- ],
- 'FailoverAvailableAddrNum' => [
- 'description' => '备地址池当前可用地址数量。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'FailoverLbaStrategy' => [
- 'description' => '备地址池集合均衡策略:'."\n"
- ."\n"
- .'- ALL_RR: 返回全部地址'."\n"
- .'- RATIO:按权重返回地址',
- 'type' => 'string',
- 'example' => 'ALL_RR',
- ],
- 'DefaultMaxReturnAddrNum' => [
- 'description' => '主地址池集合最多返回地址数量。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'StrategyMode' => [
- 'description' => '访问策略类型:'."\n"
- ."\n"
- .'- GEO:基于地理位置的访问策略'."\n"
- .'- LATENCY:基于访问延时的访问策略',
- 'type' => 'string',
- 'example' => 'GEO',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1533773400000',
- ],
- 'DefaultLbaStrategy' => [
- 'description' => '主地址池集合均衡策略:'."\n"
- ."\n"
- .'- ALL_RR: 返回全部地址'."\n"
- .'- RATIO:按权重返回地址',
- 'type' => 'string',
- 'example' => 'ALL_RR',
- ],
- 'DefaultAddrPoolGroupStatus' => [
- 'description' => '主地址池集合状态:'."\n"
- ."\n"
- .'- AVAILABLE:可用'."\n"
- .'- NOT_AVAILABLE:不可用',
- 'type' => 'string',
- 'example' => 'AVAILABLE',
- ],
- 'FailoverAddrPoolType' => [
- 'description' => '备地址池类型:'."\n"
- ."\n"
- .'- IPV4'."\n"
- .'- IPV6'."\n"
- .'- DOMAIN',
- 'type' => 'string',
- 'example' => 'IPV4',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'BA1608CA-834C-4E63-8682-8AF0B11ED72D',
- ],
- 'InstanceId' => [
- 'description' => '关联的GTM实例Id。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
- 'FailoverAddrPools' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'FailoverAddrPool' => [
- 'description' => '备地址池集合列表。'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'LbaWeight' => [
- 'description' => '权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'AddrCount' => [
- 'description' => '地址数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Id' => [
- 'description' => '地址池id。',
- 'type' => 'string',
- 'example' => 'po**',
- ],
- ],
- ],
- ],
- ],
- ],
- 'DefaultLatencyOptimization' => [
- 'description' => '主地址池集合延时解析调度优化:'."\n"
- ."\n"
- .'- OPEN:开启'."\n"
- .'- CLOSE:关闭',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- 'EffectiveAddrPoolGroupType' => [
- 'description' => '当前生效地址池集合类型:'."\n"
- ."\n"
- .'- DEFAULT:主地址池集合'."\n"
- .'- FAILOVER: 备地址池集合',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2018-08-09T00:10Z',
- ],
- 'DefaultAddrPools' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DefaultAddrPool' => [
- 'description' => '主地址池集合列表。'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'LbaWeight' => [
- 'description' => '权重。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Name' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'AddrCount' => [
- 'description' => '地址数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Id' => [
- 'description' => '地址池id。',
- 'type' => 'string',
- 'example' => 'po***',
- ],
- ],
- ],
- ],
- ],
- ],
- 'DefaultMinAvailableAddrNum' => [
- 'description' => '主地址池集合最小可用地址数量。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'FailoverLatencyOptimization' => [
- 'description' => '备地址池集合延时解析调度优化:'."\n"
- ."\n"
- .'- OPEN:开启'."\n"
- .'- CLOSE:关闭',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- 'StrategyName' => [
- 'description' => '访问策略名称。',
- 'type' => 'string',
- 'example' => 'strategyName1',
- ],
- 'FailoverMaxReturnAddrNum' => [
- 'description' => '备地址池集合最多返回地址数量。'."\n"
- ."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'AccessMode' => [
- 'description' => '地址池集合切换策略:'."\n"
- ."\n"
- .'- AUTO:自动切换'."\n"
- .'- DEFAULT:主地址池集合'."\n"
- .'- FAILOVER: 备地址池集合',
- 'type' => 'string',
- 'example' => 'AUTO',
- ],
- 'Lines' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Line' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'GroupName' => [
- 'description' => '解析请求来源分组名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'LineCode' => [
- 'description' => '解析请求来源编码。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'LineName' => [
- 'description' => '解析请求来源名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'GroupCode' => [
- 'description' => '解析请求来源分组编码。',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"FailoverMinAvailableAddrNum\\": 1,\\n \\"DefaultAddrPoolType\\": \\"IPV4\\",\\n \\"DefaultAvailableAddrNum\\": 1,\\n \\"StrategyId\\": \\"hr***\\",\\n \\"FailoverAddrPoolGroupStatus\\": \\"AVAILABLE\\",\\n \\"FailoverAvailableAddrNum\\": 1,\\n \\"FailoverLbaStrategy\\": \\"ALL_RR\\",\\n \\"DefaultMaxReturnAddrNum\\": 1,\\n \\"StrategyMode\\": \\"GEO\\",\\n \\"CreateTimestamp\\": 1533773400000,\\n \\"DefaultLbaStrategy\\": \\"ALL_RR\\",\\n \\"DefaultAddrPoolGroupStatus\\": \\"AVAILABLE\\",\\n \\"FailoverAddrPoolType\\": \\"IPV4\\",\\n \\"RequestId\\": \\"BA1608CA-834C-4E63-8682-8AF0B11ED72D\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"FailoverAddrPools\\": {\\n \\"FailoverAddrPool\\": [\\n {\\n \\"LbaWeight\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"AddrCount\\": 1,\\n \\"Id\\": \\"po**\\"\\n }\\n ]\\n },\\n \\"DefaultLatencyOptimization\\": \\"OPEN\\",\\n \\"EffectiveAddrPoolGroupType\\": \\"DEFAULT\\",\\n \\"CreateTime\\": \\"2018-08-09T00:10Z\\",\\n \\"DefaultAddrPools\\": {\\n \\"DefaultAddrPool\\": [\\n {\\n \\"LbaWeight\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"AddrCount\\": 1,\\n \\"Id\\": \\"po***\\"\\n }\\n ]\\n },\\n \\"DefaultMinAvailableAddrNum\\": 1,\\n \\"FailoverLatencyOptimization\\": \\"OPEN\\",\\n \\"StrategyName\\": \\"strategyName1\\",\\n \\"FailoverMaxReturnAddrNum\\": 1,\\n \\"AccessMode\\": \\"AUTO\\",\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<FailoverMinAvailableAddrNum>1</FailoverMinAvailableAddrNum>\\n<DefaultAddrPoolType>ipv4</DefaultAddrPoolType>\\n<DefaultAvailableAddrNum>1</DefaultAvailableAddrNum>\\n<FailoverAddrPoolGroupStatus>AVAILABLE</FailoverAddrPoolGroupStatus>\\n<StrategyId>strategyId1</StrategyId>\\n<FailoverAvailableAddrNum>1</FailoverAvailableAddrNum>\\n<FailoverLbaStrategy>all_rr</FailoverLbaStrategy>\\n<DefaultMaxReturnAddrNum>1</DefaultMaxReturnAddrNum>\\n<StrategyMode>geo</StrategyMode>\\n<CreateTimestamp>1533773400000</CreateTimestamp>\\n<DefaultAddrPoolGroupStatus>AVAILABLE</DefaultAddrPoolGroupStatus>\\n<DefaultLbaStrategy>all_rr</DefaultLbaStrategy>\\n<FailoverAddrPoolType>ipv4</FailoverAddrPoolType>\\n<RequestId>BA1608CA-834C-4E63-8682-8AF0B11ED72D</RequestId>\\n<InstanceId>instance1</InstanceId>\\n<FailoverAddrPools>\\n <FailoverAddrPool>\\n <Id>pool1</Id>\\n <LbaWeight>1</LbaWeight>\\n <AddrCount>1</AddrCount>\\n <Name>test</Name>\\n </FailoverAddrPool>\\n</FailoverAddrPools>\\n<DefaultLatencyOptimization>open</DefaultLatencyOptimization>\\n<CreateTime>2018-08-09T00:10Z</CreateTime>\\n<EffectiveAddrPoolGroupType>DEFAULT</EffectiveAddrPoolGroupType>\\n<DefaultAddrPools>\\n <DefaultAddrPool>\\n <Id>pool1</Id>\\n <LbaWeight>1</LbaWeight>\\n <AddrCount>1</AddrCount>\\n <Name>test</Name>\\n </DefaultAddrPool>\\n</DefaultAddrPools>\\n<DefaultMinAvailableAddrNum>1</DefaultMinAvailableAddrNum>\\n<FailoverLatencyOptimization>open</FailoverLatencyOptimization>\\n<StrategyName>strategyName1</StrategyName>\\n<FailoverMaxReturnAddrNum>1</FailoverMaxReturnAddrNum>\\n<AccessMode>auto</AccessMode>\\n<Lines>\\n <Line>\\n <GroupName>global</GroupName>\\n <GroupCode>default</GroupCode>\\n <LineCode>default</LineCode>\\n <LineName>global</LineName>\\n </Line>\\n</Lines>","errorExample":""}]',
- 'title' => '获取访问策略详细信息',
- 'summary' => '通过访问策略ID获取访问策略详细信息。',
+ 'title' => '设置地址池健康检查状态(旧版)',
+ 'summary' => '设置地址池健康检查状态。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDnsGtmAccessStrategyAvailableConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetGtmMonitorStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetGtmMonitorStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<SetGtmMonitorStatusResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n</SetGtmMonitorStatusResponse>","errorExample":""}]',
+ ],
+ 'SubmitIspFlushCacheTask' => [
+ 'summary' => '提交缓存刷新任务',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -30292,317 +21773,101 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsIRW4YX'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'StrategyMode',
+ 'name' => 'Isp',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '调度模式:'."\n"
- ."\n"
- .'- GEO:基于地理位置'."\n"
- .'- LATENCY:基于延时',
- 'type' => 'string',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'required' => true],
'required' => true,
- 'docRequired' => true,
- 'example' => 'GEO',
+ 'maxItems' => 11,
],
],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['title' => '幂等token', 'type' => 'string', 'required' => true],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'SelectedDomainLines' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'SelectedDomainLine' => [
- 'description' => '主地址池集合已选择域名区域列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '主地址池集合已选择域名区域。',
- 'type' => 'string',
- 'example' => 'telecom',
- ],
- ],
- ],
- ],
- 'DomainAddrPools' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'DomainAddrPool' => [
- 'description' => '域名类型可用地址池列表。'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'testpool',
- ],
- 'AddrCount' => [
- 'description' => '地址数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Id' => [
- 'description' => '地址池id。',
- 'type' => 'string',
- 'example' => 'po***',
- ],
- ],
- ],
- ],
- ],
- ],
- 'Ipv4AddrPools' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Ipv4AddrPool' => [
- 'description' => 'Ipv4类型可用地址池列表。'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'test****',
- ],
- 'AddrCount' => [
- 'description' => '地址数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Id' => [
- 'description' => '地址池id。',
- 'type' => 'string',
- 'example' => 'po***',
- ],
- ],
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'C2851BA9-CE56-49AF-8D12-4FC6A49EE688',
- ],
- 'SelectedIpv4Lines' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'SelectedIpv4Line' => [
- 'description' => '主地址池集合已选择Ipv4区域列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '主地址池集合已选择Ipv4区域。',
- 'type' => 'string',
- 'example' => 'telecom',
- ],
- ],
- ],
- ],
- 'Ipv6AddrPools' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Ipv6AddrPool' => [
- 'description' => 'Ipv6类型可用地址池列表。'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'testpool',
- ],
- 'AddrCount' => [
- 'description' => '地址数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Id' => [
- 'description' => '地址池id。',
- 'type' => 'string',
- 'example' => 'po***',
- ],
- ],
- ],
- ],
- ],
- ],
- 'SuggestSetDefaultLine' => [
- 'description' => '建议设置全局线路。'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'SelectedIpv6Lines' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'SelectedIpv6Line' => [
- 'description' => '主地址池集合已选择Ipv6区域列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '主地址池集合已选择Ipv6区域。',
- 'type' => 'string',
- 'example' => 'telecom',
- ],
- ],
- ],
- ],
- 'Lines' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Line' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'FatherCode' => [
- 'description' => '父线路的code,如果没有则为空。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => 'telecom',
- ],
- 'GroupName' => [
- 'description' => '解析请求来源分组名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'LineCode' => [
- 'description' => '解析请求来源编码。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'LineName' => [
- 'description' => '解析请求来源名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'GroupCode' => [
- 'description' => '解析请求来源分组编号。',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"SelectedDomainLines\\": {\\n \\"SelectedDomainLine\\": [\\n \\"telecom\\"\\n ]\\n },\\n \\"DomainAddrPools\\": {\\n \\"DomainAddrPool\\": [\\n {\\n \\"Name\\": \\"testpool\\",\\n \\"AddrCount\\": 1,\\n \\"Id\\": \\"po***\\"\\n }\\n ]\\n },\\n \\"Ipv4AddrPools\\": {\\n \\"Ipv4AddrPool\\": [\\n {\\n \\"Name\\": \\"test****\\",\\n \\"AddrCount\\": 1,\\n \\"Id\\": \\"po***\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"C2851BA9-CE56-49AF-8D12-4FC6A49EE688\\",\\n \\"SelectedIpv4Lines\\": {\\n \\"SelectedIpv4Line\\": [\\n \\"telecom\\"\\n ]\\n },\\n \\"Ipv6AddrPools\\": {\\n \\"Ipv6AddrPool\\": [\\n {\\n \\"Name\\": \\"testpool\\",\\n \\"AddrCount\\": 1,\\n \\"Id\\": \\"po***\\"\\n }\\n ]\\n },\\n \\"SuggestSetDefaultLine\\": true,\\n \\"SelectedIpv6Lines\\": {\\n \\"SelectedIpv6Line\\": [\\n \\"telecom\\"\\n ]\\n },\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"FatherCode\\": \\"telecom\\",\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Ipv4AddrPools>\\n <Ipv4AddrPool>\\n <Id>pool1</Id>\\n <AddrCount>1</AddrCount>\\n <Name>testpool</Name>\\n </Ipv4AddrPool>\\n</Ipv4AddrPools>\\n<DomainAddrPools>\\n <DomainAddrPool>\\n <Id>pool1</Id>\\n <AddrCount>1</AddrCount>\\n <Name>testpool</Name>\\n </DomainAddrPool>\\n</DomainAddrPools>\\n<RequestId>C2851BA9-CE56-49AF-8D12-4FC6A49EE688</RequestId>\\n<Ipv6AddrPools>\\n <Ipv6AddrPool>\\n <Id>pool1</Id>\\n <AddrCount>1</AddrCount>\\n <Name>testpool</Name>\\n </Ipv6AddrPool>\\n</Ipv6AddrPools>\\n<SuggestSetDefaultLine>true</SuggestSetDefaultLine>\\n<Lines>\\n <Line>\\n <GroupName>global</GroupName>\\n <GroupCode>default</GroupCode>\\n <FatherCode>telecom</FatherCode>\\n <LineCode>default</LineCode>\\n <LineName>global</LineName>\\n </Line>\\n</Lines>","errorExample":""}]',
- 'title' => '获取访问策略可设置的配置',
- 'summary' => '通过实例ID获取访问策略可设置的配置。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DescribeGtmAccessStrategies' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitIspFlushCacheTask'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:SubmitIspFlushCacheTask',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'SwitchDnsGtmInstanceStrategyMode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => [],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-cs02xyk4a**'],
],
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
+ 'name' => 'StrategyMode',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '访问策略模式:'."\n"
+ ."\n"
+ .'- GEO:基于地理位置'."\n"
+ .'- LATENCY:基于延时', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GEO'],
],
],
'responses' => [
@@ -30610,238 +21875,101 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '0CCC9971-CEC9-4132-824B-4AE611C07623',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Strategies' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Strategy' => [
- 'description' => '策略列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'AccessMode' => [
- 'description' => '访问策略。其中:'."\n"
- .'- **AUTO**:自动切换'."\n"
- .'- **DEFAULT**:主地址池集合'."\n"
- .'- **FAILOVER**:备地址池集合',
- 'type' => 'string',
- 'example' => 'AUTO',
- ],
- 'StrategyName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '访问策略',
- ],
- 'DefaultAddrPoolMonitorStatus' => [
- 'description' => '主地址池集合健康检查状态。其中:'."\n"
- ."\n"
- .'- **OPEN**:开启'."\n"
- .'- **CLOSE**:关闭'."\n"
- .'- **UNCONFIGURED**:未配置',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- 'StrategyMode' => [
- 'description' => '访问策略类型:'."\n"
- ."\n"
- .'- **GEO**:基于地理位置'."\n"
- .'- **LATENCY**:基于延时',
- 'type' => 'string',
- 'example' => 'GEO',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2018-08-09T00:10Z',
- ],
- 'DefaultAddrPoolStatus' => [
- 'description' => '主地址池集合可用状态。其中:'."\n"
- ."\n"
- .'- **AVAILABLE**:可用'."\n"
- .'- **NOT_AVAILABLE**:不可用',
- 'type' => 'string',
- 'example' => 'AVAILABLE',
- ],
- 'InstanceId' => [
- 'description' => '关联实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
- 'Lines' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Line' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'GroupName' => [
- 'description' => '解析请求来源分组名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'LineCode' => [
- 'description' => '解析请求来源编码。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'LineName' => [
- 'description' => '解析请求来源名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'GroupCode' => [
- 'description' => '解析请求来源分组编码。',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- ],
- ],
- ],
- ],
- ],
- 'FailoverAddrPoolId' => [
- 'description' => '备地址池集合ID。',
- 'type' => 'string',
- 'example' => 'hra0i2',
- ],
- 'DefaultAddrPoolId' => [
- 'description' => '主地址池集合ID。',
- 'type' => 'string',
- 'example' => 'hra0i1',
- ],
- 'StrategyId' => [
- 'description' => '访问策略ID。',
- 'type' => 'string',
- 'example' => 'hra0hs',
- ],
- 'FailoverAddrPoolStatus' => [
- 'description' => '备地址池集合可用状态。其中:'."\n"
- ."\n"
- .'- ****AVAILABLE****:可用'."\n"
- .'- ****NOT_AVAILABLE****:不可用',
- 'type' => 'string',
- 'example' => 'AVAILABLE',
- ],
- 'AccessStatus' => [
- 'description' => '访问状态。其中:'."\n"
- .'- **DEFAULT**:当前访问主地址池集合'."\n"
- .'- **FAILOVER**:当前访问备地址池集合',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- 'FailoverAddrPoolMonitorStatus' => [
- 'description' => '备地址池集合健康检查状态。其中:'."\n"
- ."\n"
- .'- **OPEN**:开启'."\n"
- .'- **CLOSE**:关闭'."\n"
- .'- **UNCONFIGURED**:未配置',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- 'DefaultAddrPoolName' => [
- 'description' => '主地址池集合名称。',
- 'type' => 'string',
- 'example' => '地址池1',
- ],
- 'FailoverAddrPoolName' => [
- 'description' => '备地址池集合名称。',
- 'type' => 'string',
- 'example' => '地址池2',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1533773400000',
- ],
- ],
- ],
- ],
- ],
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"0CCC9971-CEC9-4132-824B-4AE611C07623\\",\\n \\"PageNumber\\": 1,\\n \\"Strategies\\": {\\n \\"Strategy\\": [\\n {\\n \\"AccessMode\\": \\"AUTO\\",\\n \\"StrategyName\\": \\"访问策略\\",\\n \\"DefaultAddrPoolMonitorStatus\\": \\"OPEN\\",\\n \\"StrategyMode\\": \\"GEO\\",\\n \\"CreateTime\\": \\"2018-08-09T00:10Z\\",\\n \\"DefaultAddrPoolStatus\\": \\"AVAILABLE\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n }\\n ]\\n },\\n \\"FailoverAddrPoolId\\": \\"hra0i2\\",\\n \\"DefaultAddrPoolId\\": \\"hra0i1\\",\\n \\"StrategyId\\": \\"hra0hs\\",\\n \\"FailoverAddrPoolStatus\\": \\"AVAILABLE\\",\\n \\"AccessStatus\\": \\"DEFAULT\\",\\n \\"FailoverAddrPoolMonitorStatus\\": \\"OPEN\\",\\n \\"DefaultAddrPoolName\\": \\"地址池1\\",\\n \\"FailoverAddrPoolName\\": \\"地址池2\\",\\n \\"CreateTimestamp\\": 1533773400000\\n }\\n ]\\n },\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmAccessStrategiesResponse>\\r\\n<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>20</PageSize>\\r\\n\\t<RequestId>0CCC9971-CEC9-4132-824B-4AE611C07623</RequestId>\\r\\n\\t<TotalItems>1</TotalItems>\\r\\n\\t<TotalPages>1</TotalPages>\\r\\n\\t<Strategies>\\r\\n\\t\\t<Strategy>\\r\\n\\t\\t\\t<FailoverAddrPoolName>地址池2</FailoverAddrPoolName>\\r\\n\\t\\t\\t<FailoverAddrPoolStatus>AVAILABLE</FailoverAddrPoolStatus>\\r\\n\\t\\t\\t<FailoverAddrPoolMonitorStatus>OPEN</FailoverAddrPoolMonitorStatus>\\r\\n\\t\\t\\t<StrategyName>访问策略测试</StrategyName>\\r\\n\\t\\t\\t<AccessMode>DEFAULT</AccessMode>\\r\\n\\t\\t\\t<CreateTimestamp>1533773400000</CreateTimestamp>\\r\\n\\t\\t\\t<Lines>\\r\\n\\t\\t\\t\\t<Line>\\r\\n\\t\\t\\t\\t\\t<GroupName>全局</GroupName>\\r\\n\\t\\t\\t\\t\\t<GroupCode>DEFAULT</GroupCode>\\r\\n\\t\\t\\t\\t\\t<LineName>全局</LineName>\\r\\n\\t\\t\\t\\t\\t<LineCode>default</LineCode>\\r\\n\\t\\t\\t\\t</Line>\\r\\n\\t\\t\\t</Lines>\\r\\n\\t\\t\\t<StrategyMode>SELF_DEFINED</StrategyMode>\\r\\n\\t\\t\\t<DefaultAddrPoolId>hra0i1</DefaultAddrPoolId>\\r\\n\\t\\t\\t<CreateTime>2018-08-09T00:10Z</CreateTime>\\r\\n\\t\\t\\t<FailoverAddrPoolId>hra0i2</FailoverAddrPoolId>\\r\\n\\t\\t\\t<DefaultAddrPoolName>地址池1</DefaultAddrPoolName>\\r\\n\\t\\t\\t<DefaultAddrPoolStatus>AVAILABLE</DefaultAddrPoolStatus>\\r\\n\\t\\t\\t<DefaultAddrPoolMonitorStatus>CLOSE</DefaultAddrPoolMonitorStatus>\\r\\n\\t\\t\\t<AccessStatus>DEFAULT</AccessStatus>\\r\\n\\t\\t\\t<InstanceId>instance1</InstanceId>\\r\\n\\t\\t\\t<StrategyId>hra0hs</StrategyId>\\r\\n\\t\\t</Strategy>\\r\\n\\t</Strategies>\\r\\n</DescribeGtmAccessStrategiesResponse>","errorExample":""}]',
- 'title' => '获取实例访问策略列表(旧版)',
- 'summary' => '获取当前实例的访问策略列表。',
+ 'title' => '切换访问策略类型',
+ 'summary' => '通过实例ID切换访问策略类型。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeGtmAccessStrategy' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchDnsGtmInstanceStrategyMode'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:SwitchDnsGtmInstanceStrategyMode',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>","errorExample":""}]',
+ ],
+ 'TagResources' => [
+ 'summary' => '通过进行添加、修改资源的标签。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => '资源类型。取值:'."\n"
+ .'- **DOMAIN**:域名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DOMAIN'],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
+ 'description' => '标签键值对数组。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => '标签键。不能以`acs:`或`aliyun`开头,长度不能超过20字节。', 'type' => 'string', 'required' => false, 'example' => 'abcd'],
+ 'Value' => ['description' => '标签值。长度不能超过20字节。', 'type' => 'string', 'required' => false, 'example' => 'abcd'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 21,
],
],
[
- 'name' => 'StrategyId',
+ 'name' => 'ResourceId',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '访问策略ID。',
- 'type' => 'string',
+ 'description' => '资源id。',
+ 'type' => 'array',
+ 'items' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'."\n"],
'required' => true,
- 'docRequired' => true,
- 'example' => 'hra0hs',
+ 'example' => 'dns-example.com',
+ 'maxItems' => 51,
],
],
],
@@ -30850,160 +21978,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'BA1608CA-834C-4E63-8682-8AF0B11ED72D',
- ],
- 'InstanceId' => [
- 'description' => '关联的GTM实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
- 'StrategyId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => 'hra0hs',
- ],
- 'DefaultAddrPoolStatus' => [
- 'description' => '主地址池集合可用状态。其中:'."\n"
- ."\n"
- .'- **AVAILABLE**:可用'."\n"
- .'- **NOT_AVAILABLE**:不可用',
- 'type' => 'string',
- 'example' => 'AVAILABLE',
- ],
- 'FailoverAddrPoolId' => [
- 'description' => '备地址池集合ID。'."\n"
- .'若未设置备地址池集合,传值**EMPTY**。',
- 'type' => 'string',
- 'example' => 'hra0i2',
- ],
- 'AccessStatus' => [
- 'description' => '访问状态。其中:'."\n"
- ."\n"
- .'- **DEFAULT**:访问主地址池集合,表示正常'."\n"
- .'- **FAILOVER**:访问备地址池集合,表示异常',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- 'DefaultAddrPoolMonitorStatus' => [
- 'description' => '主地址池集合健康检查状态。其中:'."\n"
- ."\n"
- .'- **OPEN**:开启'."\n"
- .'- **CLOSE**:关闭'."\n"
- .'- **UNCONFIGURED**:未配置',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- 'DefaultAddrPoolName' => [
- 'description' => '主地址池集合名称。',
- 'type' => 'string',
- 'example' => '地址池1',
- ],
- 'DefultAddrPoolId' => [
- 'description' => '备地址池集合ID。',
- 'type' => 'string',
- 'example' => 'hra0i1',
- ],
- 'StrategyName' => [
- 'description' => '访问策略名称。',
- 'type' => 'string',
- 'example' => '全局',
- ],
- 'FailoverAddrPoolStatus' => [
- 'description' => '备地址池集合可用状态。其中:'."\n"
- ."\n"
- .'- **AVAILABLE**:可用'."\n"
- .'- **NOT_AVAILABLE**:不可用',
- 'type' => 'string',
- 'example' => 'AVAILABLE',
- ],
- 'AccessMode' => [
- 'description' => '地址池集合切换策略:'."\n"
- ."\n"
- .'- **AUTO**:自动切换'."\n"
- .'- **DEFAULT**:主地址池集合'."\n"
- .'- **FAILOVER**: 备地址池集合',
- 'type' => 'string',
- 'example' => 'AUTO',
- ],
- 'StrategyMode' => [
- 'description' => '策略模式'."\n"
- .'SELF_DEFINED 自定义。',
- 'type' => 'string',
- 'example' => 'SELF_DEFINED',
- ],
- 'FailoverAddrPoolMonitorStatus' => [
- 'description' => '备地址池集合健康检查状态。其中:'."\n"
- ."\n"
- .'- **OPEN**:开启'."\n"
- .'- **CLOSE**:关闭'."\n"
- .'- **UNCONFIGURED**:未配置',
- 'type' => 'string',
- 'example' => 'OPEN',
- ],
- 'FailoverAddrPoolName' => [
- 'description' => '备地址池集合名称。',
- 'type' => 'string',
- 'example' => '地址池2',
- ],
- 'Lines' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Line' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'GroupName' => [
- 'description' => '解析请求来源分组名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'LineCode' => [
- 'description' => '解析请求来源编码。',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'LineName' => [
- 'description' => '解析请求来源名称。',
- 'type' => 'string',
- 'example' => 'Global',
- ],
- 'GroupCode' => [
- 'description' => '解析请求来源分组编码。',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '635B0CCD-15A7-48C9-B4D6-628FF57FF4B8'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BA1608CA-834C-4E63-8682-8AF0B11ED72D\\",\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"StrategyId\\": \\"hra0hs\\",\\n \\"DefaultAddrPoolStatus\\": \\"AVAILABLE\\",\\n \\"FailoverAddrPoolId\\": \\"hra0i2\\",\\n \\"AccessStatus\\": \\"DEFAULT\\",\\n \\"DefaultAddrPoolMonitorStatus\\": \\"OPEN\\",\\n \\"DefaultAddrPoolName\\": \\"地址池1\\",\\n \\"DefultAddrPoolId\\": \\"hra0i1\\",\\n \\"StrategyName\\": \\"全局\\",\\n \\"FailoverAddrPoolStatus\\": \\"AVAILABLE\\",\\n \\"AccessMode\\": \\"AUTO\\",\\n \\"StrategyMode\\": \\"SELF_DEFINED\\",\\n \\"FailoverAddrPoolMonitorStatus\\": \\"OPEN\\",\\n \\"FailoverAddrPoolName\\": \\"地址池2\\",\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"GroupName\\": \\"Global\\",\\n \\"LineCode\\": \\"default\\",\\n \\"LineName\\": \\"Global\\",\\n \\"GroupCode\\": \\"DEFAULT\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmAccessStrategyResponse>\\r\\n\\t<StrategyName>访问策略测试</StrategyName>\\r\\n\\t<AccessMode>DEFAULT</AccessMode>\\r\\n\\t<Lines>\\r\\n\\t\\t<Line>\\r\\n\\t\\t\\t<GroupName>Global</GroupName>\\r\\n\\t\\t\\t<GroupCode>DEFAULT</GroupCode>\\r\\n\\t\\t\\t<LineName>Global</LineName>\\r\\n\\t\\t\\t<LineCode>default</LineCode>\\r\\n\\t\\t</Line>\\r\\n\\t\\t<Line>\\r\\n\\t\\t\\t<GroupCode>ISP</GroupCode>\\r\\n\\t\\t\\t<GroupName>ISP</GroupName>\\r\\n\\t\\t\\t<LineCode>mobile</LineCode>\\r\\n\\t\\t\\t<LineName>China Mobile</LineName>\\r\\n\\t\\t</Line>\\r\\n\\t</Lines>\\r\\n\\t<RequestId>BA1608CA-834C-4E63-8682-8AF0B11ED72D</RequestId>\\r\\n\\t<AccessStatus>DEFAULT</AccessStatus>\\r\\n\\t<CreateTime>2018-08-09T00:10Z</CreateTime>\\r\\n\\t<CreateTimestamp>1533773400000</CreateTimestamp>\\r\\n\\t<DefaultAddrPoolId>hra0i1</DefaultAddrPoolId>\\r\\n\\t<DefaultAddrPoolName>地址池1</DefaultAddrPoolName>\\r\\n\\t<FailoverAddrPoolId>hra0i2</FailoverAddrPoolId>\\r\\n\\t<FailoverAddrPoolName>地址池2</FailoverAddrPoolName>\\r\\n\\t<InstanceId>instance1</InstanceId>\\r\\n\\t<StrategyMode>SELF_DEFINED</StrategyMode>\\r\\n\\t<StrategyId>hra0hs</StrategyId>\\r\\n\\t<FailoverAddrPoolStatus>AVAILABLE</FailoverAddrPoolStatus>\\r\\n\\t<FailoverAddrPoolMonitorStatus>OPEN</FailoverAddrPoolMonitorStatus>\\r\\n\\t<DefaultAddrPoolStatus>AVAILABLE</DefaultAddrPoolStatus>\\r\\n\\t<DefaultAddrPoolMonitorStatus>CLOSE</DefaultAddrPoolMonitorStatus>\\r\\n</DescribeGtmAccessStrategyResponse>","errorExample":""}]',
- 'title' => '获取访问策略详细信息(旧版)',
- 'summary' => '根据策略ID获取策略详细信息。',
+ 'title' => '添加修改资源标签',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeGtmAccessStrategyAvailableConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:TagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"635B0CCD-15A7-48C9-B4D6-628FF57FF4B8\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>635B0CCD-15A7-48C9-B4D6-628FF57FF4B8</RequestId>","errorExample":""}]',
+ ],
+ 'TransferDomain' => [
+ 'summary' => '根据传入参数批量跨账号转移DNS权限至目标账户。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -31011,29 +22020,36 @@
],
'operationType' => 'readAndWrite',
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '请求值,返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:zh', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'DomainNames',
'in' => 'query',
- 'schema' => [
- 'description' => 'GTM实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
+ 'schema' => ['description' => '域名列表,英文逗号隔开;仅支持阿里云注册的域名。<props="china">域名名称可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">域名名称可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com,example.net'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => 'test domain transfer'],
+ ],
+ [
+ 'name' => 'TargetUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '将云解析列表中的域名和解析记录转移到目标用户ID下。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '12*******'],
],
],
'responses' => [
@@ -31041,110 +22057,42 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => 'C2851BA9-CE56-49AF-8D12-4FC6A49EE688',
- ],
- 'AddrPools' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AddrPool' => [
- 'description' => '地址池列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'AddrPoolId' => [
- 'description' => '地址池ID。',
- 'type' => 'string',
- 'example' => 'hra0ix',
- ],
- 'AddrPoolName' => [
- 'description' => '地址池名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- ],
- ],
- ],
- ],
- ],
- 'Lines' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Line' => [
- 'description' => '解析请求来源列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '线路当前状态。其中:'."\n"
- ."\n"
- .'- **FORBIDDEN**:不可选'."\n"
- .'- **OPTIONAL**:可选择',
- 'type' => 'string',
- 'example' => 'FORBIDDEN',
- ],
- 'FatherCode' => [
- 'description' => '父线路的code,如果没有则为空。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'LineCode' => [
- 'description' => '解析请求来源编码。',
- 'type' => 'string',
- 'example' => 'cn_region_huanan',
- ],
- 'GroupName' => [
- 'description' => '解析请求来源分组名称。',
- 'type' => 'string',
- 'example' => 'Mainland China',
- ],
- 'LineName' => [
- 'description' => '解析请求来源名称。',
- 'type' => 'string',
- 'example' => 'South China',
- ],
- 'GroupCode' => [
- 'description' => '解析请求来源分组编号。',
- 'type' => 'string',
- 'example' => 'CN_REGION',
- ],
- ],
- ],
- ],
- ],
- ],
- 'SuggestSetDefaultLine' => [
- 'description' => '建议设置全局线路。'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '112233'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C2851BA9-CE56-49AF-8D12-4FC6A49EE688\\",\\n \\"AddrPools\\": {\\n \\"AddrPool\\": [\\n {\\n \\"AddrPoolId\\": \\"hra0ix\\",\\n \\"AddrPoolName\\": \\"test\\"\\n }\\n ]\\n },\\n \\"Lines\\": {\\n \\"Line\\": [\\n {\\n \\"Status\\": \\"FORBIDDEN\\",\\n \\"FatherCode\\": \\"无\\",\\n \\"LineCode\\": \\"cn_region_huanan\\",\\n \\"GroupName\\": \\"Mainland China\\",\\n \\"LineName\\": \\"South China\\",\\n \\"GroupCode\\": \\"CN_REGION\\"\\n }\\n ]\\n },\\n \\"SuggestSetDefaultLine\\": true\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmAccessStrategyAvailableConfigResponse>\\r\\n<Lines>\\r\\n\\t\\t<Line>\\r\\n\\t\\t\\t<Status>FORBIDDEN</Status>\\r\\n\\t\\t\\t<GroupName>全局</GroupName>\\r\\n\\t\\t\\t<GroupCode>DEFAULT</GroupCode>\\r\\n\\t\\t\\t<LineName>全局</LineName>\\r\\n\\t\\t\\t<LineCode>default</LineCode>\\r\\n\\t\\t</Line>\\r\\n\\t\\t<Line>\\r\\n\\t\\t\\t<Status>OPTIONAL</Status>\\r\\n\\t\\t\\t<GroupName>运营商</GroupName>\\r\\n\\t\\t\\t<GroupCode>ISP</GroupCode>\\r\\n\\t\\t\\t<LineName>电信</LineName>\\r\\n\\t\\t\\t<LineCode>telecom</LineCode>\\r\\n\\t\\t</Line>\\r\\n\\t\\t<Line>\\r\\n\\t\\t\\t<Status>OPTIONAL</Status>\\r\\n\\t\\t\\t<GroupName>境外地区</GroupName>\\r\\n\\t\\t\\t<GroupCode>OS</GroupCode>\\r\\n\\t\\t\\t<LineName>南美洲</LineName>\\r\\n\\t\\t\\t<LineCode>os_samerica</LineCode>\\r\\n\\t\\t</Line>\\r\\n\\t</Lines>\\r\\n\\t<RequestId>C2851BA9-CE56-49AF-8D12-4FC6A49EE688</RequestId>\\r\\n\\t<AddrPools>\\r\\n\\t\\t<AddrPool>\\r\\n\\t\\t\\t<AddrPoolName>地址池1</AddrPoolName>\\r\\n\\t\\t\\t<AddrPoolId>hra0ix</AddrPoolId>\\r\\n\\t\\t</AddrPool>\\r\\n\\t\\t<AddrPool>\\r\\n\\t\\t\\t<AddrPoolName>地址池2</AddrPoolName>\\r\\n\\t\\t\\t<AddrPoolId>hra0iy</AddrPoolId>\\r\\n\\t\\t</AddrPool>\\r\\n\\t</AddrPools>\\r\\n</DescribeGtmAccessStrategyAvailableConfigResponse>","errorExample":""}]',
- 'title' => '获取访问策略可设置的配置(旧版)',
- 'summary' => '获取当前访问策略可设置的配置。',
+ 'title' => '跨账号转移DNS权限',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'SwitchDnsGtmInstanceStrategyMode' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TransferDomain'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:TransferDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"TaskId\\": 112233,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<TransferDomainResponse>\\n<RequestId>92901A84-B317-43BE-9610-76B1C7B7ADC7</RequestId>\\n<TaskId>180839</TaskId>\\n</TransferDomainResponse>","errorExample":""}]',
+ ],
+ 'UnbindInstanceDomains' => [
+ 'summary' => '根据实例ID解绑付费版DNS的域名。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -31152,43 +22100,34 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [],
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsT5OPHE'],
+ ],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ ."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'DomainNames',
'in' => 'query',
- 'schema' => [
- 'description' => '实例id。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'gtm-cn-cs02xyk4a**',
- ],
+ 'schema' => ['description' => '域名列表。'."\n"
+ ."\n"
+ .'使用英文“ , ”号隔开多个域名,最多100个域名。<props="china">域名名称可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">域名名称可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com,example.net'],
],
[
- 'name' => 'StrategyMode',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '访问策略模式:'."\n"
- ."\n"
- .'- GEO:基于地理位置'."\n"
- .'- LATENCY:基于延时',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'GEO',
- ],
+ 'schema' => ['description' => '权威域名产品实例ID。<props="china">可通过调用[ListCloudGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[ListCloudGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'dns-cn-9lb38ldq9**'],
],
],
'responses' => [
@@ -31196,84 +22135,99 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '123'],
+ 'FailedCount' => ['description' => '域名解绑失败个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'SuccessCount' => ['description' => '域名解绑成功个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>","errorExample":""}]',
- 'title' => '切换访问策略类型',
- 'summary' => '通过实例ID切换访问策略类型。',
+ 'title' => '解绑付费版DNS域名',
+ 'description' => '实例ID以”dns-“开头的实例为新版实例,支持绑定多个域名,调用接口直接绑定到实例,如果域名个数超过实例的配置,则会报错。<br>'."\n"
+ .'实例ID以非”dns-“开头的实例为旧版实例,只支持绑定一个域名,因此调用此接口,如果实例已经绑定域名,则会执行域名换绑操作。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'AddGtmRecoveryPlan' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindInstanceDomains'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UnbindInstanceDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Instance', 'arn' => 'acs:alidns:*:{#accountId}:instance/{#InstanceId}'],
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"123\\",\\n \\"FailedCount\\": 0,\\n \\"SuccessCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<UnbindInstanceDomainsResponse>\\n <RequestId>123</RequestId>\\n <FailedCount>0</FailedCount>\\n <SuccessCount>2</SuccessCount>\\n</UnbindInstanceDomainsResponse>","errorExample":""}]',
+ ],
+ 'UntagResources' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '用户语言',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Name',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '容灾预案名称',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'name-example',
- ],
+ 'schema' => ['description' => '资源类型。取值:'."\n"
+ .'- **DOMAIN**:域名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DOMAIN'],
],
[
- 'name' => 'Remark',
+ 'name' => 'All',
'in' => 'query',
+ 'schema' => ['description' => '是否全部删除,默认是false。只针对tagkey数组为空时有效。取值范围:-true-false', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '备注',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'remark',
+ 'description' => '资源id。',
+ 'type' => 'array',
+ 'items' => ['description' => '域名,当Tag数组传空值时,ResourceId为必传。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
+ 'required' => true,
+ 'maxItems' => 51,
],
],
[
- 'name' => 'FaultAddrPool',
+ 'name' => 'TagKey',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '故障地址池ID列表',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '["hra0or"]',
+ 'description' => '标签数组。',
+ 'type' => 'array',
+ 'items' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'abcd'],
+ 'required' => false,
+ 'maxItems' => 21,
],
],
],
@@ -31282,71 +22236,62 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RecoveryPlanId' => [
- 'description' => '容灾预案ID',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
+ 'RequestId' => ['description' => '唯一请求标识。', 'type' => 'string', 'example' => 'F152A869-DF77-4DF1-9A00-4E06978FE6A1'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RecoveryPlanId\\": \\"100\\",\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<AddGtmRecoveryPlanResponse>\\r\\n\\t<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n\\t<RecoveryPlanId>100</RecoveryPlanId>\\r\\n</AddGtmRecoveryPlanResponse>","errorExample":""}]',
- 'title' => '新增容灾预案',
- 'summary' => '新增容灾预案。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DeleteGtmRecoveryPlan' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除资源标签',
+ 'summary' => '进行删除资源的标签。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UntagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F152A869-DF77-4DF1-9A00-4E06978FE6A1\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateAppKeyState' => [
+ 'summary' => '修改 AppKey 状态',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'RecoveryPlanId',
+ 'name' => 'AppKeyId',
'in' => 'query',
- 'schema' => [
- 'description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10********',
- ],
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'State',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -31354,97 +22299,123 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteGtmRecoveryPlanResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n</DeleteGtmRecoveryPlanResponse>","errorExample":""}]',
- 'title' => '删除容灾预案',
- 'summary' => '删除容灾预案。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'UpdateGtmRecoveryPlan' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAppKeyState'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateAppKeyState',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmAddress' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'RecoveryPlanId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10*******',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
+ ],
+ [
+ 'name' => 'AddressId',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址 ID', 'description' => '地址的ID,地址唯一标识码。', 'type' => 'string', 'required' => true, 'example' => 'addr-89518218114368****'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '容灾预案名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'abc',
- ],
+ 'schema' => ['title' => '地址名称', 'description' => '修改后的地址名称。', 'type' => 'string', 'required' => false, 'example' => 'Address-1'],
],
[
- 'name' => 'Remark',
+ 'name' => 'Address',
'in' => 'query',
- 'schema' => [
- 'description' => '备注信息',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remark',
- ],
+ 'schema' => ['title' => '地址', 'description' => '修改后的IP地址或者域名。', 'type' => 'string', 'required' => false, 'example' => '223.5.XX.XX'],
],
[
- 'name' => 'FaultAddrPool',
+ 'name' => 'AttributeInfo',
'in' => 'query',
+ 'schema' => ['title' => '地址归属信息', 'description' => '地址归属信息。', 'type' => 'string', 'required' => false, 'example' => '当前版本不支持此参数,不需要传入此参数。'],
+ ],
+ [
+ 'name' => 'HealthJudgement',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址健康状态判定为ok 的方式:', 'description' => '修改后的地址健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:所有探测模板至少一个探测正常。'."\n"
+ ."\n"
+ .'- p30_ok:所有探测模板至少30%探测正常。'."\n"
+ ."\n"
+ .'- p50_ok:所有探测模板至少50%探测正常。'."\n"
+ ."\n"
+ .'- p70_ok:所有探测模板至少70%探测正常。'."\n"
+ ."\n"
+ .'- all_ok:所有探测模板全部探测正常。', 'type' => 'string', 'required' => false, 'example' => 'p50_ok'],
+ ],
+ [
+ 'name' => 'HealthTasks',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'style' => 'json',
'schema' => [
- 'description' => '故障地址池 ID 列表',
- 'type' => 'string',
+ 'title' => '健康检查配置',
+ 'description' => '健康探测任务列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地址关联的健康探测任务列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Port' => ['title' => '服务端口', 'description' => '健康检查探测的目标地址服务端口,当健康检查选择Ping协议时,不支持服务端口的配置。'."\n"
+ ."\n"
+ .'- 传入参数为空:删除当前已配置的端口号;'."\n"
+ ."\n"
+ .'- 传入参数不为空:根据传入参数更新端口号;', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80'],
+ 'TemplateId' => ['title' => '探测模板', 'description' => '地址关联的健康探测模板ID。如果配置了健康检查的端口号,此参数必填。'."\n"
+ ."\n"
+ .'- 传入参数为空:删除当前已配置的探测模板;'."\n"
+ ."\n"
+ .'- 传入参数不为空:根据传入参数更新探测模板;', 'type' => 'string', 'required' => false, 'example' => 'mtp-89518052425100****'],
+ ],
+ 'required' => false,
+ ],
+ 'deprecated' => false,
'required' => false,
- 'example' => '["hra0**"]',
+ 'minItems' => 0,
],
],
],
@@ -31453,65 +22424,79 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '575A3E3A-E9FC-5435-9CAD-BD89533E****',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'Success' => ['description' => '修改地址基础配置操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"575A3E3A-E9FC-5435-9CAD-BD89533E****\\"\\n}","type":"json"}]',
- 'title' => '修改容灾预案',
- 'summary' => '修改容灾预案。',
- ],
- 'DescribeGtmRecoveryPlan' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改地址基础配置',
+ 'summary' => '调用 UpdateCloudGtmAddress 修改指定地址基础配置。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddress'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddress',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmAddressEnableStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US:英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'RecoveryPlanId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10*****',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
+ ],
+ [
+ 'name' => 'AddressId',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址 ID', 'description' => '地址的ID,地址唯一标识码。', 'type' => 'string', 'required' => true, 'example' => 'addr-89518218114368****'],
+ ],
+ [
+ 'name' => 'EnableStatus',
+ 'in' => 'query',
+ 'schema' => ['title' => '可用状态', 'description' => '地址启用状态:'."\n"
+ .'- enable:启用,当前地址健康检查正常的情况下可参与解析。'."\n"
+ .'- disable: 禁用,当前地址不管健康检查是否正常,均不可参与解析。', 'type' => 'string', 'required' => true, 'example' => 'enable'],
],
],
'responses' => [
@@ -31519,198 +22504,92 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => '容灾预案状态:'."\n"
- ."\n"
- .'- UNEXECUTED:容灾域名处于未执行状态;'."\n"
- ."\n"
- .'- EXECUTED:容灾域名处于执行状态;'."\n"
- ."\n"
- .'- ROLLED_BACK:容灾预案处于回滚状态;',
- 'type' => 'string',
- 'example' => 'UNEXECUTED',
- ],
- 'LastRollbackTime' => [
- 'description' => '最近回滚时间(时间戳)',
- 'type' => 'string',
- 'example' => '1565505919000',
- ],
- 'FaultAddrPoolNum' => [
- 'description' => '故障地址池个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'FaultAddrPools' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'FaultAddrPool' => [
- 'description' => '故障地址池列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '故障地址池列表',
- 'type' => 'object',
- 'properties' => [
- 'Addrs' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Addr' => [
- 'description' => '地址列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '地址列表',
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => '地址值',
- 'type' => 'string',
- 'example' => '1.1.XX.XX',
- ],
- 'Mode' => [
- 'description' => '地址模式:'."\n"
- ."\n"
- .'- ONLINE:永远在线,不论健康检查是否异常,该地址均可解析;'."\n"
- ."\n"
- .'- OFFLINE:永远离线,不论健康检查是否异常,该地址均不可解析;'."\n"
- ."\n"
- .'- SMART:智能返回,根据健康检查的状态决定该地址是否可解析;',
- 'type' => 'string',
- 'example' => 'SMART',
- ],
- 'Id' => [
- 'description' => '地址ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '73**',
- ],
- ],
- ],
- ],
- ],
- ],
- 'AddrPoolId' => [
- 'description' => '地址池ID',
- 'type' => 'string',
- 'example' => 'hra0**',
- ],
- 'InstanceId' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'example' => 'gtm-cn-zz11t58****',
- ],
- 'AddrPoolName' => [
- 'description' => '地址池名称',
- 'type' => 'string',
- 'example' => '压测-Failover-1',
- ],
- ],
- ],
- ],
- ],
- ],
- 'LastExecuteTime' => [
- 'description' => '最近执行时间',
- 'type' => 'string',
- 'example' => '2019-08-11T05:04Z',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '0A5F4315-D6E8-435E-82DF-24F4C97D6999',
- ],
- 'CreateTime' => [
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '2019-08-11T05:04Z',
- ],
- 'LastExecuteTimestamp' => [
- 'description' => '最近执行时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565505898000',
- ],
- 'Remark' => [
- 'description' => '备注',
- 'type' => 'string',
- 'example' => 'remark-example',
- ],
- 'Name' => [
- 'description' => '容灾预案名称',
- 'type' => 'string',
- 'example' => 'name-example',
- ],
- 'RecoveryPlanId' => [
- 'description' => '容灾预案ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10****',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间',
- 'type' => 'string',
- 'example' => '2024-03-29T13:20Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565505898000',
- ],
- 'LastRollbackTimestamp' => [
- 'description' => '最近回滚时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565505898000',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565499867000',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Success' => ['description' => '修改地址启用状态操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功。'."\n"
+ ."\n"
+ .'- false:操作失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"UNEXECUTED\\",\\n \\"LastRollbackTime\\": \\"1565505919000\\",\\n \\"FaultAddrPoolNum\\": 2,\\n \\"FaultAddrPools\\": {\\n \\"FaultAddrPool\\": [\\n {\\n \\"Addrs\\": {\\n \\"Addr\\": [\\n {\\n \\"Value\\": \\"1.1.XX.XX\\",\\n \\"Mode\\": \\"SMART\\",\\n \\"Id\\": 0\\n }\\n ]\\n },\\n \\"AddrPoolId\\": \\"hra0**\\",\\n \\"InstanceId\\": \\"gtm-cn-zz11t58****\\",\\n \\"AddrPoolName\\": \\"压测-Failover-1\\"\\n }\\n ]\\n },\\n \\"LastExecuteTime\\": \\"2019-08-11T05:04Z\\",\\n \\"RequestId\\": \\"0A5F4315-D6E8-435E-82DF-24F4C97D6999\\",\\n \\"CreateTime\\": \\"2019-08-11T05:04Z\\",\\n \\"LastExecuteTimestamp\\": 1565505898000,\\n \\"Remark\\": \\"remark-example\\",\\n \\"Name\\": \\"name-example\\",\\n \\"RecoveryPlanId\\": 0,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1565505898000,\\n \\"LastRollbackTimestamp\\": 1565505898000,\\n \\"CreateTimestamp\\": 1565499867000\\n}","type":"json"}]',
- 'title' => '获取容灾预案详情',
- 'summary' => '获取容灾预案详情。',
- ],
- 'DescribeGtmRecoveryPlanAvailableConfig' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改地址启用状态',
+ 'summary' => '根据传入参数修改地址启用状态。',
+ 'description' => '- 地址**启用**且健康状态为**正常**,地址的服务可用状态为**可用**。'."\n"
+ ."\n"
+ .'- 地址**禁用**或健康状态为**异常**,地址的服务可用状态为**不可用**。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressEnableStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressEnableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmAddressManualAvailableStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
+ ],
+ [
+ 'name' => 'AddressId',
+ 'in' => 'query',
+ 'schema' => ['title' => '地址 ID', 'description' => '地址的ID,地址唯一标识码。', 'type' => 'string', 'required' => true, 'example' => 'addr-89518218114368****'],
+ ],
+ [
+ 'name' => 'AvailableMode',
+ 'in' => 'query',
+ 'schema' => ['title' => '可用状态设置模式', 'description' => '地址探测异常切换方式:'."\n"
+ ."\n"
+ .'- auto:自动模式(根据健康检查探测结果确定,探测异常停止解析,探测正常恢复解析)。'."\n"
+ ."\n"
+ .'- manual:手动模式(异常状态下停止解析,健康检查正常也不会恢复解析;正常状态下恢复解析,健康检查异常也只是告警,但不会停止解析)。', 'type' => 'string', 'required' => false, 'example' => 'manual'],
+ ],
+ [
+ 'name' => 'ManualAvailableStatus',
+ 'in' => 'query',
+ 'schema' => ['title' => '可用状态', 'description' => '当地址探测异常切换模式为manual时,地址设置的可用状态:'."\n"
+ ."\n"
+ .'- available:正常,此状态下该地址正常解析,健康检查异常也只是告警,但不会停止解析。'."\n"
+ ."\n"
+ .'- unavailable:异常,此状态下停止解析,健康检查正常也不会恢复解析。', 'type' => 'string', 'required' => false, 'example' => 'available'],
],
],
'responses' => [
@@ -31718,136 +22597,91 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Instances' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Instance' => [
- 'description' => '实例列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'AddrPools' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'AddrPool' => [
- 'description' => '地址池列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'AddrPoolId' => [
- 'description' => '地址池ID',
- 'type' => 'string',
- 'example' => '10*******',
- ],
- 'Name' => [
- 'description' => '地址池名称',
- 'type' => 'string',
- 'example' => 'hra0i9',
- ],
- ],
- ],
- ],
- ],
- ],
- 'InstanceName' => [
- 'description' => '实例名称',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'InstanceId' => [
- 'description' => '实例ID',
- 'type' => 'string',
- 'example' => 'gtm-cn-kvw3uk8****',
- ],
- ],
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'F8F8EF50-8B7F-4702-B294-97170A423403',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '0F32959D-417B-4D66-8463-68606605E3E2'],
+ 'Success' => ['description' => '本次修改操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功。'."\n"
+ ."\n"
+ .'- false:操作失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Instances\\": {\\n \\"Instance\\": [\\n {\\n \\"AddrPools\\": {\\n \\"AddrPool\\": [\\n {\\n \\"AddrPoolId\\": \\"10*******\\",\\n \\"Name\\": \\"hra0i9\\"\\n }\\n ]\\n },\\n \\"InstanceName\\": \\"test\\",\\n \\"InstanceId\\": \\"gtm-cn-kvw3uk8****\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"F8F8EF50-8B7F-4702-B294-97170A423403\\"\\n}","type":"json"}]',
- 'title' => '获取容灾预案可设置的配置',
- 'summary' => '获取容灾预案可设置的配置。',
- ],
- 'DescribeGtmRecoveryPlans' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改地址探测异常切换方式',
+ 'summary' => '根据传入参数修改地址探测异常切换方式。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressManualAvailableStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressManualAvailableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmAddressPoolBasicConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'zh:中文'."\n"
- ."\n"
- .'en:英文'."\n"
- ."\n"
- .'默认:zh',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'Keyword',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询关键字。支持容灾预案名称模糊匹配。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'AddressPoolId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '地址池ID,地址池的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => 'pool-89528023225442****'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'AddressPoolName',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '地址池名称,方便用户区分地址池的用途。', 'type' => 'string', 'required' => false, 'example' => 'app'],
+ ],
+ [
+ 'name' => 'HealthJudgement',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池健康状态判定条件:'."\n"
+ ."\n"
+ .'- any_ok:地址池内至少1个地址是可用地址。'."\n"
+ ."\n"
+ .'- p30_ok:地址池内至少30%地址是可用地址。'."\n"
+ ."\n"
+ .'- p50_ok:地址池内至少50%地址是可用地址。'."\n"
+ ."\n"
+ .'- p70_ok:地址池内至少70%地址是可用地址。'."\n"
+ ."\n"
+ .'- all_ok:地址池内地址全部可用。', 'type' => 'string', 'required' => false, 'example' => 'any_ok'],
],
],
'responses' => [
@@ -31855,180 +22689,79 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RecoveryPlans' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'RecoveryPlan' => [
- 'description' => '容灾预案列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '预案状态。其中:'."\n"
- ."\n"
- .'- **UNEXECUTED**:未执行'."\n"
- .'- **EXECUTED**:已执行'."\n"
- .'- **ROLLED_BACK**:已回滚',
- 'type' => 'string',
- 'example' => 'UNEXECUTED',
- ],
- 'LastRollbackTimestamp' => [
- 'description' => '最近回滚时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565505919000',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间。',
- 'type' => 'string',
- 'example' => '2019-08-11T06:45Z',
- ],
- 'Remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => 'remark-example',
- ],
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2019-08-11T06:45Z',
- ],
- 'RecoveryPlanId' => [
- 'description' => '容灾预案ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5****',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565505919000',
- ],
- 'LastExecuteTimestamp' => [
- 'description' => '最近执行时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565505898000',
- ],
- 'LastExecuteTime' => [
- 'description' => '最近执行时间。',
- 'type' => 'string',
- 'example' => '2019-08-11T06:44Z',
- ],
- 'LastRollbackTime' => [
- 'description' => '最近回滚时间。',
- 'type' => 'string',
- 'example' => '2019-08-11T06:45Z',
- ],
- 'Name' => [
- 'description' => '容灾预案名称。',
- 'type' => 'string',
- 'example' => 'name-example',
- ],
- 'FaultAddrPoolNum' => [
- 'description' => '故障地址池个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565499867000',
- ],
- ],
- ],
- ],
- ],
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '2BA072CF-CA21-4A34-B6C2-227BE2C58079',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Success' => ['description' => '修改地址池基础配置操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
+ 'AddressPoolId' => ['description' => '地址池ID,地址池的唯一识别码。', 'type' => 'string', 'example' => 'pool-89528023225442****'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RecoveryPlans\\": {\\n \\"RecoveryPlan\\": [\\n {\\n \\"Status\\": \\"UNEXECUTED\\",\\n \\"LastRollbackTimestamp\\": 1565505919000,\\n \\"UpdateTime\\": \\"2019-08-11T06:45Z\\",\\n \\"Remark\\": \\"remark-example\\",\\n \\"CreateTime\\": \\"2019-08-11T06:45Z\\",\\n \\"RecoveryPlanId\\": 0,\\n \\"UpdateTimestamp\\": 1565505919000,\\n \\"LastExecuteTimestamp\\": 1565505898000,\\n \\"LastExecuteTime\\": \\"2019-08-11T06:44Z\\",\\n \\"LastRollbackTime\\": \\"2019-08-11T06:45Z\\",\\n \\"Name\\": \\"name-example\\",\\n \\"FaultAddrPoolNum\\": 0,\\n \\"CreateTimestamp\\": 1565499867000\\n }\\n ]\\n },\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"2BA072CF-CA21-4A34-B6C2-227BE2C58079\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 10\\n}","errorExample":""},{"type":"xml","example":"<DescribeGtmRecoveryPlansResponse>\\r\\n<PageNumber>1</PageNumber>\\r\\n\\t<PageSize>20</PageSize>\\r\\n\\t<RequestId>2BA072CF-CA21-4A34-B6C2-227BE2C58079</RequestId>\\r\\n\\t<TotalItems>10</TotalItems>\\r\\n\\t<TotalPages>1</TotalPages>\\r\\n\\t<RecoveryPlans>\\r\\n\\t\\t<RecoveryPlan>\\r\\n\\t\\t\\t<CreateTimestamp>1565499867000</CreateTimestamp>\\r\\n\\t\\t\\t<LastRollbackTime>2019-08-11T06:45Z</LastRollbackTime>\\r\\n\\t\\t\\t<UpdateTimestamp>1565505919000</UpdateTimestamp>\\r\\n\\t\\t\\t<UpdateTime>2019-08-11T06:45Z</UpdateTime>\\r\\n\\t\\t\\t<RecoveryPlanId>55</RecoveryPlanId>\\r\\n\\t\\t\\t<Name>name-example</Name>\\r\\n\\t\\t\\t<LastRollbackTimestamp>1565505919000</LastRollbackTimestamp>\\r\\n\\t\\t\\t<Status>ROLLED_BACK</Status>\\r\\n\\t\\t\\t<LastExecuteTimestamp>1565505898000</LastExecuteTimestamp>\\r\\n\\t\\t\\t<CreateTime>2019-08-11T05:04Z</CreateTime>\\r\\n\\t\\t\\t<LastExecuteTime>2019-08-11T06:44Z</LastExecuteTime>\\r\\n\\t\\t\\t<FaultAddrPoolNum>0</FaultAddrPoolNum>\\r\\n\\t\\t\\t<Remark>remark-example</Remark>\\r\\n\\t\\t</RecoveryPlan>\\r\\n\\t</RecoveryPlans>\\r\\n</DescribeGtmRecoveryPlansResponse>","errorExample":""}]',
- 'title' => '获取容灾预案列表',
- 'summary' => '获取容灾预案列表。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ExecuteGtmRecoveryPlan' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改地址池基础配置',
+ 'summary' => '根据传入参数修改地址池基础配置。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressPoolBasicConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressPoolBasicConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmAddressPoolEnableStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'RecoveryPlanId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10**',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
+ ],
+ [
+ 'name' => 'AddressPoolId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池的ID,地址池的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => 'pool-89528023225442****'],
+ ],
+ [
+ 'name' => 'EnableStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池的启用状态:'."\n"
+ .'- enable:启用,当前地址池在健康检查正常的情况下可参与解析。'."\n"
+ .'- disable: 禁用,当前地址池不管健康检查是否正常,均不可参与解析。', 'type' => 'string', 'required' => false, 'example' => 'enable'],
],
],
'responses' => [
@@ -32036,90 +22769,97 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '89184F33-48A1-4401-9C0F-40E45DB091AB'],
+ 'Success' => ['description' => '本次修改操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
+ 'AddressPoolId' => ['description' => '地址池的ID,地址池的唯一识别码。', 'type' => 'string', 'example' => 'pool-89528023225442****'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","type":"json"}]',
- 'title' => '执行容灾预案',
- 'summary' => '执行容灾预案。',
- ],
- 'PreviewGtmRecoveryPlan' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改地址池启用状态',
+ 'summary' => '根据传入参数修改地址池启用状态。',
+ 'description' => '- 地址池**启用**且健康状态为**正常**,地址池的服务可用状态为**可用**。'."\n"
+ ."\n"
+ .'- 地址池**禁用**或健康状态为**异常**,地址池的服务可用状态为**不可用**。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressPoolEnableStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressPoolEnableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"89184F33-48A1-4401-9C0F-40E45DB091AB\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmAddressPoolLbStrategy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- ."\n"
- .'zh:中文'."\n"
- ."\n"
- .'en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'RecoveryPlanId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10**',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'AddressPoolId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '地址池ID,地址池的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => 'pool-89528023225442****'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'AddressLbStrategy',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值**20**,默认为**5**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '地址池中地址间负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址。并且每次对于所有地址进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址(顺序号标识地址返回的优先级,越小优先级越高)。若顺序号较小的地址不可用时,返回下一个序号较小的地址。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址,实现用户就近访问的效果。', 'type' => 'string', 'required' => false, 'example' => 'sequence'],
+ ],
+ [
+ 'name' => 'SequenceLbStrategyMode',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址间负载均衡策略取值为sequence(顺序模式)时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址。', 'type' => 'string', 'required' => false, 'example' => 'preemptive'],
],
],
'responses' => [
@@ -32127,145 +22867,76 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '853805EA-3D47-47D5-9A1A-A45C24313ABD',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Previews' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Preview' => [
- 'description' => '容灾预案执行预览。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'gtm-cn-wwo3a3hbz**',
- ],
- 'SwitchInfos' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'SwitchInfo' => [
- 'description' => '切换信息。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'StrategyName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => 'hrb5ju',
- ],
- 'Content' => [
- 'description' => '格式化的消息内容。',
- 'type' => 'string',
- 'example' => '默认地址池(默认地址池1)切换备用地址池(备用地址池1)',
- ],
- ],
- ],
- ],
- ],
- ],
- 'Name' => [
- 'description' => '实例名称。',
- 'type' => 'string',
- 'example' => 'name-example',
- ],
- 'UserDomainName' => [
- 'description' => '用户域名(列表)。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- ],
- ],
- ],
- ],
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'TotalItems' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '15',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
+ 'Success' => ['description' => '本次修改操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
+ 'AddressPoolId' => ['description' => '地址池ID,地址池的唯一识别码。', 'type' => 'string', 'example' => 'pool-89528023225442****'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 5,\\n \\"RequestId\\": \\"853805EA-3D47-47D5-9A1A-A45C24313ABD\\",\\n \\"PageNumber\\": 1,\\n \\"Previews\\": {\\n \\"Preview\\": [\\n {\\n \\"InstanceId\\": \\"gtm-cn-wwo3a3hbz**\\",\\n \\"SwitchInfos\\": {\\n \\"SwitchInfo\\": [\\n {\\n \\"StrategyName\\": \\"hrb5ju\\",\\n \\"Content\\": \\"默认地址池(默认地址池1)切换备用地址池(备用地址池1)\\"\\n }\\n ]\\n },\\n \\"Name\\": \\"name-example\\",\\n \\"UserDomainName\\": \\"example.com\\"\\n }\\n ]\\n },\\n \\"TotalPages\\": 3,\\n \\"TotalItems\\": 15\\n}","errorExample":""},{"type":"xml","example":"<PreviewGtmRecoveryPlanResponse>\\r\\n\\t<PageNumber>1</PageNumber>\\r\\n\\t<Previews>\\r\\n\\t\\t<Preview>\\r\\n\\t\\t\\t<Name>name-example</Name>\\r\\n\\t\\t\\t<SwitchInfos>\\r\\n\\t\\t\\t\\t<SwitchInfo>\\r\\n\\t\\t\\t\\t\\t<StrategyName>strategy-name-example-1</StrategyName>\\r\\n\\t\\t\\t\\t\\t<Content>默认地址池(默认地址池1) 切换 备用地址池(备用地址池1)</Content>\\r\\n\\t\\t\\t\\t</SwitchInfo>\\r\\n\\t\\t\\t\\t<SwitchInfo>\\r\\n\\t\\t\\t\\t\\t<StrategyName>strategy-name-examle-2</StrategyName>\\r\\n\\t\\t\\t\\t\\t<Content>默认地址池(默认地址池2) 切换 备用地址池(备用地址池2)</Content>\\r\\n\\t\\t\\t\\t</SwitchInfo>\\r\\n\\t\\t\\t</SwitchInfos>\\r\\n\\t\\t\\t<InstanceId>instance-example</InstanceId>\\r\\n\\t\\t\\t<UserDomainName>30.yyy.com</UserDomainName>\\r\\n\\t\\t</Preview>\\r\\n\\t</Previews>\\r\\n\\t<PageSize>5</PageSize>\\r\\n\\t<RequestId>853805EA-3D47-47D5-9A1A-A45C24313ABD</RequestId>\\r\\n\\t<TotalItems>15</TotalItems>\\r\\n\\t<TotalPages>3</TotalPages>\\r\\n</PreviewGtmRecoveryPlanResponse>","errorExample":""}]',
- 'title' => '预览容灾预案',
- 'summary' => '预览容灾预案。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'RollbackGtmRecoveryPlan' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改地址池负载均衡策略',
+ 'summary' => '根据传入参数修改地址池负载均衡策略。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressPoolLbStrategy'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressPoolLbStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmAddressPoolRemark' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'RecoveryPlanId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
- .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'docRequired' => true,
- 'example' => '10**',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
+ ],
+ [
+ 'name' => 'AddressPoolId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池的ID,地址池的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => 'pool-89528023225442****'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => '传入的参数作为更新后的备注,传空值则删除备注。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
],
'responses' => [
@@ -32273,80 +22944,83 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '853805EA-3D47-47D5-9A1A-A45C24313ABD',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Success' => ['description' => '本次修改操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
+ 'AddressPoolId' => ['description' => '地址池的ID,地址池的唯一识别码。', 'type' => 'string', 'example' => 'pool-89528023225442****'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"853805EA-3D47-47D5-9A1A-A45C24313ABD\\"\\n}","type":"json"}]',
- 'title' => '回滚容灾预案',
- 'summary' => '回滚容灾预案。',
- ],
- 'AddRecursionZone' => [
- 'summary' => '新增HTTPDNS内置权威域名zone',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改地址池备注',
+ 'summary' => '根据传入参数修改地址池备注信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressPoolRemark'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressPoolRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true,\\n \\"AddressPoolId\\": \\"pool-89528023225442****\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmAddressRemark' => [
+ 'summary' => '通过地址的 ID修改地址备注信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsFCVP0L'],
],
'parameters' => [
[
- 'name' => 'ZoneName',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '域名(Zone)名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'ProxyPattern',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '是否开启子域名递归代理。取值:'."\n"
- ."\n"
- .'zone: 关闭(当解析本域名下不存在的子域名时,直接返回NXDOMAIN,表示子域名不存在)'."\n"
- .'record: 开启(当解析本域名下不存在的子域名时,会依次查询“转发”和“递归”模块,并以最终查询到的解析结果来应答解析请求)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'record',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'AddressId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22',
- ],
+ 'schema' => ['title' => '地址 ID', 'description' => '地址的ID,地址唯一标识码。', 'type' => 'string', 'required' => true, 'example' => 'addr-89518218114368****'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['title' => '备注', 'description' => '传入的参数作为更新后的备注,传空值则删除备注。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
],
'responses' => [
@@ -32354,68 +23028,124 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '51899B6F-04A5-5B96-977D-340673091ACA',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功,取值:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ZoneId' => [
- 'description' => 'Zone ID。',
- 'type' => 'string',
- 'example' => '173671468000011',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
+ 'Success' => ['description' => '本次修改操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"51899B6F-04A5-5B96-977D-340673091ACA\\",\\n \\"Success\\": true,\\n \\"ZoneId\\": \\"173671468000011\\"\\n}","type":"json"}]',
- 'title' => '新增HTTPDNS内置权威域名zone',
- 'description' => '每个IP段的IP地址必须满足: EndIp >=StartIp。<br>'."\n"
- .'域名下所有自定义线路中的所有IP段,IP范围都不能交叉重叠。',
- ],
- 'DescribeRecursionZone' => [
- 'summary' => '查询HTTPDNS内置权威域名zone详情',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改地址备注',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressRemark'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmGlobalAlert' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '241101',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns6GP3X5'],
],
'parameters' => [
[
- 'name' => 'ZoneId',
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US:英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22'."\n"],
+ ],
+ [
+ 'name' => 'AlertGroup',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => 'Zone ID,Zone的唯一识别码。',
- 'type' => 'string',
+ 'description' => '告警通知组列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '告警通知组信息,读取云监控产品下的告警通知组配置。', 'type' => 'string', 'required' => false, 'example' => '[\\"云账号报警联系人\\"]'],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'AlertConfig',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '报警配置列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '报警配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'NoticeType' => ['description' => '报警事件类型:'."\n"
+ ."\n"
+ .'- addr_alert:地址不可用'."\n"
+ ."\n"
+ .'- addr_resume:地址恢复可用'."\n"
+ ."\n"
+ .'- addr_pool_unavailable:地址池不可用'."\n"
+ ."\n"
+ .'- addr_pool_available:地址池恢复可用', 'type' => 'string', 'required' => false, 'example' => 'addr_alert'],
+ 'SmsNotice' => ['description' => '是否配置短信报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送短信通知'."\n"
+ .'- false|null:未配置'."\n"
+ ."\n"
+ .'仅中国站支持短信通知,国际站不支持短信通知。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'EmailNotice' => ['description' => '是否配置邮件报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送邮件通知'."\n"
+ ."\n"
+ .'- false|null:未配置', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'DingtalkNotice' => ['description' => '是否配置钉钉报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送钉钉通知'."\n"
+ .'- false:未配置', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ 'Threshold' => ['type' => 'integer', 'format' => 'int32', 'example' => '100', 'default' => '50'],
+ 'QpsThreshold' => ['type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => '169783221000012',
- 'pattern' => '^\\d+$',
],
],
],
@@ -32424,230 +23154,135 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'ZoneId' => [
- 'title' => 'zone ID',
- 'description' => 'Zone ID,Zone的唯一识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '169438909000011',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '2018-06-06T11:34Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1533773400000',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '修改时间',
- 'type' => 'string',
- 'example' => '2018-01-03T08:57Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'ZoneName' => [
- 'title' => 'zone 名称',
- 'description' => 'zone 名称',
- 'type' => 'string',
- 'example' => 'cheng.suow.cc',
- ],
- 'UserId' => [
- 'title' => 'user Id',
- 'description' => '用户ID',
- 'type' => 'string',
- 'example' => '1527690629357',
- ],
- 'ProxyPattern' => [
- 'title' => '代理模式',
- 'description' => '是否开启子域名递归代理。取值:'."\n"
- ."\n"
- .'zone: 关闭(当解析本域名下不存在的子域名时,直接返回NXDOMAIN,表示子域名不存在)'."\n"
- .'record: 开启(当解析本域名下不存在的子域名时,会依次查询“转发”和“递归”模块,并以最终查询到的解析结果来应答解析请求)',
- 'type' => 'string',
- 'example' => 'record',
- ],
- 'RecordCount' => [
- 'description' => '域名Zone下的解析记录数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '备注',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Creator' => [
- 'title' => '创建者 id',
- 'description' => '创建者 id',
- 'type' => 'string',
- 'example' => 'SOAR',
- ],
- 'CreatorType' => [
- 'title' => '创建者类型',
- 'description' => '创建者类型',
- 'type' => 'string',
- 'example' => 'USER',
- ],
- 'CreatorSubType' => [
- 'title' => '创建者子类型',
- 'description' => '创建者子类型',
- 'type' => 'string',
- 'example' => 'SUB',
- ],
- 'EffectiveScopes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'EffectiveScope' => [
- 'title' => '生效范围数组',
- 'description' => '内置权威域名zone生效范围',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EffectiveType' => [
- 'description' => '内置权威域名zone生效类型'."\n"
- .'account:递归解析为用户分配的account id',
- 'type' => 'string',
- 'example' => 'account',
- ],
- 'Scopes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Scope' => [
- 'description' => '生效范围。'."\n"
- .'account生效类型则对应为account id列表',
- 'example' => '[20003]',
- 'type' => 'array',
- 'items' => [
- 'description' => '生效范围子元素'."\n"
- .'若生效类型为account则对应单个account id',
- 'type' => 'string',
- 'example' => '20003',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
+ 'Success' => ['description' => '本次修改全局告警配置操作是否成功:'."\n"
+ .'- true:成功'."\n"
+ .'- false:失败', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"ZoneId\\": \\"169438909000011\\",\\n \\"CreateTime\\": \\"2018-06-06T11:34Z\\",\\n \\"CreateTimestamp\\": 1533773400000,\\n \\"UpdateTime\\": \\"2018-01-03T08:57Z\\",\\n \\"UpdateTimestamp\\": 1527690629357,\\n \\"ZoneName\\": \\"cheng.suow.cc\\",\\n \\"UserId\\": \\"1527690629357\\",\\n \\"ProxyPattern\\": \\"record\\",\\n \\"RecordCount\\": 8,\\n \\"Remark\\": \\"test\\",\\n \\"Creator\\": \\"SOAR\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"CreatorSubType\\": \\"SUB\\",\\n \\"EffectiveScopes\\": {\\n \\"EffectiveScope\\": [\\n {\\n \\"EffectiveType\\": \\"account\\",\\n \\"Scopes\\": {\\n \\"Scope\\": [\\n \\"20003\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '查询HTTPDNS内置权威域名zone详情',
- 'description' => '实时数据的统计维度是按小时。',
- ],
- 'ListRecursionZones' => [
- 'summary' => '查询HTTPDNS内置权威域名zone内置权威域名zone',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改全局告警配置',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmGlobalAlert'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmGlobalAlert',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmInstanceConfigAlert' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '241053',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'ZoneName',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '域名Zone名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lisheng999.com',
- ],
+ 'schema' => ['description' => '返回信息的语言类型:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ .'- en-US:英文', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
],
[
- 'name' => 'Remark',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '备注信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '全局流量管理3.0实例id。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-zz11t58**0s'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '域名实例配置id,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。', 'type' => 'string', 'required' => false, 'example' => 'Config-000**11'],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'AlertMode',
'in' => 'query',
- 'allowEmptyValue' => false,
+ 'schema' => ['description' => '实例告警配置模式:'."\n"
+ ."\n"
+ .'- global:继承全局报警配置,即实例采用全局告警配置'."\n"
+ ."\n"
+ .'- instance_config:自定义报警配置', 'type' => 'string', 'required' => false, 'example' => 'global'],
+ ],
+ [
+ 'name' => 'AlertGroup',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '本次请求所返回的最大记录条数。',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => '告警通知组列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '告警通知组信息。', 'type' => 'string', 'required' => false, 'example' => '[\\"云账号报警联系人\\"]'],
'required' => false,
- 'example' => '100',
],
],
[
- 'name' => 'NextToken',
+ 'name' => 'AlertConfig',
'in' => 'query',
- 'allowEmptyValue' => false,
+ 'style' => 'json',
'schema' => [
- 'description' => '下一个查询开始Token。',
- 'type' => 'string',
+ 'description' => '报警配置列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '报警规则配置信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'NoticeType' => ['description' => '报警事件类型:'."\n"
+ ."\n"
+ .'- addr_alert:地址不可用'."\n"
+ ."\n"
+ .'- addr_resume:地址恢复可用'."\n"
+ ."\n"
+ .'- addr_pool_unavailable:地址池不可用'."\n"
+ ."\n"
+ .'- addr_pool_available:地址池恢复可用', 'type' => 'string', 'required' => false, 'example' => 'addr_alert'],
+ 'SmsNotice' => ['description' => '是否配置短信报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送短信通知'."\n"
+ ."\n"
+ .'- false:未配置'."\n"
+ ."\n"
+ .'仅中国站支持短信通知,国际站不支持短信通知。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'EmailNotice' => ['description' => '是否配置邮件报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送邮件通知'."\n"
+ ."\n"
+ .'- false:未配置', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'DingtalkNotice' => ['description' => '是否配置钉钉报警通知:'."\n"
+ ."\n"
+ .'- true:已配置,当报警事情发生时,会发送钉钉通知'."\n"
+ ."\n"
+ .'- false:未配置', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => '4698691',
],
],
],
@@ -32656,245 +23291,89 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '获取到地址列表中的地址总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Zones' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Zone' => [
- 'description' => '当前地域支持的可用区列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '当前地域支持的可用区列表',
- 'type' => 'object',
- 'properties' => [
- 'ZoneId' => [
- 'title' => 'zone ID',
- 'description' => 'Zone ID,Zone的唯一识别码。',
- 'type' => 'string',
- 'example' => '173671468000011',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '2021-03-08T05:45Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1729674680000',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '修改时间',
- 'type' => 'string',
- 'example' => '2024-11-12T04:30Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1707189878000',
- ],
- 'ZoneName' => [
- 'title' => 'zone名称',
- 'description' => 'zone名称',
- 'type' => 'string',
- 'example' => 'dfsdfsd',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '备注',
- 'type' => 'string',
- 'example' => '107',
- ],
- 'RecordCount' => [
- 'description' => 'Zone含有的解析记录条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'ProxyPattern' => [
- 'title' => '代理模式',
- 'description' => '是否开启子域名递归代理。取值:'."\n"
- ."\n"
- .'zone: 关闭(当解析本域名下不存在的子域名时,直接返回NXDOMAIN,表示子域名不存在)'."\n"
- .'record: 开启(当解析本域名下不存在的子域名时,会依次查询“转发”和“递归”模块,并以最终查询到的解析结果来应答解析请求)',
- 'type' => 'string',
- 'example' => 'record',
- ],
- 'Creator' => [
- 'title' => '创建者',
- 'description' => '创建者',
- 'type' => 'string',
- 'example' => '218497924149333932',
- ],
- 'CreatorType' => [
- 'title' => '创建者类型',
- 'description' => '创建者类型'."\n"
- .'user用户,system系统',
- 'type' => 'string',
- 'example' => 'USER',
- ],
- 'CreatorSubType' => [
- 'title' => '创建者子类型',
- 'description' => '账号类型。说明:'."\n"
- ."\n"
- .'custom:主账号'."\n"
- .'sub:子账号'."\n"
- .'sts:角色扮演'."\n"
- .'other:其他'."\n",
- 'type' => 'string',
- 'example' => 'SUB',
- ],
- 'EffectiveScopes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'EffectiveScope' => [
- 'title' => '解析范围',
- 'description' => '解析范围',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EffectiveType' => [
- 'title' => '解析范围类型',
- 'description' => '生效范围类型'."\n"
- .'account:账户',
- 'type' => 'string',
- 'example' => 'account',
- ],
- 'Scopes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Scope' => [
- 'title' => '解析范围值列表',
- 'description' => '解析范围值列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '生效范围,和生效范围类型对应'."\n"
- .'account类型对应 用户的递归解析accountId泪表',
- 'type' => 'string',
- 'example' => '20003',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'MaxResults' => [
- 'description' => '本次请求所返回的最大记录条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'NextToken' => [
- 'description' => '下一个查询开始Token。',
- 'type' => 'string',
- 'example' => '4698691',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'Success' => ['description' => '本次操作是否成功:'."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 5,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"Zones\\": {\\n \\"Zone\\": [\\n {\\n \\"ZoneId\\": \\"173671468000011\\",\\n \\"CreateTime\\": \\"2021-03-08T05:45Z\\",\\n \\"CreateTimestamp\\": 1729674680000,\\n \\"UpdateTime\\": \\"2024-11-12T04:30Z\\",\\n \\"UpdateTimestamp\\": 1707189878000,\\n \\"ZoneName\\": \\"dfsdfsd\\",\\n \\"Remark\\": \\"107\\",\\n \\"RecordCount\\": 8,\\n \\"ProxyPattern\\": \\"record\\",\\n \\"Creator\\": \\"218497924149333932\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"CreatorSubType\\": \\"SUB\\",\\n \\"EffectiveScopes\\": {\\n \\"EffectiveScope\\": [\\n {\\n \\"EffectiveType\\": \\"account\\",\\n \\"Scopes\\": {\\n \\"Scope\\": [\\n \\"20003\\"\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"MaxResults\\": 100,\\n \\"NextToken\\": \\"4698691\\"\\n}","type":"json"}]',
- 'title' => '查询HTTPDNS内置权威域名zone',
- 'description' => '- 请求中至少指定参数ResourceId.N或Tag.N(Tag.N.Key与Tag.N.Value),以确定检索对象。'."\n"
- .'- Tag.N是资源的标签,由一个键值对组成。仅指定Tag.N.Key时,则返回该标签键关联的所有标签值。仅指定Tag.N.Value会报错。'."\n"
- .'- 如果您同时指定Tag.N和ResourceId.N筛选标签,则ResourceId.N必须满足所有输入的标签键值对。'."\n"
- .'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。',
- ],
- 'DeleteRecursionZone' => [
- 'summary' => '删除HTTPDNS内置权威域名zone',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '更新实例的告警配置',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceConfigAlert'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceConfigAlert',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmInstanceConfigBasic' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'ZoneId',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => 'Zone ID。Zone ID,Zone的唯一识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '169783221000012',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '返回值语言,取值: '."\n"
+ .' '."\n"
+ .'- **zh-CN**:中文。'."\n"
+ ."\n"
+ .'- **en-US**(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21079fa016944979537637959d09bc',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['title' => '调度实例id', 'description' => '需要修改的GTM 3.0实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3h****'],
+ ],
+ [
+ 'name' => 'ConfigId',
+ 'in' => 'query',
+ 'schema' => ['title' => '调度实例名称', 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。标识本次修改的配置对象。'."\n"
+ ."\n"
+ .'调用[ListCloudGtmInstanceConfigs](~~ListCloudGtmInstanceConfigs~~)接口可查询域名实例对应的ConfigId值。', 'type' => 'string', 'required' => false, 'example' => 'Config-000****'],
+ ],
+ [
+ 'name' => 'ScheduleZoneName',
+ 'in' => 'query',
+ 'schema' => ['title' => 'zone名称', 'description' => 'GTM接入域名的主域(example.com)或子域(a.example.com)。一般为GTM实例所在账号下,在云解析DNS控制台权威解析中托管的域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'ScheduleHostname',
+ 'in' => 'query',
+ 'schema' => ['title' => '主机记录', 'description' => 'GTM接入域名的主机记录。', 'type' => 'string', 'required' => false, 'example' => 'www'],
+ ],
+ [
+ 'name' => 'Ttl',
+ 'in' => 'query',
+ 'schema' => ['title' => '调度调度实例的TTL', 'description' => '全局TTL(单位:秒),接入域名解析到地址池中地址的TTL值,影响解析记录在运营商LocalDNS中的缓存时间。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'],
],
],
'responses' => [
@@ -32902,168 +23381,186 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'Success' => ['description' => '本次操作是否成功:'."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\"\\n}","type":"json"}]',
- 'title' => '删除HTTPDNS内置权威域名zone',
- 'description' => '如果被删除的解析记录中存在锁定解析,则该锁定解析不会被删除。',
- ],
- 'SearchRecursionZones' => [
- 'summary' => '搜索HTTPDNS内置权威域名zone',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '更新实例全局TTL配置',
+ 'summary' => '根据传入参数更新GTM3.0 实例全局TTL配置。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceConfigBasic'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceConfigBasic',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmInstanceConfigEnableStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '241109',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'ZoneName',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '域名(Zone)名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cheng.suow.cc',
- ],
+ 'schema' => ['description' => '返回值语言,取值: '."\n"
+ .' '."\n"
+ .'- **zh-CN**:中文。'."\n"
+ ."\n"
+ .'- **en-US**(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
],
[
- 'name' => 'Remark',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '地址池备注,支持对输入的备注进行模糊搜索。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '调度实例id', 'description' => '需要修改的GTM 3.0实例 ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3h****'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '5',
- ],
+ 'schema' => ['title' => '调度实例id', 'description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识域名实例配置。'."\n"
+ ."\n"
+ .'调用[ListCloudGtmInstanceConfigs]( ~~2797349~~)接口可查询域名实例对应的 ConfigId 值。', 'type' => 'string', 'required' => false, 'example' => 'Config-000****'],
],
[
- 'name' => 'EffectiveScopes',
+ 'name' => 'EnableStatus',
'in' => 'query',
- 'style' => 'json',
+ 'schema' => ['title' => '启用状态', 'description' => '域名实例的启用状态:'."\n"
+ ."\n"
+ .'- enable:启用。'."\n"
+ ."\n"
+ .'- disable:禁用。', 'type' => 'string', 'required' => false, 'example' => 'enable'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '生效范围列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '内置权威域名zone生效范围',
- 'type' => 'object',
- 'properties' => [
- 'EffectiveType' => [
- 'description' => '生效范围类型'."\n"
- .'account: 账户',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'account',
- ],
- 'Scope' => [
- 'description' => '生效范围列表,与生效类型对应 account类型对应递归解析用户的accountid列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => false,
- 'example' => '[20003]',
- ],
- ],
- 'required' => false,
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
+ 'Success' => ['description' => '本次操作是否成功:'."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'],
],
- 'required' => false,
],
],
+ ],
+ 'title' => '更新实例配置启用状态',
+ 'summary' => '根据传入参数更新实例启动状态。',
+ 'description' => '- 域名**启用**且健康状态为**正常**,接入域名的服务可用状态为**可用**。'."\n"
+ ."\n"
+ .'- 域名**禁用**或健康状态为**异常**,接入域名的服务可用状态为**不可用**。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceConfigEnableStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'OrderBy',
- 'in' => 'query',
- 'schema' => [
- 'description' => '排序字段,结果按哪个字段进行排序'."\n"
- .'UpdateTime:修改时间'."\n"
- .'RecordCount:解析记录条数'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceConfigEnableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmInstanceConfigLbStrategy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Direction',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
+ 'parameters' => [
+ [
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '排序方向'."\n"
- .'asc:升序'."\n"
- .'desc:降序',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'asc',
- ],
+ 'schema' => ['description' => '返回值语言,取值: '."\n"
+ .' '."\n"
+ .'- **zh-CN**:中文。'."\n"
+ ."\n"
+ .'- **en-US**(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'description' => '分批次查询时每次显示的条目数。取值范围:**1**~**100**,默认值为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'description' => '下一个查询开始Token。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4698691',
- ],
+ 'schema' => ['description' => '需要修改的GTM 3.0实例 ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3h***'],
+ ],
+ [
+ 'name' => 'ConfigId',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识本次需要修改的域名实例配置。'."\n"
+ ."\n"
+ .'调用 [ListCloudGtmInstanceConfigs](~~2797349~~) 接口可查询域名实例对应的 ConfigId 值。', 'type' => 'string', 'required' => false, 'example' => 'Config-000****'],
+ ],
+ [
+ 'name' => 'AddressPoolLbStrategy',
+ 'in' => 'query',
+ 'schema' => ['description' => '修改后的地址池之间的负载均衡策略:'."\n"
+ ."\n"
+ .'- round_robin:轮询,对于任何来源的解析请求,返回所有地址池。并且每次对于所有地址池进行轮转排序。'."\n"
+ ."\n"
+ .'- sequence:顺序,对于任何来源的解析请求,返回顺序号较小的地址池(顺序号标识地址池返回的优先级,越小优先级越高)。若顺序号较小的地址池不可用时,返回下一个序号较小的地址池。'."\n"
+ ."\n"
+ .'- weight:权重,支持对每个地址池设置不同的权重值,实现解析查询按照权重比例返回地址池。'."\n"
+ ."\n"
+ .'- source_nearest:来源就近,即智能解析功能,GTM可以根据不同的解析请求来源返回不同的地址池,实现用户就近访问的效果。', 'type' => 'string', 'required' => false, 'example' => 'sequence'],
+ ],
+ [
+ 'name' => 'SequenceLbStrategyMode',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池间负载均衡策略为顺序模式时,前序资源异常恢复服务模式:'."\n"
+ ."\n"
+ .'- preemptive:抢占模式,前序资源恢复,优先使用顺序号较小的地址池。'."\n"
+ ."\n"
+ .'- non_preemptive:非抢占模式,前序资源恢复,仍然使用当前地址池。', 'type' => 'string', 'required' => false, 'example' => 'preemptive'],
],
],
'responses' => [
@@ -33071,206 +23568,42 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时每页设置的大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '123',
- ],
- 'TotalItems' => [
- 'description' => '实例总条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '11',
- ],
- 'Zones' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Zone' => [
- 'description' => '域名zone列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '可用区的集合。',
- 'type' => 'object',
- 'properties' => [
- 'ZoneId' => [
- 'title' => 'zone ID',
- 'description' => 'Zone ID,Zone的唯一识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '169439170000011',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '2022-10-17T06:13Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1749694625000',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '修改时间',
- 'type' => 'string',
- 'example' => '2024-08-13T01:44Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1639621006000',
- ],
- 'ZoneName' => [
- 'title' => 'zone名称',
- 'description' => 'zone名称',
- 'type' => 'string',
- 'example' => 'ixiqiu.cn',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '备注',
- 'type' => 'string',
- 'example' => '107',
- ],
- 'RecordCount' => [
- 'description' => '域名zone下的解析记录条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'ProxyPattern' => [
- 'title' => '代理模式',
- 'description' => '是否开启子域名递归代理。取值:'."\n"
- ."\n"
- .'zone: 关闭(当解析本域名下不存在的子域名时,直接返回NXDOMAIN,表示子域名不存在)'."\n"
- .'record: 开启(当解析本域名下不存在的子域名时,会依次查询“转发”和“递归”模块,并以最终查询到的解析结果来应答解析请求)',
- 'type' => 'string',
- 'example' => 'record',
- ],
- 'Creator' => [
- 'title' => '创建者 id',
- 'description' => '创建者 id',
- 'type' => 'string',
- 'example' => '***',
- ],
- 'CreatorType' => [
- 'title' => '创建者类型',
- 'description' => '创建者类型,说明'."\n"
- .'user:用户'."\n"
- .'system:系统',
- 'type' => 'string',
- 'example' => 'USER',
- ],
- 'CreatorSubType' => [
- 'title' => '创建者子类型',
- 'description' => '账号类型。说明:'."\n"
- ."\n"
- .'CUSTOMER:主账号'."\n"
- .'SUB:子账号'."\n"
- .'STS:角色扮演'."\n"
- .'OTHER:其他'."\n",
- 'type' => 'string',
- 'example' => 'SUB',
- ],
- 'EffectiveScopes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'EffectiveScope' => [
- 'title' => '解析范围',
- 'description' => '解析范围',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EffectiveType' => [
- 'title' => '解析范围类型',
- 'description' => '生效范围类型'."\n"
- .'account 账户',
- 'type' => 'string',
- 'example' => 'account',
- ],
- 'Scopes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Scope' => [
- 'description' => '生效范围列表,与生效类型对应'."\n"
- .'account类型对应递归解析用户的accountid列表',
- 'example' => '[20003]',
- 'type' => 'array',
- 'items' => [
- 'description' => '生效范围',
- 'type' => 'string',
- 'example' => '20003',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'MaxResults' => [
- 'description' => '分批次查询时每次显示的条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'NextToken' => [
- 'description' => '下一个查询开始Token。',
- 'type' => 'string',
- 'example' => '4698691',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '0F32959D-417B-4D66-8463-68606605E3E2'],
+ 'Success' => ['description' => '本次操作是否成功:'."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 123,\\n \\"TotalItems\\": 11,\\n \\"Zones\\": {\\n \\"Zone\\": [\\n {\\n \\"ZoneId\\": \\"169439170000011\\",\\n \\"CreateTime\\": \\"2022-10-17T06:13Z\\",\\n \\"CreateTimestamp\\": 1749694625000,\\n \\"UpdateTime\\": \\"2024-08-13T01:44Z\\",\\n \\"UpdateTimestamp\\": 1639621006000,\\n \\"ZoneName\\": \\"ixiqiu.cn\\",\\n \\"Remark\\": \\"107\\",\\n \\"RecordCount\\": 20,\\n \\"ProxyPattern\\": \\"record\\",\\n \\"Creator\\": \\"***\\",\\n \\"CreatorType\\": \\"USER\\",\\n \\"CreatorSubType\\": \\"SUB\\",\\n \\"EffectiveScopes\\": {\\n \\"EffectiveScope\\": [\\n {\\n \\"EffectiveType\\": \\"account\\",\\n \\"Scopes\\": {\\n \\"Scope\\": [\\n \\"20003\\"\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"4698691\\"\\n}","type":"json"}]',
- 'title' => '搜索HTTPDNS内置权威域名zone',
- 'description' => '- 请求中至少指定参数ResourceId.N或Tag.N(Tag.N.Key与Tag.N.Value),以确定检索对象。'."\n"
- .'- Tag.N是资源的标签,由一个键值对组成。仅指定Tag.N.Key时,则返回该标签键关联的所有标签值。仅指定Tag.N.Value会报错。'."\n"
- .'- 如果您同时指定Tag.N和ResourceId.N筛选标签,则ResourceId.N必须满足所有输入的标签键值对。'."\n"
- .'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。',
- ],
- 'UpdateRecursionZoneEffectiveScope' => [
- 'summary' => '修改HTTPDNS内置权威域名zone生效范围',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '更新实例负载均衡策略',
+ 'summary' => '根据传入参数更新实例负载均衡策略。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceConfigLbStrategy'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceConfigLbStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmInstanceConfigRemark' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -33278,70 +23611,38 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => ['description' => '返回值语言,取值: '."\n"
+ .' '."\n"
+ .'- **zh-CN**:中文。'."\n"
+ ."\n"
+ .'- **en-US**(默认值):英文。', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
+ ],
+ [
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21079fa016944979537637959d09bc'."\n",
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'ZoneId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'title' => 'zone id',
- 'description' => 'Zone ID,Zone的唯一识别码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '173671468000011',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '需要修改备注信息的全局流量管理GTM3.0实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-wwo3a3h****'],
],
[
- 'name' => 'EffectiveScopes',
+ 'name' => 'ConfigId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'title' => '启用状态',
- 'description' => '生效范围列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EffectiveType' => [
- 'description' => '生效范围类型'."\n"
- .'*account: 账户*',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'account',
- ],
- 'Scope' => [
- 'description' => '生效范围列表,与生效类型对应 account类型对应递归解析用户的accountid列表',
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 100,
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '域名实例配置ID,相同接入域名、相同的GTM实例可以同时配置A和AAAA记录,此情况下相同的GTM实例会出现2个域名实例配置,ConfigId可以唯一标识本次需要修改的域名实例配置。'."\n"
+ ."\n"
+ .'调用[ListCloudGtmInstanceConfigs](~~2797349~~) 接口可查询域名实例对应的 ConfigId 值。', 'type' => 'string', 'required' => false, 'example' => 'Config-000****'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => '备注,传入参数即为更新后的目标备注内容。', 'type' => 'string', 'required' => false, 'example' => 'API'],
],
],
'responses' => [
@@ -33349,27 +23650,42 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'."\n",
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
+ 'Success' => ['description' => '本次操作是否成功:'."\n"
+ .'- **true**:调用成功。'."\n"
+ .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\\\n\\"\\n}","type":"json"}]',
- 'title' => '修改HTTPDNS内置权威域名zone生效范围',
- ],
- 'UpdateRecursionZoneRemark' => [
- 'summary' => '修改HTTPDNS内置权威域名zone备注',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '更新实例备注信息',
+ 'summary' => '根据传入的参数更新实例备注信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceConfigRemark'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceConfigRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmInstanceName' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -33377,48 +23693,31 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US:英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
+ ],
+ [
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21079fa016944979537637959d09bc',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。该参数值可自定义,但是要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22'],
],
[
- 'name' => 'ZoneId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'title' => 'zone id',
- 'description' => 'Zone ID,Zone的唯一识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '173671468000011',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => 'GTM实例ID。', 'type' => 'string', 'required' => false, 'example' => 'gtm-cn-jmp3qnw**03'],
],
[
- 'name' => 'Remark',
+ 'name' => 'InstanceName',
'in' => 'query',
- 'schema' => [
- 'title' => '备注',
- 'description' => '备注',
- 'type' => 'string',
- 'required' => false,
- 'example' => '备注',
- ],
+ 'schema' => ['description' => '实例名称,不可传入空值。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
],
'responses' => [
@@ -33426,29 +23725,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
+ 'Success' => ['description' => '本次修改实例名称操作是否成功:'."\n"
+ ."\n"
+ .'- true:成功'."\n"
+ ."\n"
+ .'- false:失败', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","type":"json"}]',
- 'title' => '修改HTTPDNS内置权威域名zone备注',
- 'description' => '每个IP段的IP地址必须满足: EndIp >=StartIp。<br>'."\n"
- .'域名下所有自定义线路中的所有IP段,IP范围都不能交叉重叠。',
- ],
- 'UpdateRecursionZoneProxyPattern' => [
- 'summary' => '修改HTTPDNS内置权威域名zone递归代理模式',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改实例名称',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceName'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceName',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmMonitorTemplate' => [
+ 'summary' => '根据传入参数修改探测模板信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -33460,45 +23773,128 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns6ZABD5'],
],
'parameters' => [
[
+ 'name' => 'AcceptLanguage',
+ 'in' => 'query',
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US(默认值):英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
+ ],
+ [
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21079fa016944979537637959d09bc',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24****'],
],
[
- 'name' => 'ZoneId',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'title' => 'zone id',
- 'description' => 'Zone ID,Zone的唯一识别码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '173671468000011',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['title' => '模板 ID', 'description' => '需要修改的健康探测模板ID,唯一标识健康探测模板。', 'type' => 'string', 'required' => true, 'example' => 'mtp-89518052425100****'],
],
[
- 'name' => 'ProxyPattern',
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['title' => '模板名', 'description' => '健康检查探测模板的名称,一般为了方便配置人员区分和记忆,建议名称可以区分健康检查协议。', 'type' => 'string', 'required' => false, 'example' => 'Ping-IPv4'."\n"],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => ['title' => '探测间隔(秒)', 'description' => '每次健康探测的时间间隔(秒),默认每间隔1分钟探测一次,健康检查间隔最小支持15秒(面向旗舰版实例开放)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'],
+ ],
+ [
+ 'name' => 'Timeout',
'in' => 'query',
+ 'schema' => ['title' => '探测超时时间', 'description' => '探测超时时间(毫秒),大于超时时间未返回的数据包即判断为健康检查超时:'."\n"
+ ."\n"
+ .'- 2000'."\n"
+ ."\n"
+ .'- 3000'."\n"
+ ."\n"
+ .'- 5000'."\n"
+ ."\n"
+ .'- 10000', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5000'],
+ ],
+ [
+ 'name' => 'EvaluationCount',
+ 'in' => 'query',
+ 'schema' => ['title' => '探测连续次数', 'description' => '重试次数,连续多次监控出现异常,系统才将应用服务判断为异常,以防止因为一些网络瞬间抖动等其他原因影响监控准确率。重试次数可选值为:'."\n"
+ ."\n"
+ .'- 1'."\n"
+ ."\n"
+ .'- 2'."\n"
+ ."\n"
+ .'- 3', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
+ ],
+ [
+ 'name' => 'FailureRate',
+ 'in' => 'query',
+ 'schema' => ['title' => '告警失败率', 'description' => '所选节点探测失败比例(%),即健康检查异常的探测点占探测点总数的百分比,当失败比例超过设置的阈值时,将服务地址判断为异常。可设置的失败比例阈值为:'."\n"
+ ."\n"
+ .'- 20'."\n"
+ ."\n"
+ .'- 50'."\n"
+ ."\n"
+ .'- 80'."\n"
+ ."\n"
+ .'- 100', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'],
+ ],
+ [
+ 'name' => 'ExtendInfo',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Json 字符串扩展信息,各协议检查所需参数:'."\n"
+ ."\n"
+ .'- http(s):'."\n"
+ ."\n"
+ .' host:执行HTTP(S)监控时,指定HTTP(S)请求头部信息中携带的Host字段,用于标识需要访问的具体HTTP网站,默认为主域名,如果目标网站的host有特殊要求,请自行修改;'."\n"
+ ."\n"
+ .' path:HTTP路径,用户HTTP(S)健康检查的URL路径配置,系统默认填写“/”;'."\n"
+ ."\n"
+ .' code:当执行HTTP(S)监控时,根据Web服务器的返回码判断Web服务器是否正常工作,大于返回码报警阈值时,系统认为应用服务出现异常:'."\n"
+ ."\n"
+ .' - 400:Bad Request,即如果HTTP(S)请求携带了错误的请求参数,Web服务器将返回大于400的返回码,如果校验内容设置为“异常码大于400”,请务必在URL路径中填写精确的URL访问路径参数;'."\n"
+ ."\n"
+ .' - 500:Server Error,即如果Web服务器出现了某些异常,将返回大于500的异常码,系统默认使用大于500的异常码作为报警阈值;'."\n"
+ ."\n"
+ .' sni:是否开启sni,仅在HTTPS协议时使用。SNI(Server Name Indication)是TLS协议的一个扩展,它允许客户端在发起TLS握手时指定想要连接的主机名。由于TLS握手发生在HTTP请求的任何数据被发送之前,SNI允许服务器在发送证书之前知道客户端试图访问的服务,这使得服务器可以选择正确的证书来呈现给客户端。'."\n"
+ ."\n"
+ .' - true-开启'."\n"
+ .' '."\n"
+ .' - false-未开启'."\n"
+ .' '."\n"
+ .' followRedirect:是否跟随3XX重定向'."\n"
+ ."\n"
+ .' - true:监控点获取的状态码为3XX (301,302,303, 307,308) 时,跟随跳转;'."\n"
+ ."\n"
+ .' - false:不跳转;'."\n"
+ ."\n"
+ .'- ping:'."\n"
+ ."\n"
+ .' packetNum:每次Ping监控,同时发出多少个ICMP数据包,可选20、50、100'."\n"
+ ."\n"
+ .' packetLossRate:异常时丢包率,每次ping监控,对发出的ICMP数据包,计算丢包率(%)。丢包率=(丢失数据包/发送的总ICMP数据包数目)* 100%,达到丢包率阈值时,异常报警。丢包率可选值为:10、30、40、80、90、100', 'type' => 'string', 'required' => false, 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}'],
+ ],
+ [
+ 'name' => 'IspCityNodes',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'title' => '递归解析代理状态',
- 'description' => '是否开启子域名递归代理。取值:'."\n"
- ."\n"
- .'zone: 关闭(当解析本域名下不存在的子域名时,直接返回NXDOMAIN,表示子域名不存在)'."\n"
- .'record: 开启(当解析本域名下不存在的子域名时,会依次查询“转发”和“递归”模块,并以最终查询到的解析结果来应答解析请求)',
- 'type' => 'string',
+ 'title' => '探测节点列表',
+ 'description' => '探测节点列表,具体信息可通过调用 [ListCloudGtmMonitorNodes](~~2797327~~)获取。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '探测节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['title' => '探测节点 城市 code', 'description' => '探测节点-城市编码。', 'type' => 'string', 'required' => false, 'example' => '503'],
+ 'IspCode' => ['title' => '探测节点 isp code', 'description' => '探测节点-运营商编码。', 'type' => 'string', 'required' => false, 'example' => '465'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => 'record',
],
],
],
@@ -33507,159 +23903,169 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'Success' => ['description' => '修改健康探测模板操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","type":"json"}]',
- 'title' => '修改HTTPDNS内置权威域名zone递归代理模式',
- 'description' => '每个IP段的IP地址必须满足: EndIp >=StartIp。<br>'."\n"
- .'域名下所有自定义线路中的所有IP段,IP范围都不能交叉重叠。',
- ],
- 'AddRecursionRecord' => [
- 'summary' => '新增递归解析内置权威解析记录。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改健康探测模板',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmMonitorTemplate'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmMonitorTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCloudGtmMonitorTemplateRemark' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
- [
- 'BearerToken' => [],
- ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '243563',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'UserClientIp',
+ 'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'description' => '用户端IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.168.0.1',
- ],
+ 'schema' => ['description' => '返回结果显示的语言。取值:'."\n"
+ ."\n"
+ .'- zh-CN:中文'."\n"
+ ."\n"
+ .'- en-US:英文', 'type' => 'string', 'required' => false, 'example' => 'en-US'],
],
[
- 'name' => 'ZoneId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'Zone ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '173671468000011',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '用户生成的请求token。用于保证请求的幂等性。注意 由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '1ae05db4-10e7-11ef-b126-00163e24**22'],
],
[
- 'name' => 'Rr',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'description' => '主机记录。主机记录就是域名前缀,常见用法有www、@、*(泛解析)、mail(常用于邮箱)。'."\n"
- ."\n"
- .'例如要解析@.exmaple.com,主机记录要填写"@”,而不是空。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www',
- ],
+ 'schema' => ['title' => '地址 ID', 'description' => '健康探测模板ID,唯一标识健康探测模板。', 'type' => 'string', 'required' => true, 'example' => 'mtp-89518052455928**00'],
],
[
- 'name' => 'Type',
+ 'name' => 'Remark',
'in' => 'query',
+ 'schema' => ['title' => '备注', 'description' => '填写更新后的备注,传空值则删除备注。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '解析记录类型,目前支持如下: A:IPV4记录,支持将域名映射到IPv4地址使用 AAAA:IPV6记录,支持将域名映射到IPv6地址使用 CNAME:别名记录,支持将域名指向另外一个域名 MX:电邮交互记录,支持将域名指向邮件服务器地址 TXT:文本记录,是任意可读的文本DNS记录 SRV:服务器资源记录,用来标识某台服务器使用了某个服务,常见于微软系统的目录管理 NS:名称服务器记录,支持将子域名委托给其他DNS服务商解析 CAA:CAA资源记录,可以限定域名颁发证书和CA(证书颁发机构)之间的联系 URL:将域名指向另外一个已经存在的站点 SVCB:服务绑定记录,主要用于服务发现,以DNS记录的方式披露服务支持的协议和服务参数信息 HTTPS:针对HTTPS服务的特定记录类型,使用HTTPS记录,可约定安全的HTTPS建连协议,以及最优的服务站点地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'A',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'Success' => ['description' => '修改健康探测模板备注操作是否成功:'."\n"
+ ."\n"
+ .'- true:操作成功'."\n"
+ ."\n"
+ .'- false:操作失败', 'type' => 'boolean', 'example' => 'true'],
+ ],
],
],
+ ],
+ 'title' => '修改健康探测模板备注',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmMonitorTemplateRemark'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'RequestSource',
- 'in' => 'query',
- 'schema' => [
- 'description' => '解析线路,默认为**default**。参见:'."\n"
- ."\n"
- .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
- ."\n"
- .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmMonitorTemplateRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateCustomLine' => [
+ 'summary' => '通过自定义线路唯一ID编辑自定义线路。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Weight',
- 'in' => 'query',
- 'schema' => [
- 'description' => '权重值(1-100 内的整数,包括 1 和 100,默认为1),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns3O7H9R'],
+ ],
+ 'parameters' => [
[
- 'name' => 'Priority',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => 'MX记录的优先级。取值越小,优先级越高,取值范围:[1,99]。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Ttl',
+ 'name' => 'LineName',
'in' => 'query',
- 'schema' => [
- 'description' => '本地缓存时间。目前取值仅支持5、30、60、3600(1小时)、43200(12小时)、86400(24小时),单位秒(s),默认60。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '自定义线路名称,长度限制为1-20个字符,允许包含中文、字母、数字、\'-\'、\'_\'这些字符。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '望京线路'],
],
[
- 'name' => 'Value',
+ 'name' => 'LineId',
'in' => 'query',
- 'schema' => [
- 'description' => '记录值。根据不同解析记录类型,填写相应的记录值。'."\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.1.1',
- ],
+ 'schema' => ['description' => '自定义线路唯一ID。可通过调用[DescribeCustomLines](~~2355671~~)获取。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1*******'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'IpSegment',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
+ 'description' => 'IP段列表。IP与IP之间用中横线“-”间隔; 每行一个IP段,最少1行最多50行;只有一个IP填写IP1-IP1,不同IP段不能交叉。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'ip段列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'EndIp' => ['description' => 'IP段的结束IP。', 'type' => 'string', 'required' => false, 'example' => '2.2.XX.XX'],
+ 'StartIp' => ['description' => 'IP段的开始IP。', 'type' => 'string', 'required' => false, 'example' => '1.1.XX.XX'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => '6447728c8578e66aacf062d2df4446dc'."\n",
+ 'maxItems' => 500,
],
],
],
@@ -33668,71 +24074,77 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925',
- ],
- 'Success' => [
- 'description' => '本次操作是否成功:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RecordId' => [
- 'description' => '解析记录的ID。',
- 'type' => 'string',
- 'example' => '173671468000010',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => 'B57C121B-A45F-44D8-A9B2-13E5A5044195'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"Success\\": true,\\n \\"RecordId\\": \\"173671468000010\\"\\n}","type":"json"}]',
- 'title' => '新增HTTPDNS内置权威解析记录',
- 'description' => '- 查询可以指定域名(DomainName)、页码(PageNumber)和每页的数量(PageSize)来获取域名的解析列表。'."\n"
- .'- 查询可以指定解析记录的主机记录关键字(RRKeyWord)、解析类型关键字(TypeKeyWord)或者记录值的关键字(ValueKeyWord)来查询含有该关键字的解析列表。'."\n"
- .'- 解析列表的默认排序方式是按照解析添加的时间从新到旧排序的。'."\n"
- .'- 可以指定域名分组的ID(GroupId),全部域名代表所有域名、默认分组代表未设置分组的域名。',
- ],
- 'DescribeRecursionRecord' => [
- 'summary' => '查询HTTPDNS内置权威解析记录详情',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '编辑自定义线路',
+ 'description' => '每个IP段的IP地址必须满足: EndIp >=StartIp。<br>'."\n"
+ .'域名下所有自定义线路中的所有IP段,IP范围都不能交叉重叠。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCustomLine'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCustomLine',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B57C121B-A45F-44D8-A9B2-13E5A5044195\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateCustomLineResponse>\\n <RequestId>B57C121B-A45F-44D8-A9B2-13E5A5044195</RequestId>\\n</UpdateCustomLineResponse>","errorExample":""}]',
+ ],
+ 'UpdateDNSSLBWeight' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
+ 'name' => 'Lang',
+ 'in' => 'query',
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
+ ],
+ [
+ 'name' => 'UserClientIp',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.1'],
+ ],
+ [
'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录id,解析记录的唯一标识',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1917628665627259904',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '解析记录ID。<props="china">可通过调取[DescribeDomainRecords](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取。</props><props="intl">可通过调取[DescribeDomainRecords](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取。</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '9********'],
+ ],
+ [
+ 'name' => 'Weight',
+ 'in' => 'query',
+ 'schema' => ['description' => '要修改的权重值`[1-100]`。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '2'],
],
],
'responses' => [
@@ -33740,112 +24152,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'ZoneId' => [
- 'title' => 'zone ID',
- 'description' => 'zone ID',
- 'type' => 'string',
- 'example' => '172635074000011',
- ],
- 'RecordId' => [
- 'title' => 'record ID',
- 'description' => 'record ID',
- 'type' => 'string',
- 'example' => '1903634198947606528',
- ],
- 'Rr' => [
- 'title' => '解析记录名称',
- 'description' => '主机记录',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Type' => [
- 'title' => '解析记录类型',
- 'description' => '解析记录类型',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Value' => [
- 'title' => '解析记录值',
- 'description' => '解析记录值',
- 'type' => 'string',
- 'example' => '1.1.XX.XX',
- ],
- 'Weight' => [
- 'title' => '权重',
- 'description' => '权重',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Ttl' => [
- 'title' => 'ttl',
- 'description' => 'ttl',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Priority' => [
- 'title' => 'ttl',
- 'description' => 'MX记录的优先级',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Remark' => [
- 'title' => '解析记录值',
- 'description' => '备注',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '2024-03-23T13:09Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '修改时间',
- 'type' => 'string',
- 'example' => '2024-03-29T13:20Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '更新时间(时间戳)',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1527690629357',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'RecordId' => ['description' => '解析记录ID。', 'type' => 'string', 'example' => '9*******'],
+ 'Weight' => ['description' => '修改后的权重值。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"ZoneId\\": \\"172635074000011\\",\\n \\"RecordId\\": \\"1903634198947606528\\",\\n \\"Rr\\": \\"test\\",\\n \\"Type\\": \\"A\\",\\n \\"Value\\": \\"1.1.XX.XX\\",\\n \\"Weight\\": 2,\\n \\"Ttl\\": 60,\\n \\"Priority\\": 1,\\n \\"Remark\\": \\"test\\",\\n \\"CreateTime\\": \\"2024-03-23T13:09Z\\",\\n \\"CreateTimestamp\\": 1527690629357,\\n \\"UpdateTime\\": \\"2024-03-29T13:20Z\\",\\n \\"UpdateTimestamp\\": 1527690629357\\n}","type":"json"}]',
- 'title' => '查询HTTPDNS内置权威解析记录详情',
- ],
- 'UpdateRecursionRecord' => [
- 'summary' => '修改HTTPDNS内置权威解析记录',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改权重',
+ 'summary' => '根据传入参数修改解析记录的权重。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDNSSLBWeight'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDNSSLBWeight',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordId\\": \\"9*******\\",\\n \\"Weight\\": 2\\n}","errorExample":""},{"type":"xml","example":"<UpdateDNSSLBWeightResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <RecordId>9999985</RecordId>\\n <Weight>2</Weight>\\n</UpdateDNSSLBWeightResponse>","errorExample":""}]',
+ ],
+ 'UpdateDnsCacheDomain' => [
+ 'summary' => '根据传入参数更新 DNS 权威代理域名。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
@@ -33853,116 +24204,68 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsB25P4Z'],
],
'parameters' => [
[
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21079fa016944979537637959d09bc',
- ],
- ],
- [
- 'name' => 'RecordId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录的ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '9*******',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n"
+ .'默认为**zh**', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Rr',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'title' => '解析记录名称',
- 'description' => '主机记录。主机记录就是域名前缀,常见用法有www、@、*(泛解析)、mail(常用于邮箱)。'."\n"
- ."\n"
- .'例如要解析@.exmaple.com,主机记录要填写"@”,而不是空。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'Type',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'title' => '解析记录类型',
- 'description' => '解析记录类型,目前支持如下: A:IPV4记录,支持将域名映射到IPv4地址使用 AAAA:IPV6记录,支持将域名映射到IPv6地址使用 CNAME:别名记录,支持将域名指向另外一个域名 MX:电邮交互记录,支持将域名指向邮件服务器地址 TXT:文本记录,是任意可读的文本DNS记录 SRV:服务器资源记录,用来标识某台服务器使用了某个服务,常见于微软系统的目录管理',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'A',
- ],
+ 'schema' => ['description' => '权威代理域名实例ID。<props="china">可通过调用[ListCloudGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[ListCloudGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'dns-sg-l*******'],
],
[
- 'name' => 'RequestSource',
+ 'name' => 'CacheTtlMin',
'in' => 'query',
- 'schema' => [
- 'title' => '请求来源',
- 'description' => '解析线路,默认为**default**。参见:'."\n"
- ."\n"
- .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
- ."\n"
- .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'WebSDK',
- ],
+ 'schema' => ['description' => '回源缓存数据TTL(最小值),取值范围为30 - 86400', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '86400', 'minimum' => '30', 'example' => '30'],
],
[
- 'name' => 'Weight',
+ 'name' => 'CacheTtlMax',
'in' => 'query',
- 'schema' => [
- 'title' => '权重',
- 'description' => '权重值(1-100 内的整数,包括 1 和 100,默认为1),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '回源缓存数据TTL(最大值),取值范围为30 - 86400', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'maximum' => '86400', 'minimum' => '30', 'example' => '86400'],
],
[
- 'name' => 'Priority',
+ 'name' => 'SourceProtocol',
'in' => 'query',
- 'schema' => [
- 'title' => '优先级',
- 'description' => 'MX记录的优先级。取值越小,优先级越高,取值范围:[1,99]。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '回源协议,TCP、UDP,默认值为UDP', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'UDP'],
],
[
- 'name' => 'Ttl',
+ 'name' => 'SourceEdns',
'in' => 'query',
- 'schema' => [
- 'title' => 'ttl',
- 'description' => '本地缓存时间。目前取值仅支持5、30、60、3600(1小时)、43200(12小时)、86400(24小时),单位秒(s),默认60。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '源站是否支持edns。'."\n"
+ .'NOT_SUPPORT:不支持,SUPPORT:支持', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'SUPPORT'],
],
[
- 'name' => 'Value',
+ 'name' => 'SourceDnsServer',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'title' => '解析记录值',
- 'description' => '记录值。根据不同解析记录类型,填写相应的记录值。',
- 'type' => 'string',
+ 'description' => '源站DNS服务器列表,最多支持添加10条记录',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '源站DNS服务器',
+ 'type' => 'object',
+ 'properties' => [
+ 'Host' => ['description' => '源站服务器的域名或IP地址', 'type' => 'string', 'required' => false, 'example' => '192.168.0.1'."\n"],
+ 'Port' => ['description' => '源站DNS服务器端口', 'type' => 'string', 'required' => false, 'example' => '53'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => '1.1.XX.XX',
+ 'maxItems' => 100,
],
],
],
@@ -33971,181 +24274,266 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'RecordId' => [
- 'description' => '解析记录的ID。',
- 'type' => 'string',
- 'example' => '12*****',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"RecordId\\": \\"12*****\\"\\n}","type":"json"}]',
- 'title' => '修改HTTPDNS内置权威解析记录',
- 'description' => '如果被删除的解析记录中存在锁定解析,则该锁定解析不会被删除。',
- ],
- 'ListRecursionRecords' => [
- 'summary' => '查询HTTPDNS内置权威解析记录',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '更新 DNS 权威代理域名',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsCacheDomain'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsCacheDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateDnsCacheDomainRemark' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '241160',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsB25P4Z'],
],
'parameters' => [
[
- 'name' => 'ZoneId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录对应的ZoneId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '17832322323',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,取值:'."\n"
+ ."\n"
+ .'- **zh**:中文'."\n"
+ ."\n"
+ .'- **en**:英文'."\n"
+ ."\n"
+ .'默认为**zh**', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Rr',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '主机记录',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www',
- ],
+ 'schema' => ['description' => '域名名称。<props="china">可通过调用[DescribeDomains](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'Type',
+ 'name' => 'Remark',
'in' => 'query',
+ 'schema' => ['description' => '备注,长度限制50个字符,只可包含中英文数字以及 . 、_、- '."\n"
+ ."\n"
+ .'为空时删除原有备注', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '解析记录类型,目前支持如下: A:IPV4记录,支持将域名映射到IPv4地址使用 AAAA:IPV6记录,支持将域名映射到IPv6地址使用 CNAME:别名记录,支持将域名指向另外一个域名 MX:电邮交互记录,支持将域名指向邮件服务器地址 TXT:文本记录,是任意可读的文本DNS记录 SRV:服务器资源记录,用来标识某台服务器使用了某个服务,常见于微软系统的目录管理',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'A',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '唯一请求识别码', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ ],
],
],
+ ],
+ 'title' => '更新 DNS 权威代理域名备注',
+ 'summary' => '更新目标域名的DNS 权威代理域名备注。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsCacheDomainRemark'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Weight',
- 'in' => 'query',
- 'schema' => [
- 'description' => '解析记录权重 0-100',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsCacheDomainRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/{#DomainName}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateDnsGtmAccessStrategy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'RequestSource',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '解析线路,默认为**default**。参见:'."\n"
- ."\n"
- .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
- ."\n"
- .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'Enable',
+ 'name' => 'StrategyId',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录启用状态,**enable:启用 disable:禁用**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '策略id。可通过调用[DescribeDnsGtmAccessStrategies ](~~2357191~~)获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => "\n"
+ .'hrb**'],
],
[
- 'name' => 'Ttl',
+ 'name' => 'StrategyName',
'in' => 'query',
- 'schema' => [
- 'description' => '本地缓存时间。目前取值仅支持5、30、60、3600(1小时)、43200(12小时)、86400(24小时),单位秒(s),默认60。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'test'],
],
[
- 'name' => 'Remark',
+ 'name' => 'Lines',
'in' => 'query',
- 'schema' => [
- 'description' => '备注',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'remark',
- ],
+ 'schema' => ['description' => '访问区域LineCode列表。例如:`["default", "drpeng"]`,即全局策略和鹏博士。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '["default", "drpeng"]'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'DefaultAddrPoolType',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '主地址池类型:'."\n"
+ ."\n"
+ .'- IPV4'."\n"
+ .'- IPV6'."\n"
+ .'- DOMAIN(域名)', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'IPV4'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'DefaultLbaStrategy',
+ 'in' => 'query',
+ 'schema' => ['description' => '主地址池集合均衡策略:'."\n"
+ ."\n"
+ .'- ALL_RR: 返回全部地址'."\n"
+ .'- RATIO:按权重返回地址', 'type' => 'string', 'required' => false, 'example' => 'ALL_RR'],
+ ],
+ [
+ 'name' => 'DefaultMinAvailableAddrNum',
+ 'in' => 'query',
+ 'schema' => ['description' => '主地址池集合最小可用地址数量。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'maximum' => '400', 'minimum' => '1', 'example' => '1'],
+ ],
+ [
+ 'name' => 'DefaultMaxReturnAddrNum',
'in' => 'query',
+ 'schema' => ['description' => '主地址池集合最多返回地址数量。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '8', 'minimum' => '1', 'example' => '1'],
+ ],
+ [
+ 'name' => 'DefaultLatencyOptimization',
+ 'in' => 'query',
+ 'schema' => ['description' => '主地址池集合延时解析调度优化:'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ .'- CLOSE:关闭', 'type' => 'string', 'required' => false, 'example' => 'OPEN'],
+ ],
+ [
+ 'name' => 'FailoverAddrPoolType',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池类型:'."\n"
+ ."\n"
+ .'- IPV4'."\n"
+ .'- IPV6'."\n"
+ .'- DOMAIN', 'type' => 'string', 'required' => false, 'example' => 'IPV4'],
+ ],
+ [
+ 'name' => 'FailoverLbaStrategy',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池集合均衡策略:'."\n"
+ ."\n"
+ .'- ALL_RR: 返回全部地址'."\n"
+ .'- RATIO:按权重返回地址', 'type' => 'string', 'required' => false, 'example' => 'ALL_RR'],
+ ],
+ [
+ 'name' => 'FailoverMinAvailableAddrNum',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池集合最小可用地址数量。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '400', 'minimum' => '1', 'example' => '1'],
+ ],
+ [
+ 'name' => 'FailoverMaxReturnAddrNum',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池集合最多返回地址数量。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '8', 'minimum' => '1', 'example' => '1'],
+ ],
+ [
+ 'name' => 'FailoverLatencyOptimization',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池集合延时解析调度优化:'."\n"
+ ."\n"
+ .'- OPEN:开启'."\n"
+ .'- CLOSE:关闭', 'type' => 'string', 'required' => false, 'example' => 'OPEN'],
+ ],
+ [
+ 'name' => 'DefaultAddrPool',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => '主地址池集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'LbaWeight' => ['description' => '主地址池集合列表中权重。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'Id' => ['description' => '主地址池集合列表中地址池id。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => 'po***'],
+ ],
+ 'required' => false,
+ ],
'required' => true,
- 'example' => '20',
+ 'maxItems' => 100,
],
],
[
- 'name' => 'NextToken',
+ 'name' => 'FailoverAddrPool',
'in' => 'query',
- 'allowEmptyValue' => false,
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '下一个查询开始Token。',
- 'type' => 'string',
+ 'description' => '备地址池集合,若未设置备地址池集合,输入"EMPTY"。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'LbaWeight' => ['description' => '备地址池集合列表中权重。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'Id' => ['description' => '备地址池集合列表中地址池id。', 'type' => 'string', 'required' => false, 'example' => 'po**'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => '4698691',
+ 'maxItems' => 100,
],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'AccessMode',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'description' => '本次请求所返回的最大记录条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '100',
- ],
+ 'schema' => ['description' => '地址池集合切换策略:'."\n"
+ ."\n"
+ .'- AUTO: 自动切换'."\n"
+ .'- DEFAULT:主地址池集合'."\n"
+ .'- FAILOVER: 备地址池集合', 'type' => 'string', 'required' => false, 'example' => 'DEFAULT'],
],
],
'responses' => [
@@ -34153,229 +24541,117 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'."\n",
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'TotalPages' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'TotalItems' => [
- 'description' => '总记录条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Records' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Record' => [
- 'description' => '解析记录列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '解析记录',
- 'type' => 'object',
- 'properties' => [
- 'ZoneId' => [
- 'title' => 'zone ID',
- 'description' => '解析记录对应的ZoneId',
- 'type' => 'string',
- 'example' => '169439170000011',
- ],
- 'RecordId' => [
- 'title' => 'record ID',
- 'description' => '解析记录ID,解析记录的唯一标识',
- 'type' => 'string',
- 'example' => '1897105298264316928',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '2023-06-28T09:16Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1721119172000',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '修改时间',
- 'type' => 'string',
- 'example' => '2024-10-22T09:54Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1620283051000',
- ],
- 'Rr' => [
- 'title' => 'record 名称',
- 'description' => '主机记录',
- 'type' => 'string',
- 'example' => 'wap',
- ],
- 'Type' => [
- 'title' => 'record 类型',
- 'description' => '解析记录类型',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Ttl' => [
- 'title' => 'ttl',
- 'description' => '解析记录ttl',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Priority' => [
- 'title' => '优先级',
- 'description' => 'MX记录的优先级',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Value' => [
- 'title' => '解析记录值',
- 'description' => '解析记录值',
- 'type' => 'string',
- 'example' => '120.38.70.54',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态',
- 'description' => '启用状态',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '备注',
- 'type' => 'string',
- 'example' => '1150',
- ],
- 'RequestSource' => [
- 'title' => '请求来源',
- 'description' => '请求来源',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'Weight' => [
- 'description' => '解析记录权重',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Creator' => [
- 'title' => '创建者',
- 'description' => '创建者ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123121312',
- ],
- 'CreatorType' => [
- 'title' => '创建者类型',
- 'description' => '创建者类型 user用户,system系统',
- 'type' => 'string',
- 'example' => 'user',
- ],
- 'CreatorSubType' => [
- 'title' => '创建者子类型',
- 'description' => '账号类型。说明:'."\n"
- ."\n"
- .'custom:主账号 sub:子账号 sts:角色扮演 other:其他',
- 'type' => 'string',
- 'example' => 'custom',
- ],
- ],
- ],
- ],
- ],
- ],
- 'MaxResults' => [
- 'description' => '本次请求所返回的最大记录条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '500',
- ],
- 'NextToken' => [
- 'description' => '下一个查询开始Token。',
- 'type' => 'string',
- 'example' => '4698691',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
+ 'StrategyId' => ['description' => '策略id。', 'type' => 'string', 'example' => 'testS******'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\\\n\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalPages\\": 5,\\n \\"TotalItems\\": 100,\\n \\"Records\\": {\\n \\"Record\\": [\\n {\\n \\"ZoneId\\": \\"169439170000011\\",\\n \\"RecordId\\": \\"1897105298264316928\\",\\n \\"CreateTime\\": \\"2023-06-28T09:16Z\\",\\n \\"CreateTimestamp\\": 1721119172000,\\n \\"UpdateTime\\": \\"2024-10-22T09:54Z\\",\\n \\"UpdateTimestamp\\": 1620283051000,\\n \\"Rr\\": \\"wap\\",\\n \\"Type\\": \\"A\\",\\n \\"Ttl\\": 60,\\n \\"Priority\\": 10,\\n \\"Value\\": \\"120.38.70.54\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"Remark\\": \\"1150\\",\\n \\"RequestSource\\": \\"default\\",\\n \\"Weight\\": 1,\\n \\"Creator\\": 123121312,\\n \\"CreatorType\\": \\"user\\",\\n \\"CreatorSubType\\": \\"custom\\"\\n }\\n ]\\n },\\n \\"MaxResults\\": 500,\\n \\"NextToken\\": \\"4698691\\"\\n}","type":"json"}]',
- 'title' => '查询HTTPDNS内置权威解析记录',
- ],
- 'DeleteRecursionRecord' => [
- 'summary' => '删除HTTPDNS内置权威解析记录',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'DnsGtmSystemBusyness', 'errorMessage' => ' ', 'description' => ''],
+ ],
],
- 'schemes' => [
- 'https',
+ 'title' => '修改访问策略',
+ 'summary' => '修改访问策略。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsGtmAccessStrategy'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\",\\n \\"StrategyId\\": \\"testS******\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\n<StrategyId>testStrategyId1</StrategyId>","errorExample":""}]',
+ ],
+ 'UpdateDnsGtmAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'BearerToken' => [],
+ 'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'RecordId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录id,解析记录的唯一标识',
- 'type' => 'string',
- 'required' => false,
- 'example' => '17432432424',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'AddrPoolId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地址池id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_7.1cee430dbd1I3y)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPools ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspools?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'testp******'],
+ ],
+ [
+ 'name' => 'Name',
'in' => 'query',
+ 'schema' => ['description' => '地址池名称。', 'type' => 'string', 'required' => false, 'example' => 'testpoolname'],
+ ],
+ [
+ 'name' => 'LbaStrategy',
+ 'in' => 'query',
+ 'schema' => ['description' => '负载均衡策略:'."\n"
+ ."\n"
+ .'- ALL_RR: 返回全部地址'."\n"
+ .'- RATIO:按权重返回地址', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ALL_RR'],
+ ],
+ [
+ 'name' => 'Addr',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21079fa016944979537637959d09bc',
+ 'description' => '地址池列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeInfo' => ['description' => '地址归属信息,JSON化字符串格式。'."\n"
+ ."\n"
+ .'- LineCode:归属线路Code(已废弃,以lineCodes数据为准)'."\n"
+ .'- lineCodes:归属线路Code列表'."\n"
+ .'- lineCodeRectifyType:归属线路订正类型,默认:自动订正'."\n"
+ .' - NO_NEED 不订正'."\n"
+ .' - RECTIFIED 已订正'."\n"
+ .' - AUTO 自动订正'."\n"
+ .' '."\n"
+ ."\n\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => 'Linecode: default'."\n"
+ .'lineCodes: ["default"]'."\n"
+ .'lineCodeRectifyType: AUTO'],
+ 'Remark' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ 'LbaWeight' => ['description' => '权重。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'Addr' => ['description' => '地址。', 'type' => 'string', 'required' => true, 'example' => '1.1.XX.XX'],
+ 'Mode' => ['description' => '模式:'."\n"
+ ."\n"
+ .'- SMART:智能返回'."\n"
+ .'- ONLINE:永远在线'."\n"
+ .'- OFFLINE:永远离线', 'type' => 'string', 'required' => true, 'example' => 'SMART'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 50,
],
],
],
@@ -34384,205 +24660,159 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'."\n",
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\\\n\\"\\n}","type":"json"}]',
- 'title' => '删除HTTPDNS内置权威解析记录',
- ],
- 'SearchRecursionRecords' => [
- 'summary' => '搜索HTTPDNS内置权威解析记录',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'DnsGtmSystemBusyness', 'errorMessage' => ' ', 'description' => ''],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
+ 'title' => '修改地址池',
+ 'summary' => '根据填写的参数修改地址池。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsGtmAddressPool'],
],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'ZoneId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '解析记录对应的ZoneId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '169438909000011',
- 'pattern' => '^\\d+$',
- ],
- ],
- [
- 'name' => 'Rr',
- 'in' => 'query',
- 'schema' => [
- 'description' => '主机记录',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>","errorExample":""}]',
+ ],
+ 'UpdateDnsGtmInstanceGlobalConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '解析记录类型,目前支持如下: A:IPV4记录,支持将域名映射到IPv4地址使用 AAAA:IPV6记录,支持将域名映射到IPv6地址使用 CNAME:别名记录,支持将域名指向另外一个域名 MX:电邮交互记录,支持将域名指向邮件服务器地址 TXT:文本记录,是任意可读的文本DNS记录 SRV:服务器资源记录,用来标识某台服务器使用了某个服务,常见于微软系统的目录管理',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'A',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
+ 'parameters' => [
[
- 'name' => 'Weight',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录权重 0-100',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'RequestSource',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '解析线路,默认为**default**。参见:'."\n"
- ."\n"
- .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
- ."\n"
- .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => 'GTM实例ID。<props="china">可通过调用[DescribeDnsGtmInstances](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_8_8.2aea3618RlSR9K)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstances](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-wwo3a3hbz**'],
],
[
- 'name' => 'EnableStatus',
+ 'name' => 'InstanceName',
'in' => 'query',
- 'schema' => [
- 'description' => '解析记录启用状态,**enable:启用,disable:禁用**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '实例名称:首次更新必填,再次更新则非必填。', 'type' => 'string', 'required' => false, 'example' => 'test-1'],
],
[
'name' => 'Ttl',
'in' => 'query',
- 'schema' => [
- 'description' => '本地缓存时间。目前取值仅支持5、30、60、3600(1小时)、43200(12小时)、86400(一天),单位秒(s),默认60。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '全局TTL。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '9999999', 'minimum' => '1', 'example' => '60'],
],
[
- 'name' => 'Remark',
+ 'name' => 'PublicCnameMode',
'in' => 'query',
- 'schema' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '公网域名接入方式:'."\n"
+ ."\n"
+ .'- SYSTEM_ASSIGN:系统分配(此选项功能关闭)'."\n"
+ .'- CUSTOM:自定义', 'type' => 'string', 'required' => false, 'example' => 'CUSTOM'],
],
[
- 'name' => 'Value',
+ 'name' => 'PublicUserDomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '记录值',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1.1.XX.XX',
- ],
+ 'schema' => ['description' => '业务域名(公网)。', 'type' => 'string', 'required' => false, 'example' => 'example.com'],
],
[
- 'name' => 'OrderBy',
+ 'name' => 'PublicZoneName',
'in' => 'query',
- 'schema' => [
- 'description' => '排序方式:'."\n"
- .'支持rr/type/value/requestSource/weight/ttl/enableStatus',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rr',
- ],
+ 'schema' => ['description' => 'CNAME接入域名(公网):主域名,且当为自定义接入时为必填。'."\n"
+ ."\n"
+ .'> 此处应填入主域名,不包含PublicRr参数内容'."\n", 'type' => 'string', 'required' => false, 'example' => 'www.example.com'],
],
[
- 'name' => 'Direction',
+ 'name' => 'AlertGroup',
'in' => 'query',
- 'schema' => [
- 'description' => '排序方向,asc为生序,dsc为降序。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'asc',
- ],
+ 'schema' => ['description' => '报警组(List<String>的JSON格式)。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '["test1","test2"]'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'CnameType',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'CNAME接入域名类型:'."\n"
+ ."\n"
+ .'- PUBLIC: 公网型', 'type' => 'string', 'required' => false, 'example' => 'PUBLIC'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'AlertConfig',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
+ 'description' => '报警配置列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SmsNotice' => ['description' => '是否配置短信通知:'."\n"
+ ."\n"
+ .'- true:已配置'."\n"
+ .'- false|null : 未配置', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'NoticeType' => ['description' => '报警事件类型:'."\n"
+ ."\n"
+ .'- ADDR_ALERT:地址不可用'."\n"
+ .'- ADDR_RESUME:地址恢复可用'."\n"
+ .'- ADDR_POOL_GROUP_UNAVAILABLE:地址池集合不可用'."\n"
+ .'- ADDR_POOL_GROUP_AVAILABLE:地址池集合恢复可用'."\n"
+ .'- ACCESS_STRATEGY_POOL_GROUP_SWITCH:主备地址池切换'."\n"
+ .'- MONITOR_NODE_IP_CHANGE:监控节点IP地址变更', 'type' => 'string', 'required' => false, 'example' => 'ADDR_ALERT'],
+ 'EmailNotice' => ['description' => '是否配置邮件通知:'."\n"
+ ."\n"
+ .'- true:已配置'."\n"
+ .'- false|null : 未配置', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'DingtalkNotice' => ['description' => '是否需要钉钉报警:'."\n"
+ ."\n"
+ .'- true-需要'."\n"
+ .'- false-不需要', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'PublicRr',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'description' => '本次请求所返回的最大记录条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '100',
- ],
+ 'schema' => ['description' => 'CNAME接入域名(公网):主机名', 'type' => 'string', 'required' => false, 'example' => 'test.rr'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'ForceUpdate',
'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'description' => '下一个查询开始Token。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4698691',
- ],
+ 'schema' => ['description' => '是否强制更新。'."\n"
+ ."\n"
+ .'- true-强制更新,不进行冲突提示。'."\n"
+ .'- false|null-不强制更新,若遇冲突则提示。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -34590,195 +24820,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '数据分页后总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '总数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Records' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Record' => [
- 'description' => '解析记录列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '解析记录',
- 'type' => 'object',
- 'properties' => [
- 'ZoneId' => [
- 'title' => 'zone ID',
- 'description' => 'zone ID',
- 'type' => 'string',
- 'example' => '169783221000012',
- ],
- 'RecordId' => [
- 'title' => 'record ID',
- 'description' => 'record ID',
- 'type' => 'string',
- 'example' => '1927184083990351872',
- ],
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '创建时间',
- 'type' => 'string',
- 'example' => '2025-06-16T02:18Z',
- ],
- 'CreateTimestamp' => [
- 'description' => '创建时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1615182315000',
- ],
- 'UpdateTime' => [
- 'title' => '修改时间',
- 'description' => '修改时间',
- 'type' => 'string',
- 'example' => '2022-10-28T13:07Z',
- ],
- 'UpdateTimestamp' => [
- 'description' => '修改时间(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1722107570000',
- ],
- 'Rr' => [
- 'title' => 'record 名称',
- 'description' => '主机记录',
- 'type' => 'string',
- 'example' => 'wap',
- ],
- 'Type' => [
- 'title' => 'record 类型',
- 'description' => '解析记录类型',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Ttl' => [
- 'title' => 'ttl',
- 'description' => '解析记录ttl',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'Priority' => [
- 'title' => '优先级',
- 'description' => 'MX记录优先级',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Value' => [
- 'title' => '解析记录值',
- 'description' => '解析记录值',
- 'type' => 'string',
- 'example' => '14.19.85.71',
- ],
- 'EnableStatus' => [
- 'title' => '启用状态',
- 'description' => '启用状态,**enable:启用,disable:禁用**',
- 'type' => 'string',
- 'example' => 'enable',
- ],
- 'Remark' => [
- 'title' => '备注',
- 'description' => '备注',
- 'type' => 'string',
- 'example' => 'vxwk',
- ],
- 'RequestSource' => [
- 'title' => '请求来源',
- 'description' => '请求来源',
- 'type' => 'string',
- 'example' => 'default',
- ],
- 'Weight' => [
- 'title' => '权重',
- 'description' => '权重',
- 'type' => 'string',
- 'example' => '4',
- ],
- 'Creator' => [
- 'title' => '创建者',
- 'description' => '创建者ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1521021611066866',
- ],
- 'CreatorType' => [
- 'title' => '创建者类型',
- 'description' => '创建者类型 user用户,system系统',
- 'type' => 'string',
- 'example' => 'user',
- ],
- 'CreatorSubType' => [
- 'title' => '创建者子类型',
- 'description' => '账号类型。说明:'."\n"
- ."\n"
- .'custom:主账号 sub:子账号 sts:角色扮演 other:其他',
- 'type' => 'string',
- 'example' => 'custom',
- ],
- ],
- ],
- ],
- ],
- ],
- 'MaxResults' => [
- 'description' => '本次请求所返回的最大记录条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '500',
- ],
- 'NextToken' => [
- 'description' => '下一个查询开始Token。',
- 'type' => 'string',
- 'example' => '4698691',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF559**'],
],
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'DnsGtmInstance.PublicRrDuplicate.OtherUserInstance', 'errorMessage' => ' ', 'description' => ''],
+ ['errorCode' => 'GtmInstance.CnameModeDeny', 'errorMessage' => ' ', 'description' => ''],
+ ['errorCode' => 'DnsGtmInstance.CnameModeDeny', 'errorMessage' => ' ', 'description' => ''],
+ ['errorCode' => 'DnsGtmSystemBusyness', 'errorMessage' => ' ', 'description' => ''],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 100,\\n \\"Records\\": {\\n \\"Record\\": [\\n {\\n \\"ZoneId\\": \\"169783221000012\\",\\n \\"RecordId\\": \\"1927184083990351872\\",\\n \\"CreateTime\\": \\"2025-06-16T02:18Z\\",\\n \\"CreateTimestamp\\": 1615182315000,\\n \\"UpdateTime\\": \\"2022-10-28T13:07Z\\",\\n \\"UpdateTimestamp\\": 1722107570000,\\n \\"Rr\\": \\"wap\\",\\n \\"Type\\": \\"A\\",\\n \\"Ttl\\": 60,\\n \\"Priority\\": 1,\\n \\"Value\\": \\"14.19.85.71\\",\\n \\"EnableStatus\\": \\"enable\\",\\n \\"Remark\\": \\"vxwk\\",\\n \\"RequestSource\\": \\"default\\",\\n \\"Weight\\": \\"4\\",\\n \\"Creator\\": 1521021611066866,\\n \\"CreatorType\\": \\"user\\",\\n \\"CreatorSubType\\": \\"custom\\"\\n }\\n ]\\n },\\n \\"MaxResults\\": 500,\\n \\"NextToken\\": \\"4698691\\"\\n}","type":"json"}]',
- 'title' => '搜索HTTPDNS内置权威解析记录',
- ],
- 'UpdateRecursionRecordEnableStatus' => [
- 'summary' => '修改HTTPDNS内置权威解析记录启用状态',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改GTM实例全局配置',
+ 'summary' => '通过GTM实例ID修改实例配置。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsGtmInstanceGlobalConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsGtmInstanceGlobalConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF559**\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>","errorExample":""}]',
+ ],
+ 'UpdateDnsGtmMonitor' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -34786,46 +24871,101 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21079fa016944979537637959d09bc',
- ],
+ 'schema' => ['description' => '部分返回参数语言。默认值:en。取值范围:en、zh、ja。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'RecordId',
+ 'name' => 'MonitorConfigId',
'in' => 'query',
- 'schema' => [
- 'title' => '解析记录id',
- 'description' => '解析记录id,解析记录的唯一标识',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1781234321',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '健康检查配置id。<props="china">可通过调用[DescribeDnsGtmInstanceAddressPool](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_9_6.7db77000nMCPI1)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDnsGtmInstanceAddressPool](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describednsgtminstanceaddresspool?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Monito******'],
],
[
- 'name' => 'EnableStatus',
+ 'name' => 'ProtocolType',
+ 'in' => 'query',
+ 'schema' => ['description' => '检查协议:'."\n"
+ ."\n"
+ .'- HTTP'."\n"
+ .'- HTTPS'."\n"
+ .'- PING'."\n"
+ .'- TCP', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'http'],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => ['description' => '检查间隔,单位秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '60', 'minimum' => '15', 'example' => '60'],
+ ],
+ [
+ 'name' => 'EvaluationCount',
+ 'in' => 'query',
+ 'schema' => ['description' => '连续次数。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '3', 'minimum' => '1', 'example' => '2'],
+ ],
+ [
+ 'name' => 'Timeout',
'in' => 'query',
+ 'schema' => ['description' => '超时时间,单位毫秒。'."\n"
+ ."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10000', 'minimum' => '1000', 'example' => '3000'],
+ ],
+ [
+ 'name' => 'MonitorExtendInfo',
+ 'in' => 'query',
+ 'schema' => ['description' => '扩展信息,各协议检查所需参数:'."\n"
+ ."\n"
+ .'- HTTP(S):'."\n"
+ ."\n"
+ .' - port:检查端口'."\n"
+ .' - host:Host设置'."\n"
+ .' - path:URL路径'."\n"
+ .' - code:返回码大于设定值时则认为健康检查异常,例如设置为400,当返回码为404时,判定健康检查结果异常。'."\n"
+ .' - failureRate:失败率'."\n"
+ .' - sni:是否开启sni,仅在HTTPS协议时使用。'."\n"
+ .' - true-开启'."\n"
+ .' - false-未开启'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6'."\n"
+ ."\n"
+ .'- PING:'."\n"
+ ."\n"
+ .' - failureRate:失败率'."\n"
+ .' - packetNum:ping包数'."\n"
+ .' - packetLossRate:ping丢包率'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6'."\n"
+ ."\n"
+ .'- TCP:'."\n"
+ ."\n"
+ .' - port:检查端口'."\n"
+ .' - failureRate:失败率'."\n"
+ .' - nodeType:地址池类型为DOMAIN时,健康检查监控节点类型:'."\n"
+ .' - IPV4'."\n"
+ .' - IPV6', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}'],
+ ],
+ [
+ 'name' => 'IspCityNode',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'title' => '启用状态',
- 'description' => '启用状态,**enable:启用 disable:禁用**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
+ 'description' => '监控城市节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '监控节点-城市Code。', 'type' => 'string', 'required' => false, 'example' => '123'],
+ 'IspCode' => ['description' => '监控节点-运营商code。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '123'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 50,
],
],
],
@@ -34834,27 +24974,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'."\n",
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\\\n\\"\\n}","type":"json"}]',
- 'title' => '修改HTTPDNS内置权威解析记录启用状态',
- ],
- 'UpdateRecursionRecordWeight' => [
- 'summary' => '修改HTTPDNS内置权威解析记录权重',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改健康检查',
+ 'summary' => '修改健康检查。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsGtmMonitor'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsGtmMonitor',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'MonitorConfig', 'arn' => 'acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>","errorExample":""}]',
+ ],
+ 'UpdateDomainGroup' => [
+ 'summary' => '根据传入参数修改域名分组名称。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -34866,45 +25022,28 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '243565',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21079fa016944979537637959d09bc',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'RecordId',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'title' => '解析记录id',
- 'description' => '解析记录id,解析记录的唯一标识',
- 'type' => 'string',
- 'required' => false,
- 'example' => '17363242424',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '要修改名称的域名分组ID。<props="china">可通过调用[DescribeDomainGroups ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomainGroups ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomaingroups?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '60bb3ef15ace449082cf914ed3ea****'],
],
[
- 'name' => 'Weight',
+ 'name' => 'GroupName',
'in' => 'query',
- 'schema' => [
- 'title' => '权重',
- 'description' => '权重 支持0-100',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '域名分组修改后的新名称。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'NewName'],
],
],
'responses' => [
@@ -34912,31 +25051,51 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'."\n",
- ],
+ 'GroupName' => ['description' => '域名分组新名称。', 'type' => 'string', 'example' => 'NewName'],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'GroupId' => ['description' => '域名分组ID。', 'type' => 'string', 'example' => '60bb3ef15ace449082cf914ed3ea****'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\\\n\\"\\n}","type":"json"}]',
- 'title' => '修改HTTPDNS内置权威解析记录权重',
- ],
- 'UpdateRecursionRecordWeightEnableStatus' => [
- 'summary' => '修改递归解析内置权威解析记录权重算法启用状态',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改域名分组的名称',
+ 'description' => '将已创建的域名分组,修改名称',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDomainGroup'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDomainGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'group', 'arn' => 'acs:alidns::{#accountId}:group/{#groupId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"GroupName\\": \\"NewName\\",\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"GroupId\\": \\"60bb3ef15ace449082cf914ed3ea****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateDomainGroupResponse>\\r\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\r\\n <GroupId>2223</GroupId>\\r\\n <GroupName>NewName</GroupName>\\r\\n</UpdateDomainGroupResponse>","errorExample":""}]',
+ ],
+ 'UpdateDomainRecord' => [
+ 'summary' => '根据传入参数修改解析记录。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'BearerToken' => [],
+ ],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
@@ -34944,80 +25103,66 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '21079fa016944979537637959d09bc',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'ZoneId',
+ 'name' => 'UserClientIp',
'in' => 'query',
- 'schema' => [
- 'title' => 'zone id',
- 'description' => 'zone id,解析记录对应的域名ZoneId',
- 'type' => 'string',
- 'required' => false,
- 'example' => '176432424234',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.1'],
],
[
- 'name' => 'Rr',
+ 'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'title' => '解析记录名称',
- 'description' => '主机记录',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www',
- ],
+ 'schema' => ['description' => '解析记录的ID。可通过调取[DescribeDomainRecords](~~2357159~~)接口获取。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '99*******'],
+ ],
+ [
+ 'name' => 'RR',
+ 'in' => 'query',
+ 'schema' => ['description' => '主机记录。'."\n"
+ .'当设置主域名解析(如example.com)时,主机记录应填写"@"符号。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '@'],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'title' => '解析记录类型',
- 'description' => '解析记录类型,目前支持如下: A:IPV4记录,支持将域名映射到IPv4地址使用 AAAA:IPV6记录,支持将域名映射到IPv6地址使用 CNAME:别名记录,支持将域名指向另外一个域名 MX:电邮交互记录,支持将域名指向邮件服务器地址 TXT:文本记录,是任意可读的文本DNS记录 SRV:服务器资源记录,用来标识某台服务器使用了某个服务,常见于微软系统的目录管理',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'A',
- ],
+ 'schema' => ['description' => '解析记录类型,参见:'."\n"
+ .'<props="china">[解析记录类型格式](https://help.aliyun.com/document_detail/29805.html)。</props>'."\n"
+ .'<props="intl">[解析记录类型格式](https://www.alibabacloud.com/help/zh/doc-detail/29805.htm)。</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'A'],
],
[
- 'name' => 'RequestSource',
+ 'name' => 'Value',
'in' => 'query',
- 'schema' => [
- 'title' => '请求来源',
- 'description' => '解析线路,默认为**default**。参见:'."\n"
- ."\n"
- .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
- ."\n"
- .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default',
- ],
+ 'schema' => ['description' => '记录值。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '192.0.2.1'],
],
[
- 'name' => 'EnableStatus',
+ 'name' => 'TTL',
'in' => 'query',
- 'schema' => [
- 'title' => '启用状态',
- 'description' => '是否开启权重,enable:开启,disable:关闭',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enable',
- ],
+ 'schema' => ['description' => '解析生效时间,默认为600秒(10分钟)。'."\n"
+ .'参见:'."\n"
+ .'<props="china">[TTL定义说明](https://help.aliyun.com/document_detail/29806.html)。</props>'."\n"
+ .'<props="intl">[TTL定义说明](https://www.alibabacloud.com/help/zh/doc-detail/29806.htm)。</props>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '86400', 'minimum' => '1', 'example' => '600', 'default' => '600'],
+ ],
+ [
+ 'name' => 'Priority',
+ 'in' => 'query',
+ 'schema' => ['description' => 'MX记录的优先级,取值范围:`[1,50]`。'."\n"
+ ."\n"
+ .'记录类型为MX记录时,此参数必填。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '65535', 'minimum' => '0', 'example' => '1'],
+ ],
+ [
+ 'name' => 'Line',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析线路,默认为**default**。'."\n"
+ .'参见:'."\n"
+ .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)。</props>'."\n"
+ .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)。</props>', 'type' => 'string', 'required' => false, 'example' => 'default', 'default' => 'default'],
],
],
'responses' => [
@@ -35025,75 +25170,79 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'."\n",
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
+ 'RecordId' => ['description' => '解析记录的ID。', 'type' => 'string', 'example' => '99******'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\\\n\\"\\n}","type":"json"}]',
- 'title' => '修改HTTPDNS内置权威解析记录权重算法启用状态',
- ],
- 'UpdateRecursionRecordRemark' => [
- 'summary' => '修改HTTPDNS内置权威解析记录备注',
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'https',
+ 'title' => '修改域名解析记录',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '60', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDomainRecord'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDomainRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"RecordId\\": \\"99******\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateDomainRecordResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n <RecordId>9999985</RecordId>\\n</UpdateDomainRecordResponse>","errorExample":""}]',
+ ],
+ 'UpdateDomainRecordRemark' => [
+ 'summary' => '根据传入参数修改解析记录的备注。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns379HH9',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'e432232342423ew423',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'],
+ ],
+ [
+ 'name' => 'UserClientIp',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户端IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.2.1'],
],
[
'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'title' => 'record id',
- 'description' => 'record id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '173671468000010',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '解析记录的ID。<props="china">可通过调取[DescribeDomainRecords](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c4g.11186623.help-menu-search-29697.d_0)接口获取。</props>'."\n"
+ .'<props="intl">可通过调取[DescribeDomainRecords](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomainrecords?spm=a2c63.p38356.help-menu-search-29697.d_0)接口获取。</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '12*****'],
],
[
'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'title' => '备注',
- 'description' => '备注',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '您的解析记录的备注信息。默认为空,为空时删除原备注信息', 'type' => 'string', 'required' => false, 'example' => '我的第一个解析记录'],
],
],
'responses' => [
@@ -35101,76 +25250,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","type":"json"}]',
- 'title' => '修改HTTPDNS内置权威解析记录备注',
- ],
- 'DescribeDohAccountStatistics' => [
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改解析记录的备注',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDomainRecordRemark'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDomainRecordRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateDomainRecordRemarkResponse>\\n <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n</UpdateDomainRecordRemarkResponse>","errorExample":""}]',
+ ],
+ 'UpdateDomainRemark' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns7SH50L'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'cn'],
],
[
- 'name' => 'StartDate',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2019-07-04',
- ],
+ 'schema' => ['description' => '云解析中已存在的域名。<props="china">可通过调用[DescribeDomains ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c4g.11186623.help-menu-search-29697.d_0)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeDomains ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'example.com'],
],
[
- 'name' => 'EndDate',
+ 'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2019-07-04',
- ],
+ 'schema' => ['description' => '域名的备注信息。'."\n"
+ ."\n"
+ .'不超过50个字符,可以包含数字、中文、英文和特殊字符:_ - , . ,。', 'type' => 'string', 'required' => false, 'example' => '这是我在阿里云解析的第一个域名'],
],
],
'responses' => [
@@ -35178,140 +25326,78 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码',
- 'type' => 'string',
- 'example' => '0F32959D-417B-4D66-8463-68606605E3E2',
- ],
- 'Statistics' => [
- 'description' => '统计数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'V6HttpCount' => [
- 'description' => 'IPv6 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V4HttpsCount' => [
- 'description' => 'IPv4 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'Timestamp' => [
- 'description' => '统计时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1544976000000',
- ],
- 'TotalCount' => [
- 'description' => '请求总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V4HttpCount' => [
- 'description' => 'IPv4 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V6HttpsCount' => [
- 'description' => 'IPv6 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"Statistics\\": [\\n {\\n \\"V6HttpCount\\": 3141592653,\\n \\"V4HttpsCount\\": 3141592653,\\n \\"Timestamp\\": 1544976000000,\\n \\"TotalCount\\": 3141592653,\\n \\"V4HttpCount\\": 3141592653,\\n \\"V6HttpsCount\\": 3141592653\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDohAccountStatisticsResponse>\\n <RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n <Statistics>\\n <V6HttpCount>3141592653</V6HttpCount>\\n <V4HttpsCount>3141592653</V4HttpsCount>\\n <Timestamp>1544976000000</Timestamp>\\n <TotalCount>3141592653</TotalCount>\\n <V4HttpCount>3141592653</V4HttpCount>\\n <V6HttpsCount>3141592653</V6HttpsCount>\\n </Statistics>\\n</DescribeDohAccountStatisticsResponse>","errorExample":""}]',
- 'title' => '获取DoH账户请求量统计概览',
- 'summary' => '获取DoH账户请求量统计概览。',
+ 'title' => '修改域名的备注',
+ 'summary' => '根据传入参数修改域名的备注。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDohDomainStatistics' => [
- 'summary' => '获取DoH域名请求量统计概览。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDomainRemark'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDomainRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateDomainRemarkResponse>\\n<RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>\\n</UpdateDomainRemarkResponse>","errorExample":""}]',
+ ],
+ 'UpdateGtmAccessStrategy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdns5Q9UHE',
- ],
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'StrategyId',
'in' => 'query',
- 'schema' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'example.com',
- ],
+ 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hrmxc'],
],
[
- 'name' => 'StartDate',
+ 'name' => 'StrategyName',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2019-07-04',
- ],
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => false, 'example' => '访问策略测试'],
],
[
- 'name' => 'EndDate',
+ 'name' => 'DefaultAddrPoolId',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2019-07-04',
- ],
+ 'schema' => ['description' => '主地址池集合ID。', 'type' => 'string', 'required' => false, 'example' => 'hrsix'],
+ ],
+ [
+ 'name' => 'FailoverAddrPoolId',
+ 'in' => 'query',
+ 'schema' => ['description' => '备地址池集合ID。', 'type' => 'string', 'required' => false, 'example' => 'hrsyw'],
+ ],
+ [
+ 'name' => 'AccessLines',
+ 'in' => 'query',
+ 'schema' => ['description' => '解析请求来源。', 'type' => 'string', 'required' => false, 'example' => '["default", "mobile"]'],
],
],
'responses' => [
@@ -35319,160 +25405,99 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '0F32959D-417B-4D66-8463-68606605E3E2',
- ],
- 'Statistics' => [
- 'description' => '统计数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'V6HttpCount' => [
- 'description' => 'IPv6 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V4HttpsCount' => [
- 'description' => 'IPv4 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'Timestamp' => [
- 'description' => '统计时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1544976000000',
- ],
- 'TotalCount' => [
- 'description' => '请求总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V4HttpCount' => [
- 'description' => 'IPv4 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V6HttpsCount' => [
- 'description' => 'IPv6 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"Statistics\\": [\\n {\\n \\"V6HttpCount\\": 3141592653,\\n \\"V4HttpsCount\\": 3141592653,\\n \\"Timestamp\\": 1544976000000,\\n \\"TotalCount\\": 3141592653,\\n \\"V4HttpCount\\": 3141592653,\\n \\"V6HttpsCount\\": 3141592653\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n<Statistics>\\n <TotalCount>3141592653</TotalCount>\\n <V4HttpCount>3141592653</V4HttpCount>\\n <V6HttpCount>3141592653</V6HttpCount>\\n <Timestamp>1544976000000</Timestamp>\\n <V4HttpsCount>3141592653</V4HttpsCount>\\n <V6HttpsCount>3141592653</V6HttpsCount>\\n</Statistics>","errorExample":""}]',
- 'title' => '获取DoH域名请求量统计概览',
+ 'title' => '修改访问策略(旧版)',
+ 'summary' => '根据传入参数修改访问策略。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDohDomainStatisticsSummary' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGtmAccessStrategy'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateGtmAccessStrategyResponse>\\r\\n<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n</UpdateGtmAccessStrategyResponse>","errorExample":""}]',
+ ],
+ 'UpdateGtmAddressPool' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'AddrPoolId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '地址池ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1234abc'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '地址池名称。', 'type' => 'string', 'required' => false, 'example' => '名称'],
],
[
- 'name' => 'StartDate',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2019-07-04 ',
- ],
+ 'schema' => ['description' => '地址池类型:'."\n"
+ ."\n"
+ .'- IP:ipv4地址'."\n"
+ .'- DOMAIN:域名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'IP'],
],
[
- 'name' => 'EndDate',
+ 'name' => 'MinAvailableAddrNum',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-07-04 ',
- ],
+ 'schema' => ['description' => '最小可用地址数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'Addr',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
+ 'description' => '地址池列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['description' => '地址池地址。', 'type' => 'string', 'required' => false, 'example' => '1.1.XX.XX'],
+ 'LbaWeight' => ['description' => '地址池权重。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'Mode' => ['description' => '模式。'."\n"
+ .'- **SMART**:智能返回'."\n"
+ .'- **ONLINE**:永远在线'."\n"
+ .'- **OFFLINE**:永远离线', 'type' => 'string', 'required' => false, 'example' => 'SMART'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 50,
],
],
],
@@ -35481,176 +25506,105 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '0F32959D-417B-4D66-8463-68606605E3E2',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'TotalItems' => [
- 'description' => '总数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '300',
- ],
- 'Statistics' => [
- 'description' => '统计数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'V6HttpCount' => [
- 'description' => 'IPv6 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V4HttpsCount' => [
- 'description' => 'IPv4 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'IpCount' => [
- 'description' => 'IP地址数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'TotalCount' => [
- 'description' => '请求总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '14141592653',
- ],
- 'HttpCount' => [
- 'description' => 'HTTP请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'DomainName' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'HttpsCount' => [
- 'description' => 'HTTPS请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V4HttpCount' => [
- 'description' => 'IPv4 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V6HttpsCount' => [
- 'description' => 'IPv6 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求标识。', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 20,\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 50,\\n \\"TotalItems\\": 300,\\n \\"Statistics\\": [\\n {\\n \\"V6HttpCount\\": 3141592653,\\n \\"V4HttpsCount\\": 3141592653,\\n \\"IpCount\\": 20,\\n \\"TotalCount\\": 14141592653,\\n \\"HttpCount\\": 3141592653,\\n \\"DomainName\\": \\"example.com\\",\\n \\"HttpsCount\\": 3141592653,\\n \\"V4HttpCount\\": 3141592653,\\n \\"V6HttpsCount\\": 3141592653\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDohDomainStatisticsSummaryResponse>\\n <PageSize>20</PageSize>\\n <RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n <PageNumber>1</PageNumber>\\n <TotalPages>50</TotalPages>\\n <TotalItems>300</TotalItems>\\n <Statistics>\\n <V6HttpCount>3141592653</V6HttpCount>\\n <V4HttpsCount>3141592653</V4HttpsCount>\\n <IpCount>20</IpCount>\\n <TotalCount>14141592653</TotalCount>\\n <HttpCount>3141592653</HttpCount>\\n <DomainName>example.com</DomainName>\\n <HttpsCount>3141592653</HttpsCount>\\n <V4HttpCount>3141592653</V4HttpCount>\\n <V6HttpsCount>3141592653</V6HttpsCount>\\n </Statistics>\\n</DescribeDohDomainStatisticsSummaryResponse>","errorExample":""}]',
- 'title' => '获取DoH域名的请求量统计列表',
- 'summary' => '获取DoH域名的请求量统计列表。',
+ 'title' => '修改地址池(旧版)',
+ 'summary' => '修改地址池。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDohSubDomainStatistics' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGtmAddressPool'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateGtmAddressPoolResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n</UpdateGtmAddressPoolResponse>","errorExample":""}]',
+ ],
+ 'UpdateGtmInstanceGlobalConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'SubDomain',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查看统计数据的子域名',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => 'GTM实例ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'gtm-cn-cs02xyk4a**'],
],
[
- 'name' => 'StartDate',
+ 'name' => 'InstanceName',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2019-07-04',
- ],
+ 'schema' => ['description' => '实例名称。'."\n"
+ ."\n"
+ .'> 首次更新必填,再次更新则非必填。', 'type' => 'string', 'required' => false, 'example' => '测试实例'],
],
[
- 'name' => 'EndDate',
+ 'name' => 'Ttl',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2019-07-04',
- ],
+ 'schema' => ['description' => '全局TTL。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'],
+ ],
+ [
+ 'name' => 'UserDomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '主域名。'."\n"
+ .'> 首次更新必填,再次更新非必填。', 'type' => 'string', 'required' => false, 'example' => 'dns-example.top'],
+ ],
+ [
+ 'name' => 'LbaStrategy',
+ 'in' => 'query',
+ 'schema' => ['description' => '均衡策略。取值:'."\n"
+ ."\n"
+ .'- **ALL_RR**: 负载均摊'."\n"
+ .'- **RATIO**:加权轮询'."\n"
+ .'> 首次更新必填,再次更新非必填。', 'type' => 'string', 'required' => false, 'example' => 'RATIO'],
+ ],
+ [
+ 'name' => 'AlertGroup',
+ 'in' => 'query',
+ 'schema' => ['description' => '报警组。目前仅支持一个报警组。'."\n"
+ ."\n"
+ .'> 首次更新必填,再次更新非必填。', 'type' => 'string', 'required' => false, 'example' => '[\\"研发组\\"]'],
+ ],
+ [
+ 'name' => 'CnameMode',
+ 'in' => 'query',
+ 'schema' => ['description' => '接入方式。取值:'."\n"
+ .'- **SYSTEM_ASSIGN**:系统分配'."\n"
+ .'- **CUSTOM**:自定义', 'type' => 'string', 'required' => false, 'example' => 'SYSTEM_ASSIGN'],
+ ],
+ [
+ 'name' => 'CnameCustomDomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '**CnameMode**为**CUSTOM**接入时必传,必须是主域名。', 'type' => 'string', 'required' => false, 'example' => 'dns-example.top'],
],
],
'responses' => [
@@ -35658,173 +25612,128 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '0F32959D-417B-4D66-8463-68606605E3E2',
- ],
- 'Statistics' => [
- 'description' => '统计数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'V6HttpCount' => [
- 'description' => 'IPv6 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V4HttpsCount' => [
- 'description' => 'IPv4 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'Timestamp' => [
- 'description' => '统计时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1544976000000',
- ],
- 'TotalCount' => [
- 'description' => '请求总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V4HttpCount' => [
- 'description' => 'IPv4 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V6HttpsCount' => [
- 'description' => 'IPv6 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
],
],
],
],
- 'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"Statistics\\": [\\n {\\n \\"V6HttpCount\\": 3141592653,\\n \\"V4HttpsCount\\": 3141592653,\\n \\"Timestamp\\": 1544976000000,\\n \\"TotalCount\\": 3141592653,\\n \\"V4HttpCount\\": 3141592653,\\n \\"V6HttpsCount\\": 3141592653\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n<Statistics>\\n <TotalCount>3141592653</TotalCount>\\n <V4HttpCount>3141592653</V4HttpCount>\\n <V6HttpCount>3141592653</V6HttpCount>\\n <Timestamp>1544976000000</Timestamp>\\n <V4HttpsCount>3141592653</V4HttpsCount>\\n <V6HttpsCount>3141592653</V6HttpsCount>\\n</Statistics>","errorExample":""}]',
- 'title' => '获取DoH子域名请求量统计',
- 'summary' => '获取DoH子域名请求量统计。',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'GtmInstance.CnameModeDeny', 'errorMessage' => ' ', 'description' => ''],
+ ['errorCode' => 'DnsGtmInstance.CnameModeDeny', 'errorMessage' => ' ', 'description' => ''],
+ ],
+ ],
+ 'title' => '修改GTM实例全局配置(旧版)',
+ 'summary' => '根据传入参数修改GTM实例配置。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDohSubDomainStatisticsSummary' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGtmInstanceGlobalConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateGtmInstanceGlobalConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateGtmInstanceGlobalConfigResponse>\\r\\n<RequestId>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</RequestId>\\r\\n</UpdateGtmInstanceGlobalConfigResponse>","errorExample":""}]',
+ ],
+ 'UpdateGtmMonitor' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '用户语言', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'MonitorConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => true,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '健康检查配置ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1234abc'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ProtocolType',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '20',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '检查协议', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'HTTP'],
],
[
- 'name' => 'StartDate',
+ 'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'description' => ' '."\n"
- .'查询的开始时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => '2019-07-04 ',
- ],
+ 'schema' => ['description' => '检查间隔,单位:秒,取值范围:60。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'],
],
[
- 'name' => 'EndDate',
+ 'name' => 'EvaluationCount',
'in' => 'query',
- 'schema' => [
- 'description' => ' '."\n"
- .'查询的结束时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-07-04 ',
- ],
+ 'schema' => ['description' => '连续次数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'],
],
[
- 'name' => 'SubDomain',
+ 'name' => 'Timeout',
'in' => 'query',
- 'schema' => [
- 'description' => '子域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['description' => '超时时间,单位:毫秒,取值范围:2000、3000、5000、10000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3000'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'MonitorExtendInfo',
'in' => 'query',
+ 'schema' => ['description' => '扩展信息。根据不同协议,进行传参:'."\n"
+ ."\n"
+ .'HTTP、HTTPS:'."\n"
+ ."\n"
+ .'- port:检查端口'."\n"
+ .'- failureRate:失败率'."\n"
+ .'- code:返回码(大于此值会被判定为异常)。取值:400、500。'."\n"
+ .'- host:Host设置'."\n"
+ .'- path:URL路径'."\n"
+ ."\n"
+ .'PING:'."\n"
+ ."\n"
+ .'- packetNum:ping包数'."\n"
+ .'- packetLossRate:ping丢包率'."\n"
+ .'- failureRate:失败率'."\n"
+ ."\n"
+ .'TCP:'."\n"
+ ."\n"
+ .'- port:检查端口'."\n"
+ .'- failureRate:失败率', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '{\\"code\\":200,\\"path\\":\\"\\\\index.htm\\",\\"host\\":\\"aliyun.com\\"}'],
+ ],
+ [
+ 'name' => 'IspCityNode',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '域名。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'example.com',
+ 'description' => '监控城市节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CityCode' => ['description' => '城市Code', 'type' => 'string', 'required' => false, 'example' => '572'],
+ 'IspCode' => ['description' => '- 具体取值可参考:DescribeGtmMonitorAvailableConfig接口返回数据。'."\n"
+ .'- GroupType为BGP或Overseas时,IspCityNode.N.IspCode为非必传值,默认为465。'."\n"
+ .'- GroupType为非BGP或Overseas时,IspCityNode.N.IspCode为必传值。并与IspCityNode.N.CityCode匹配使用。', 'type' => 'string', 'required' => false, 'example' => '465'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 20,
],
],
],
@@ -35833,163 +25742,79 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '0F32959D-417B-4D66-8463-68606605E3E2',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'TotalItems' => [
- 'description' => '总数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'Statistics' => [
- 'description' => '统计数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'V6HttpCount' => [
- 'description' => 'IPv6 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V4HttpsCount' => [
- 'description' => 'IPv4 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'IpCount' => [
- 'description' => 'IP地址数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '20',
- ],
- 'SubDomain' => [
- 'description' => '子域名。',
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
- 'TotalCount' => [
- 'description' => '总请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '14141592653',
- ],
- 'HttpCount' => [
- 'description' => 'HTTP请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'HttpsCount' => [
- 'description' => 'HTTPS请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V4HttpCount' => [
- 'description' => 'IPv4 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- 'V6HttpsCount' => [
- 'description' => 'IPv6 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3141592653',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 50,\\n \\"TotalItems\\": 100,\\n \\"Statistics\\": [\\n {\\n \\"V6HttpCount\\": 3141592653,\\n \\"V4HttpsCount\\": 3141592653,\\n \\"IpCount\\": 20,\\n \\"SubDomain\\": \\"www.example.com\\",\\n \\"TotalCount\\": 14141592653,\\n \\"HttpCount\\": 3141592653,\\n \\"HttpsCount\\": 3141592653,\\n \\"V4HttpCount\\": 3141592653,\\n \\"V6HttpsCount\\": 3141592653\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n<PageSize>10</PageSize>\\n<PageNumber>1</PageNumber>\\n<TotalPages>50</TotalPages>\\n<TotalItems>100</TotalItems>\\n<Statistics>\\n <SubDomain>www.example.com</SubDomain>\\n <TotalCount>14141592653</TotalCount>\\n <IpCount>20</IpCount>\\n <V4HttpCount>3141592653</V4HttpCount>\\n <V6HttpCount>3141592653</V6HttpCount>\\n <HttpCount>3141592653</HttpCount>\\n <HttpsCount>3141592653</HttpsCount>\\n <V4HttpsCount>3141592653</V4HttpsCount>\\n <V6HttpsCount>3141592653</V6HttpsCount>\\n</Statistics>","errorExample":""}]',
- 'title' => '获取DoH子域名的请求量统计列表',
- 'summary' => '获取DoH子域名的请求量统计列表。',
+ 'title' => '修改健康检查(旧版)',
+ 'summary' => '修改健康检查。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeDohUserInfo' => [
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGtmMonitor'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateGtmMonitor',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateGtmMonitorResponse>\\r\\n<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>\\r\\n</UpdateGtmMonitorResponse>","errorExample":""}]',
+ ],
+ 'UpdateGtmRecoveryPlan' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '语言。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
- ],
+ 'schema' => ['description' => '返回值语言,取值:'."\n"
+ .'- zh:中文'."\n"
+ .'- en:英文'."\n"
+ ."\n"
+ .'默认:en', 'type' => 'string', 'required' => false, 'example' => 'en'],
],
[
- 'name' => 'StartDate',
+ 'name' => 'RecoveryPlanId',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'只能查询最近90天的记录,即:`StartDate >= Now - 90`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-07-04',
- ],
+ 'schema' => ['description' => '容灾预案ID。<props="china">可通过调用[DescribeGtmRecoveryPlans ](https://help.aliyun.com/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c4g.11186623.help-menu-29697.d_0_5_1_3_13_5.6dd83618vW4yD7)获取</props>'."\n"
+ .'<props="intl">可通过调用[DescribeGtmRecoveryPlans ](https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describegtmrecoveryplans?spm=a2c63.p38356.help-menu-search-29697.d_0)获取</props>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '10*******'],
],
[
- 'name' => 'EndDate',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => ' '."\n"
- .'查询的结束时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-07-04',
- ],
+ 'schema' => ['description' => '容灾预案名称', 'type' => 'string', 'required' => false, 'example' => 'abc'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => '备注信息', 'type' => 'string', 'required' => false, 'example' => 'remark'],
+ ],
+ [
+ 'name' => 'FaultAddrPool',
+ 'in' => 'query',
+ 'schema' => ['description' => '故障地址池 ID 列表', 'type' => 'string', 'required' => false, 'example' => '["hra0**"]'],
],
],
'responses' => [
@@ -35997,51 +25822,39 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '0F32959D-417B-4D66-8463-68606605E3E2',
- ],
- 'SubDomainCount' => [
- 'description' => '已接入子域名数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'PdnsId' => [
- 'description' => '公共DNS用户ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12345678',
- ],
- 'DomainCount' => [
- 'description' => '已接入域名数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '575A3E3A-E9FC-5435-9CAD-BD89533E****'],
],
],
],
],
'errorCodes' => [],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0F32959D-417B-4D66-8463-68606605E3E2\\",\\n \\"SubDomainCount\\": 5,\\n \\"PdnsId\\": 12345678,\\n \\"DomainCount\\": 2\\n}","errorExample":""},{"type":"xml","example":"<RequestId>0F32959D-417B-4D66-8463-68606605E3E2</RequestId>\\n<SubDomainCount>123</SubDomainCount>\\n<PdnsId>12345678</PdnsId>\\n<DomainCount>123</DomainCount>","errorExample":""}]',
- 'title' => '获取DoH用户基本信息',
- 'summary' => '获取DoH用户基本信息。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CreatePdnsAppKey' => [
- 'summary' => '创建公共DNS密钥 AccessKey。',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '修改容灾预案',
+ 'summary' => '修改容灾预案。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGtmRecoveryPlan'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"575A3E3A-E9FC-5435-9CAD-BD89533E****\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateIspFlushCacheInstanceConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -36050,24 +25863,26 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsIRW4YX'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Remark',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'InstanceName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -36075,26 +25890,37 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
- 'title' => '创建公共DNS密钥AccessKey ',
- ],
- 'RemovePdnsAppKey' => [
- 'summary' => '删除公共DNS AppKey',
- 'methods' => [
- 'get',
- 'post',
+ 'summary' => '修改缓存刷新套餐包配置',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIspFlushCacheInstanceConfig'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateIspFlushCacheInstanceConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRecursionRecord' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -36103,23 +25929,62 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '21079fa016944979537637959d09bc'],
],
[
- 'name' => 'AppKeyId',
+ 'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '解析记录的ID。', 'type' => 'string', 'required' => true, 'example' => '9*******', 'pattern' => '^\\d+$'],
+ ],
+ [
+ 'name' => 'Rr',
+ 'in' => 'query',
+ 'schema' => ['title' => '解析记录名称', 'description' => '主机记录。主机记录就是域名前缀,常见用法有www、@、*(泛解析)、mail(常用于邮箱)。'."\n"
+ ."\n"
+ .'例如要解析@.exmaple.com,主机记录要填写"@”,而不是空。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => ['title' => '解析记录类型', 'description' => '解析记录类型,目前支持如下: A:IPV4记录,支持将域名映射到IPv4地址使用 AAAA:IPV6记录,支持将域名映射到IPv6地址使用 CNAME:别名记录,支持将域名指向另外一个域名 MX:电邮交互记录,支持将域名指向邮件服务器地址 TXT:文本记录,是任意可读的文本DNS记录 SRV:服务器资源记录,用来标识某台服务器使用了某个服务,常见于微软系统的目录管理', 'type' => 'string', 'required' => false, 'example' => 'A'],
+ ],
+ [
+ 'name' => 'RequestSource',
+ 'in' => 'query',
+ 'schema' => ['title' => '请求来源', 'description' => '解析线路,默认为**default**。参见:'."\n"
+ ."\n"
+ .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
+ ."\n"
+ .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>', 'type' => 'string', 'required' => false, 'example' => 'WebSDK'],
+ ],
+ [
+ 'name' => 'Weight',
+ 'in' => 'query',
+ 'schema' => ['title' => '权重', 'description' => '权重值(1-100 内的整数,包括 1 和 100,默认为1),支持对每个地址设置不同的权重值,实现解析查询按照权重比例返回地址。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
+ ],
+ [
+ 'name' => 'Priority',
+ 'in' => 'query',
+ 'schema' => ['title' => '优先级', 'description' => 'MX记录的优先级。取值越小,优先级越高,取值范围:[1,99]。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'],
+ ],
+ [
+ 'name' => 'Ttl',
+ 'in' => 'query',
+ 'schema' => ['title' => 'ttl', 'description' => '本地缓存时间。目前取值仅支持5、30、60、3600(1小时)、43200(12小时)、86400(24小时),单位秒(s),默认60。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'],
+ ],
+ [
+ 'name' => 'Value',
+ 'in' => 'query',
+ 'schema' => ['title' => '解析记录值', 'description' => '记录值。根据不同解析记录类型,填写相应的记录值。', 'type' => 'string', 'required' => false, 'example' => '1.1.XX.XX'],
],
],
'responses' => [
@@ -36127,25 +25992,39 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
+ 'RecordId' => ['description' => '解析记录的ID。', 'type' => 'string', 'example' => '12*****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '',
- ],
- 'DescribePdnsAppKey' => [
- 'summary' => '获取公共DNS AppKey 详情',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '修改HTTPDNS内置权威解析记录',
+ 'summary' => '修改递归解析内置权威解析记录',
+ 'description' => '如果被删除的解析记录中存在锁定解析,则该锁定解析不会被删除。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"RecordId\\": \\"12*****\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRecursionRecordEnableStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -36154,30 +26033,26 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
],
'parameters' => [
[
- 'name' => 'AppKeyId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '21079fa016944979537637959d09bc'],
],
[
- 'name' => 'Lang',
+ 'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '解析记录id', 'description' => '解析记录id,解析记录的唯一标识', 'type' => 'string', 'required' => true, 'example' => '1781234321', 'pattern' => '^\\d+$'],
],
[
- 'name' => 'AuthCode',
+ 'name' => 'EnableStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['title' => '启用状态', 'description' => '启用状态,**enable:启用 disable:禁用**', 'type' => 'string', 'required' => false, 'example' => 'enable'],
],
],
'responses' => [
@@ -36185,49 +26060,37 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'AppKey' => [
- 'type' => 'object',
- 'properties' => [
- 'AppKeyId' => [
- 'type' => 'string',
- ],
- 'AppKeySecret' => [
- 'type' => 'string',
- ],
- 'Remark' => [
- 'type' => 'string',
- ],
- 'State' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'CreateTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'."\n"],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '',
- ],
- 'DescribePdnsAppKeys' => [
- 'summary' => '获取公共DNS AppKey 列表',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '修改HTTPDNS内置权威解析记录启用状态',
+ 'summary' => '修改内置权威解析记录启用状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionRecordEnableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRecursionRecordRemark' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -36236,21 +26099,26 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsBBR04Z',
- ],
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => 'e432232342423ew423'],
+ ],
+ [
+ 'name' => 'RecordId',
+ 'in' => 'query',
+ 'schema' => ['title' => 'record id', 'description' => 'record id', 'type' => 'string', 'required' => true, 'example' => '173671468000010', 'pattern' => '^\\d+$'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
],
'responses' => [
@@ -36258,66 +26126,39 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'AppKeys' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'AppKeyId' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'Remark' => [
- 'type' => 'string',
- ],
- 'State' => [
- 'type' => 'string',
- ],
- 'CreateTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'BindEdgeDnsClusters' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ClusterId' => [
- 'type' => 'string',
- ],
- 'ClusterName' => [
- 'type' => 'string',
- ],
- 'ClusterUserId' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '',
- ],
- 'UpdateAppKeyState' => [
- 'summary' => '修改 AppKey 状态',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '修改HTTPDNS内置权威解析记录备注',
+ 'summary' => '修改HTTPDNS内置权威解析记录备注',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionRecordRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRecursionRecordWeight' => [
+ 'summary' => '修改递归解析内置权威解析记录权重',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -36327,29 +26168,26 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '243565',
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '21079fa016944979537637959d09bc'],
],
[
- 'name' => 'AppKeyId',
+ 'name' => 'RecordId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['title' => '解析记录id', 'description' => '解析记录id,解析记录的唯一标识', 'type' => 'string', 'required' => true, 'example' => '17363242424', 'pattern' => '^\\d+$'],
],
[
- 'name' => 'State',
+ 'name' => 'Weight',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['title' => '权重', 'description' => '权重 支持0-100', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -36357,25 +26195,37 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'."\n"],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '',
- ],
- 'CreatePdnsUdpIpSegment' => [
- 'summary' => '创建公共DNS Udp Ip地址段',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '修改HTTPDNS内置权威解析记录权重',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionRecordWeight',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRecursionRecordWeightEnableStatus' => [
+ 'summary' => '修改递归解析内置权威解析记录权重算法启用状态',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -36384,37 +26234,45 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
],
'parameters' => [
[
- 'name' => 'Ip',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '21079fa016944979537637959d09bc'],
],
[
- 'name' => 'Name',
+ 'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['title' => 'zone id', 'description' => 'zone id,解析记录对应的域名ZoneId', 'type' => 'string', 'required' => true, 'example' => '176432424234', 'pattern' => '^\\d+$'],
],
[
- 'name' => 'Lang',
+ 'name' => 'Rr',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => '解析记录名称', 'description' => '主机记录', 'type' => 'string', 'required' => false, 'example' => 'www'],
],
[
- 'name' => 'IpToken',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['title' => '解析记录类型', 'description' => '解析记录类型,目前支持如下: A:IPV4记录,支持将域名映射到IPv4地址使用 AAAA:IPV6记录,支持将域名映射到IPv6地址使用 CNAME:别名记录,支持将域名指向另外一个域名 MX:电邮交互记录,支持将域名指向邮件服务器地址 TXT:文本记录,是任意可读的文本DNS记录 SRV:服务器资源记录,用来标识某台服务器使用了某个服务,常见于微软系统的目录管理', 'type' => 'string', 'required' => false, 'example' => 'A'],
+ ],
+ [
+ 'name' => 'RequestSource',
+ 'in' => 'query',
+ 'schema' => ['title' => '请求来源', 'description' => '解析线路,默认为**default**。参见:'."\n"
+ ."\n"
+ .'<props="china">[解析线路枚举](https://help.aliyun.com/document_detail/29807.html)</props>'."\n"
+ ."\n"
+ .'<props="intl">[解析线路枚举](https://www.alibabacloud.com/help/zh/doc-detail/29807.htm)</props>', 'type' => 'string', 'required' => false, 'example' => 'default'],
+ ],
+ [
+ 'name' => 'EnableStatus',
+ 'in' => 'query',
+ 'schema' => ['title' => '启用状态', 'description' => '是否开启权重,enable:开启,disable:关闭', 'type' => 'string', 'required' => false, 'example' => 'enable'],
],
],
'responses' => [
@@ -36422,28 +26280,36 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'ValidMessage' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B'."\n"],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '',
- ],
- 'ValidatePdnsUdpIpSegment' => [
- 'summary' => '验证公共DNS Udp Ip地址段',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '修改HTTPDNS内置权威解析记录权重算法启用状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionRecordWeightEnableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRecursionZoneEffectiveScope' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -36452,29 +26318,47 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsMQ7VTA'],
],
'parameters' => [
[
- 'name' => 'Ip',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '21079fa016944979537637959d09bc'."\n"],
],
[
- 'name' => 'Lang',
+ 'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => 'zone id', 'description' => 'Zone ID,Zone的唯一识别码。', 'type' => 'string', 'required' => true, 'example' => '173671468000011', 'pattern' => '^\\d+$'],
],
[
- 'name' => 'IpToken',
+ 'name' => 'EffectiveScopes',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'title' => '启用状态',
+ 'description' => '生效范围列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '生效范围',
+ 'type' => 'object',
+ 'properties' => [
+ 'EffectiveType' => ['description' => '生效范围类型'."\n"
+ .'*account: 账户*', 'type' => 'string', 'required' => false, 'example' => 'account'],
+ 'Scope' => [
+ 'description' => '生效范围列表,与生效类型对应 account类型对应递归解析用户的accountid列表',
+ 'type' => 'array',
+ 'items' => ['description' => '生效范围', 'type' => 'string', 'required' => false, 'example' => '20003'],
+ 'required' => false,
+ 'maxItems' => 100,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
],
],
],
@@ -36483,61 +26367,69 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。', 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'."\n"],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '',
- ],
- 'DescribePdnsUdpIpSegments' => [
- 'summary' => '获取公共DNS Udp IP段列表',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改HTTPDNS内置权威域名zone生效范围',
+ 'summary' => '修改HTTPDNS内置权威域名zone生效范围',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionZoneEffectiveScope',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRecursionZoneProxyPattern' => [
+ 'summary' => '修改递归解析内置权威域名zone递归代理模式',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns379HH9'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '21079fa016944979537637959d09bc'],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['title' => 'zone id', 'description' => 'Zone ID,Zone的唯一识别码。', 'type' => 'string', 'required' => false, 'example' => '173671468000011', 'pattern' => '^\\d+$'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ProxyPattern',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['title' => '递归解析代理状态', 'description' => '是否开启子域名递归代理。取值:'."\n"
+ ."\n"
+ .'zone: 关闭(当解析本域名下不存在的子域名时,直接返回NXDOMAIN,表示子域名不存在)'."\n"
+ .'record: 开启(当解析本域名下不存在的子域名时,会依次查询“转发”和“递归”模块,并以最终查询到的解析结果来应答解析请求)', 'type' => 'string', 'required' => false, 'example' => 'record'],
],
],
'responses' => [
@@ -36545,77 +26437,39 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalPages' => [
- 'type' => 'string',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'IpSegments' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Ip' => [
- 'type' => 'string',
- ],
- 'Mask' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'State' => [
- 'type' => 'string',
- ],
- 'SecretKey' => [
- 'type' => 'string',
- ],
- 'CreateDate' => [
- 'type' => 'string',
- ],
- 'UpdateDate' => [
- 'type' => 'string',
- ],
- 'CreateTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '唯一请求识别码。'."\n"
+ ."\n", 'type' => 'string', 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382'],
],
],
],
],
- 'responseDemo' => '',
- ],
- 'RemovePdnsUdpIpSegment' => [
- 'summary' => '删除公共DNS Udp Ip地址段',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '修改HTTPDNS内置权威域名zone递归代理模式',
+ 'description' => '每个IP段的IP地址必须满足: EndIp >=StartIp。<br>'."\n"
+ .'域名下所有自定义线路中的所有IP段,IP范围都不能交叉重叠。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionZoneProxyPattern',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRecursionZoneRemark' => [
+ 'summary' => '修改递归解析内置权威域名zone备注',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -36624,23 +26478,27 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdns379HH9'],
],
'parameters' => [
[
- 'name' => 'Ip',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。', 'type' => 'string', 'required' => false, 'example' => '21079fa016944979537637959d09bc'],
],
[
- 'name' => 'Lang',
+ 'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['title' => 'zone id', 'description' => 'Zone ID,Zone的唯一识别码。'."\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '173671468000011', 'pattern' => '^\\d+$'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'required' => false, 'example' => '备注'],
],
],
'responses' => [
@@ -36648,595 +26506,630 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '29D0F8F8-5499-4F6C-9FDC-1EE13BF55925'],
],
],
],
],
- 'responseDemo' => '',
- ],
- 'DescribePdnsThreatStatistics' => [
- 'summary' => '获取公共DNS 威胁统计列表',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改HTTPDNS内置权威域名zone备注',
+ 'description' => '每个IP段的IP地址必须满足: EndIp >=StartIp。<br>'."\n"
+ .'域名下所有自定义线路中的所有IP段,IP范围都不能交叉重叠。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionZoneRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29D0F8F8-5499-4F6C-9FDC-1EE13BF55925\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRspDomainServerProhibitStatusForGateway' => [
+ 'summary' => '用于更新特定域名的状态信息。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口用于更新域名的服务端状态',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '幂等参数', 'description' => '幂等参数', 'type' => 'string', 'required' => true, 'example' => 'asdf'],
],
[
'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
- ],
- [
- 'name' => 'SubDomain',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
- ],
- [
- 'name' => 'ThreatType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
- ],
- [
- 'name' => 'ThreatLevel',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
- ],
- [
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
- ],
- [
- 'name' => 'OrderBy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
- ],
- [
- 'name' => 'Direction',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => '需要修改serverHold状态的域名', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
[
- 'name' => 'ThreatSourceIp',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
- ],
- [
- 'name' => 'StartDate',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
- ],
- [
- 'name' => 'EndDate',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
- ],
- [
- 'name' => 'PageNumber',
+ 'name' => 'AddStatusList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => '添加域名状态集合',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '添加域名状态集合',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '域名状态',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'serverDeleteProhibited',
+ 'enum' => ['serverDeleteProhibited', 'serverRenewProhibited', 'serverTransferProhibited', 'serverUpdateProhibited'],
+ ],
+ 'StatusMsg' => ['description' => '状态描述信息', 'type' => 'string', 'required' => false, 'example' => '实名认证未通过,增加serverUpdateProhibited状态'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
+ 'maxItems' => 100,
],
],
[
- 'name' => 'PageSize',
+ 'name' => 'DeleteStatusList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => '删除域名状态集合',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '删除域名状态集合',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '域名状态',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'serverDeleteProhibited',
+ 'enum' => ['serverDeleteProhibited', 'serverRenewProhibited', 'serverTransferProhibited', 'serverUpdateProhibited'],
+ ],
+ 'StatusMsg' => ['description' => '状态描述信息', 'type' => 'string', 'required' => false, 'example' => '实名认证通过,删除serverUpdateProhibited状态'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
+ 'maxItems' => 100,
],
],
],
'responses' => [
200 => [
+ 'description' => '请求成功',
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'RequestId' => ['title' => '请求唯一标识'."\n", 'description' => '请求唯一标识'."\n", 'type' => 'string', 'example' => '0629502C-6224-5DC9-A8ED-2ED73A2E3931'],
+ 'Success' => ['title' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'RecoverableError' => ['title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'type' => 'boolean', 'example' => 'true'],
'Data' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'type' => 'string',
- ],
- 'SubDomain' => [
- 'type' => 'string',
- ],
- 'LatestThreatTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'DohTotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'UdpTotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'MaxThreatLevel' => [
- 'type' => 'string',
- ],
- 'DomainCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SourceIp' => [
- 'type' => 'string',
- ],
- 'ThreatType' => [
- 'type' => 'string',
- ],
- 'ThreatLevel' => [
- 'type' => 'string',
+ 'description' => '返回数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'StatusList' => [
+ 'description' => '任务状态信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '任务状态信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'uptp.test.abchina.com.cn'],
+ 'Status' => ['description' => '当前域名状态。', 'type' => 'string', 'example' => 'serverUpdateProhibited'],
+ 'StatusMsg' => ['description' => '域名状态Msg', 'type' => 'string', 'example' => '实名认证未通过,增加serverUpdateProhibited状态'],
+ ],
],
],
],
],
+ 'AccessDeniedDetail' => [
+ 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AuthAction' => ['description' => '尝试执行的未授权操作。', 'type' => 'string', 'example' => 'UpdateRspDomainServerProhibitStatusForGateway'],
+ 'AuthPrincipalDisplayName' => ['description' => '授权主体显示名称。', 'type' => 'string', 'example' => '2015555733387XXXX'],
+ 'AuthPrincipalOwnerId' => ['description' => '授权主体所有者ID。', 'type' => 'string', 'example' => '10469733312XXX'],
+ 'AuthPrincipalType' => ['description' => '身份类型', 'type' => 'string', 'example' => 'SubUser'],
+ 'EncodedDiagnosticMessage' => ['description' => '加密后的完整诊断信息。', 'type' => 'string', 'example' => 'AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ=='],
+ 'NoPermissionType' => ['description' => '导致鉴权失败的原因。具体取值为:'."\n"
+ .'- ExplicitDeny:显示拒绝'."\n"
+ .'- ImplicitDeny:隐式拒绝', 'type' => 'string', 'example' => 'ImplicitDeny'],
+ 'PolicyType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DlpSend'],
+ ],
+ ],
],
],
],
],
- 'responseDemo' => '',
- ],
- 'DescribePdnsUserInfo' => [
- 'summary' => '获取公共DNS用户信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'Alirs.Operator.NotAuthorized', 'errorMessage' => 'The operator does not belong to the cloud account.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '修改域名ServerProhibit状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateRspDomainServerProhibitStatusForGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-6224-5DC9-A8ED-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\",\\n \\"StatusList\\": [\\n {\\n \\"DomainName\\": \\"uptp.test.abchina.com.cn\\",\\n \\"Status\\": \\"serverUpdateProhibited\\",\\n \\"StatusMsg\\": \\"实名认证未通过,增加serverUpdateProhibited状态\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"UpdateRspDomainServerProhibitStatusForGateway\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"10469733312XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateRspDomainServerProhibitStatusForGatewayOte' => [
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '16827',
- 'abilityTreeNodes' => [
- 'FEATUREdns6E2Y22',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '幂等参数', 'description' => '幂等参数', 'type' => 'string', 'required' => true, 'example' => 'qwoefasdf'],
+ ],
+ [
+ 'name' => 'DomainName',
+ 'in' => 'query',
+ 'schema' => ['description' => '域名名称', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
+ ],
+ [
+ 'name' => 'AddStatusList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
+ 'description' => '添加域名状态集合',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '添加域名状态集合',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '域名状态',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'serverDeleteProhibited',
+ 'enum' => ['serverDeleteProhibited', 'serverRenewProhibited', 'serverTransferProhibited', 'serverUpdateProhibited'],
+ ],
+ 'StatusMsg' => ['description' => '状态描述信息', 'type' => 'string', 'required' => false, 'example' => '实名认证未通过,增加serverUpdateProhibited状态'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => 'en',
+ 'maxItems' => 100,
+ ],
+ ],
+ [
+ 'name' => 'DeleteStatusList',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => '删除域名状态集合',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '删除域名状态集合',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '域名状态',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'serverDeleteProhibited',
+ 'enum' => ['serverDeleteProhibited', 'serverRenewProhibited', 'serverTransferProhibited', 'serverUpdateProhibited'],
+ ],
+ 'StatusMsg' => ['description' => '状态描述信息', 'type' => 'string', 'required' => false, 'example' => '实名认证通过,删除serverUpdateProhibited状态'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码',
- 'type' => 'string',
- 'example' => 'FD552816-FCC8-4832-B4A2-2DA0C2BA1688',
- ],
- 'UserInfo' => [
- 'description' => '用户信息',
+ 'RequestId' => ['title' => '请求唯一标识'."\n", 'description' => '请求唯一标识'."\n", 'type' => 'string', 'example' => '0629502C-6224-5DC9-A8ED-2ED73A2E3931'],
+ 'Success' => ['title' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'RecoverableError' => ['title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'Data' => [
+ 'description' => '返回数据列表。',
'type' => 'object',
'properties' => [
- 'PdnsId' => [
- 'description' => '公网递归专属配置ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1***1',
- ],
- 'State' => [
- 'description' => '公网递归服务状态',
- 'type' => 'string',
- 'example' => 'AVAILABLE',
- ],
- 'ServiceType' => [
- 'description' => '公网递归服务类型',
- 'type' => 'string',
- 'example' => 'normal',
- ],
- 'StoppedService' => [
- 'description' => '关闭的公网递归服务',
- 'type' => 'string',
- ],
- 'AvailableService' => [
- 'description' => '启用的公网递归服务',
- 'type' => 'string',
- 'example' => 'HTTP,HTTPS',
- ],
- 'StatisticSwitchStatus' => [
- 'description' => '公网递归流量分析开关状态',
- 'type' => 'string',
- 'example' => 'CLOSED',
- ],
- 'SecretKey' => [
- 'description' => 'UDP接入IP地址段配置SecretKey',
- 'type' => 'string',
- 'example' => '1c09*******',
- ],
- 'AvailableAccessSecurityType' => [
- 'description' => '启用的安全接入类型,INSECURE指非加密接入,SECURE指安全加密接入。',
- 'type' => 'string',
- 'example' => 'SECURE',
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'StatusList' => [
+ 'description' => '任务状态信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '任务状态信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com'],
+ 'Status' => ['description' => '当前域名状态。', 'type' => 'string', 'example' => 'serverUpdateProhibited'],
+ 'StatusMsg' => ['description' => '域名状态Msg', 'type' => 'string', 'example' => '实名认证未通过,增加serverUpdateProhibited状态'],
+ ],
+ ],
],
],
],
+ 'AccessDeniedDetail' => [
+ 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AuthAction' => ['description' => '尝试执行的未授权操作。', 'type' => 'string', 'example' => 'UpdateRspDomainServerProhibitStatusForGatewayOte'],
+ 'AuthPrincipalDisplayName' => ['description' => '授权主体显示名称。', 'type' => 'string', 'example' => '2015555733387XXXX'],
+ 'AuthPrincipalOwnerId' => ['description' => '授权主体所有者ID。', 'type' => 'string', 'example' => '10469733312XXX'],
+ 'AuthPrincipalType' => ['description' => '身份类型', 'type' => 'string', 'example' => 'SubUser'],
+ 'EncodedDiagnosticMessage' => ['description' => '加密后的完整诊断信息。', 'type' => 'string', 'example' => 'AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ=='],
+ 'NoPermissionType' => ['description' => '导致鉴权失败的原因。具体取值为:'."\n"
+ .'- ExplicitDeny:显示拒绝'."\n"
+ .'- ImplicitDeny:隐式拒绝', 'type' => 'string', 'example' => 'ImplicitDeny'],
+ 'PolicyType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DlpSend'],
+ ],
+ ],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD552816-FCC8-4832-B4A2-2DA0C2BA1688\\",\\n \\"UserInfo\\": {\\n \\"PdnsId\\": 0,\\n \\"State\\": \\"AVAILABLE\\",\\n \\"ServiceType\\": \\"normal\\",\\n \\"StoppedService\\": \\"\\",\\n \\"AvailableService\\": \\"HTTP,HTTPS\\",\\n \\"StatisticSwitchStatus\\": \\"CLOSED\\",\\n \\"SecretKey\\": \\"1c09*******\\",\\n \\"AvailableAccessSecurityType\\": \\"SECURE\\"\\n }\\n}","type":"json"}]',
- 'title' => '获取公共DNS用户信息',
- ],
- 'DescribePdnsRequestStatistic' => [
- 'summary' => '查询公共DNS的请求量列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'Alirs.Operator.NotAuthorized', 'errorMessage' => 'The operator does not belong to the cloud account.', 'description' => ''],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '修改域名ServerProhibit状态',
+ 'summary' => '用于更新特定域名的状态信息。',
+ 'description' => '本接口用于更新域名的服务端状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateRspDomainServerProhibitStatusForGatewayOte',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-6224-5DC9-A8ED-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\",\\n \\"StatusList\\": [\\n {\\n \\"DomainName\\": \\"example.com\\",\\n \\"Status\\": \\"serverUpdateProhibited\\",\\n \\"StatusMsg\\": \\"实名认证未通过,增加serverUpdateProhibited状态\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"UpdateRspDomainServerProhibitStatusForGatewayOte\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"10469733312XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateRspDomainStatusOte' => [
+ 'summary' => '用于更新指定域名的状态属性信息。',
+ 'description' => '## 请求说明'."\n"
+ .'- 本接口专为网关用户设计,允许他们更新指定域名的状态属性。'."\n"
+ .'- 必须提供`OperatorType`,`OperatorId`,`DomainName`参数以标识要修改的具体网关下的特定域名的状态。'."\n"
+ .'- 可选参数包括`AddStatusList`,`DeleteStatusList`,包含`Status`和`StatusMsg`这些用来标识需要增加或者删除的域名状态。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '16786',
- 'abilityTreeNodes' => [
- 'FEATUREdns5Q9UHE',
- ],
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREdnsKT3CVU'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- ."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '幂等参数', 'description' => '幂等参数', 'type' => 'string', 'required' => false, 'example' => '443F1A21-XXXX-55C4-93E1-FF020DF93D7B'],
],
[
- 'name' => 'DomainName',
+ 'name' => 'OperatorType',
'in' => 'query',
'schema' => [
- 'description' => '要查看统计数据的主域名名称。',
+ 'title' => 'Tld'."\n",
+ 'description' => '操作类型,固定registryGateway',
'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
+ 'required' => true,
+ 'enumValueTitles' => ['registryGateway' => 'registryGateway'],
+ 'example' => 'registryGateway',
+ 'enum' => ['registry', 'registryGateway'],
],
],
[
- 'name' => 'SubDomain',
+ 'name' => 'OperatorId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查看统计数据的子域名名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.example.com',
- ],
+ 'schema' => ['title' => '托管状态'."\n", 'description' => '操作ID,网关ID', 'type' => 'string', 'required' => true, 'example' => 'gatewayId001'],
],
[
- 'name' => 'Type',
+ 'name' => 'DomainName',
'in' => 'query',
- 'schema' => [
- 'description' => '请求量统计类型:'."\n"
- .'- **ACCOUNT**:按照账户维度查看请求量统计;'."\n"
- .'- **DOMAIN**:按照域名维度查看请求量统计;此时,DomainName必填'."\n"
- .'- **SUB_DOMAIN**:按照子域名维度查看请求量统计;此时,DomainName和SubDomain必填',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACCOUNT',
- ],
+ 'schema' => ['description' => '需要修改状态的域名', 'type' => 'string', 'required' => true, 'example' => 'example.com'],
],
[
- 'name' => 'StartDate',
+ 'name' => 'AddStatusList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '查询的开始时间,格式:**YYYY-MM-DD**。'."\n"
- ."\n"
- .'只能查询最近90天的记录。',
- 'type' => 'string',
+ 'description' => '添加域名状态集合',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '域名状态',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['serverDeleteProhibited' => 'serverDeleteProhibited', 'serverRenewProhibited' => 'serverRenewProhibited', 'serverTransferProhibited' => 'serverTransferProhibited', 'serverUpdateProhibited' => 'serverUpdateProhibited'],
+ 'example' => 'serverDeleteProhibited',
+ 'enum' => ['clientDeleteProhibited', 'clientHold', 'clientRenewProhibited', 'clientTransferProhibited', 'clientUpdateProhibited', 'pendingCreate', 'pendingDelete', 'pendingRenew', 'pendingTransfer', 'pendingUpdate', 'serverDeleteProhibited', 'serverRenewProhibited', 'serverTransferProhibited', 'serverUpdateProhibited', 'linked'],
+ ],
+ 'StatusMsg' => ['description' => '状态描述信息', 'type' => 'string', 'required' => false, 'example' => '实名认证未通过,增加serverUpdateProhibited状态'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => '2024-06-14',
+ 'example' => '[{"Status":"renewProhibited","StatusMsg":"test"}]',
+ 'maxItems' => 100,
],
],
[
- 'name' => 'EndDate',
+ 'name' => 'DeleteStatusList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '查询的结束时间,格式:**YYYY-MM-DD**。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
+ 'description' => '删除域名状态集合',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '域名状态',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['serverDeleteProhibited' => 'serverDeleteProhibited', 'serverRenewProhibited' => 'serverRenewProhibited', 'serverTransferProhibited' => 'serverTransferProhibited', 'serverUpdateProhibited' => 'serverUpdateProhibited'],
+ 'example' => 'serverDeleteProhibited',
+ 'enum' => ['clientDeleteProhibited', 'clientHold', 'clientRenewProhibited', 'clientTransferProhibited', 'clientUpdateProhibited', 'pendingCreate', 'pendingDelete', 'pendingRenew', 'pendingTransfer', 'pendingUpdate', 'serverDeleteProhibited', 'serverRenewProhibited', 'serverTransferProhibited', 'serverUpdateProhibited', 'linked'],
+ ],
+ 'StatusMsg' => ['description' => '状态描述信息', 'type' => 'string', 'required' => false, 'example' => '实名认证通过,删除serverUpdateProhibited状态'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => '2024-07-01',
+ 'example' => '[{"Status":"renewProhibited","StatusMsg":"test"}]',
+ 'maxItems' => 100,
],
],
],
'responses' => [
200 => [
+ 'description' => '请求成功',
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
+ 'RequestId' => ['title' => '请求唯一标识'."\n", 'description' => '请求唯一标识'."\n", 'type' => 'string', 'example' => '0629502C-XXXX-5DC9-A8ED-2ED73A2E3931'],
+ 'Success' => ['title' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'description' => '请求是否成功,`true`:成功,`false`:失败'."\n", 'type' => 'boolean', 'example' => 'true'],
+ 'RecoverableError' => ['title' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'description' => '请求失败能否重试,`true`:可重试,`false`:不可重试'."\n", 'type' => 'boolean', 'example' => 'true'],
'Data' => [
- 'description' => '请求量数据列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '请求量数据列表。',
- 'type' => 'object',
- 'properties' => [
- 'V6HttpCount' => [
- 'description' => 'IPv6 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'V6HttpsCount' => [
- 'description' => 'IPv6 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'Timestamp' => [
- 'description' => '统计时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1706716800000',
- ],
- 'TotalCount' => [
- 'description' => '请求总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'V4HttpCount' => [
- 'description' => 'IPv4 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'V4HttpsCount' => [
- 'description' => 'IPv4 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'V4Count' => [
- 'description' => 'IPv4请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'V6Count' => [
- 'description' => 'IPv6请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HttpCount' => [
- 'description' => 'HTTP请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HttpsCount' => [
- 'description' => 'HTTPS请求量。但在公共DNS控制台流量分析页签中,此参数版包含了DoH的请求量,所以DoH的请求量没有在控制台单独展示。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'DohTotalCount' => [
- 'description' => 'Doh总请求量,包含了HTTP和HTTPS请求总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UdpTotalCount' => [
- 'description' => 'Udp总请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5000',
- ],
- 'IpCount' => [
- 'description' => '源IP地址数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
+ 'description' => '返回数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名名称。', 'type' => 'string', 'example' => 'example.com'],
+ 'StatusList' => [
+ 'description' => '任务状态信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '任务状态信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'uptp.test.abchina.com.cn'],
+ 'Status' => ['description' => '当前域名状态。', 'type' => 'string', 'example' => 'serverUpdateProhibited'],
+ 'StatusMsg' => ['description' => '域名状态Msg', 'type' => 'string', 'example' => '实名认证未通过,增加serverUpdateProhibited状态'],
+ ],
],
],
],
],
+ 'AccessDeniedDetail' => [
+ 'description' => '访问被拒绝详细信息,只有RAM校验失败才会返回此字段。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AuthAction' => ['description' => '尝试执行的未授权操作。'."\n"
+ ."\n", 'type' => 'string', 'example' => 'CreateUser'],
+ 'AuthPrincipalDisplayName' => ['description' => '授权主体显示名称。', 'type' => 'string', 'example' => '2015555733387XXXX'],
+ 'AuthPrincipalOwnerId' => ['description' => '授权主体所有者ID。', 'type' => 'string', 'example' => '10469733312XXX'],
+ 'AuthPrincipalType' => ['description' => '身份类型', 'type' => 'string', 'example' => 'SubUser'],
+ 'EncodedDiagnosticMessage' => ['description' => '加密后的完整诊断信息。', 'type' => 'string', 'example' => 'AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ=='],
+ 'NoPermissionType' => ['description' => '导致鉴权失败的原因。具体取值为:'."\n"
+ .'ExplicitDeny:显示拒绝'."\n"
+ .'ImplicitDeny:隐式拒绝', 'type' => 'string', 'example' => 'ImplicitDeny'],
+ 'PolicyType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DlpSend'],
+ ],
+ ],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Data\\": [\\n {\\n \\"V6HttpCount\\": 0,\\n \\"V6HttpsCount\\": 0,\\n \\"Timestamp\\": 1706716800000,\\n \\"TotalCount\\": 0,\\n \\"V4HttpCount\\": 0,\\n \\"V4HttpsCount\\": 0,\\n \\"V4Count\\": 0,\\n \\"V6Count\\": 0,\\n \\"HttpCount\\": 0,\\n \\"HttpsCount\\": 0,\\n \\"DohTotalCount\\": 0,\\n \\"UdpTotalCount\\": 5000,\\n \\"IpCount\\": 10\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询公共DNS请求量统计数据',
- ],
- 'DescribePdnsThreatLogs' => [
- 'summary' => '获取公共DNS 威胁日志列表',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'Alirs.Operator.NotAuthorized', 'errorMessage' => 'The operator does not belong to the cloud account.', 'description' => ''],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '更改域名状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0629502C-XXXX-5DC9-A8ED-2ED73A2E3931\\",\\n \\"Success\\": true,\\n \\"RecoverableError\\": true,\\n \\"Data\\": {\\n \\"DomainName\\": \\"example.com\\",\\n \\"StatusList\\": [\\n {\\n \\"DomainName\\": \\"uptp.test.abchina.com.cn\\",\\n \\"Status\\": \\"serverUpdateProhibited\\",\\n \\"StatusMsg\\": \\"实名认证未通过,增加serverUpdateProhibited状态\\"\\n }\\n ]\\n },\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"CreateUser\\",\\n \\"AuthPrincipalDisplayName\\": \\"2015555733387XXXX\\",\\n \\"AuthPrincipalOwnerId\\": \\"10469733312XXX\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFohtp4aIbaeEXXXXQxNjFDLUIzMzgtNTXXXX05NkFCLUI2RkY5XXXXzAzQQ==\\",\\n \\"NoPermissionType\\": \\"ImplicitDeny\\",\\n \\"PolicyType\\": \\"DlpSend\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ValidateDnsGtmCnameRrCanUse' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => [],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ThreatType',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ThreatLevel',
+ 'name' => 'CnameRr',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ThreatSourceIp',
+ 'name' => 'CnameType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Keyword',
+ 'name' => 'CnameMode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'StartDate',
+ 'name' => 'CnameZone',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['type' => 'string'],
+ ],
],
],
+ ],
+ 'summary' => '检查实例主机名是否可添加',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ValidateDnsGtmCnameRrCanUse'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
[
- 'name' => 'EndDate',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:ValidateDnsGtmCnameRrCanUse',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
+ ],
+ 'ValidatePdnsUdpIpSegment' => [
+ 'summary' => '验证公共DNS Udp Ip地址段',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageNumber',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'none'],
+ 'parameters' => [
+ [
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'IpToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -37244,2298 +27137,4191 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Logs' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ThreatTime' => [
- 'type' => 'string',
- ],
- 'ThreatType' => [
- 'type' => 'string',
- ],
- 'ThreatLevel' => [
- 'type' => 'string',
- ],
- 'SourceIp' => [
- 'type' => 'string',
- ],
- 'SubDomain' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['type' => 'string'],
],
],
],
],
- 'responseDemo' => '',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ValidatePdnsUdpIpSegment'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'pubdns:ValidatePdnsUdpIpSegment',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]',
],
- 'DescribePdnsRequestStatistics' => [
- 'summary' => '查询指定子域名请求量的统计数据。',
- 'methods' => [
- 'post',
- 'get',
+ ],
+ 'endpoints' => [
+ ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'alidns.aliyuncs.com', 'endpoint' => 'alidns.aliyuncs.com', 'vpc' => ''],
+ ],
+ 'errorCodes' => [
+ ['code' => 'addRRfail', 'message' => null, 'http_code' => null, 'description' => '添加解析记录失败!'],
+ ['code' => 'addSoafail', 'message' => null, 'http_code' => null, 'description' => '创建域名失败'],
+ ['code' => 'Alidns.InvalidPostBusinessStatus', 'message' => 'Invalid post business status.', 'http_code' => 400, 'description' => '云解析后付费服务状态无效'],
+ ['code' => 'Alidns.PostBusinessNotOpened', 'message' => 'Post business not opened.', 'http_code' => 400, 'description' => '云解析后付费服务已开通'],
+ ['code' => 'Alidns.PostBusinessOpened', 'message' => 'Post business opened.', 'http_code' => 400, 'description' => '云解析后付费服务未开通'],
+ ['code' => 'AliyunDomainAddedByOthers', 'message' => null, 'http_code' => null, 'description' => '该域名非本账户域名'],
+ ['code' => 'AliyunDomainAddedByOthers', 'message' => 'The domain name does not belong to the current user.', 'http_code' => null, 'description' => '该域名非本账户域名'],
+ ['code' => 'Authentication.domain', 'message' => null, 'http_code' => null, 'description' => '需要通过域名持有者身份验证,才可以进行添加。'."\r\n"
+ .'点击这里验证身份'],
+ ['code' => 'BatchOperation.illegal', 'message' => null, 'http_code' => null, 'description' => '批量操作参数非法'],
+ ['code' => 'BatchOperation.illegal', 'message' => 'The specified BatchOperation is invalid.', 'http_code' => null, 'description' => '批量操作参数非法'],
+ ['code' => 'BatchOperation.timeout', 'message' => null, 'http_code' => null, 'description' => '批量导入系统繁忙,请稍后重试!'],
+ ['code' => 'Binding.Error', 'message' => null, 'http_code' => null, 'description' => '绑定错误'],
+ ['code' => 'Binding.Error', 'message' => 'An error occured while binding.', 'http_code' => null, 'description' => '绑定错误'],
+ ['code' => 'CacheReserveDomain.EffectiveScopeEmpty', 'message' => 'Effective scope is empty.', 'http_code' => 400, 'description' => '缓存保持域名没有关联生效范围'],
+ ['code' => 'CancelOrderFailed', 'message' => null, 'http_code' => null, 'description' => '作废订单失败。'],
+ ['code' => 'chgRRfail', 'message' => null, 'http_code' => null, 'description' => '修改解析记录失败'],
+ ['code' => 'CHNDomainInfoNotMatch', 'message' => null, 'http_code' => null, 'description' => '该域名与注册局域名信息库不匹配,无法添加,请输入全简体域名或全繁体域名。'],
+ ['code' => 'CloseDnsSlbFailed', 'message' => null, 'http_code' => null, 'description' => '关闭 加权轮询 失败'],
+ ['code' => 'CloudGtm.Address.AvailableModeInvalid', 'message' => 'gtm address availableMode is invalid.', 'http_code' => 400, 'description' => '地址的“探测异常切换方式”参数配置错误'],
+ ['code' => 'CloudGtm.Address.AvailableStatusInvalid', 'message' => 'gtm address availableStatus is invalid.', 'http_code' => 400, 'description' => '地址手动切换方式下的“地址状态”参数配置错误'],
+ ['code' => 'CloudGtm.Address.DispatchTypeNotMatchMonitorTemplate', 'message' => 'the address dispatchType is not match for the monitor template.', 'http_code' => 400, 'description' => '地址的“地址类型”与所选的探测模板的“探测类型”冲突'],
+ ['code' => 'CloudGtm.Address.EnableParamInvalid', 'message' => 'gtm address enable param is invalid.', 'http_code' => 400, 'description' => '地址的“启用状态”参数配置错误'],
+ ['code' => 'CloudGtm.Address.EnableStatusInvalid', 'message' => 'gtm address enableStatus is invalid.', 'http_code' => 400, 'description' => '地址的“启用状态”参数配置错误'],
+ ['code' => 'CloudGtm.Address.ExcessMaxBeReferencedCount', 'message' => 'excess max be referenced count.', 'http_code' => 400, 'description' => '地址的被引用次数已超过允许的最大限额'],
+ ['code' => 'CloudGtm.Address.HasExsited', 'message' => 'gtm address has exsited.', 'http_code' => 400, 'description' => '已存在相同名称的地址'],
+ ['code' => 'CloudGtm.Address.HasInstanceConfigReference', 'message' => 'gtm address has instanceConfig reference.', 'http_code' => 400, 'description' => '地址存在实例的关联引用'],
+ ['code' => 'CloudGtm.Address.HealthJudgementInvalid', 'message' => 'gtm address healthJudgement is invalid.', 'http_code' => 400, 'description' => '地址的“健康状态判定条件”参数配置错误'],
+ ['code' => 'CloudGtm.Address.InnerIpCanNotHasMonitorTask', 'message' => 'the inner IP address can not has monitor task', 'http_code' => 400, 'description' => '内网地址不允许配置监控探测任务'],
+ ['code' => 'CloudGtm.Address.ManualAvailableParamInvalid', 'message' => 'gtm address manual available param is invalid.', 'http_code' => 400, 'description' => '地址手动切换方式的参数配置错误'],
+ ['code' => 'CloudGtm.Address.MonitorTaskQuotaExceed', 'message' => 'gtm monitor task in address quota exceed.', 'http_code' => 400, 'description' => '地址配置的探测任务数超过地址配额'],
+ ['code' => 'CloudGtm.Address.NameConflict', 'message' => 'gtm address name is conflict.', 'http_code' => 400, 'description' => '已存在相同名称的地址'],
+ ['code' => 'CloudGtm.Address.NameSearchConditionParamInvalid', 'message' => 'gtm address param nameSearchCondition is invalid.', 'http_code' => 400, 'description' => '查询地址的“地址名称”参数错误。'],
+ ['code' => 'CloudGtm.Address.NotExsit', 'message' => 'gtm address is not exist.', 'http_code' => 400, 'description' => '未找到符合条件的地址'],
+ ['code' => 'CloudGtm.Address.QuotaExceed', 'message' => 'gtm address quota exceed.', 'http_code' => 400, 'description' => '地址的数量已经超过了允许的最大限额'],
+ ['code' => 'CloudGtm.Address.ReferenceStandardInstanceUseUltimateQuota', 'message' => 'gtm address reference standardInstance use ultimate quota. address:%s.', 'http_code' => 400, 'description' => '地址所引用的探测模板配置参数与其所关联的实例套餐版本冲突。地址Id:%s'],
+ ['code' => 'CloudGtm.Address.RemarkSearchConditionParamInvalid', 'message' => 'gtm address param remarkSearchCondition is invalid.', 'http_code' => 400, 'description' => '查询地址的“备注”参数错误。'],
+ ['code' => 'CloudGtm.Address.TypeConflictWithAddressPoolType', 'message' => 'gtm address type is conflict with address pool type.', 'http_code' => 400, 'description' => '地址类型与地址池类型冲突.'],
+ ['code' => 'CloudGtm.Address.TypeInvalid', 'message' => 'gtm address type is invalid.', 'http_code' => 400, 'description' => '地址的“地址类型”参数配置错误'],
+ ['code' => 'CloudGtm.Address.ValueDomainFormatInvalid', 'message' => 'the DOMAIN address value format is invalid.', 'http_code' => 400, 'description' => '输入的域名地址格式不正确'],
+ ['code' => 'CloudGtm.Address.ValueFormatInvalid', 'message' => 'the IPv6 address value format is invalid.', 'http_code' => 400, 'description' => '输入的IPv6地址格式不正确'],
+ ['code' => 'CloudGtm.Address.ValueFormatInvalid', 'message' => 'the IPv4 address value format is invalid.', 'http_code' => 400, 'description' => '输入的IPv4地址格式不正确'],
+ ['code' => 'CloudGtm.Address.ValueIpv4FormatInvalid', 'message' => 'the IPv4 address value format is invalid.', 'http_code' => 400, 'description' => '地址的IPv4地址值不合法'],
+ ['code' => 'CloudGtm.Address.ValueIpv6FormatInvalid', 'message' => 'the IPv6 address value format is invalid.', 'http_code' => 400, 'description' => '地址的IPv6地址值不合法'],
+ ['code' => 'CloudGtm.AddressPool.AddressReferenceSerialNumberInvalid', 'message' => 'address serial number is invalid.', 'http_code' => 400, 'description' => '地址顺序号无效'],
+ ['code' => 'CloudGtm.AddressPool.ExceedMaxCount', 'message' => 'address pool exceed max count.', 'http_code' => 400, 'description' => '地址池数量超过最大数量限制。'],
+ ['code' => 'CloudGtm.AddressPool.ExcessMaxBeReferencedCount', 'message' => 'excess max be referenced count.', 'http_code' => 400, 'description' => '地址池的被引用次数已超过允许的最大限额'],
+ ['code' => 'CloudGtm.AddressPool.NameDuplicate', 'message' => 'gtm addressPool name duplicate.', 'http_code' => 400, 'description' => '已存在相同名称的地址池'],
+ ['code' => 'CloudGtm.AddressPool.NotExist', 'message' => 'gtm addressPool not exist.', 'http_code' => 400, 'description' => '地址池不存在'],
+ ['code' => 'CloudGtm.AddressPool.ParamAddressDuplicate', 'message' => 'address duplicate.', 'http_code' => 400, 'description' => '已存在相同的地址'],
+ ['code' => 'CloudGtm.AddressPool.ParamAddressPoolTypeInvalid', 'message' => 'address pool type invalid.', 'http_code' => 400, 'description' => '地址池配置的“地址池类型”参数配置错误'],
+ ['code' => 'CloudGtm.AddressPool.ParamAvailableStatusInvalid', 'message' => 'available status invalid.', 'http_code' => 400, 'description' => '可用性状态参数无效'],
+ ['code' => 'CloudGtm.AddressPool.ParamEnableStatusInvalid', 'message' => 'enable status invalid.', 'http_code' => 400, 'description' => '地址池配置的“启用状态”参数配置错误'],
+ ['code' => 'CloudGtm.AddressPool.ParamExcessMaxAddress', 'message' => 'excess max address count.', 'http_code' => 400, 'description' => '地址池引用的地址数量已超过允许的最大限额'],
+ ['code' => 'CloudGtm.AddressPool.ParamHealthJudgementInvalid', 'message' => 'health judgement invalid.', 'http_code' => 400, 'description' => '地址池配置的“地址池健康状态判定条件”参数配置错误'],
+ ['code' => 'CloudGtm.AddressPool.ParamHealthStatusInvalid', 'message' => 'health status invalid.', 'http_code' => 400, 'description' => '健康状态参数无效。'],
+ ['code' => 'CloudGtm.AddressPool.ParamRequestSourceInvalid', 'message' => 'request source invalid.', 'http_code' => 400, 'description' => '地址池来源就近策略的“请求来源”参数配置错误'],
+ ['code' => 'CloudGtm.AddressPool.ParamWeightInvalid', 'message' => 'weight invalid.', 'http_code' => 400, 'description' => '地址池引用地址的权重值无效。'],
+ ['code' => 'CloudGtm.AddressPool.SameEnableStatus', 'message' => 'same enable status.', 'http_code' => 400, 'description' => '地址池的启用状态保持原状,未进行任何更改'],
+ ['code' => 'CloudGtm.AddressPool.TypeConflictWithLbStrategy', 'message' => 'gtm address pool type is conflict with lb strategy.', 'http_code' => 400, 'description' => '接入域名引用了多种类型地址池,与该域名配置的负载均衡策略冲突'],
+ ['code' => 'CloudGtm.AddressPool.TypeConflictWithScheduleRrType', 'message' => 'address pool type is conflict with schedule rr type.', 'http_code' => 400, 'description' => '地址池类型与调度域名类型冲突。'],
+ ['code' => 'CloudGtm.AlertLog.ParamInvalid', 'message' => 'AlertLog Param is Invalid.', 'http_code' => 400, 'description' => '告警日志参数错误'],
+ ['code' => 'CloudGtm.AlertNotify.ParamInvalid', 'message' => 'AlertNotify Param is Invalid.', 'http_code' => 400, 'description' => '告警通知参数错误'],
+ ['code' => 'CloudGtm.GlobalAlert.NotExist', 'message' => 'global alert not exist.', 'http_code' => 400, 'description' => '全局告警配置不存在'],
+ ['code' => 'CloudGtm.GlobalAlert.ParamAlertGroupExceedMaxLength', 'message' => 'alert group exceed max length.', 'http_code' => 400, 'description' => '全局告警配置“报警通知组”整体字符已经超过了允许的最大限额'],
+ ['code' => 'CloudGtm.Instance.MonitorTaskQuotaExceed', 'message' => 'gtm monitor task in instance quota exceed.', 'http_code' => 400, 'description' => '配置的探测任务数量超过了实例的配额。'],
+ ['code' => 'CloudGtm.Instance.NameDuplicate', 'message' => 'gtm instance name duplicate.', 'http_code' => 400, 'description' => 'gtm实例名称重复了'],
+ ['code' => 'CloudGtm.Instance.NotExist', 'message' => 'gtm instance not exist.', 'http_code' => 400, 'description' => 'GTM实例不存在'],
+ ['code' => 'Cloudgtm.Instance.ScheduleDomainExcessMaxCount', 'message' => 'schedule domain excess max count.', 'http_code' => 400, 'description' => '实例下的接入域名数量超过限制'],
+ ['code' => 'CloudGtm.Instance.ScheduleDomainExcessMaxCount', 'message' => 'schedule domain excess max count .', 'http_code' => 400, 'description' => '实例下的接入域名数量超过限制'."\n"],
+ ['code' => 'Cloudgtm.instanceConfig.addressPoolReferenceSerialNumberInvalid', 'message' => 'address pool serial number is invalid.', 'http_code' => 400, 'description' => '地址池顺序号无效'],
+ ['code' => 'CloudGtm.instanceConfig.addressPoolReferenceSerialNumberInvalid', 'message' => 'address pool serial number is invalid .', 'http_code' => 400, 'description' => '地址池顺序号无效'."\n"],
+ ['code' => 'CloudGtm.InstanceConfig.ExceedMaxCount', 'message' => 'instance config exceed max count.', 'http_code' => 400, 'description' => '接入域名数量超过最大数量限制。'],
+ ['code' => 'CloudGtm.InstanceConfig.HasExist', 'message' => 'gtm instance config has exist.', 'http_code' => 400, 'description' => '已存在相同的域名实例配置'],
+ ['code' => 'CloudGtm.InstanceConfig.NotExist', 'message' => 'gtm instance config not exist.', 'http_code' => 400, 'description' => 'GTM域名配置不存在'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamAddressPoolDuplicate', 'message' => 'address pool duplicate.', 'http_code' => 400, 'description' => '已存在相同的地址池'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamAlertGroupExceedMaxLength', 'message' => 'alert Group Exceed Max Length.', 'http_code' => 400, 'description' => '自定义报警配置“报警通知组”整体字符已经超过了允许的最大限额'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamAlertModeInvalid', 'message' => 'alert mode invalid.', 'http_code' => 400, 'description' => '域名实例配置的“报警通知模式”参数配置错误'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamAlertNoticeTypeInvalid', 'message' => 'alert notice type invalid.', 'http_code' => 400, 'description' => '域名实例配置的“报警事件类型”参数配置错误'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamAvailableStatusInvalid', 'message' => 'available status invalid.', 'http_code' => 400, 'description' => '可用性状态参数无效'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamEnableStatusInvalid', 'message' => 'enable status invalid.', 'http_code' => 400, 'description' => '域名实例配置的“启用状态”参数配置错误'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamExcessMaxAddressPool', 'message' => 'excess max address pool.', 'http_code' => 400, 'description' => '域名实例引用的地址池数量已超过允许的最大限额'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamHealthStatusInvalid', 'message' => 'health status invalid.', 'http_code' => 400, 'description' => '健康状态参数无效'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamLbStrategyInvalid', 'message' => 'lb strategy invalid.', 'http_code' => 400, 'description' => '域名实例配置的“负载策略”参数配置错误'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamRequestSourceInvalid', 'message' => 'request source invalid.', 'http_code' => 400, 'description' => '接入域名引用的地址池的请求来源无效。'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamScheduleRrTypeConflict', 'message' => 'schedule rr type conflict.', 'http_code' => 400, 'description' => '域名实例配置的“记录类型”冲突'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamScheduleRrTypeInvalid', 'message' => 'schedule rr type invalid.', 'http_code' => 400, 'description' => '域名实例配置的“记录类型”参数配置错误'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamScheduleZoneModeInvalid', 'message' => 'schedule zone mode invalid.', 'http_code' => 400, 'description' => '域名实例配置的接入域名模式无效'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamSequenceLbStrategyModeInvalid', 'message' => 'sequence load balance Strategy mode invalid.', 'http_code' => 400, 'description' => '域名实例顺序策略的“前序资源异常恢复服务模式”参数配置错误'],
+ ['code' => 'CloudGtm.InstanceConfig.ParamWeightInvalid', 'message' => 'weight invalid.', 'http_code' => 400, 'description' => '接入域名引用的地址池的权重值无效。'],
+ ['code' => 'CloudGtm.InstanceConfig.SameEnableStatus', 'message' => 'same enable status.', 'http_code' => 400, 'description' => '域名实例的启用状态保持原状,未进行任何更改'],
+ ['code' => 'CloudGtm.InstanceConfig.ScheduleDomainExpired', 'message' => 'schedule domain is expired.', 'http_code' => 400, 'description' => '域名实例配置的接入域名已过期'],
+ ['code' => 'CloudGtm.InstanceConfig.ScheduleDomainGtmForbidden', 'message' => 'schedule domain gtm forbidden.', 'http_code' => 400, 'description' => '调度域名被GTM禁止操作。'],
+ ['code' => 'CloudGtm.InstanceConfig.ScheduleDomainLockedForbidden', 'message' => 'schedule domain is locked.', 'http_code' => 400, 'description' => '实例配置接入域名被锁定'],
+ ['code' => 'Cloudgtm.InstanceConfig.ScheduleDomainNameLockedForbidden', 'message' => 'schedule domain is locked.', 'http_code' => 400, 'description' => '实例配置接入域名被锁定'],
+ ['code' => 'CloudGtm.InstanceConfig.ScheduleDomainNotBelongToUser', 'message' => 'schedule domain is not belong to user.', 'http_code' => 400, 'description' => '域名实例配置的接入域名不归属当前用户'],
+ ['code' => 'CloudGtm.InstanceConfig.ScheduleDomainRiskControlForbidden', 'message' => 'your account is at risk. contact customer support for more details..', 'http_code' => 400, 'description' => '域名实例配置接入域名存在安全风险,已被管控'],
+ ['code' => 'Cloudgtm.instanceConfig.scheduleDomainRistControlForbidden', 'message' => 'your account is at risk. contact customer support for more details.', 'http_code' => 400, 'description' => '实例配置接入域名的操作被风险控制系统禁止'],
+ ['code' => 'CloudGtm.Monitor.CmsTaskQuotaExceed', 'message' => 'gtm monitor task quota exceed.', 'http_code' => 400, 'description' => '探测任务数量已经超过了允许的最大限额'],
+ ['code' => 'CloudGtm.Monitor.CmsTaskQuotaUltimateExceed', 'message' => 'gtm monitor task ultimate quota exceed.', 'http_code' => 400, 'description' => '旗舰版域名实例配置的探测任务数量已经超过了允许的最大限额'],
+ ['code' => 'CloudGtm.Monitor.MonitorStatusInvalid', 'message' => 'gtm monitor status invalid.', 'http_code' => 400, 'description' => '探测任务状态值参数错误'],
+ ['code' => 'CloudGtm.Monitor.MonitorTaskCmsAlaramIdNotExsit', 'message' => 'gtm monitor task cms alarm id not exist.', 'http_code' => 400, 'description' => '探测任务的云监控的任务 ID 不存在'],
+ ['code' => 'CloudGtm.Monitor.MonitorTaskCmsAlaramIdNotExsit', 'message' => 'gtm monitor task cms alaram id not exist.', 'http_code' => 400, 'description' => 'GTM探测任务所关联的云监控任务ID无效'],
+ ['code' => 'CloudGtm.Monitor.MonitorTaskNotExsit', 'message' => 'gtm monitor task not exist.', 'http_code' => 400, 'description' => '未找到符合条件的探测模板'],
+ ['code' => 'CloudGtm.Monitor.NodeIpVersionNotSupport', 'message' => 'gtm monitorNode not support this ip version.', 'http_code' => 400, 'description' => '探测模板中配置的探测节点不支持模板设置的探测类型'],
+ ['code' => 'CloudGtm.Monitor.NodeIsDisable', 'message' => 'gtm monitorNode is disable.', 'http_code' => 400, 'description' => '探测模板中配置的探测节点已被禁用'],
+ ['code' => 'CloudGtm.Monitor.NodeNotExsit', 'message' => 'gtm monitorNode is not exist.', 'http_code' => 400, 'description' => '探测模板中配置的探测节点不存在'],
+ ['code' => 'CloudGtm.Monitor.TemplateCodeInvalid', 'message' => 'gtm monitorTemplate code is invalid.', 'http_code' => 400, 'description' => '探测模板的“校验内容”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateCountInvalid', 'message' => 'gtm monitorTemplate count is invalid.', 'http_code' => 400, 'description' => '探测模板的数量已经超过了允许的最大限额'],
+ ['code' => 'CloudGtm.Monitor.TemplateEffectiveMonitorNodesCountInvalid', 'message' => 'gtm monitorTemplate effectiveMonitorNodes count is invalid.', 'http_code' => 400, 'description' => '探测模板的“探测节点”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateEvaluationCountInvalid', 'message' => 'gtm monitorTemplate evaluationCount is invalid.', 'http_code' => 400, 'description' => '探测模板的“重试次数”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateExtendInvalid', 'message' => 'gtm monitorTemplate extend is invalid.', 'http_code' => 400, 'description' => '探测模板的"extend”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateFailureRateInvalid', 'message' => 'gtm monitorTemplate failureRate is invalid.', 'http_code' => 400, 'description' => '探测模板的“所选节点探测失败比例”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateFollowRedirectInvalid', 'message' => 'gtm monitorTemplate followRedirect is invalid.', 'http_code' => 400, 'description' => '探测模板的“跟随3XX重定向”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateHasExsited', 'message' => 'gtm monitorTemplate has exsited.', 'http_code' => 400, 'description' => '已存在相同名称的探测模板'],
+ ['code' => 'CloudGtm.Monitor.TemplateHostInvalid', 'message' => 'gtm monitorTemplate host is invalid.', 'http_code' => 400, 'description' => '探测模板的“HOST设置”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateIntervalInvalid', 'message' => 'gtm monitorTemplate interval is invalid.', 'http_code' => 400, 'description' => '探测模板的“检查间隔”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateInUse', 'message' => 'gtm monitorTemplate is still inUse.', 'http_code' => 400, 'description' => '探测模板仍在使用中'],
+ ['code' => 'CloudGtm.Monitor.TemplateIpVersionInvalid', 'message' => 'gtm monitorTemplate ipVersion is invalid.', 'http_code' => 400, 'description' => '探测模板的“探测类型”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateNameConflict', 'message' => 'Gtm monitor template name is conflict.', 'http_code' => 400, 'description' => '探测模板名称已存在'],
+ ['code' => 'CloudGtm.Monitor.TemplateNameConflict', 'message' => 'gtm monitorTemplate name is conflict.', 'http_code' => 400, 'description' => '已存在相同名称的探测模板'],
+ ['code' => 'CloudGtm.Monitor.TemplateNotExsit', 'message' => 'Gtm monitor Template is not exist.', 'http_code' => 400, 'description' => '未找到符合条件的探测模板'],
+ ['code' => 'CloudGtm.Monitor.TemplatePacketLossRateInvalid', 'message' => 'gtm monitorTemplate packetLossRate is invalid.', 'http_code' => 400, 'description' => '探测模板的“异常时丢包率”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplatePacketNumInvalid', 'message' => 'gtm monitorTemplate packetNum is invalid.', 'http_code' => 400, 'description' => '探测模板的“ICMP发送包数量”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplatePathInvalid', 'message' => 'gtm monitorTemplate path is invalid.', 'http_code' => 400, 'description' => '探测模板的“HTTP路径”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplatePortInvalid', 'message' => 'gtm monitorTemplate port is invalid.', 'http_code' => 400, 'description' => '地址的“服务端口”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateProtocolInvalid', 'message' => 'gtm monitorTemplate protocol is invalid.', 'http_code' => 400, 'description' => '探测模板的“探测协议”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateReferenceCountExceedLimit', 'message' => 'gtm monitorTemplate reference count exceed limit.', 'http_code' => 400, 'description' => '探测模板的被引用次数已超过允许的最大限额'],
+ ['code' => 'CloudGtm.Monitor.TemplateReferenceInstanceUseUltimateQuota', 'message' => 'gtm monitorTemplate reference standardInstance use ultimate quota.', 'http_code' => 400, 'description' => '探测模板的配置参数与其所关联的实例套餐版本冲突'],
+ ['code' => 'CloudGtm.Monitor.TemplateResponseContextInvalid', 'message' => 'gtm monitorTemplate responseContext is invalid.', 'http_code' => 400, 'description' => '探测模板的“应答内容”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateSniInvalid', 'message' => 'gtm monitorTemplate sni is invalid.', 'http_code' => 400, 'description' => '探测模板的“启用SNI”参数配置错误'],
+ ['code' => 'CloudGtm.Monitor.TemplateTimeoutInvalid', 'message' => 'gtm monitorTemplate timeout is invalid.', 'http_code' => 400, 'description' => '探测模板的“超时时间”参数配置错误'],
+ ['code' => 'CloudGtm.OperationForbidden.FusionControlled', 'message' => 'The Global Traffic Management (GTM) has been locked. Please make modifications uniformly through the Fusion Cloud DNS Console.', 'http_code' => 400, 'description' => '全局流量管理(GTM)已被锁定,请通过融合云控制台统一修改'],
+ ['code' => 'CloudGtm.Param.ScheduleDomainInvalid', 'message' => 'schedule domain is invalid.', 'http_code' => 400, 'description' => '调度域名无效。'],
+ ['code' => 'CloudGtm.PayOrderCallBack.OnlySupportCloudGtm', 'message' => 'Payorder callback Only Support CloudGtm.', 'http_code' => 400, 'description' => '新购/续费/升级回调暂不支持GTM 3.0'],
+ ['code' => 'CloudGtm.QuotaUsed.IncrParamInvalid', 'message' => 'Increase QuotaUsed Param is INvalid.', 'http_code' => 400, 'description' => '规格用量参数错误'],
+ ['code' => 'CloudGtm.Refund.OnlySupportCloudGtm', 'message' => 'Refund Only Support CloudGtm.', 'http_code' => 400, 'description' => '退款/退续费回调暂不支持GTM 3.0'],
+ ['code' => 'CloudGtm.Refund.ParamNewExpireTimeInvalid', 'message' => 'gtm refund param newExpireTime is invalid.', 'http_code' => 400, 'description' => 'CluodGtm退费参数newExpireTime错误'],
+ ['code' => 'CloudGtm.ScheduleDomainConflictWithAuthorityNsRecord', 'message' => 'GTM scheduling domain name conflicts with authoritative NS record.', 'http_code' => 400, 'description' => 'GTM调度域名与权威NS记录冲突。'],
+ ['code' => 'ClouGtm.AddressPool.TypeConflictWithLbStrategy', 'message' => 'gtm address pool type is conflict with lb strategy.', 'http_code' => 400, 'description' => '接入域名引用了多种类型地址池,与该域名配置的负载均衡策略冲突'],
+ ['code' => 'CreateOrderFailed', 'message' => null, 'http_code' => null, 'description' => '创建订单失败'],
+ ['code' => 'Data.Log.ExceedReadDataMax', 'message' => 'Maximum read limit exceeded.', 'http_code' => 400, 'description' => '超过最大读取限制'],
+ ['code' => 'DataFormatError', 'message' => null, 'http_code' => null, 'description' => '数据格式不正确'],
+ ['code' => 'DefaultlineNotadded', 'message' => null, 'http_code' => null, 'description' => '没有添加过默认线路,请先添加默认线路。'],
+ ['code' => 'DeleteDomain.Empty', 'message' => null, 'http_code' => null, 'description' => '域名不能为空,请选择域名。'],
+ ['code' => 'DeleteDomain.Empty', 'message' => 'The domain name is required. Please select a domain name.', 'http_code' => null, 'description' => '域名不能为空,请选择域名。'],
+ ['code' => 'delRRfail', 'message' => null, 'http_code' => null, 'description' => '删除解析记录失败'],
+ ['code' => 'delSoafail', 'message' => null, 'http_code' => null, 'description' => '删除域名失败!'],
+ ['code' => 'DisableDNSSLB', 'message' => null, 'http_code' => null, 'description' => '子域名未开启 加权轮询'."\n"],
+ ['code' => 'DisableDNSSLB', 'message' => 'You have not enabled the weighted round robin for the subdomain.', 'http_code' => null, 'description' => '子域名未开启 加权轮询'."\n"],
+ ['code' => 'DnsCache.Invalid.SourceIp', 'message' => 'the source DNS server is invalid. Enter a domain name or an IPv4 address.', 'http_code' => 400, 'description' => '源站DNS服务器 %s 错误,只能是域名或者IPv4地址。'],
+ ['code' => 'DnsCache.Invalid.SourceServer', 'message' => 'The source DNS server is invalid. Enter a domain name or an IPv4 address.', 'http_code' => 400, 'description' => '源站DNS服务器 %s 错误,只能是有效的域名或者IPv4地址。'],
+ ['code' => 'DnsCustomLine.Invalid.IP', 'message' => 'The IP address range is incorrectly formatted.', 'http_code' => 400, 'description' => 'IP地址段 %s 格式不正确'],
+ ['code' => 'DnsCustomLine.Invalid.IPOverlap', 'message' => 'The IP address range overlaps with the existing IP address range.', 'http_code' => 400, 'description' => 'IP地址段%s与已存在地址段%s重叠'],
+ ['code' => 'DnsCustomLine.Invalid.IPSegment', 'message' => 'The IP address range is invalid.', 'http_code' => 400, 'description' => 'IP地址段范围%s错误'],
+ ['code' => 'DnsCustomLine.IP.Exceeds', 'message' => 'The maximum number of IP address ranges is exceeded.', 'http_code' => 400, 'description' => 'IP地址段超过最大个数 %s.'],
+ ['code' => 'DnsCustomLine.Number.Exceeds', 'message' => 'The maximum number of custom lines is exceeded.', 'http_code' => 400, 'description' => '自定义线路超过最大个数 %s.'],
+ ['code' => 'DNSnotfound', 'message' => null, 'http_code' => null, 'description' => '域名未分配DNS,请联系阿里云客服!'],
+ ['code' => 'DnsSLB.InvalidType', 'message' => 'The turn on/off option is not available for CNAME records.', 'http_code' => null, 'description' => 'CNAME记录无法使用[开启/关闭]功能'],
+ ['code' => 'DnsTemplate.QuotaExceededTemplate', 'message' => 'The number of templates exceeds the limit.', 'http_code' => null, 'description' => '解析模板个数超过最大限制。'],
+ ['code' => 'Domain.Delete.Forbidden', 'message' => 'Domain names are forbidden to be deleted.', 'http_code' => 400, 'description' => '域名禁止被删除'],
+ ['code' => 'DomainAddedByOthers', 'message' => null, 'http_code' => null, 'description' => '域名被其他账户添加'],
+ ['code' => 'DomainEmpty', 'message' => null, 'http_code' => null, 'description' => '域名不能为空'],
+ ['code' => 'DomainEmpty', 'message' => 'The domain name is required.', 'http_code' => null, 'description' => '域名不能为空'],
+ ['code' => 'DomainExpiredDNSForbidden', 'message' => null, 'http_code' => null, 'description' => '禁止操作:域名已过期,解析已被锁定。'],
+ ['code' => 'DomainLoggingSwitch.Duplicate', 'message' => 'The logging switch is duplicate.', 'http_code' => 400, 'description' => '日志开关重复'],
+ ['code' => 'DomainLoggingSwitch.InvalidPostBusinessStatus', 'message' => 'Invalid post business status.', 'http_code' => 400, 'description' => '云解析后付费服务状态无效'],
+ ['code' => 'DomainLoggingSwitch.InvalidStatus', 'message' => 'The logging switch status is invalid.', 'http_code' => 400, 'description' => '日志开关状态无效'],
+ ['code' => 'DomainNotFound', 'message' => null, 'http_code' => null, 'description' => '域名不存在!'],
+ ['code' => 'DomainNotFound', 'message' => 'The domain name does not exist.', 'http_code' => null, 'description' => '域名不存在!'],
+ ['code' => 'DomainRecordConflict', 'message' => null, 'http_code' => null, 'description' => '与其他记录冲突,不能添加'],
+ ['code' => 'DomainRecordDisable', 'message' => null, 'http_code' => null, 'description' => '解析记录被暂停'],
+ ['code' => 'DomainRecordDisable', 'message' => 'The DNS record is suspended.', 'http_code' => null, 'description' => '解析记录被暂停'],
+ ['code' => 'DomainRecordDuplicate', 'message' => null, 'http_code' => null, 'description' => '解析记录已存在'],
+ ['code' => 'DomainRecordLocked', 'message' => null, 'http_code' => null, 'description' => '禁止操作:解析记录被锁定'],
+ ['code' => 'DomainRecordNotBelongToUser', 'message' => null, 'http_code' => null, 'description' => '解析记录在本账户下不存在'],
+ ['code' => 'DomainRecordSvcbModeConflict', 'message' => 'The type records have conflict between alias mode and service mode.', 'http_code' => 400, 'description' => '“%s”记录别名模式和服务模式冲突'],
+ ['code' => 'DomainTransfer.TransferredToOthers', 'message' => 'This domain has been transferred to another account.', 'http_code' => 400, 'description' => '该域名曾被转移到其他账号管理。'],
+ ['code' => 'EdgeDns.Alert.AccessKeyExceedMaxLength', 'message' => 'Access key exceed max length.', 'http_code' => 400, 'description' => 'AccessKey长度超过最大限制'],
+ ['code' => 'EdgeDns.Alert.AlertGeneralConfigNotExist', 'message' => 'Alert general config not exist.', 'http_code' => 400, 'description' => '告警基础配置不存在'],
+ ['code' => 'EdgeDns.Alert.AlertNotifyInvalidUserId', 'message' => 'Alert notify invalid userId.', 'http_code' => 400, 'description' => '无效的用户Id'],
+ ['code' => 'EdgeDns.Alert.ContactsMustNotBeEmpty', 'message' => 'Contacts must not be empty.', 'http_code' => 400, 'description' => '邮件通知人不能为空'],
+ ['code' => 'EdgeDns.Alert.EmailAlertNotifyConfigInvalid', 'message' => 'Email alert notify config invalid.', 'http_code' => 400, 'description' => '邮件通知配置不合法'],
+ ['code' => 'EdgeDns.Alert.EmailContactsInvalid', 'message' => 'Email contacts invalid.', 'http_code' => 400, 'description' => '邮件联系人不合法'],
+ ['code' => 'EdgeDns.Alert.InvalidEmailUsername', 'message' => 'Invalid email user name.', 'http_code' => 400, 'description' => '邮箱名称不合法'],
+ ['code' => 'EdgeDns.Alert.InvalidSenderAddress', 'message' => 'Invalid sender address.', 'http_code' => 400, 'description' => '发件人地址不合法'],
+ ['code' => 'EdgeDns.Alert.InvalidSmtpServerAddress', 'message' => 'Invalid smtp server address.', 'http_code' => 400, 'description' => '无效的smtp服务地址'],
+ ['code' => 'EdgeDns.Alert.InvalidSyslogSendProtocol', 'message' => 'Invalid syslog send protocol.', 'http_code' => 400, 'description' => 'Syslog发送协议不合法'],
+ ['code' => 'EdgeDns.Alert.InvalidSyslogServerAddress', 'message' => 'Invalid syslog server address.', 'http_code' => 400, 'description' => 'Syslog服务器地址不合法'],
+ ['code' => 'EdgeDns.Alert.InvalidUsername', 'message' => 'Invalid user name.', 'http_code' => 400, 'description' => '用户名不合法'],
+ ['code' => 'EdgeDns.Alert.NotifyGatewayConfigNotExist', 'message' => 'Notify gateway config not exist.', 'http_code' => 400, 'description' => '通知网关配置不存在'],
+ ['code' => 'EdgeDns.Alert.SecretExceedMaxLength', 'message' => 'Secret exceed max length.', 'http_code' => 400, 'description' => '密码超过最大长度限制'],
+ ['code' => 'EdgeDns.Alert.SignatureExceedMaxLength', 'message' => 'Signature exceed max length.', 'http_code' => 400, 'description' => '签名超过最大长度限制'],
+ ['code' => 'EdgeDns.Alert.SmsAlertNotifyConfigInvalid', 'message' => 'Sms alert notify config invalid.', 'http_code' => 400, 'description' => '短信通知配置不合法'],
+ ['code' => 'EdgeDns.Alert.SmsContactsInvalid', 'message' => 'Sms contacts invalid.', 'http_code' => 400, 'description' => '短信联系人不合法'],
+ ['code' => 'EdgeDns.Alert.SmsTemplateCodeMustNotBeEmpty', 'message' => 'Sms template code must not be empty.', 'http_code' => 400, 'description' => '短信模版code不能为空'],
+ ['code' => 'EdgeDns.Alert.SyslogAlertNotifyConfigInvalid', 'message' => 'Syslog alert notify config invalid.', 'http_code' => 400, 'description' => 'Syslog告警通知配置不合法'],
+ ['code' => 'EdgeDns.Alert.WebhookAlertNotifyConfigInvalid', 'message' => 'Webhook alert notify config invalid.', 'http_code' => 400, 'description' => 'Webhook通知配置不合法'],
+ ['code' => 'EdgeDns.Alert.WebhookUrlMustNotBeEmpty', 'message' => 'Webhook url must not be empty.', 'http_code' => 400, 'description' => 'Webhook url不能为空'],
+ ['code' => 'EdgeDns.AppAgent.InvalidPlatform', 'message' => 'The app agent platform is invalid.', 'http_code' => 400, 'description' => '自建DNS软件平台不合法'],
+ ['code' => 'EdgeDns.AppAgent.InvalidVersion', 'message' => 'The app agent version is invalid.', 'http_code' => 400, 'description' => '自建DNS软件版本不合法'],
+ ['code' => 'EdgeDns.AppReleasedVersionNotExisted', 'message' => 'The app released version not existed.', 'http_code' => 400, 'description' => '自建DNS没有已经发布的软件版本'],
+ ['code' => 'EdgeDns.AppVersion.InvalidPlatform', 'message' => 'The app version platform is invalid.', 'http_code' => 400, 'description' => '自建DNS软件版本平台不合法'],
+ ['code' => 'EdgeDns.AppVersion.InvalidStatus', 'message' => 'The app version status is invalid.', 'http_code' => 400, 'description' => '自建DNS软件版本状态不合法'],
+ ['code' => 'EdgeDns.AppVersion.NotExisted', 'message' => 'The app version not existed.', 'http_code' => 400, 'description' => '自建DNS软件版本不存在'],
+ ['code' => 'EdgeDns.CallEdgeDnsServerFailed', 'message' => 'Call edge dns server failed.', 'http_code' => 400, 'description' => '调用自建DNS服务器失败。'],
+ ['code' => 'Edgedns.Cluster.AppVersionExpired', 'message' => 'Edge dns cluster app version is expired.', 'http_code' => 400, 'description' => '自建DNS集群软件版本已过期。'],
+ ['code' => 'EdgeDns.Cluster.BindCountExceedLimit', 'message' => 'The number of clusters bound to the resource exceeds the limit.', 'http_code' => 400, 'description' => '资源关联的自建DNS解析集群超过上限。'],
+ ['code' => 'EdgeDns.Cluster.CacheReserveDomainDuplicate', 'message' => 'Edge dns cluster is bind to same domain name.', 'http_code' => 400, 'description' => '自建DNS集群关联了同名的缓存保持域名。'],
+ ['code' => 'EdgeDns.Cluster.ExceedMaxCount', 'message' => 'Cluster exceed max count.', 'http_code' => 400, 'description' => '集群数量超过最大值'],
+ ['code' => 'Edgedns.Cluster.ForbiddenRetryResourceActionJob', 'message' => 'Access forbidden to retry resource action job.', 'http_code' => 400, 'description' => '已有进行中的数据同步任务,禁止重复提交。'],
+ ['code' => 'EdgeDns.Cluster.HasNodes', 'message' => 'Cluster has nodes.', 'http_code' => 400, 'description' => '集群下存在节点'],
+ ['code' => 'EdgeDns.Cluster.NameExist', 'message' => 'Cluster name exist.', 'http_code' => 400, 'description' => '集群名称已存在'],
+ ['code' => 'EdgeDns.Cluster.NameInvalid', 'message' => 'Cluster name invalid.', 'http_code' => 400, 'description' => '集群名称不合法'],
+ ['code' => 'EdgeDns.Cluster.NodeEmpty', 'message' => 'The cluster node is empty.', 'http_code' => 400, 'description' => '自建DNS集群下的节点列表为空,不能执行操作'],
+ ['code' => 'EdgeDns.Cluster.NoNodes', 'message' => 'Cluster does not have nodes.', 'http_code' => 400, 'description' => '自建DNS集群下无有效节点。'],
+ ['code' => 'EdgeDns.Cluster.NotBelongToUser', 'message' => 'Cluster does not belong to user.', 'http_code' => 400, 'description' => '自建DNS集群不属于当前用户。'],
+ ['code' => 'EdgeDns.Cluster.NotExist', 'message' => 'Cluster not exist.', 'http_code' => 400, 'description' => '集群不存在'],
+ ['code' => 'EdgeDns.Cluster.NotExists', 'message' => 'Cluster does not exist.', 'http_code' => 400, 'description' => '自建DNS集群不存在'],
+ ['code' => 'Edgedns.Cluster.NotSupportCurrentEnv', 'message' => 'Edge dns cluster not support current env.', 'http_code' => 400, 'description' => '自建DNS集群环境属性非法。'],
+ ['code' => 'Edgedns.Cluster.NotSupportOperator', 'message' => 'Edge dns cluster not support operator.', 'http_code' => 400, 'description' => '不支持操作自建DNS运维集群'],
+ ['code' => 'EdgeDns.Cluster.RecurseEnableStatusInvalid', 'message' => 'The cluster recurse enable status invalid.', 'http_code' => 400, 'description' => '自建DNS集群开启递归状态不合法'],
+ ['code' => 'EdgeDns.Cluster.ResolveRuleDuplicate', 'message' => 'Edge dns cluster is bind to same forward zone name.', 'http_code' => 400, 'description' => '自建DNS集群关联了同名的转发规则。'],
+ ['code' => 'EdgeDns.Cluster.ResourceTypeInvalid', 'message' => 'The cluster resource type invalid.', 'http_code' => 400, 'description' => '自建DNS集群关联资源类型不合法'],
+ ['code' => 'EdgeDns.Cluster.TypeDefaultCannotDelete', 'message' => 'Cluster type default cannot delete.', 'http_code' => 400, 'description' => '默认集群不允许删除'],
+ ['code' => 'EdgeDns.Cluster.TypeInvalid', 'message' => 'Cluster type invalid.', 'http_code' => 400, 'description' => '集群类型不合法'],
+ ['code' => 'EdgeDns.Cluster.ZoneDuplicate', 'message' => 'Edge dns cluster is bind to same authority zone name.', 'http_code' => 400, 'description' => '自建DNS集群关联了同名权威Zone'],
+ ['code' => 'EdgeDns.Deploy.ClusterExistedNotFinalStatusTask', 'message' => 'The cluster existed not final status task.', 'http_code' => 400, 'description' => '自建DNS集群存在未完成的部署任务'],
+ ['code' => 'EdgeDns.Deploy.ClusterNodeServiceNotAllowed', 'message' => 'The cluster node service not allowed.', 'http_code' => 400, 'description' => '自建DNS部署节点不支持部署该服务'],
+ ['code' => 'EdgeDns.Deploy.CreateTaskFailed', 'message' => 'Create task failed.', 'http_code' => 400, 'description' => '自建DNS创建部署任务失败'],
+ ['code' => 'EdgeDns.Deploy.InstallServiceExisted', 'message' => 'The install service is existed.', 'http_code' => 400, 'description' => '自建DNS要安装的服务已存在'],
+ ['code' => 'EdgeDns.Deploy.InvalidService', 'message' => 'The service is invalid.', 'http_code' => 400, 'description' => '自建DNS部署任务服务不合法'],
+ ['code' => 'EdgeDns.Deploy.InvalidTaskCode', 'message' => 'The task code is invalid.', 'http_code' => 400, 'description' => '自建DNS部署任务类型不合法'],
+ ['code' => 'EdgeDns.Deploy.InvalidTaskParam', 'message' => 'The task param is invalid.', 'http_code' => 400, 'description' => '自建DNS部署任务参数不合法'],
+ ['code' => 'EdgeDns.Deploy.InvalidTaskStatus', 'message' => 'The task status is invalid.', 'http_code' => 400, 'description' => '自建DNS部署任务状态不合法'],
+ ['code' => 'EdgeDns.Deploy.InvalidVersion', 'message' => 'The version is invalid.', 'http_code' => 400, 'description' => '自建DNS部署版本不合法'],
+ ['code' => 'EdgeDns.Deploy.NodeIpNetworkError', 'message' => 'The node ip network error.', 'http_code' => 400, 'description' => '自建DNS用户节点ip网络错误'],
+ ['code' => 'EdgeDns.Deploy.RunTaskFailed', 'message' => 'Run task failed.', 'http_code' => 400, 'description' => '自建DNS执行部署任务失败'],
+ ['code' => 'EdgeDns.Deploy.ServiceNotExisted', 'message' => 'The service not existed.', 'http_code' => 400, 'description' => '自建DNS服务不存在'],
+ ['code' => 'EdgeDns.Deploy.SessionNotExisted', 'message' => 'The cluster session not existed.', 'http_code' => 400, 'description' => '自建DNS用户集群无法连接'],
+ ['code' => 'EdgeDns.Deploy.TaskCodeNotSupport', 'message' => 'The task code not support.', 'http_code' => 400, 'description' => '自建DNS不支持的部署任务类型'],
+ ['code' => 'EdgeDns.Deploy.TaskNotExisted', 'message' => 'The task not existed.', 'http_code' => 400, 'description' => '自建DNS部署任务不存在'],
+ ['code' => 'EdgeDns.Deploy.TaskStatusNotAllowFinish', 'message' => 'Task status not allow finish.', 'http_code' => 400, 'description' => '自建DNS部署任务状态不允许结束'],
+ ['code' => 'EdgeDns.Deploy.TaskStatusNotAllowRetry', 'message' => 'Task status not allow retry.', 'http_code' => 400, 'description' => '自建DNS部署任务状态不允许重试'],
+ ['code' => 'EdgeDns.Deploy.UserNodeIpExisted', 'message' => 'The user node ip existed.', 'http_code' => 400, 'description' => '自建DNS用户节点ip已存在'],
+ ['code' => 'EdgeDns.Deploy.UserNodeIpMustConnected', 'message' => 'The user node ip must connected.', 'http_code' => 400, 'description' => '自建DNS用户节点ip无法连接'],
+ ['code' => 'EdgeDns.DeployAddNode.FirstNodeServiceNotContainsManagement', 'message' => 'The first node service not contains management.', 'http_code' => 400, 'description' => '自建DNS首个部署节点不包含管理服务'],
+ ['code' => 'EdgeDns.InvalidFeature', 'message' => 'The feature is invalid.', 'http_code' => 400, 'description' => '自建DNS配置的功能不合法'],
+ ['code' => 'EdgeDns.InvalidResourceType', 'message' => 'The resource type is invalid.', 'http_code' => 400, 'description' => '自建DNS删除节点时,查询的资源类型不合法'],
+ ['code' => 'EdgeDns.InvalidToken', 'message' => 'The token is invalid.', 'http_code' => 400, 'description' => '自建DNS凭证不合法'],
+ ['code' => 'EdgeDns.InvalidUserId', 'message' => 'The user id is invalid.', 'http_code' => 400, 'description' => '自建DNS用户id不合法'],
+ ['code' => 'EdgeDns.Log.InvalidSearchTarget', 'message' => 'Invalid search target.', 'http_code' => 400, 'description' => '搜索字段无效'],
+ ['code' => 'EdgeDns.Monitor.InvalidAction', 'message' => 'Invalid action.', 'http_code' => 400, 'description' => '不支持的监控action'],
+ ['code' => 'EdgeDns.Node.Existed', 'message' => 'The node already existed.', 'http_code' => 400, 'description' => '自建DNS集群节点已经存在'],
+ ['code' => 'EdgeDns.Node.InvalidName', 'message' => 'The node name is invalid.', 'http_code' => 400, 'description' => '节点名称已存在'],
+ ['code' => 'EdgeDns.Node.InvalidNodeId', 'message' => 'The node id is invalid.', 'http_code' => 400, 'description' => '节点Id不合法'],
+ ['code' => 'EdgeDns.Node.InvalidRemark', 'message' => 'The node remark is invalid.', 'http_code' => 400, 'description' => '节点备注不合法'],
+ ['code' => 'EdgeDns.Node.NoServiceExistAfterOperation', 'message' => 'Node no service exist after operation.', 'http_code' => 400, 'description' => '自建DNS部署任务操作后不存在服务'],
+ ['code' => 'EdgeDns.Node.NotExist', 'message' => 'Node not exist.', 'http_code' => 400, 'description' => '节点不存在'],
+ ['code' => 'EdgeDns.Node.OnlyResolveNodeExistAfterOperation', 'message' => 'Only resolve node exist after operation.', 'http_code' => 400, 'description' => '自建DNS部署任务操作后只存在解析节点'],
+ ['code' => 'EdgeDns.Node.QuotaExceed', 'message' => 'The node in cluster quota exceed.', 'http_code' => 400, 'description' => '自建DNS集群节点数超过限制'],
+ ['code' => 'EdgeDns.Node.UtilityNotExist', 'message' => 'Node utility not exist', 'http_code' => 400, 'description' => '节点服务不存在'],
+ ['code' => 'EdgeDns.Retry.NoRetryTask', 'message' => 'No need retry task.', 'http_code' => 400, 'description' => '没有需要重试的数据同步任务。'],
+ ['code' => 'EdgeDns.ServiceAlreadyUserLatestVersion', 'message' => 'The service already user latest version.', 'http_code' => 400, 'description' => '自建DNS要升级的服务已经是用户名下最新版本,需要版本全部拉齐一致后才能升级'],
+ ['code' => 'EdgeDns.TokenExpired', 'message' => 'The token is expired.', 'http_code' => 400, 'description' => '自建DNS凭证已经过期'],
+ ['code' => 'EdgeDns.UserAppVersionAllNotAvailable', 'message' => 'User app version number greater than or equal to two and all not available.', 'http_code' => 400, 'description' => '自建DNS用户名下版本号大于等于2个且全部不可用'],
+ ['code' => 'EnableDnsSlbFailed', 'message' => null, 'http_code' => null, 'description' => '打开 加权轮询 失败。'],
+ ['code' => 'Fobidden.DefaultGroup', 'message' => null, 'http_code' => null, 'description' => '默认域名分组无法删除'],
+ ['code' => 'Fobidden.DefaultGroup', 'message' => 'Cannot delete the default domain group.', 'http_code' => null, 'description' => '默认域名分组无法删除'],
+ ['code' => 'Fobidden.NotEmptyGroup', 'message' => null, 'http_code' => null, 'description' => '含有域名的分组无法删除'],
+ ['code' => 'Fobidden.RecordLocked', 'message' => null, 'http_code' => null, 'description' => '域名含有锁定解析'],
+ ['code' => 'Forbidden', 'message' => null, 'http_code' => null, 'description' => '操作被禁止'],
+ ['code' => 'Forbidden', 'message' => 'You are not authorized to operate the specified resource.', 'http_code' => null, 'description' => '操作被禁止'],
+ ['code' => 'Forbidden.DomainType', 'message' => null, 'http_code' => null, 'description' => '阿里云注册域名,不能进行此操作 。'],
+ ['code' => 'Forbidden.miitBlackList', 'message' => null, 'http_code' => null, 'description' => '工信部黑名单域名'],
+ ['code' => 'Forbidden.MteeRiskControl', 'message' => 'RT001, the domain is at risk. Contact customer support for more details.', 'http_code' => 400, 'description' => 'RT001,抱歉,该域名因安全问题无法添加,您可通过工单进行申诉'],
+ ['code' => 'Forbidden.NotAliyunDomain', 'message' => null, 'http_code' => null, 'description' => '域名不是阿里云域名。'],
+ ['code' => 'Forbidden.NotAliyunDomain', 'message' => 'The domain name is not registered with Alibaba Cloud.', 'http_code' => null, 'description' => '域名不是阿里云域名。'],
+ ['code' => 'Forbidden.NotHichinaDomain', 'message' => 'This action cannot be performed on the domain. Only hichina domains permit this action.', 'http_code' => null, 'description' => '域名不是阿里云域名'],
+ ['code' => 'Forbidden.ProtectedDomain', 'message' => null, 'http_code' => null, 'description' => '找回白名单域名不允许找回'],
+ ['code' => 'Forbidden.ProtectedDomain', 'message' => 'The domain names in the whitelist cannot be retrieved.', 'http_code' => null, 'description' => '找回白名单域名不允许找回'],
+ ['code' => 'Forbidden.RiskControl', 'message' => null, 'http_code' => null, 'description' => '该操作被风险控制系统禁止。'],
+ ['code' => 'Forbidden.RiskControl', 'message' => 'Your account is at risk. Contact customer support for more details.', 'http_code' => null, 'description' => '您的帐户存在风险,详情请联系客服。'],
+ ['code' => 'Forbidden.TooOfen', 'message' => null, 'http_code' => null, 'description' => '90秒内不允许重复找回'],
+ ['code' => 'Forbidden.TooOfen', 'message' => 'Please wait 90 seconds before retrieving again.', 'http_code' => null, 'description' => '90秒内不允许重复找回'],
+ ['code' => 'Forbidden.UserVerification', 'message' => null, 'http_code' => null, 'description' => '无实名验证'],
+ ['code' => 'FusionClient.CountExceeded', 'message' => 'fusionClient count exceeded limits.', 'http_code' => 400, 'description' => '当前账户绑定融合云客户端数量超过允许的最大限额'],
+ ['code' => 'Gtm.Invalid.Id', 'message' => 'The specified ID is invalid.', 'http_code' => 400, 'description' => 'id不合法'],
+ ['code' => 'Gtm.VerifySign.Failed', 'message' => 'An error occurred while verifying the signature.', 'http_code' => 400, 'description' => '验签失败'],
+ ['code' => 'GtmAccessStrategy.AccessLine.Conflict', 'message' => 'The specified access region is in conflict with an existing region.', 'http_code' => 400, 'description' => '访问区域冲突'],
+ ['code' => 'GtmAccessStrategy.AccessLine.Forbidden', 'message' => 'The specified access region is already in use.', 'http_code' => 400, 'description' => '该访问区域已被占用'],
+ ['code' => 'GtmAccessStrategy.AccessStatus.Failover', 'message' => 'The current access status is failover.', 'http_code' => 400, 'description' => '当前访问状态是Failover地址池'],
+ ['code' => 'GtmAccessStrategy.AddrPool.Same', 'message' => 'The specified default address pool and failover address pool are the same.', 'http_code' => 400, 'description' => '默认地址池和failover地址池一样'],
+ ['code' => 'GtmAccessStrategy.Invalid.AccessLine', 'message' => 'The specified access region list is invalid.', 'http_code' => 400, 'description' => '无效的访问区域列表'],
+ ['code' => 'GtmAccessStrategy.Invalid.AccessMode', 'message' => 'The specified access mode is invalid.', 'http_code' => 400, 'description' => '无效的访问模式'],
+ ['code' => 'GtmAccessStrategy.Invalid.DefaultPool', 'message' => 'The default address pool is invalid.', 'http_code' => 400, 'description' => '默认地址池无效'],
+ ['code' => 'GtmAccessStrategy.Invalid.FailoverPool', 'message' => 'The specified failover address pool is invalid.', 'http_code' => 400, 'description' => 'failover地址池无效'],
+ ['code' => 'GtmAccessStrategy.Invalid.Id', 'message' => 'The specified access strategy ID is invalid.', 'http_code' => 400, 'description' => '无效的访问策略id'],
+ ['code' => 'GtmAccessStrategy.Invalid.InstanceId', 'message' => 'The specified instance ID is invalid.', 'http_code' => 400, 'description' => '无效的实例Id'],
+ ['code' => 'GtmAccessStrategy.Invalid.Name', 'message' => 'The specified strategy name is invalid.', 'http_code' => 400, 'description' => '无效的策略名称'],
+ ['code' => 'GtmAccessStrategy.Invalid.StrategyMode', 'message' => 'The specified strategy mode is invalid.', 'http_code' => 400, 'description' => '无效的策略模式'],
+ ['code' => 'GtmAccessStrategy.Invalid.UserId', 'message' => 'The specified user ID is invalid.', 'http_code' => 400, 'description' => '无效的用户id'],
+ ['code' => 'GtmAccessStrategy.Name.ExceedsLimit', 'message' => 'The specified strategy name exceeds the character limit.', 'http_code' => 400, 'description' => '策略名称超长'],
+ ['code' => 'GtmAccessStrategy.NotExists', 'message' => 'The specified access strategy does not exist.', 'http_code' => 400, 'description' => '访问策略不存在'],
+ ['code' => 'GtmAccessStrategy.Num.ExceedsLimit', 'message' => 'You cannot create more access strategies.', 'http_code' => 400, 'description' => '访问策略超出限制'],
+ ['code' => 'GtmAddr.Invalid.LbaWeight', 'message' => 'The specified address weight is invalid.', 'http_code' => 400, 'description' => '地址权重不合法'],
+ ['code' => 'GtmAddr.Invalid.Mode', 'message' => 'The specified address mode is invalid.', 'http_code' => 400, 'description' => '地址mode不合法'],
+ ['code' => 'GtmAddr.Invalid.Value', 'message' => 'The specified address is invalid.', 'http_code' => 400, 'description' => '地址值不合法'],
+ ['code' => 'GtmAddr.NotExists', 'message' => 'The specified address does not exist.', 'http_code' => 400, 'description' => '地址不存在'],
+ ['code' => 'GtmAddr.Num.ExceedsLimit', 'message' => 'The number of addresses in the specified address pool exceeds the limit.', 'http_code' => 400, 'description' => '地址池的地址个数不合法'],
+ ['code' => 'GtmAddr.Value.Duplicate', 'message' => 'The specified address already exists.', 'http_code' => 400, 'description' => '地址值重复'],
+ ['code' => 'GtmAddrPool.Invalid.Id', 'message' => 'The specified address pool ID is invalid.', 'http_code' => 400, 'description' => '地址池id不合法'],
+ ['code' => 'GtmAddrPool.Invalid.MinAvailableAddrNum', 'message' => 'The specified value for minimum available addresses is invalid.', 'http_code' => 400, 'description' => '最小可用地址数量超过限制'],
+ ['code' => 'GtmAddrPool.Invalid.Name', 'message' => 'The specified address pool name is invalid.', 'http_code' => 400, 'description' => '地址池name不合法'],
+ ['code' => 'GtmAddrPool.Invalid.Type', 'message' => 'The specified address pool type is invalid.', 'http_code' => 400, 'description' => '地址池类型不合法'],
+ ['code' => 'GtmAddrPool.Invalid.UserId', 'message' => 'The specified address pool user ID is invalid.', 'http_code' => 400, 'description' => '地址池用户id不合法'],
+ ['code' => 'GtmAddrPool.NotExists', 'message' => 'The specified address pool does not exist.', 'http_code' => 400, 'description' => '地址池不存在'],
+ ['code' => 'GtmAddrPool.Num.ExceedsLimit', 'message' => 'You cannot create more address pools.', 'http_code' => 400, 'description' => '地址池个数超过上限'],
+ ['code' => 'GtmAddrPool.RelatedAccessStrategy', 'message' => 'The specified address pool already has an access strategy and cannot be deleted.', 'http_code' => 400, 'description' => '地址池已经关联访问策略,不能删除'],
+ ['code' => 'GtmHealthCheck.Exist', 'message' => 'The specified health check already exists.', 'http_code' => 400, 'description' => '健康检查已经存在'],
+ ['code' => 'GtmHealthCheck.Invalid.Code', 'message' => 'The specified health check return code is invalid.', 'http_code' => 400, 'description' => '健康检查返回码不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.FailureRate', 'message' => 'The specified health check failure ratio is invalid.', 'http_code' => 400, 'description' => '健康检查失败比率不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.Host', 'message' => 'The specified health check host is invalid.', 'http_code' => 400, 'description' => '健康检查host不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.Id', 'message' => 'The specified health check ID is invalid.', 'http_code' => 400, 'description' => '健康检查id不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.Interval', 'message' => 'The specified health check interval value is invalid.', 'http_code' => 400, 'description' => '健康检查间隔不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.Name', 'message' => 'The specified health check name is invalid.', 'http_code' => 400, 'description' => '健康检查名称不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.PacketLossRate', 'message' => 'The specified health check packet loss ratio is invalid.', 'http_code' => 400, 'description' => '健康检查丢包率不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.PacketNum', 'message' => 'The specified number of ping packets for the health check is invalid.', 'http_code' => 400, 'description' => '健康检查ping包数目不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.Path', 'message' => 'The specified health check URL path is invalid.', 'http_code' => 400, 'description' => '健康检查URL路径不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.Port', 'message' => 'The specified port number is invalid.', 'http_code' => 400, 'description' => '端口号不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.Protocol', 'message' => 'The specified health check protocol is invalid.', 'http_code' => 400, 'description' => '健康检查协议不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.Status', 'message' => 'The specified health check status is invalid.', 'http_code' => 400, 'description' => '健康检查状态不合法'],
+ ['code' => 'GtmHealthCheck.Invalid.UserId', 'message' => 'The specified health user ID does not exist.', 'http_code' => 400, 'description' => '健康检查用户id不合法'],
+ ['code' => 'GtmHealthCheck.NodeNum.ExceedsLimit', 'message' => 'The specified number of monitoring nodes for the health check is invalid.', 'http_code' => 400, 'description' => '健康检查监控节点个数不合法'],
+ ['code' => 'GtmHealthCheck.NotExists', 'message' => 'The specified health check configuration does not exist.', 'http_code' => 400, 'description' => '健康检查配置不存在'],
+ ['code' => 'GtmInstance.AlertGroup.ExceedsLimit', 'message' => 'The specified alarm group exceeds the alarm limit.', 'http_code' => 400, 'description' => '报警组超过数量限制'],
+ ['code' => 'GtmInstance.InstanceName.ExceedsLimit', 'message' => 'The specified instance name exceeds the character limit.', 'http_code' => 400, 'description' => '实例名称字符超出限制'],
+ ['code' => 'GtmInstance.Invalid.AlertGroup', 'message' => 'The specified alarm group is invalid.', 'http_code' => 400, 'description' => '无效的报警组'],
+ ['code' => 'GtmInstance.Invalid.Cname', 'message' => 'The specified CNAME is invalid.', 'http_code' => 400, 'description' => 'cname值无效'],
+ ['code' => 'GtmInstance.Invalid.ExpireDate', 'message' => 'The specified expiration date is invalid.', 'http_code' => 400, 'description' => '到期日无效'],
+ ['code' => 'GtmInstance.Invalid.Id', 'message' => 'The specified ID is invalid.', 'http_code' => 400, 'description' => '无效的id'],
+ ['code' => 'GtmInstance.Invalid.InstanceId', 'message' => 'The specified instance ID is invalid.', 'http_code' => 400, 'description' => '无效的实例Id'],
+ ['code' => 'GtmInstance.Invalid.LbaStrategy', 'message' => 'The specified balancing strategy is invalid.', 'http_code' => 400, 'description' => '无效的均衡策略'],
+ ['code' => 'GtmInstance.Invalid.Name', 'message' => 'The specified instance name is invalid.', 'http_code' => 400, 'description' => '无效的实例名称'],
+ ['code' => 'GtmInstance.Invalid.Ttl', 'message' => 'The specified TTL is invalid.', 'http_code' => 400, 'description' => '无效的TTl'],
+ ['code' => 'GtmInstance.Invalid.UserDomainName', 'message' => 'The specified primary domain is invalid.', 'http_code' => 400, 'description' => '主域名无效'],
+ ['code' => 'GtmInstance.Invalid.UserId', 'message' => 'The specified user ID is invalid.', 'http_code' => 400, 'description' => '无效的用户id'],
+ ['code' => 'GtmInstance.Invalid.VersionCode', 'message' => 'The specified version is invalid.', 'http_code' => 400, 'description' => '无效的版本号'],
+ ['code' => 'GtmInstance.NotExists', 'message' => 'The specified instance does not exist.', 'http_code' => 400, 'description' => '实例不存在'],
+ ['code' => 'GtmInstance.UserDomainNameExceedsLimit', 'message' => 'The specified primary domain name exceeds the character limit.', 'http_code' => 400, 'description' => '主域名字符超出限制'],
+ ['code' => 'IdentityVerification.TxtRecord', 'message' => null, 'http_code' => null, 'description' => 'TXT记录未设置或者暂时还未生效,请稍后再试。'],
+ ['code' => 'IllegalUser', 'message' => null, 'http_code' => null, 'description' => '未被授权的用户ID'],
+ ['code' => 'IllegalUser', 'message' => 'The specified user ID is not authorized.', 'http_code' => null, 'description' => '未被授权的用户ID'],
+ ['code' => 'IncorrectDomainUser', 'message' => null, 'http_code' => null, 'description' => '该域名非本账户域名,阿里云域名不能进行跨账号解析,您可以将该域名进行账号间转移来实现域名绑定与解析设置。'],
+ ['code' => 'IncorrectDomainUser', 'message' => 'The domain name belongs to other users. Transfer the domain name to the current user and then try the binding and setting actions.', 'http_code' => null, 'description' => '该域名非本账户域名,阿里云域名不能进行跨账号解析,您可以将该域名进行账号间转移来实现域名绑定与解析设置。'],
+ ['code' => 'InstanceHasUnpaidOrder', 'message' => null, 'http_code' => null, 'description' => '您有尚未支付的订单,请先处理后再进行此次操作'],
+ ['code' => 'InstanceHasUnpaidOrder', 'message' => 'You have an incomplete order. Please complete the order before continuing with this operation.', 'http_code' => null, 'description' => '您有尚未支付的订单,请先处理后再进行此次操作'],
+ ['code' => 'InternalError', 'message' => null, 'http_code' => null, 'description' => '服务器无法完成对请求的处理'],
+ ['code' => 'InternalError', 'message' => 'The server cannot process this request.', 'http_code' => 400, 'description' => '服务器无法完成对请求的处理'],
+ ['code' => 'InvalidAccessKeyId.NotFound', 'message' => null, 'http_code' => null, 'description' => '无效的Access Key'],
+ ['code' => 'InvalidBinding.BoundDomain', 'message' => 'This Domain is already associated with another advanced DNS instance. Changing the associated instance may affect the DNS setting of this domain name. Are you sure you want to use this domain name?', 'http_code' => null, 'description' => '当前域名已绑定云解析DNS实例,更换实例可能会改变当前记录设置,请确认!'],
+ ['code' => 'InvalidBinding.SpecialDomain', 'message' => null, 'http_code' => null, 'description' => '特殊域名绑定无效'],
+ ['code' => 'InvalidDnsProduct', 'message' => null, 'http_code' => null, 'description' => '云解析产品不存在'],
+ ['code' => 'InvalidDnsProduct', 'message' => 'The DNS product does not exist.', 'http_code' => null, 'description' => '云解析产品不存在'],
+ ['code' => 'InvalidDomainGroup.Duplicate', 'message' => null, 'http_code' => null, 'description' => '分组名称已存在'],
+ ['code' => 'InvalidDomainGroup.Duplicate', 'message' => 'The name of the domain group already exists.', 'http_code' => null, 'description' => '分组名称已存在'],
+ ['code' => 'InvalidDomainGroup.EmptyName', 'message' => null, 'http_code' => null, 'description' => '分组名称为空'],
+ ['code' => 'InvalidDomainGroup.NotExist', 'message' => null, 'http_code' => null, 'description' => '域名分组不存在'],
+ ['code' => 'InvalidDomainName.DupDot', 'message' => null, 'http_code' => null, 'description' => '域名格式错误:“.”仅作为分隔符使用,且不能连续;'],
+ ['code' => 'InvalidDomainName.Duplicate', 'message' => null, 'http_code' => null, 'description' => '域名已存在于解析列表中,无需再次添加。点击解析列表中的域名即可开始解析'],
+ ['code' => 'InvalidDomainName.Format', 'message' => null, 'http_code' => null, 'description' => '域名格式错误:请输入正确的域名格式'],
+ ['code' => 'InvalidDomainName.Idn', 'message' => null, 'http_code' => null, 'description' => '不支持此格式:如为punycode码,请输入中文域名'],
+ ['code' => 'InvalidDomainName.Illegalcharacter', 'message' => null, 'http_code' => null, 'description' => '域名格式错误:域名一般由英文字母、汉字、阿拉伯数字、“.”、“-”组成。'],
+ ['code' => 'InvalidDomainName.Label', 'message' => null, 'http_code' => null, 'description' => '域名格式错误:请以“.”进行分隔。'],
+ ['code' => 'InvalidDomainName.Length', 'message' => null, 'http_code' => null, 'description' => '域名格式错误:以“."分割的每部分不超过63字符,包含点的全长不超过255字符(含最后的“.“)'],
+ ['code' => 'InvalidDomainName.MiddleLine', 'message' => null, 'http_code' => null, 'description' => '域名格式错误:“-”不能放到开头和结尾'],
+ ['code' => 'InvalidDomainName.NeedRegistered', 'message' => null, 'http_code' => null, 'description' => '未注册域名,提交注册'],
+ ['code' => 'InvalidDomainName.NoExist', 'message' => null, 'http_code' => null, 'description' => '您操作的域名已经不存在,请刷新页面重试。'],
+ ['code' => 'InvalidDomainName.NoExist', 'message' => 'The specified domain name does not exist. Refresh the page and try again.', 'http_code' => null, 'description' => '您操作的域名已经不存在,请刷新页面重试。'],
+ ['code' => 'InvalidDomainName.Number', 'message' => null, 'http_code' => null, 'description' => '域名格式错误:不能全为数字'],
+ ['code' => 'InvalidDomainName.StartWithDot', 'message' => null, 'http_code' => null, 'description' => '域名格式错误:字符串不能以“."开始'],
+ ['code' => 'InvalidDomainName.Suffix', 'message' => null, 'http_code' => null, 'description' => '系统暂不支持该域名后缀解析'],
+ ['code' => 'InvalidDomainName.Unregistered', 'message' => null, 'http_code' => null, 'description' => '未注册域名,阿里云不支持此域名注册'],
+ ['code' => 'InvalidParameter', 'message' => null, 'http_code' => null, 'description' => '参数取值{0}无效'],
+ ['code' => 'InvalidParameter', 'message' => 'The parameter value {0} is invalid.', 'http_code' => null, 'description' => '参数取值{0}无效'],
+ ['code' => 'InvalidRegionId', 'message' => 'Invalid region id.', 'http_code' => 400, 'description' => '无效的地域ID参数。'],
+ ['code' => 'InvalidRetrievedomain.delete', 'message' => null, 'http_code' => null, 'description' => '被找回域名被删除,此次找回已失效'],
+ ['code' => 'InvalidRetrievedomain.delete', 'message' => 'The domain name you want to retrieve has been deleted.', 'http_code' => null, 'description' => '被找回域名被删除,此次找回已失效'],
+ ['code' => 'InvalidRR.AAAAValue', 'message' => null, 'http_code' => null, 'description' => '请输入正确的IPv6地址。'],
+ ['code' => 'InvalidRR.AAARecordUnderLine', 'message' => null, 'http_code' => null, 'description' => 'AAAA记录不支持主机记录(RR)值含"_"'],
+ ['code' => 'InvalidRR.AAARecordUnderLine', 'message' => 'Underscores (_) are not allowed in the hostname (RR value) of an AAAA record.', 'http_code' => null, 'description' => 'AAAA记录不支持主机记录(RR)值含"_"'],
+ ['code' => 'InvalidRR.ARecordUnderLine', 'message' => null, 'http_code' => null, 'description' => 'A记录不支持主机记录(RR)值含"_"'],
+ ['code' => 'InvalidRR.ARecordUnderLine', 'message' => 'Underscores (_) are not allowed in the hostname (RR value) of an A record.', 'http_code' => null, 'description' => 'A记录不支持主机记录(RR)值含"_"'],
+ ['code' => 'InvalidRR.AValue', 'message' => null, 'http_code' => null, 'description' => '请输入正确的IP地址,例如:10.10.10.10。'],
+ ['code' => 'InvalidRR.DupDot', 'message' => null, 'http_code' => null, 'description' => 'RR值不能有连续的\'.\'字符。'],
+ ['code' => 'InvalidRR.DupDot', 'message' => 'Do not use two consecutive periods (.) in the RR value.', 'http_code' => null, 'description' => 'RR值不能有连续的\'.\'字符。'],
+ ['code' => 'InvalidRR.Empty', 'message' => null, 'http_code' => null, 'description' => 'RR值中逗点之间不允许为空。'],
+ ['code' => 'InvalidRR.Format', 'message' => null, 'http_code' => null, 'description' => '主机记录(RR)值合法字符包含a--z、A--Z、0--9、\'-\' 、\'_\' 、\'.\'、\'*\'、\'@\'、\'中文汉字\'。'],
+ ['code' => 'InvalidRR.Format.Dot', 'message' => null, 'http_code' => null, 'description' => 'RR值不能以“逗点”符号开头或结尾。'],
+ ['code' => 'InvalidRR.Format.Dot', 'message' => 'Do not start or end the RR value with a comma (,).', 'http_code' => null, 'description' => 'RR值不能以“逗点”符号开头或结尾。'],
+ ['code' => 'InvalidRR.FWDValue', 'message' => null, 'http_code' => null, 'description' => 'URL转发记录的值为域名或URL地址,请重新填写。'],
+ ['code' => 'InvalidRR.FWDValueLength', 'message' => null, 'http_code' => null, 'description' => 'URL转发记录的值最长不能超过500个字符,请重新填写。'],
+ ['code' => 'InvalidRR.FWDValueLength', 'message' => 'The maximum length of the value for a URL forwarding record is 500 characters. Re-enter the value.', 'http_code' => null, 'description' => 'URL转发记录的值最长不能超过500个字符,请重新填写。'],
+ ['code' => 'InvalidRR.Length', 'message' => null, 'http_code' => null, 'description' => '“.”分割的每个字符串长度最长为63字符。'],
+ ['code' => 'InvalidRR.MiddleLine', 'message' => null, 'http_code' => null, 'description' => 'RR值中不能以字符 “-”开头和结尾。'],
+ ['code' => 'InvalidRR.MXRecordUnderLine', 'message' => null, 'http_code' => null, 'description' => 'MX记录不支持主机记录(RR)值含"_"'],
+ ['code' => 'InvalidRR.MXRecordUnderLine', 'message' => 'Underscores (_) are not allowed in the hostname (RR value) of a MX record.', 'http_code' => null, 'description' => 'MX记录不支持主机记录(RR)值含"_"'],
+ ['code' => 'InvalidRR.MXValue', 'message' => null, 'http_code' => null, 'description' => '记录值输入有误,请输入正确的域名,例如:www.net.cn。'],
+ ['code' => 'InvalidRR.NoExist', 'message' => null, 'http_code' => null, 'description' => '您操作的解析记录已经不存在,请刷新页面重试'],
+ ['code' => 'InvalidRR.NoExist', 'message' => 'The DNS record no longer exists. Refresh the page and try again.', 'http_code' => null, 'description' => '您操作的解析记录已经不存在,请刷新页面重试'],
+ ['code' => 'InvalidRR.NSRecordPan', 'message' => null, 'http_code' => null, 'description' => 'NS记录不支持主机记录(RR)值为"*"'],
+ ['code' => 'InvalidRR.NSRecordPan', 'message' => 'Asterisks (*) are not allowed in the hostname (RR value) of a NS record.', 'http_code' => null, 'description' => 'NS记录不支持主机记录(RR)值为"*"'],
+ ['code' => 'InvalidRR.NSRecordRrEmpty', 'message' => null, 'http_code' => null, 'description' => 'NS记录不支持主机记录(RR)值为"@"或为空'],
+ ['code' => 'InvalidRR.NSValue', 'message' => null, 'http_code' => null, 'description' => 'NS记录的值为域名,请输入正确域名。'],
+ ['code' => 'InvalidRR.NSValueLength', 'message' => null, 'http_code' => null, 'description' => 'NS记录的值的长度不能超过253个字符'],
+ ['code' => 'InvalidRR.NSValueLength', 'message' => 'The maximum length of the value is 253 characters for a NS record.', 'http_code' => null, 'description' => 'NS记录的值的长度不能超过253个字符'],
+ ['code' => 'InvalidRR.PanDomainRecord', 'message' => null, 'http_code' => null, 'description' => '泛解析只能以\'*.\'字符开头。'],
+ ['code' => 'InvalidRR.RrEmpty', 'message' => null, 'http_code' => null, 'description' => '主机记录(RR)不能为空值,请您输入。'],
+ ['code' => 'InvalidRR.SRVRecordPan', 'message' => null, 'http_code' => null, 'description' => 'SRV记录不支持主机记录(RR)值为"*"'],
+ ['code' => 'InvalidRR.SRVRecordPan', 'message' => 'Asterisks (*) are not allowed in the hostname (RR value) of a SRV record.', 'http_code' => null, 'description' => 'SRV记录不支持主机记录(RR)值为"*"'],
+ ['code' => 'InvalidRR.SRVValueEmpty', 'message' => null, 'http_code' => null, 'description' => 'SRV的值不能为空'],
+ ['code' => 'InvalidRR.SRVValueEmpty', 'message' => 'The SRV record is required.', 'http_code' => null, 'description' => 'SRV的值不能为空'],
+ ['code' => 'InvalidRR.SRVValueFormat', 'message' => null, 'http_code' => null, 'description' => 'SRV记录值格式错误'],
+ ['code' => 'InvalidRR.TXTRecordPan', 'message' => null, 'http_code' => null, 'description' => 'TXT记录不支持主机记录(RR)值为"*"'],
+ ['code' => 'InvalidRR.TXTRecordPan', 'message' => 'Asterisks (*) are not allowed in the hostname (RR value) of a TXT record.', 'http_code' => null, 'description' => 'TXT记录不支持主机记录(RR)值为"*"'],
+ ['code' => 'InvalidRR.TXTValueIllegalChar', 'message' => null, 'http_code' => null, 'description' => 'TXT正文内容不能包含非法字符。'],
+ ['code' => 'InvalidRR.TXTValueIllegalChar', 'message' => 'Invalid characters are not allowed in a TXT record.', 'http_code' => null, 'description' => 'TXT正文内容不能包含非法字符。'],
+ ['code' => 'InvalidRR.TXTValueLength', 'message' => null, 'http_code' => null, 'description' => 'TXT正文内容的值的长度不能超过253个字符'],
+ ['code' => 'InvalidRR.TXTValueUnicode', 'message' => null, 'http_code' => null, 'description' => 'TXT正文内容不能包含中文字符'],
+ ['code' => 'InvalidRR.TypeEmpty', 'message' => null, 'http_code' => null, 'description' => '解析类型不能为空'],
+ ['code' => 'InvalidRR.TypeEmpty', 'message' => 'The record type is required.', 'http_code' => null, 'description' => '解析类型不能为空'],
+ ['code' => 'InvalidRR.ValueDupDot', 'message' => null, 'http_code' => null, 'description' => '记录值中不能有连续的\'.\'字符。'],
+ ['code' => 'InvalidRR.ValueDupDot', 'message' => 'Two consecutive periods (.) are not allowed in the record.', 'http_code' => null, 'description' => '记录值中不能有连续的\'.\'字符。'],
+ ['code' => 'InvalidStatus', 'message' => null, 'http_code' => null, 'description' => '无效的状态'],
+ ['code' => 'InvalidStatus', 'message' => 'The status is invalid.', 'http_code' => null, 'description' => '无效的状态'],
+ ['code' => 'InvalidTraceId', 'message' => null, 'http_code' => null, 'description' => '无效的TraceId'],
+ ['code' => 'InvalidTraceId', 'message' => 'The TraceId is invalid.', 'http_code' => null, 'description' => '无效的TraceId'],
+ ['code' => 'InvalidVpcId', 'message' => 'Invalid vpc id.', 'http_code' => 400, 'description' => '无效的VPC ID。'],
+ ['code' => 'InvalidVpcType', 'message' => 'Invalid vpc type.', 'http_code' => 400, 'description' => '无效的VPC类型'],
+ ['code' => 'InvalidVpcUserId', 'message' => 'Invalid vpc user id.', 'http_code' => 400, 'description' => '无效的VpcUserId参数'],
+ ['code' => 'Invalidweightvalue', 'message' => null, 'http_code' => null, 'description' => '该解析的权重值不合法,权重仅允许1-100间整数'],
+ ['code' => 'InvalidWeigth', 'message' => null, 'http_code' => null, 'description' => '无效的权重值'],
+ ['code' => 'LineDnsSlb.Cname', 'message' => null, 'http_code' => null, 'description' => '全局负载均衡暂不支持CNAME记录,请关闭CNAME记录后再尝试开启。'],
+ ['code' => 'LineDnsSlb.Cname', 'message' => 'The cross-region load balancer does not support CNAME records. Disable CNAME records and try again.', 'http_code' => null, 'description' => '全局负载均衡暂不支持CNAME记录,请关闭CNAME记录后再尝试开启。'],
+ ['code' => 'LineDnsSlb.Monitor', 'message' => null, 'http_code' => null, 'description' => '全局负载均衡需要主机记录开启网站监控,请前往配置。'],
+ ['code' => 'LineDnsSlb.Monitor', 'message' => 'Please add the hostname to the site monitoring list before enabling the cross-region load balancer.', 'http_code' => null, 'description' => '全局负载均衡需要主机记录开启网站监控,请前往配置。'],
+ ['code' => 'LineDnsSlb.QuotaExceeded', 'message' => null, 'http_code' => null, 'description' => 'A/AAAA记录条数超过限制,无法开启 加权轮询'],
+ ['code' => 'MissingParameter', 'message' => null, 'http_code' => null, 'description' => '缺少参数:{0}'],
+ ['code' => 'Monitor.Fail', 'message' => null, 'http_code' => null, 'description' => '监控操作失败'],
+ ['code' => 'Monitor.GetISPCityList', 'message' => null, 'http_code' => null, 'description' => '获取运营商可用的城市列表失败'],
+ ['code' => 'Monitor.GetISPFailed', 'message' => null, 'http_code' => null, 'description' => '获取运营商列表失败'],
+ ['code' => 'Monitor.GetMonitorMap', 'message' => null, 'http_code' => null, 'description' => '获取监控地图详情失败'],
+ ['code' => 'Monitor.GetMonitorNodes', 'message' => null, 'http_code' => null, 'description' => '获取可用节点失败!'],
+ ['code' => 'Monitor.NoBackupIp', 'message' => null, 'http_code' => null, 'description' => '监控的自定义切换无备用IP!'],
+ ['code' => 'Monitor.NoRecord', 'message' => null, 'http_code' => null, 'description' => '无可用的值(指定的解析记录已删除或暂停)'],
+ ['code' => 'Monitor.NotExist', 'message' => null, 'http_code' => null, 'description' => '用户名下没有监控'],
+ ['code' => 'Monitor.NotSameDomain', 'message' => null, 'http_code' => null, 'description' => '监控项不完全属于同一个域名'],
+ ['code' => 'Monitor.NotSameUser', 'message' => null, 'http_code' => null, 'description' => '监控项不完全属于同一个用户'],
+ ['code' => 'Monitor.NotSupport', 'message' => null, 'http_code' => null, 'description' => '免费版解析暂不支持监控操作。'],
+ ['code' => 'Monitor.NotSupport', 'message' => 'The free version of DNS does not support monitoring.', 'http_code' => null, 'description' => '免费版解析暂不支持监控操作。'],
+ ['code' => 'Monitor.TaskNoExists', 'message' => null, 'http_code' => null, 'description' => '要操作的监控不存在!'],
+ ['code' => 'Monitor.TaskNoExists', 'message' => 'The monitoring task does not exist.', 'http_code' => null, 'description' => '要操作的监控不存在!'],
+ ['code' => 'Monitor.Unpaid', 'message' => null, 'http_code' => null, 'description' => '尚未购买网站监控'],
+ ['code' => 'Monitor.Unpaid', 'message' => 'You have not purchased site monitoring.', 'http_code' => null, 'description' => '尚未购买网站监控'],
+ ['code' => 'NoSuchVersion', 'message' => null, 'http_code' => null, 'description' => '无效的版本'],
+ ['code' => 'NotSupport.Line', 'message' => null, 'http_code' => null, 'description' => '当前云解析配置不支持此线路'],
+ ['code' => 'NotSupport.LineType', 'message' => null, 'http_code' => null, 'description' => '您没有购买地域线路,无法切换线路类型'],
+ ['code' => 'NotSupport.SMS', 'message' => null, 'http_code' => null, 'description' => '不支持短消息通知类型'],
+ ['code' => 'OperationDomain.NoPermission', 'message' => null, 'http_code' => null, 'description' => '没有权限操作此域名,请先执行找回操作!'],
+ ['code' => 'OperationDomain.NoPermission', 'message' => 'You are not authorized to operate the domain. Please retrieve the domain name first.', 'http_code' => null, 'description' => '没有权限操作此域名,请先执行找回操作!'],
+ ['code' => 'OperationThreadInUsed', 'message' => null, 'http_code' => null, 'description' => '批量操作线程已满,请稍后重试!'],
+ ['code' => 'PanDomainRecord', 'message' => null, 'http_code' => null, 'description' => '泛解析不允许修改权重'],
+ ['code' => 'PanDomainRecord', 'message' => 'The weight value of wildcard DNS records cannot be modified.', 'http_code' => null, 'description' => '泛解析不允许修改权重'],
+ ['code' => 'ParamsError', 'message' => 'params error.', 'http_code' => 400, 'description' => '参数错误'],
+ ['code' => 'Pdns.InvalidDirection', 'message' => 'The orderBy direction is invalid.', 'http_code' => 400, 'description' => '排序方向无效'],
+ ['code' => 'Pdns.InvalidOrderByName', 'message' => 'orderBy field is invalid.', 'http_code' => 400, 'description' => '排序字段无效'],
+ ['code' => 'PdnsRecord.DecordConflict', 'message' => 'The record is conflict.', 'http_code' => 400, 'description' => '解析记录冲突'],
+ ['code' => 'PdnsRecord.DuplicateRecordIds', 'message' => 'record id is duplicate.', 'http_code' => 400, 'description' => '解析记录ID重复'],
+ ['code' => 'PdnsRecord.DuplicateRecords', 'message' => 'record is duplicate.', 'http_code' => 400, 'description' => '解析记录重复'],
+ ['code' => 'PdnsRecord.InvalidEnableStatus', 'message' => 'The record enable status is invalid.', 'http_code' => 400, 'description' => '解析记录启用状态值无效'],
+ ['code' => 'PdnsRecord.InvalidRecordValue', 'message' => 'record value is invalid.', 'http_code' => 400, 'description' => '解析记录值无效'],
+ ['code' => 'PdnsRecord.InvalidRequestSource', 'message' => 'request source is invalid.', 'http_code' => 400, 'description' => '请求来源无效'],
+ ['code' => 'PdnsRecord.InvalidRr', 'message' => 'record rr is invalid.', 'http_code' => 400, 'description' => '内置权威解析记录rr无效'],
+ ['code' => 'PdnsRecord.InvalidTtl', 'message' => 'ttl is invalid.', 'http_code' => 400, 'description' => 'TTL无效'],
+ ['code' => 'PdnsRecord.InvalidType', 'message' => 'record type is invalid.', 'http_code' => 400, 'description' => '解析记录类型无效'],
+ ['code' => 'PdnsRecord.InvalidWeight', 'message' => 'record weight is invalid.', 'http_code' => 400, 'description' => '解析记录权重值无效'],
+ ['code' => 'PdnsRecord.InvalidWeightEnableStatus', 'message' => 'weight enable status is invalid.', 'http_code' => 400, 'description' => '权重算法启用状态无效'],
+ ['code' => 'PdnsRecord.NotExists', 'message' => 'Record is not exists.', 'http_code' => 400, 'description' => '解析记录不存在'],
+ ['code' => 'PdnsRecord.RecordConflict', 'message' => 'The record is conflict.', 'http_code' => 400, 'description' => '解析记录冲突'."\n"],
+ ['code' => 'PdnsRecord.RecordTypeNotSupportAlgorithm', 'message' => 'record type not support algorithm.', 'http_code' => 400, 'description' => '解析记录类型不支持权重算法'],
+ ['code' => 'PdnsRecord.RecordTypeNotSupportWeight', 'message' => 'record type not support weight.', 'http_code' => 400, 'description' => '解析记录类型不支持权重'],
+ ['code' => 'PdnsRecord.SameEnableStatus', 'message' => 'same record enable status.', 'http_code' => 400, 'description' => '解析记录启用状态未发生变化'],
+ ['code' => 'PdnsRecord.SameRrCountMaximum', 'message' => 'zone same rr count exceed the maximum.', 'http_code' => 400, 'description' => 'Zone下相同rr的解析记录数量超过限制'],
+ ['code' => 'PdnsRecord.SameWeightEnableStatus', 'message' => 'The weight enable status is same.', 'http_code' => 400, 'description' => '权重算法启用状态未发生变化'],
+ ['code' => 'PdnsRecord.ZoneRrCountMaximum', 'message' => 'rr count exceed the maximum.', 'http_code' => 400, 'description' => 'Zone下的解析记录数量超过限制'],
+ ['code' => 'PdnsService.Unavailable', 'message' => 'service status is unavailable.', 'http_code' => 400, 'description' => '服务状态为不可用'],
+ ['code' => 'PdnsZone.EffectiveScopeExists', 'message' => 'zone has effective scope.', 'http_code' => 400, 'description' => '关联生效范围时无法删除Zone,先取消关联'],
+ ['code' => 'PdnsZone.EffectiveScopeRepeated', 'message' => 'same effective scope with same zone name.', 'http_code' => 400, 'description' => 'Zone关联范围重复'],
+ ['code' => 'PdnsZone.InvalidEffectiveScope', 'message' => 'the effective scope is invalid.', 'http_code' => 400, 'description' => '内置权威zone关联范围无效'],
+ ['code' => 'PdnsZone.InvalidEffectiveType', 'message' => 'The effective type is invalid.', 'http_code' => 400, 'description' => '内置权威zone关联类型无效'],
+ ['code' => 'PdnsZone.InvalidProxyPattern', 'message' => 'The proxy pattern is invalid.', 'http_code' => 400, 'description' => '递归解析代理模式无效'],
+ ['code' => 'PdnsZone.invalidZoneName', 'message' => 'The zone name is invalid.', 'http_code' => 400, 'description' => 'Zone名称无效'],
+ ['code' => 'PdnsZone.InvalidZoneName', 'message' => 'The zone name is invalid.', 'http_code' => 400, 'description' => 'Zone名称无效'],
+ ['code' => 'PdnsZone.invalidZoneNameGovForbidden', 'message' => 'The zone name forbidden for gov.', 'http_code' => 400, 'description' => '不允许定义政府事业单位相关的域名。'],
+ ['code' => 'PdnsZone.InvalidZoneNameGovForbidden', 'message' => 'The zone name forbidden for gov.', 'http_code' => 400, 'description' => '不允许定义政府事业单位相关的域名'],
+ ['code' => 'PdnsZone.Maximum', 'message' => 'total zone count exceed the maximum.', 'http_code' => 400, 'description' => 'Zone数量超过限制'],
+ ['code' => 'PdnsZone.NotExists', 'message' => 'Zone is not exists.', 'http_code' => 400, 'description' => 'Zone不存在'],
+ ['code' => 'PostBusiness.InvalidParam', 'message' => 'alidns service param invalid.', 'http_code' => 400, 'description' => 'DNS云解析后付费服务参数无效'],
+ ['code' => 'PostBusiness.InvalidService', 'message' => 'post business service not activated.', 'http_code' => 400, 'description' => '后付费服务没有开通'],
+ ['code' => 'PostBusiness.InvalidServiceModule', 'message' => 'post business service module not activated.', 'http_code' => 400, 'description' => '后付费服务模块没有开通'],
+ ['code' => 'PostBusiness.ServiceInDebt', 'message' => 'post business service inDebt.', 'http_code' => 400, 'description' => '后付费服务欠费'],
+ ['code' => 'PostBusiness.ServiceInDebtRelease', 'message' => 'post business service inDebt instance release.', 'http_code' => 400, 'description' => '后付费服务欠费,实例释放'],
+ ['code' => 'PostBusiness.ServiceModuleAlreadyExist', 'message' => 'post business service module has been activated.', 'http_code' => 400, 'description' => '后付费服务模块已经开通完成'],
+ ['code' => 'QueryInstanceUnpaidOrderFailed', 'message' => null, 'http_code' => null, 'description' => '查询实例未付款订单失败。'],
+ ['code' => 'QueryRenewPriceFailed', 'message' => null, 'http_code' => null, 'description' => '查询续费价格失败。'],
+ ['code' => 'QuotaExceeded.ARecord', 'message' => null, 'http_code' => null, 'description' => '超出数量限制,当前配置的最大设置数量为 {0} 条记录'],
+ ['code' => 'QuotaExceeded.ARecord', 'message' => 'The maximum number of {0} records is exceeded.', 'http_code' => null, 'description' => '超出当前配置的最大A记录设置数量 {0}。'],
+ ['code' => 'QuotaExceeded.ARecord', 'message' => 'The maximum number of %s records is exceeded.', 'http_code' => 400, 'description' => '超出当前记录类型配置的最大数量 %s。'],
+ ['code' => 'QuotaExceeded.Batchdelete', 'message' => null, 'http_code' => null, 'description' => '超出限制,批量删除的解析记录不能超过100个'],
+ ['code' => 'QuotaExceeded.Batchdelete', 'message' => 'Up to 100 DNS records can be selected for batch deletion.', 'http_code' => null, 'description' => '超出限制,批量删除的解析记录不能超过100个'],
+ ['code' => 'QuotaExceeded.BatchNumber', 'message' => null, 'http_code' => null, 'description' => '批量操作的数量超过限制'],
+ ['code' => 'QuotaExceeded.BatchNumber', 'message' => 'The maximum number of selections available for the batch operation is exceeded.', 'http_code' => null, 'description' => '批量操作的数量超过限制'],
+ ['code' => 'QuotaExceeded.Binding', 'message' => null, 'http_code' => null, 'description' => '绑定次数超过版本规定的限制'],
+ ['code' => 'QuotaExceeded.domainlist', 'message' => null, 'http_code' => null, 'description' => '域名数目已经达到产品定义的最大值'],
+ ['code' => 'QuotaExceeded.FreeDnsRecord', 'message' => null, 'http_code' => null, 'description' => 'A(AAAA)记录数量超出限制,云解析免费版可以添加10个相同主机记录相同线路的A(AAAA)记录。'],
+ ['code' => 'QuotaExceeded.GroupCount', 'message' => null, 'http_code' => null, 'description' => '域名分组数量超过限制'],
+ ['code' => 'QuotaExceeded.GroupNameLength', 'message' => null, 'http_code' => null, 'description' => '分组名称长度超过限制'],
+ ['code' => 'QuotaExceeded.HTTPSRecord', 'message' => 'The number of HTTPS records exceeds the maximum number.', 'http_code' => 400, 'description' => '超出HTTPS记录类型配置的最大数量 %s。'],
+ ['code' => 'QuotaExceeded.Monitor', 'message' => null, 'http_code' => null, 'description' => '云解析添加监控超过限制'],
+ ['code' => 'QuotaExceeded.Monitor', 'message' => 'The maximum number of monitors is exceeded.', 'http_code' => null, 'description' => '云解析添加监控超过限制'],
+ ['code' => 'QuotaExceeded.MonitoringFrequency', 'message' => null, 'http_code' => null, 'description' => '设置异常,当前配置允许的监控间隔为 {0} 分钟。'],
+ ['code' => 'QuotaExceeded.MonitoringIp', 'message' => null, 'http_code' => null, 'description' => '超出数量限制,当前配置的最大备用 IP/CNAME 数量为 {0} 个'],
+ ['code' => 'QuotaExceeded.MonitoringSwitchingStrategy', 'message' => null, 'http_code' => null, 'description' => '超出限制,当前配置不允许添加此切换策略的监控。'],
+ ['code' => 'QuotaExceeded.MonitoringSwitchingStrategy', 'message' => 'Adding a monitor for the switching policy is not allowed.', 'http_code' => null, 'description' => '超出限制,当前配置不允许添加此切换策略的监控。'],
+ ['code' => 'QuotaExceeded.MonitoringTask', 'message' => null, 'http_code' => null, 'description' => '超出数量限制,当前配置的最大监控任务数量为 {0} 个'],
+ ['code' => 'QuotaExceeded.MonitoringTask', 'message' => 'The number of monitor tasks exceeds the maximum number ({0}).', 'http_code' => null, 'description' => '超出数量限制,当前配置的最大监控任务数量为 {0} 个'],
+ ['code' => 'QuotaExceeded.MonitorNodes', 'message' => null, 'http_code' => null, 'description' => '超出数量限制,当前配置的监控节点最多为 {0} 个'],
+ ['code' => 'QuotaExceeded.MonitorNodes', 'message' => 'The number of monitor nodes exceeds the maximum number ({0}).', 'http_code' => null, 'description' => '超出数量限制,当前配置的监控节点最多为 {0} 个'],
+ ['code' => 'QuotaExceeded.Record', 'message' => null, 'http_code' => null, 'description' => '超出解析记录数量最大值90'],
+ ['code' => 'QuotaExceeded.SubDomain', 'message' => null, 'http_code' => null, 'description' => '子域名长度超出数量限制,当前配置的最大允许子域名级数为 {0}'],
+ ['code' => 'QuotaExceeded.SubDomain', 'message' => 'The subdomain level exceeds the limit.', 'http_code' => null, 'description' => '超出当前配置的最大允许子域名级数 {0}。'],
+ ['code' => 'QuotaExceeded.SVCBRecord', 'message' => 'The number of SVCB records exceeds the maximum number.', 'http_code' => 400, 'description' => '超出SVCB记录类型配置的最大数量 %s。'],
+ ['code' => 'QuotaExceeded.Time', 'message' => null, 'http_code' => null, 'description' => '只能查询最近90天的记录'],
+ ['code' => 'QuotaExceeded.Time', 'message' => 'You can only query the record of the latest 90 days.', 'http_code' => null, 'description' => '只能查询最近90天的记录'],
+ ['code' => 'QuotaExceeded.TTL', 'message' => null, 'http_code' => null, 'description' => '超出数量限制,当前配置的最小允许TTL值为 {0}'],
+ ['code' => 'QuotaExceeded.URLRecord', 'message' => null, 'http_code' => null, 'description' => '超出数量限制,当前配置的最大设置数量为 {0} 条URL转发'],
+ ['code' => 'Record.empty', 'message' => null, 'http_code' => null, 'description' => '部分记录字段为空!'],
+ ['code' => 'Record.illegal', 'message' => null, 'http_code' => null, 'description' => '部分记录字段内容非法'],
+ ['code' => 'Record.illegal', 'message' => 'Some fields of the record are invalid.', 'http_code' => null, 'description' => '部分记录字段内容非法'],
+ ['code' => 'Record.Invalid.Action', 'message' => 'Pause record with Disalbe, resume with Enable.', 'http_code' => 400, 'description' => '解析记录启用状态参数不合法。'],
+ ['code' => 'Record.Invalid.Rr', 'message' => 'rr is invalid.', 'http_code' => 400, 'description' => '参照OpenAPI文档说明,输入正确的rr'],
+ ['code' => 'RecordCount.SaveSubdomain.Exceed', 'message' => 'Refresh Subdomain: the number of records cannot exceed %d.', 'http_code' => 400, 'description' => '刷新子域名:解析记录个数不能超过 %d 条。'],
+ ['code' => 'RecordDisable.fail', 'message' => null, 'http_code' => null, 'description' => '暂停解析失败'],
+ ['code' => 'RecordEnable.fail', 'message' => null, 'http_code' => null, 'description' => '启用解析失败'],
+ ['code' => 'RecordFobidden.BlackHole', 'message' => null, 'http_code' => null, 'description' => '您的域名正在遭受恶意攻击,且攻击量已超过您购买的域名解析防护量,当前处于黑洞状态(暂停解析),黑洞期间暂不支持解析的增删改操作!建议您立即升级配置或者等待攻击结束'],
+ ['code' => 'RecordForbidden.BlackHole', 'message' => 'Some DNS records are in the DNS server blackhole.', 'http_code' => null, 'description' => '域名解析防护进入黑洞'],
+ ['code' => 'RecordForbidden.DNSChange', 'message' => null, 'http_code' => null, 'description' => '操作失败!产品配置发生变化,系统正在为您切换,切换期间,暂不支持解析的增删改操作!请您稍后再试!'],
+ ['code' => 'RecordLocked.fail', 'message' => null, 'http_code' => null, 'description' => '锁定解析失败'],
+ ['code' => 'RecordUnLocked.fail', 'message' => null, 'http_code' => null, 'description' => '解锁解析失败'],
+ ['code' => 'ResolveLog.EndTimestamp.Invalid', 'message' => 'EndTimestamp is invalid.', 'http_code' => 400, 'description' => '结束时间无效'],
+ ['code' => 'ResolveLog.EndTimestamp.NotExists', 'message' => 'EndTimestamp not exists.', 'http_code' => 400, 'description' => '结束时间不存在'],
+ ['code' => 'ResolveLog.ExceedReadDataMax', 'message' => 'Maximum read limit exceeded.', 'http_code' => 400, 'description' => '超过最大读取限制'],
+ ['code' => 'ResolveLog.InvalidAlidnsDomainAuthLogConfig', 'message' => 'Invalid alidns authority domain log config.', 'http_code' => 400, 'description' => '云解析权威域名日志开关无效'],
+ ['code' => 'ResolveLog.InvalidAlidnsPostBusinessStatus', 'message' => 'Invalid post business status.', 'http_code' => 400, 'description' => '云解析后付费服务状态无效'],
+ ['code' => 'ResolveLog.InvalidDomainName', 'message' => 'Invalid authority domain name.', 'http_code' => 400, 'description' => '权威域名无效'],
+ ['code' => 'ResolveLog.InvalidUserId', 'message' => 'User id is invalid.', 'http_code' => 400, 'description' => '用户ID无效'],
+ ['code' => 'ResolveLog.QueryLogFailed', 'message' => 'Query log failed.', 'http_code' => 400, 'description' => '请求日志失败'],
+ ['code' => 'ResolveLog.StartTimestamp.NotExists', 'message' => 'StartTimestamp not exists.', 'http_code' => 400, 'description' => '开始时间不存在'],
+ ['code' => 'ResolverRule.BindEdgeDnsCluster', 'message' => 'The forwarding rule is already bound to a edge dns cluster.', 'http_code' => 400, 'description' => '转发规则已关联自建集群'],
+ ['code' => 'Resource.Count.Exceeds', 'message' => 'The operation failed because the number of resources reaches the upper limit.', 'http_code' => 400, 'description' => '操作失败,资源数超出上限%s'],
+ ['code' => 'Resource.EffectiveScope.OperationTypeInvalid', 'message' => 'Invalid operation type.', 'http_code' => 400, 'description' => '操作类型无效。'],
+ ['code' => 'Resource.TagCount.Exceeds', 'message' => 'The operation failed because the number of tags that are specified for a single resource reaches the upper limit.', 'http_code' => 400, 'description' => '操作失败,单资源设置标签超出上限 %s'],
+ ['code' => 'Resource.TagTotalCount.Exceeds', 'message' => 'The operation failed because the number of tags that are specified for a single resource reaches the upper limit.', 'http_code' => 400, 'description' => '操作失败,设置总标签数超出上限%s'],
+ ['code' => 'RestrictedDomain', 'message' => null, 'http_code' => null, 'description' => '该域名为受限域名,不能设置解析,故不能添加到该解析列表'],
+ ['code' => 'ScanningOperationError', 'message' => null, 'http_code' => null, 'description' => '操作扫描任务出错!'],
+ ['code' => 'ServiceUnavailable', 'message' => null, 'http_code' => null, 'description' => '服务器当前无法处理请求'],
+ ['code' => 'ServiceUnavailable', 'message' => 'The server cannot process your request at this time.', 'http_code' => null, 'description' => '服务器当前无法处理请求'],
+ ['code' => 'SignatureDoesNotMatch', 'message' => null, 'http_code' => null, 'description' => '无效的签名'],
+ ['code' => 'SlaveDns.BoundVPCandClusterForbidden', 'message' => 'Zone that support secondary DNS cannot bind both VPC and cluster.', 'http_code' => 400, 'description' => '配置辅助DNS的ZONE不能同时绑定VPC与自建DNS集群'],
+ ['code' => 'SlaveDns.EdgeClusterAdded', 'message' => 'Secondary DNS of cluster has already been added. Please delete it before the operation.', 'http_code' => 400, 'description' => 'ZONE已经配置辅助DNS功能,请删除后再进行绑定自建DNS集群'],
+ ['code' => 'SlaveDns.RegionVpcAdded', 'message' => 'Secondary DNS of private zone has already been added. Please delete it before the operation.', 'http_code' => 400, 'description' => 'ZONE已经配置辅助DNS功能,请删除后再进行绑定VPC'],
+ ['code' => 'Statistics.TooManyResults', 'message' => 'Your query has produced too many results, please narrow down the search scope.', 'http_code' => 400, 'description' => '您的查询结果太多,请缩小查询范围。'],
+ ['code' => 'SubDomainInvalid.Line', 'message' => null, 'http_code' => null, 'description' => '超出线路限制,当前配置不支持设置此线路类型'],
+ ['code' => 'SubDomainInvalid.Priority', 'message' => null, 'http_code' => null, 'description' => 'MX解析无效的优先级'],
+ ['code' => 'SubDomainInvalid.TTL', 'message' => null, 'http_code' => null, 'description' => '无效的解析ttl'],
+ ['code' => 'SubDomainInvalid.Type', 'message' => null, 'http_code' => null, 'description' => '主机记录类型输入无效,主机记录类型只支持NS、CNAME、A记录、AAAA、MX、TXT、SRV记录'],
+ ['code' => 'Tag.TotalCount.Exceeds', 'message' => 'The operation failed because the total number of tags that are specified reaches the upper limit.', 'http_code' => 400, 'description' => '操作失败,设置标签总量超出上限 %s'],
+ ['code' => 'TaskExecutio', 'message' => null, 'http_code' => null, 'description' => '已经存在导入任务,请等待任务完成后再提交!'],
+ ['code' => 'TaskExecutio', 'message' => 'An import task already exists. Wait until that task is completed and try again.', 'http_code' => null, 'description' => '已经存在导入任务,请等待任务完成后再提交!'],
+ ['code' => 'Throttling', 'message' => null, 'http_code' => null, 'description' => '您这个时段的流量已经超限。如果不能满足现有业务要求可以提工单进行申请。'],
+ ['code' => 'Throttling.User', 'message' => 'Request was denied due to user flow control.', 'http_code' => 400, 'description' => '由于请求频次达到阈值,请求被拒绝,请稍后重试。'],
+ ['code' => 'UnableToGetWhoisEmail', 'message' => null, 'http_code' => null, 'description' => 'Whois邮箱未获取到'],
+ ['code' => 'UnabletoGetWoisInfo', 'message' => null, 'http_code' => null, 'description' => '获取不到Whois信息'],
+ ['code' => 'UnKnownError', 'message' => null, 'http_code' => null, 'description' => '未知错误,请稍后重试!'],
+ ['code' => 'UnsupportedLine', 'message' => null, 'http_code' => null, 'description' => '当前版本不支持的解析线路'],
+ ['code' => 'UnsupportedOperation', 'message' => null, 'http_code' => null, 'description' => '无效的接口'],
+ ['code' => 'URLForwardAddError', 'message' => null, 'http_code' => null, 'description' => 'URL转发添加失败'],
+ ['code' => 'URLForwardChangeError', 'message' => null, 'http_code' => null, 'description' => 'URL转发修改失败'],
+ ['code' => 'URLForwardDeleteError', 'message' => null, 'http_code' => null, 'description' => 'URL转发删除失败!'],
+ ['code' => 'URLForwardError.ChineseChar', 'message' => null, 'http_code' => null, 'description' => 'URL转发目标地址中不能包含中文字符'],
+ ['code' => 'URLForwardError.ChineseChar', 'message' => 'Chinese characters are not allowed in the target address of a URL forwarding record.', 'http_code' => null, 'description' => 'URL转发目标地址中不能包含中文字符'],
+ ['code' => 'URLForwardError.NotDefaultLine', 'message' => null, 'http_code' => null, 'description' => 'URL转发不支持非default线路'],
+ ['code' => 'URLForwardError.NotDefaultLine', 'message' => 'The URL forwarding record only supports default line.', 'http_code' => null, 'description' => 'URL转发不支持非default线路'],
+ ['code' => 'URLForwardError.NotVerifyDomain', 'message' => null, 'http_code' => null, 'description' => 'URL备案异常'],
+ ['code' => 'URLForwardError.PanRecord', 'message' => null, 'http_code' => null, 'description' => 'URL跳转不支持泛解析'],
+ ['code' => 'URLForwardError.PanRecord', 'message' => 'The URL forwarding does not support wildcard DNS.', 'http_code' => null, 'description' => 'URL跳转不支持泛解析'],
+ ['code' => 'Zone.BindEdgeDnsCluster', 'message' => 'Zone is already bound to a edge dns cluster.', 'http_code' => 400, 'description' => '权威Zone已绑定该集群,不可操作。'],
+ ['code' => 'Zone.BindEdgeDnsCluster.OnlySupportFastZone', 'message' => 'Binding an Edge DNS cluster is only supported for Fast Zones.', 'http_code' => 400, 'description' => '仅快速区权威Zone支持关联自建DNS集群。'],
+ ['code' => 'Zone.BindEdgeDnsCluster.RecordCountExceed', 'message' => 'You cannot bind the cluster, because record count exceed the maximum.', 'http_code' => 400, 'description' => '权威Zone下解析记录数量超过上限。禁止关联自建DNS集群。'],
+ ['code' => 'Zone.DnsGroupChange.Forbidden', 'message' => 'You cannot change dns group.', 'http_code' => 400, 'description' => '禁止切换位置区。'],
+ ['code' => 'Zone.DnsGroupChange.Forbidden4FastZone', 'message' => 'You cannot change dns group, because can only use fast zone.', 'http_code' => 400, 'description' => '当前zone被禁止进行位置区切换,因为用户只能使用快速区。'],
+ ['code' => 'CloudMonitor.AlertConfig.alertGroupExceedMaxSize', 'message' => 'Maximum number of selected alarm groups exceeded.', 'http_code' => 400, 'description' => '选择报警组超过最大个数限制'],
+ ['code' => 'CloudMonitor.AlertConfig.InvalidAlertCount', 'message' => 'Same alarm repetition times parameter error.', 'http_code' => 400, 'description' => '相同报警重复次数参数错误'],
+ ['code' => 'CloudMonitor.AlertConfig.InvalidAlertMode', 'message' => 'The configuration method is incorrect. It can only be [Inherit Global] or [Custom].', 'http_code' => 400, 'description' => '配置方式错误,只能是【继承全局】、【自定义】'],
+ ['code' => 'CloudMonitor.Probe.HasExisted', 'message' => 'Probe already exists when probe is created.', 'http_code' => 400, 'description' => '创建探针时,探针已经存在'],
+ ['code' => 'CloudMonitor.Probe.InvalidProbeStatus', 'message' => 'Probe enable status is invalid.', 'http_code' => 400, 'description' => '探针启用状态错误。'],
+ ['code' => 'CloudMonitor.Probe.InvalidIpVersion', 'message' => 'The network protocol version of the monitoring node is incorrect.', 'http_code' => 400, 'description' => '监控节点网络协议版本错误,只支持IPv4'],
+ ['code' => 'CloudMonitor.InvalidUserId', 'message' => 'User ID is invalid.', 'http_code' => 400, 'description' => '用户ID错误。'],
+ ['code' => 'CloudMonitor.AlertConfig.InvalidAlertNoticeType', 'message' => 'The alarm notification method is invalid.', 'http_code' => 400, 'description' => '报警通知方式错误,只能是监控任务探测异常、监控任务探测异常恢复'],
+ ['code' => 'CloudMonitor.Alert.MonitorItemMonitorStatusDifferent', 'message' => 'The alert monitor item same timestamp but different monitor status.', 'http_code' => 400, 'description' => '探测项状态已经修改'],
+ ['code' => 'CloudMonitor.Probe.typeOrderHasExisted', 'message' => 'Monitoring probe display sequence number already exists.', 'http_code' => 400, 'description' => '监控探针展示顺序号已经存在'],
+ ['code' => 'CloudMonitor.Probe.typeHasExisted', 'message' => 'Monitor probe type already exists.', 'http_code' => 400, 'description' => '监控探针类型已经存在'],
+ ['code' => 'CloudMonitor.Probe.NotExisted', 'message' => 'Probe does not exist.', 'http_code' => 400, 'description' => '探针不存在'],
+ ['code' => 'CloudMonitor.Alert.MonitorItemStatusDisable', 'message' => 'The alert monitor item status is disable.', 'http_code' => 400, 'description' => '探测任务未启用'],
+ ['code' => 'CloudMonitor.Alert.InvalidMonitorItem', 'message' => 'The alert monitor item is invalid.', 'http_code' => 400, 'description' => '探测任务的探测项错误'],
+ ['code' => 'CloudMonitor.Task.InvalidProtocol', 'message' => 'The task protocol is invalid.', 'http_code' => 400, 'description' => '探测任务协议错误'],
+ ['code' => 'CloudMonitor.Task.ProbeInvalidCount', 'message' => 'The task probe count is invalid.', 'http_code' => 400, 'description' => '探测任务探针总个数错误'],
+ ['code' => 'CloudMonitor.Alert.InvalidMonitorItemStatus', 'message' => 'The alert monitor item status is invalid.', 'http_code' => 400, 'description' => '探测任务探测类型状态错误'],
+ ['code' => 'CloudMonitor.Probe.InvalidTypeCode', 'message' => 'The probe type code is invalid.', 'http_code' => 400, 'description' => '监控探针类型错误'],
+ ['code' => 'CloudMonitor.Probe.TypeNotExisted', 'message' => 'The probe type not existed.', 'http_code' => 400, 'description' => '监控探针类型不存在'],
+ ['code' => 'CloudMonitor.Probe.IspHasExisted', 'message' => 'The probe ISP has existed.', 'http_code' => 400, 'description' => '运营商已经存在'],
+ ['code' => 'CloudMonitor.Probe.IspNotExisted', 'message' => 'The probe isp not existed.', 'http_code' => 400, 'description' => '探针运营商不存在'],
+ ['code' => 'CloudMonitor.Probe.CityHasExisted', 'message' => 'The probe city has existed.', 'http_code' => 400, 'description' => '城市已经存在'],
+ ['code' => 'CloudMonitor.Probe.CityOrderHasExisted', 'message' => 'The probe city order has existed.', 'http_code' => 400, 'description' => '城市展示顺序已经被占用'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidExpectedResolveResultCount', 'message' => 'The task monitor config expected resolve result count is invalid.', 'http_code' => 400, 'description' => '解析结果监控期望解析结果个数超过最大限制'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidResolveResCustomNsesCnt', 'message' => 'The task monitor config resolve result custom nses count is invalid.', 'http_code' => 400, 'description' => '自解析结果监控定义DNS服务器解析结果个数超过最大值'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidResolveResultCustomNses', 'message' => 'The task monitor config resolve result custom nses is invalid.', 'http_code' => 400, 'description' => '解析结果监控自定义DNS服务器解析结果输入错误'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.InvalidPreloadStatus', 'message' => 'The probe endpoint preload status is invalid.', 'http_code' => 400, 'description' => '设置 CloudMonitor 探针Endpoint增量状态,设置的状态参数错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.itemMustIspDnsResolveConsistency', 'message' => 'The task monitor config item must contains isp dns resolve consistency.', 'http_code' => 400, 'description' => '探测节点本地运营商解析结果需要与预期结果一致'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.tamperLatencyCustomNsesDuplicate', 'message' => 'The task monitor config resolve tamper latency custom nses is duplicate.', 'http_code' => 400, 'description' => '解析时延与TTL篡改监控:自定义DNS服务器解析时延监控输入的服务器重复'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidTamperLatencyCustomNses', 'message' => 'The task monitor config resolve tamper latency custom nses is invalid.', 'http_code' => 400, 'description' => '解析时延与TTL篡改监控:自定义DNS服务器解析时延监控服务器配置错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidTamperTtlCustomNsesCount', 'message' => 'The task monitor config resolve tamper ttl custom nses count is invalid.', 'http_code' => 400, 'description' => '解析时延与TTL篡改监控:自定义DNS服务器解析时延监控重复'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidResolveTamperTtlCustomNses', 'message' => 'The task monitor config resolve tamper ttl custom nses is invalid.', 'http_code' => 400, 'description' => '解析时延与TTL篡改监控:自定义DNS服务器解析时延监控ttl错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.tamperTtlCustomNsesDuplicate', 'message' => 'The task monitor config resolve tamper ttl custom nses is duplicate.', 'http_code' => 400, 'description' => '解析时延与TTL篡改监控:自定义DNS服务器解析时延监控配置错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidtamperLatencyCustomNsCnt', 'message' => 'The task monitor config resolve tamper latency custom nses count is invalid.', 'http_code' => 400, 'description' => '解析时延与TTL篡改监控:自定义DNS服务器解析时延监控服务个数超限制'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidNsTamperIntervalByTimeout', 'message' => 'The task monitor config ns tamper interval is invalid by timeout.', 'http_code' => 400, 'description' => '域名NS篡改监控拨测超时时间不能小于拨测频率'],
+ ['code' => 'CloudMonitor.Probe.IspOrderHasExisted', 'message' => 'The probe isp order has existed.', 'http_code' => 400, 'description' => '展示顺序已被占用'],
+ ['code' => 'CloudMonitor.Probe.InvalidIspCode', 'message' => 'The probe isp code is invalid.', 'http_code' => 400, 'description' => '运营商CODE错误'],
+ ['code' => 'CloudMonitor.Probe.InvalidCityCode', 'message' => 'The probe city code is invalid.', 'http_code' => 400, 'description' => '城市CODE错误'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.InvalidEndpointStatus', 'message' => 'The probe endpoint status is invalid.', 'http_code' => 400, 'description' => '设置endpoint状态错误'],
+ ['code' => 'CloudMonitor.Probe.CityNotExisted', 'message' => 'The probe city not existed.', 'http_code' => 400, 'description' => '探针城市不存在'],
+ ['code' => 'CloudMonitor.Task.ProbeOffline', 'message' => 'The task probe is offline.', 'http_code' => 400, 'description' => '探测任务探针已经下线'],
+ ['code' => 'CloudMonitor.Task.ProbeInvalidNodeCount', 'message' => 'The task probe node count is invalid.', 'http_code' => 400, 'description' => '探测任务探针内节点个数错误'],
+ ['code' => 'CloudMonitor.Task.ProbeNotExisted', 'message' => 'The task probe is not existed.', 'http_code' => 400, 'description' => '探测任务探针不存在'],
+ ['code' => 'CloudMonitor.Task.ProbeDuplicate', 'message' => 'The task probe is duplicate.', 'http_code' => 400, 'description' => '探测任务探针配置重复'],
+ ['code' => 'CloudMonitor.Task.InvalidProbe', 'message' => 'The task probe is invalid.', 'http_code' => 400, 'description' => '探测任务探针错误'],
+ ['code' => 'CloudMonitor.Task.InvalidRemark', 'message' => 'The task remark is invalid.', 'http_code' => 400, 'description' => '探测任务备注格式错误'],
+ ['code' => 'CloudMonitor.Task.InvalidEnableStatus', 'message' => 'The task enable status is invalid.', 'http_code' => 400, 'description' => '探测任务可用状态错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidResolveTamperLatencyTtl', 'message' => 'The task monitor config resolve tamper latency ttl is invalid.', 'http_code' => 400, 'description' => '解析时延与TTL篡改监控:ttl设置错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidTamperEvaluationCount', 'message' => 'The task monitor config resolve tamper evaluation count is invalid.', 'http_code' => 400, 'description' => '解析时延与TTL篡改监控:重复次数配置错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidResolveTamperTimeout', 'message' => 'The task monitor config resolve tamper timeout is invalid.', 'http_code' => 400, 'description' => '解析时延与TTL篡改监控:超时时间配置错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidTamperIntervalByTimeout', 'message' => 'The task monitor config resolve tamper interval is invalid by timeout.', 'http_code' => 400, 'description' => '解析时延与TTL篡改监控:超时时间错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidResolveTamperInterval', 'message' => 'The task monitor config resolve tamper interval is invalid.', 'http_code' => 400, 'description' => '解析时延与TTL篡改监控:监控频率错误'],
+ ['code' => 'CloudMonitor.Task.InvalidMonitorResolveTamperConfig', 'message' => 'The task monitor resolve tamper config is invalid.', 'http_code' => 400, 'description' => '自定义DNS服务器解析时延监控配置错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.itemDuplicate', 'message' => 'The task monitor config item is duplicate.', 'http_code' => 400, 'description' => '监控项重复'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.itemEmpty', 'message' => 'The task monitor config item is empty.', 'http_code' => 400, 'description' => '监控项为空'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidNsTamperEvaluationCount', 'message' => 'The task monitor config ns tamper evaluation count is invalid.', 'http_code' => 400, 'description' => '域名NS篡改监控重试次数错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidNsTamperInterval', 'message' => 'The task monitor config ns tamper interval is invalid.', 'http_code' => 400, 'description' => '域名NS篡改监控拨测配置错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidResultEvaluationCount', 'message' => 'The task monitor config resolve result evaluation count is invalid.', 'http_code' => 400, 'description' => '解析结果监控重试次数错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidNsTamperTimeout', 'message' => 'The task monitor config ns tamper timeout is invalid.', 'http_code' => 400, 'description' => '域名NS篡改监控超时时间错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidResolveResultMatchRule', 'message' => 'The task monitor config resolve result match rule is invalid.', 'http_code' => 400, 'description' => '解析结果匹配规则错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidExpectedResolveResult', 'message' => 'The task monitor config expected resolve result is invalid.', 'http_code' => 400, 'description' => '期望解析结果配置错误'],
+ ['code' => 'CloudMonitor.Task.InvalidMonitorNsTamperConfig', 'message' => 'The task monitor ns tamper config is invalid.', 'http_code' => 400, 'description' => '域名NS篡改监控配置错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidItemStatus', 'message' => 'The task monitor config item status is invalid.', 'http_code' => 400, 'description' => '探测任务启用状态错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidResolveResultInterval', 'message' => 'The task monitor config resolve result interval is invalid.', 'http_code' => 400, 'description' => '解析结果监控拨测频率错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidItem', 'message' => 'The task monitor config item is invalid.', 'http_code' => 400, 'description' => '监控项错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidResolveResultTimeout', 'message' => 'The task monitor config resolve result timeout is invalid.', 'http_code' => 400, 'description' => '解析结果监控超时时间错误'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidResolveResIntervalTimeout', 'message' => 'The task monitor config resolve result interval is invalid by timeout.', 'http_code' => 400, 'description' => '解析结果监控探测频率时间大于超时时间'],
+ ['code' => 'CloudMonitor.Task.nameDuplicate', 'message' => 'The task name is duplicate.', 'http_code' => 400, 'description' => '探测任务名称重复'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.resolveResultCustomNsesDuplicate', 'message' => 'The task monitor config resolve result custom nses is duplicate.', 'http_code' => 400, 'description' => '解析结果监控自定义DNS服务器解析结果重复'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.ExpectedResolveResultDuplicate', 'message' => 'The task monitor config expected resolve result is duplicate.', 'http_code' => 400, 'description' => '解析结果监控期望解析结果重复'],
+ ['code' => 'CloudMonitor.Task.InvalidMonitorResolveResultConfig', 'message' => 'The task monitor resolve result config is invalid.', 'http_code' => 400, 'description' => '解析结果监控配置错误'],
+ ['code' => 'CloudMonitor.Task.InvalidAddress', 'message' => 'The task address is invalid.', 'http_code' => 400, 'description' => '探测任务地址不正确'],
+ ['code' => 'CloudMonitor.Task.InvalidMonitorExtend', 'message' => 'The task monitor extend is invalid.', 'http_code' => 400, 'description' => '探测任务配置错误'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.HasExisted', 'message' => 'The probe endpoint has existed.', 'http_code' => 400, 'description' => 'Endpoint IP已经存在'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.NeedDispatchStatusOnline', 'message' => 'The probe endpoint need dispatch status online.', 'http_code' => 400, 'description' => '数据下发endpoint时,endpoint下发状态需为online'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.InvalidDispatchStatus', 'message' => 'The probe endpoint dispatch status is invalid.', 'http_code' => 400, 'description' => '设置endpoint数据下发状态错误'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.InvalidPreloadId', 'message' => 'The probe endpoint preload id is invalid.', 'http_code' => 400, 'description' => '重点域名监控任务增量ID错误'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.NotExisted', 'message' => 'The probe endpoint not existed.', 'http_code' => 400, 'description' => 'Endpoint 不存在'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.NeedStatusOffline', 'message' => 'The probe endpoint need status offline.', 'http_code' => 400, 'description' => 'endpoit启用状态需要置为offline状态'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.NeedDispatchStatusOffline', 'message' => 'The probe endpoint need dispatch status offline.', 'http_code' => 400, 'description' => 'endpoit数据下发状态需要置为offline状态'],
+ ['code' => 'CloudMonitor.Task.InvalidNetworkType', 'message' => 'The task network type is invalid.', 'http_code' => 400, 'description' => '选择的网络类型不对,应该是内网、公网'],
+ ['code' => 'CloudMonitor.Task.InvalidName', 'message' => 'The task name is invalid.', 'http_code' => 400, 'description' => '探测任务名称格式不对'],
+ ['code' => 'CloudMonitor.Task.NotExists', 'message' => 'The task does not exist.', 'http_code' => 400, 'description' => '探测任务相关操作,探测任务不存在'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.PreloadInRunning', 'message' => 'There is already a running preload task for the probe endpoint.', 'http_code' => 400, 'description' => '存在正在增量中的任务'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.InvalidRecordType', 'message' => 'The task monitor config record type is invalid.', 'http_code' => 400, 'description' => '解析结果监控拨测域名记录类型错误'],
+ ['code' => 'CloudMonitor.Task.InvalidId', 'message' => 'The task id is invalid.', 'http_code' => 400, 'description' => '探测任务不存在'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.Ipv6FormatInvalid', 'message' => 'The probe endpoint IPv6 address value format is invalid.', 'http_code' => 400, 'description' => 'IPv6协议的endpoint 地址格式不正确'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.Ipv4FormatInvalid', 'message' => 'The probe endpoint IPv4 address value format is invalid.', 'http_code' => 400, 'description' => 'IPv4协议的endpoint 地址格式不正确.'],
+ ['code' => 'CloudMonitor.Task.InvalidCount', 'message' => 'The task count is invalid.', 'http_code' => 400, 'description' => '探测任务超过最大个数'],
+ ['code' => 'CloudMonitor.ProbeEndpoint.InvalidPort', 'message' => 'The probe endpoint port is invalid.', 'http_code' => 400, 'description' => 'endpoint 地址端口格式不正确'],
+ ['code' => 'Cloudmonitor.AlertConfig.AlertGroupNotExists', 'message' => 'The alarm group selected for alarm configuration does not exist.', 'http_code' => 400, 'description' => '报警配置选择的报警组不存在'],
+ ['code' => 'CloudMonitor.TaskMonitorConfig.EnabledItemAtLeastOne', 'message' => 'The task monitor config enabled item at least one.', 'http_code' => 400, 'description' => '重点域名监控任务至少配置一个监控项。'],
+ ['code' => 'CloudGtm.Instance.ChargeTypeDoesNotMatch', 'message' => 'The charge type of instance does not match.', 'http_code' => 400, 'description' => '实例的付费类型不匹配'],
+ ['code' => 'Alidns.Ptr.NotExist', 'message' => 'alidns ptr is not exist.', 'http_code' => 400, 'description' => 'PTR记录不存在'],
+ ['code' => 'Alidns.Ptr.Exist', 'message' => 'alidns ptr is exist.', 'http_code' => 400, 'description' => 'PTR记录已存在'],
+ ['code' => 'Alidns.Ptr.InvalidBusinessStatus', 'message' => 'The ptr business status is invalid.', 'http_code' => 400, 'description' => 'PTR 付费状态无效'],
+ ['code' => 'Alidns.Ptr.InvalidParam', 'message' => 'The ptr param is invalid.', 'http_code' => 400, 'description' => 'PTR 记录参数无效'],
+ ['code' => 'Alidns.Ptr.InvalidName', 'message' => 'The ptr name is invalid.', 'http_code' => 400, 'description' => 'PTR 记录名称无效'],
+ ['code' => 'Alidns.Ptr.InvalidValue', 'message' => 'The ptr value is invalid.', 'http_code' => 400, 'description' => 'PTR 记录值参数无效'],
+ ['code' => 'Alidns.Ptr.InvalidEndDate', 'message' => 'The ptr end date is invalid.', 'http_code' => 400, 'description' => 'PTR 结束时间参数无效'],
+ ['code' => 'Alidns.Ptr.InvalidStartDate', 'message' => 'The ptr start date is invalid.', 'http_code' => 400, 'description' => 'PTR 起始时间参数无效'],
+ ['code' => 'Alidns.Ptr.UserIdNotExist', 'message' => 'alidns ptr userId is not exist.', 'http_code' => 400, 'description' => 'PTR 用户id参数不存在'],
+ ['code' => 'Alidns.Ptr.IpAddressNotExist', 'message' => 'alidns ptr ipAddress is not exist.', 'http_code' => 400, 'description' => 'PTR ip地址参数不存在'],
+ ['code' => 'Alidns.Ptr.RecordSetNotExist', 'message' => 'alidns ptr record set is not exist.', 'http_code' => 400, 'description' => 'PTR记录集不存在'],
+ ['code' => 'Alidns.Ptr.IpInfoNotMatch', 'message' => 'The ptr ip info is not match.', 'http_code' => 400, 'description' => 'PTR ip信息不匹配,可能当前ip已经不属于当前用户'],
+ ['code' => 'DomainTransfer.AccountIdentical', 'message' => 'The transferred account is the same as the original account.', 'http_code' => 400, 'description' => '转移账号与本账号相同'],
+ ['code' => 'DomainTransfer.ValidateVerifyCodeFailed', 'message' => 'The verification code is incorrect.', 'http_code' => 400, 'description' => '验证码有误,请重新输入'],
+ ['code' => 'DomainTransfer.AccountNotExist', 'message' => 'The transfer account does not exist.', 'http_code' => 400, 'description' => '转移账号不存在'],
+ ['code' => 'Edgedns.Cluster.FunctionModuleNotSupport', 'message' => 'Edge dns cluster function module not support.', 'http_code' => 400, 'description' => '当前集群不支持该功能,请升级集群版本'],
+ ['code' => 'QuotaExceeded.ALIASRecord', 'message' => 'The number of ALIAS records exceeds the maximum number.', 'http_code' => 400, 'description' => '超出ALIAS记录类型配置的最大数量 %s。'],
+ ['code' => 'NotSupport_ALIASRecord', 'message' => 'Alias record type is only available in version exclusive and version enterprise advanced.', 'http_code' => 400, 'description' => 'Alias记录类型仅旗舰版、尊享版开放'],
+ ['code' => 'NotSupport.ALIASRecord', 'message' => 'Alias record type is only available in version exclusive and version enterprise advanced.', 'http_code' => 400, 'description' => 'Alias记录类型仅旗舰版、尊享版开放'],
+ ['code' => 'SubDomainInvalid.TargetLoop', 'message' => 'Record name and record value cannot be the same.', 'http_code' => 400, 'description' => '记录名称和记录值不能相同'],
+ ['code' => 'Alias.DNSSEC.NotAllowed', 'message' => 'The current domain name already has an ALIAS record. DNSSEC and ALIAS records are mutually exclusive. Please disable ALIAS before using DNSSEC.', 'http_code' => 400, 'description' => '当前域名已有ALIAS记录,DNSSEC 与ALIAS记录互斥,请先关闭ALIAS后再使用DNSSEC'],
+ ['code' => 'DNSSEC.Alias.NotAllowed', 'message' => 'DNSSEC is enabled for the current domain name. DNSSEC and ALIAS records are mutually exclusive. Please disable DNSSEC before using ALIAS.', 'http_code' => 400, 'description' => '当前域名已启用 DNSSEC,DNSSEC 与ALIAS记录互斥,请先关闭 DNSSEC 后再使用ALIAS'],
+ ['code' => 'DNSSECNotAllowed.ALIASRecord', 'message' => 'DNSSEC is enabled for the current domain name. DNSSEC and ALIAS records are mutually exclusive. Please disable DNSSEC before using ALIAS.', 'http_code' => 400, 'description' => '当前域名已启用 DNSSEC,DNSSEC 与ALIAS记录互斥,请先关闭 DNSSEC 后再使用ALIAS'],
+ ['code' => 'Alidns.Ptr.ZoneNotExists', 'message' => 'The zone corresponding to the PTR record does not exist, please check the PTR Zone is authorized to Alibaba Cloud.', 'http_code' => 400, 'description' => 'PTR 记录对应的 ZONE 不存在'],
+ ['code' => 'Alirs.Domain.TldIsProtected', 'message' => 'The tld is protected.', 'http_code' => 400, 'description' => '此顶级域在被保护中'],
+ ['code' => 'Alirs.Domain.DomainIsProtected', 'message' => 'The domain is protected.', 'http_code' => 400, 'description' => '此域名在被保护中'],
+ ['code' => 'Alirs.Domain.DomainStatusPendingDeleteDataIllegal', 'message' => 'The pendingDelete status MUST NOT be combined with either clientDeleteProhibited or serverDeleteProhibited status.', 'http_code' => 400, 'description' => '域名待删除状态数据非法'],
+ ['code' => 'Alirs.Domain.DomainStatusPendingTransferDataIllegal', 'message' => 'The pendingTransfer status MUST NOT be combined with either clientTransferProhibited or serverTransferProhibited status.', 'http_code' => 400, 'description' => '域名待转移状态数据非法'],
+ ['code' => 'Alirs.Domain.DomainStatusPendingRenewDataIllegal', 'message' => 'The pendingRenew status MUST NOT be combined with either clientRenewProhibited or serverRenewProhibited status.', 'http_code' => 400, 'description' => '域名待续费状态数据非法'],
+ ['code' => 'Alirs.Domain.DomainStatusPendingUpdateDataIllegal', 'message' => 'The pendingUpdate status MUST NOT be combined with either clientUpdateProhibited or serverUpdateProhibited status.', 'http_code' => 400, 'description' => '域名待更新状态数据非法'],
+ ['code' => 'Alirs.Domain.DomainStatusToRemoveDoesNotExists', 'message' => 'The domain status to remove does not exists.', 'http_code' => 400, 'description' => '要删除的域名状态不存在'],
+ ['code' => 'Alirs.Domain.DomainStatusToAddAlreadyExists', 'message' => 'The domain status to add already exists.', 'http_code' => 400, 'description' => '添加的域名状态已经存在了,请勿重复添加'],
+ ['code' => 'Alirs.Domain.DomainNameIsEmpty', 'message' => 'The domain name is empty.', 'http_code' => 400, 'description' => '域名为空'],
+ ['code' => 'Alirs.Domain.DomainNotInServerHoldStatus.', 'message' => 'This domain name is not in the serverHold state, do not duplicate delete.', 'http_code' => 400, 'description' => '此域名未处于serverHold状态,请勿重复删除'],
+ ['code' => 'Alirs.Domain.DomainNotExists', 'message' => 'The domain does not exist.', 'http_code' => 400, 'description' => '域名不存在'],
+ ['code' => 'Alirs.Domain.DomainCrIdIsEmpty', 'message' => 'The domain crId is empty.', 'http_code' => 400, 'description' => '域名创建者ID为空'],
+ ['code' => 'Alirs.Tld.TldNotBelongToRegistry', 'message' => 'The tld not belong to registry.', 'http_code' => 400, 'description' => 'TLD不属于注册局'],
+ ['code' => 'Alirs.Tld.TldNotBelongToRegistrar', 'message' => 'The tld not belong to registrar.', 'http_code' => 400, 'description' => 'TLD不属于注册商'],
+ ['code' => 'Alirs.Domain.DomainClIdIsEmpty', 'message' => 'The domain clId is empty.', 'http_code' => 400, 'description' => '域名客户端ID为空'],
+ ['code' => 'Alirs.Domain.DomainServerHoldStatusIsEmpty', 'message' => 'The domain serverHoldStatus is empty.', 'http_code' => 400, 'description' => '域名服务器锁定状态为空'],
+ ['code' => 'Alirs.Registrar.PasswordResetFailed', 'message' => 'The registrar client password reset failed.', 'http_code' => 400, 'description' => '注册商客户端密码重置失败'],
+ ['code' => 'Alirs.Domain.DomainNotBelongToRegistryGateway', 'message' => 'The domain not belong to registryGateway.', 'http_code' => 400, 'description' => '域名不属于该注册局网关'],
+ ['code' => 'Alirs.Domain.DomainNotBelongToRegistry', 'message' => 'The domain not belong to registry.', 'http_code' => 400, 'description' => '域名不属于该注册局'],
+ ['code' => 'Alirs.CloudAccount.CloudAccountIdIsEmpty', 'message' => 'The cloud account id is empty.', 'http_code' => 400, 'description' => '云账户ID为空'],
+ ['code' => 'Alirs.Tld.TldIsEmpty', 'message' => 'The tld is empty.', 'http_code' => 400, 'description' => 'TLD为空'],
+ ['code' => 'Alirs.Tld.RegistryIdIsEmpty', 'message' => 'The registry id is empty.', 'http_code' => 400, 'description' => '注册局ID为空'],
+ ['code' => 'Alirs.Registrar.NotAuthorized', 'message' => 'The registrar does not belong to the registry.', 'http_code' => 400, 'description' => '注册商不属于该注册局'],
+ ['code' => 'Alirs.Registrar.NotExists', 'message' => 'The corresponding registrar does not exist.', 'http_code' => 400, 'description' => '注册商不存在'],
+ ['code' => 'Alirs.Registrar.RegistrarIdIsEmpty', 'message' => 'The registrar id does not empty.', 'http_code' => 400, 'description' => '注册商id不能为空'],
+ ['code' => 'Alirs.Operator.OperatorTypeError', 'message' => 'The operator type is error.', 'http_code' => 400, 'description' => '操作人类型错误'],
+ ['code' => 'Alirs.Operator.OperatorIdIsEmpty', 'message' => 'The operator id is empty.', 'http_code' => 400, 'description' => '操作人ID为空'],
+ ['code' => 'Alirs.Operator.OperatorTypeIsEmpty', 'message' => 'The operator type is empty.', 'http_code' => 400, 'description' => '操作人类型为空'],
+ ['code' => 'Alirs.Registrar.MaxEppConnectionsExceedLimit', 'message' => 'The registrar client max epp connections exceed registry per client limit.', 'http_code' => 400, 'description' => '注册商客户端最大EPP连接数超出注册中心单客户端限制'],
+ ['code' => 'Alirs.WebRegistration.ErrorCode:%s', 'message' => 'Alirs.WebRegistration.ErrorMessage:%s.', 'http_code' => 400, 'description' => '注册局web注册动态错误响应信息'],
+ ['code' => 'Alirs.IpAddress.FormatInvalid', 'message' => 'The ip address format is invalid.', 'http_code' => 400, 'description' => 'IP地址格式错误'],
+ ['code' => 'Alirs.Registrar.MaxEppConnectionsExceedQuota', 'message' => 'The total registrar client max epp connections exceed registry quota.', 'http_code' => 400, 'description' => '注册商客户端最大EPP连接数总和超出注册中心配额'],
+ ['code' => 'Alirs.Registrar.RegistrarClientRelatedToTld', 'message' => 'The registrar client is related to tld.', 'http_code' => 400, 'description' => '注册商客户端关联了顶级域'],
+ ['code' => 'Alirs.Registrar.RegistrarClientNotExists', 'message' => 'The registrar client does not exist.', 'http_code' => 400, 'description' => '注册商客户端不存在'],
+ ['code' => 'Alirs.Registrar.RegistrarClientIdDuplicate', 'message' => 'The registrar client id already exists.', 'http_code' => 400, 'description' => '注册商客户端ID已存在'],
+ ['code' => 'Alirs.Registrar.ClientNumExceed', 'message' => 'The registrar client num exceed.', 'http_code' => 400, 'description' => '注册商客户端数量超限'],
+ ['code' => 'Alirs.Registrar.AlreadyExists', 'message' => 'Registrar inna id already exists.', 'http_code' => 400, 'description' => '当前注册局下已经存在相同 inna id 的注册商。'],
+ ['code' => 'Alirs.Domain.DomainNotBelongToGateway', 'message' => 'The domain not belong to Gateway.', 'http_code' => 400, 'description' => '此域名不属于该网关'],
+ ['code' => 'Ati.Alert.NoticeTypeNotSupported', 'message' => 'The specified alert notice type is not supported.', 'http_code' => 400, 'description' => '指定的告警通知类型不受支持。'],
+ ['code' => 'Ati.Certificate.NotExists', 'message' => 'The specified certificate does not exist.', 'http_code' => 400, 'description' => '指定的证书不存在。'],
+ ['code' => 'Ati.Alert.GroupLimitExceeded', 'message' => 'The number of alert notification groups exceeds the maximum limit.', 'http_code' => 400, 'description' => '告警通知组数量超过最大限制。'],
+ ['code' => 'Ati.Certificate.CertExpired', 'message' => 'The server certificate has expired or is not yet valid.', 'http_code' => 400, 'description' => '服务端证书已过期或尚未生效。'],
+ ['code' => 'Ati.Certificate.CsrFieldMismatch', 'message' => 'The CSR field does not match the expected source.', 'http_code' => 400, 'description' => 'CSR 字段与预期来源不匹配。'],
+ ['code' => 'Ati.Acme.PrecheckFailed', 'message' => 'The ACME DNS-01 pre-check has failed.', 'http_code' => 400, 'description' => 'ACME DNS-01 预检失败。'],
+ ['code' => 'Ati.Registrant.NotApproved', 'message' => 'The associated registrant has not been approved.', 'http_code' => 400, 'description' => '关联的注册主体尚未审核通过。'],
+ ['code' => 'Ati.Acme.TokenExpired', 'message' => 'The ACME challenge token has expired.', 'http_code' => 400, 'description' => 'ACME 挑战 token 已过期。'],
+ ['code' => 'Ati.Acme.TokenNotGenerated', 'message' => 'The ACME challenge token has not been generated yet.', 'http_code' => 400, 'description' => 'ACME 挑战 token 尚未生成。'],
+ ['code' => 'Ati.Certificate.DomainMismatch', 'message' => 'The certificate domain does not match the agent host.', 'http_code' => 400, 'description' => '证书域名与 Agent host 不匹配。'],
+ ['code' => 'Ati.Agent.HostVersionDuplicate', 'message' => 'The same user already has an agent with this host and version.', 'http_code' => 400, 'description' => '当前用户下已存在相同 host 和 version 的 Agent。'],
+ ['code' => 'Ati.Certificate.CsrFormatInvalid', 'message' => 'The CSR PEM format is invalid.', 'http_code' => 400, 'description' => 'CSR 的 PEM 格式无效。'],
+ ['code' => 'Ati.Agent.NotExists', 'message' => 'The specified agent does not exist.', 'http_code' => 400, 'description' => '指定的 Agent 不存在。'],
+ ['code' => 'Ati.Agent.StatusNotSupported', 'message' => 'The current agent status does not support this operation.', 'http_code' => 400, 'description' => '当前 Agent 状态不支持该操作。'],
+ ['code' => 'Ati.Agent.HostFormatInvalid', 'message' => 'The agent FQDN format is invalid.', 'http_code' => 400, 'description' => 'Agent FQDN 格式无效。'],
+ ['code' => 'Ati.Agent.ProtocolNotSupported', 'message' => 'The specified communication protocol is not supported.', 'http_code' => 400, 'description' => '指定的通信协议不受支持。'],
+ ['code' => 'Ati.Agent.VersionFormatInvalid', 'message' => 'The agent version format is invalid.', 'http_code' => 400, 'description' => 'Agent 版本号格式无效。'],
+ ['code' => 'Ati.Certificate.CertFormatInvalid', 'message' => 'The certificate PEM format is invalid.', 'http_code' => 400, 'description' => '证书 PEM 格式无效。'],
+ ['code' => 'Ati.Agent.DisplayNameInvalid', 'message' => 'The agent display name is invalid or exceeds the maximum length.', 'http_code' => 400, 'description' => 'Agent 显示名称无效或超过最大长度限制。'],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressPoolLbStrategy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TransferDomain'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIspFlushCacheInstanceConfig'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressPoolRemark'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetGtmAccessMode'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmRecoveryPlans'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCloudGtmInstanceConfig'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ValidateDnsGtmCnameRrCanUse'],
+ ['threshold' => '45', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmAddressReference'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchCloudGtmMonitorTemplates'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDomainRecordRemark'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceName'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsCacheDomainRemark'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGtmAddressPool'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchCloudGtmInstances'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmAlertLogs'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmMonitorNodes'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressManualAvailableStatus'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MoveGtmResourceGroup'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsGtmInstanceGlobalConfig'],
+ ['threshold' => '60', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDomainRecord'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDnsGtmAccessStrategy'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainGroups'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIspFlushCacheTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePdnsAppKey'],
+ ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRecordInfo'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCustomLine'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDNSSLBWeight'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAddressPoolAvailableConfig'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohUserInfo'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDomainBackup'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmMonitorConfig'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDnsGtmMonitor'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIspFlushCacheInstances'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmAddressPools'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetGtmMonitorStatus'],
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'OperateBatchDomain'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchDnsGtmInstanceStrategyMode'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceConfigBasic'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddGtmMonitor'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainLogs'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindInstanceDomains'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAccessStrategy'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsThreatStatistics'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstanceAddressPools'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmAvailableAlertGroups'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstanceSystemCname'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsCacheDomain'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainStatistics'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmMonitorAvailableConfig'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecordResolveStatisticsSummary'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeDomainOfDnsProduct'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGtmAccessStrategy'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceDomains'],
+ ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCloudGtmAddressPool'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAddrAttributeInfo'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddGtmAddressPool'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmMonitorTemplate'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceConfigRemark'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGtmMonitor'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDnsCacheDomain'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmInstances'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmSummary'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindInstanceDomains'],
+ ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCloudGtmAddress'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PreviewGtmRecoveryPlan'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAppKeyState'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstanceStatus'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsGtmAccessStrategy'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAccessStrategyAvailableConfig'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstances'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReplaceCloudGtmInstanceConfigAddressPool'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAvailableAlertGroup'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MoveDomainResourceGroup'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CopyGtmConfig'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCloudGtmAddress'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDnsGtmAddressPool'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGtmInstanceGlobalConfig'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmInstanceConfigFullInfo'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainRecords'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDomainDnssecStatus'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmAddress'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceConfigAlert'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceConfigLbStrategy'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmAddresses'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsOperateLogs'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBatchResultDetail'],
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressEnableStatus'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmInstanceConfigEnableStatus'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDomainGroup'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmLogs'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohDomainStatistics'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDomainGroup'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstances'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomains'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstanceStatus'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCustomLines'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGtmAddressPool'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddCustomLine'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTxtRecordForVerify'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddGtmAccessStrategy'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohAccountStatistics'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDnsCacheDomain'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDomainGroup'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitIspFlushCacheTask'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstanceAddressPool'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDomain'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmAvailableAlertGroup'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsThreatStatistic'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddress'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSubDomainRecords'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmMonitorConfig'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmSystemLines'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyHichinaDomainDNS'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressPoolBasicConfig'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInternetDnsLogs'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmGlobalAlert'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmAccessStrategies'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTransferDomains'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTags'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDnsGtmAccessStrategy'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDnsGtmAddressPool'],
+ ['threshold' => '60', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDomainRecord'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGtmAccessStrategy'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressPoolEnableStatus'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmLogs'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGtmRecoveryPlan'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDomain'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstanceAddressPool'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCustomLine'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCloudGtmMonitorTemplate'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PausePdnsService'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchCloudGtmAddresses'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmMonitorTemplate'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsGtmMonitor'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmMonitorTemplates'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDomainRecordStatus'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsProductInstances'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsProductInstance'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmRecoveryPlanAvailableConfig'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsCacheDomains'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsThreatLogs'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmMonitorTemplateRemark'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainInfo'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecordStatisticsSummary'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCloudGtmInstanceConfigs'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainStatisticsSummary'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportLines'],
+ ['threshold' => '60', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddDomainRecord'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainResolveStatisticsSummary'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsRequestStatistics'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeDomainGroup'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsUserInfo'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RetrieveDomain'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCloudGtmAddressRemark'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemovePdnsUdpIpSegment'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmAddressPool'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddGtmRecoveryPlan'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohDomainStatisticsSummary'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReplaceCloudGtmAddressPoolAddress'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecuteGtmRecoveryPlan'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchCloudGtmAddressPools'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDomainRemark'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainNs'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmAccessStrategyAvailableConfig'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDnsGtmAccessMode'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDNSSLBSubDomains'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohSubDomainStatistics'],
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmAddressPoolReference'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIspFlushCacheRemainQuota'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePdnsUdpIpSegment'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemovePdnsAppKey'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDnsGtmAddressPool'],
+ ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSubDomainRecords'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchCloudGtmInstanceConfigs'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecordLogs'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBatchResultCount'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDnsGtmMonitorStatus'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDohSubDomainStatisticsSummary'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmAccessStrategies'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstanceAddressPools'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmMonitorAvailableConfig'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsAccountSummary'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainDnssecInfo'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmGlobalAlert'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ValidatePdnsUdpIpSegment'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCloudGtmInstanceConfigAlert'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstance'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResumePdnsService'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecordStatistics'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsAppKeys'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmInstanceSystemCname'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIspFlushCacheTasks'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RollbackGtmRecoveryPlan'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmRecoveryPlan'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMainDomainName'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGtmAccessStrategy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsAppKey'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsUdpIpSegments'],
+ ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCloudGtmInstanceConfig'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGtmRecoveryPlan'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCloudGtmAddressPool'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePdnsRequestStatistic'],
+ ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCloudGtmMonitorTemplate'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCustomLines'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDnsGtmInstance'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetDNSSLBStatus'],
+ ],
+ 'product' => ['code' => 'dns', 'title' => '云解析DNS'],
+ ],
+ 'ram' => [
+ 'productCode' => 'Alidns',
+ 'productName' => '云解析DNS',
+ 'ramCodes' => ['alidns', 'pubdns', 'pvtz'],
+ 'ramLevel' => '资源级',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'GetMainDomainName',
+ 'description' => '获取主域名名称',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:GetMainDomainName',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeCloudGtmGlobalAlert',
+ 'description' => '获取全局告警配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmGlobalAlert',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeDnsGtmInstanceAddressPools',
+ 'description' => '获取地址池列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstanceAddressPools',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DeleteCloudGtmAddress',
+ 'description' => '删除地址',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteCloudGtmAddress',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateGtmMonitor',
+ 'description' => '修改健康检查(旧版)',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateGtmMonitor',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDnsGtmInstanceStatus',
+ 'description' => '获取GTM实例状态',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '16787',
- 'abilityTreeNodes' => [
- 'FEATUREdns5Q9UHE',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstanceStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认为**zh**。取值:'."\n"
- ."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
+ [
+ 'apiName' => 'DescribeDomainInfo',
+ 'description' => '获取域名信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '需要查询的主域名名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'example.com',
+ ],
+ [
+ 'apiName' => 'DescribeRecordResolveStatisticsSummary',
+ 'description' => '获取子域名的请求量统计',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeRecordResolveStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
],
],
- [
- 'name' => 'SubDomain',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要查看统计数据的子域名名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.example.com',
+ ],
+ [
+ 'apiName' => 'DeleteDnsGtmAddressPool',
+ 'description' => '删除 DNS 地址池',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDnsGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
],
],
- [
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询请求量统计类型:'."\n"
- ."\n"
- .'- DOMAIN:按照域名维度查看请求量统计;'."\n"
- ."\n"
- .'- SUB_DOMAIN:按照子域名维度查看请求量统计;',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DOMAIN',
+ ],
+ [
+ 'apiName' => 'DescribeIspFlushCacheInstances',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeIspFlushCacheInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'StartDate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'只能查询最近90天的记录。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-06-14',
+ ],
+ [
+ 'apiName' => 'DescribeTags',
+ 'description' => '查询已有标签列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeTags',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndDate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间,格式:YYYY-MM-DD。'."\n"
- ."\n"
- .'默认为查询当天的时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2024-07-14',
+ ],
+ [
+ 'apiName' => 'DeleteDnsGtmAccessStrategy',
+ 'description' => '删除访问策略',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDnsGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
],
],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
+ ],
+ [
+ 'apiName' => 'DescribeDohAccountStatistics',
+ 'description' => '获取DoH账户请求量统计概览',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohAccountStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值100,默认为20。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '20',
+ ],
+ [
+ 'apiName' => 'AddGtmAccessStrategy',
+ 'description' => '新增访问策略(旧版)',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#gtminstanceId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'TotalCount' => [
- 'description' => '获取的总列表数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '49',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '唯一请求识别码。'."\n"
- ."\n",
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Data' => [
- 'description' => '请求量数据列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '请求量数据列表。',
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'SubDomain' => [
- 'description' => '子域名名称。',
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
- 'V6HttpCount' => [
- 'description' => 'IPv6 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'V6HttpsCount' => [
- 'description' => 'IPv6 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'TotalCount' => [
- 'description' => '请求总量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500',
- ],
- 'V4HttpCount' => [
- 'description' => 'IPv4 HTTP 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'V4HttpsCount' => [
- 'description' => 'IPv4 HTTPS 请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'V4Count' => [
- 'description' => 'IPv4请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'V6Count' => [
- 'description' => 'IPv6请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HttpCount' => [
- 'description' => 'HTTP请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'HttpsCount' => [
- 'description' => 'HTTPS请求量。但在公共DNS控制台流量分析页签中,此参数版包含了DoH的请求量,所以DoH的请求量没有在控制台单独展示。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'DohTotalCount' => [
- 'description' => 'Doh总请求量。Doh总请求量,包含了HTTP和HTTPS请求总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'UdpTotalCount' => [
- 'description' => 'Udp总请求量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '500',
- ],
- 'IpCount' => [
- 'description' => '源IP地址数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'ThreatCount' => [
- 'description' => '当前版本暂不支持此参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '-',
- ],
- 'MaxThreatLevel' => [
- 'description' => '当前版本暂不支持此参数。',
- 'type' => 'string',
- 'example' => '-',
- ],
- 'ThreatInfo' => [
- 'description' => '当前版本暂不支持此参数。',
- 'type' => 'array',
- 'items' => [
- 'description' => '当前版本暂不支持此参数。',
- 'type' => 'object',
- 'properties' => [
- 'ThreatType' => [
- 'description' => '当前版本暂不支持此参数。',
- 'type' => 'string',
- 'example' => '-',
- ],
- 'ThreatLevel' => [
- 'description' => '当前版本暂不支持此参数。',
- 'type' => 'string',
- 'example' => '-',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'DescribeGtmInstanceStatus',
+ 'description' => '获取GTM实例状态(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstanceStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 49,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"PageNumber\\": 1,\\n \\"Data\\": [\\n {\\n \\"DomainName\\": \\"example.com\\",\\n \\"SubDomain\\": \\"www.example.com\\",\\n \\"V6HttpCount\\": 0,\\n \\"V6HttpsCount\\": 0,\\n \\"TotalCount\\": 500,\\n \\"V4HttpCount\\": 0,\\n \\"V4HttpsCount\\": 0,\\n \\"V4Count\\": 0,\\n \\"V6Count\\": 0,\\n \\"HttpCount\\": 0,\\n \\"HttpsCount\\": 0,\\n \\"DohTotalCount\\": 0,\\n \\"UdpTotalCount\\": 500,\\n \\"IpCount\\": 10,\\n \\"ThreatCount\\": 0,\\n \\"MaxThreatLevel\\": \\"-\\",\\n \\"ThreatInfo\\": [\\n {\\n \\"ThreatType\\": \\"-\\",\\n \\"ThreatLevel\\": \\"-\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询公共DNS请求量统计数据列表',
- ],
- 'DescribePdnsOperateLogs' => [
- 'summary' => '获取公共DNS 操作日志列表',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DescribeDnsGtmInstances',
+ 'description' => '获取GTM实例列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'ChangeDomainGroup',
+ 'description' => '将域名从原分组更换到新分组',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:ChangeDomainGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'group', 'arn' => 'acs:alidns::{#accountId}:group/{#groupId}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DeleteCustomLines',
+ 'description' => '批量删除自定义线路',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteCustomLines',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeInterAuthStatisticsZoneOverview',
+ 'description' => '公网权威解析域名解析统计概览',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsCCJUYL',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeInterAuthStatisticsZoneOverview',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ [
+ 'apiName' => 'DescribeDnsGtmLogs',
+ 'description' => '获取GTM操作日志列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
],
],
- [
- 'name' => 'ActionType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'ModifyHichinaDomainDNS',
+ 'description' => '修改域名DNS服务器名称',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:ModifyHichinaDomainDNS',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
],
],
- [
- 'name' => 'Keyword',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'ChangeDomainOfDnsProduct',
+ 'description' => '更换云解析产品绑定的域名',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:ChangeDomainOfDnsProduct',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'StartDate',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'UpdateCloudGtmGlobalAlert',
+ 'description' => '修改全局告警配置',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmGlobalAlert',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndDate',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'UpdateCloudGtmInstanceConfigAlert',
+ 'description' => '更新实例的告警配置',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceConfigAlert',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'AddGtmMonitor',
+ 'description' => '添加健康检查(旧版)',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddGtmMonitor',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#gtminstanceId}'],
],
],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'SetDomainDnssecStatus',
+ 'description' => '设置域名DNSSEC状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetDomainDnssecStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
],
],
- [
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'DescribeInternetDnsLogs',
+ 'description' => '查询公网解析日志',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeInternetDnsLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Logs' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'OperateTime' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
- 'Action' => [
- 'type' => 'string',
- ],
- 'content' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'DescribeDohSubDomainStatisticsSummary',
+ 'description' => '获取DoH子域名的请求量统计列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohSubDomainStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responseDemo' => '',
- ],
- 'ResumePdnsService' => [
- 'summary' => '恢复公共DNS服务',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DeleteGtmAddressPool',
+ 'description' => '删除地址池(旧版)',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCloudGtmSummary',
+ 'description' => '获取实例概要信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'UpdateCloudGtmAddressEnableStatus',
+ 'description' => '修改地址启用状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressEnableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeDomainRecordInfo',
+ 'description' => '获取解析记录的详细信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainRecordInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'UpdateCloudGtmAddressPoolEnableStatus',
+ 'description' => '修改地址池启用状态',
'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressPoolEnableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ [
+ 'apiName' => 'DeleteDomain',
+ 'description' => '删除域名',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
],
],
- [
- 'name' => 'ServiceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'AddDomain',
+ 'description' => '添加域名',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- ],
+ [
+ 'apiName' => 'AddRspDomainServerHoldStatusForGatewayOte',
+ 'description' => '添加ServerHold状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:AddRspDomainServerHoldStatusForGatewayOte',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responseDemo' => '',
- ],
- 'DescribePdnsAccountSummary' => [
- 'summary' => '获取公共DNS用户数据概览',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DescribeDnsGtmAddressPoolAvailableConfig',
+ 'description' => '获取地址池可设置配置信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAddressPoolAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'ListCloudGtmAlertLogs',
+ 'description' => '获取告警日志列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmAlertLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UpdateDNSSLBWeight',
+ 'description' => '修改权重',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDNSSLBWeight',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'UpdateDnsGtmMonitor',
+ 'description' => '修改健康检查',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsGtmMonitor',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'MonitorConfig', 'arn' => 'acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCloudGtmInstanceConfigFullInfo',
+ 'description' => '获取实例配置完整信息',
'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmInstanceConfigFullInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ [
+ 'apiName' => 'DescribeDohDomainStatistics',
+ 'description' => '获取DoH域名请求量统计概览',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohDomainStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'alidns:test', 'validationType' => 'always'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'StartDate',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'DeleteGtmAccessStrategy',
+ 'description' => '删除访问策略(旧版)',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
],
- [
- 'name' => 'EndDate',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'SetCloudGtmInstanceConfigLogSwitch',
+ 'description' => '启用/禁用全局流量管理流量分析',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetCloudGtmInstanceConfigLogSwitch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'object',
- 'properties' => [
- 'UserId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'DomainCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SubDomainCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'HttpCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'HttpsCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ThreatCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'DescribeDnsProductInstances',
+ 'description' => '获取付费版DNS产品实例列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsProductInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Instance', 'arn' => 'acs:alidns:*:{#accountId}:instance/*'],
],
],
],
- ],
- 'PausePdnsService' => [
- 'summary' => '暂停公共DNS服务',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'AddDnsGtmAddressPool',
+ 'description' => '新增地址池',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDnsGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCloudGtmAddress',
+ 'description' => '获取地址配置信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmAddress',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'MoveGtmResourceGroup',
+ 'description' => '修改GTM实例的资源组ID',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:MoveGtmResourceGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeGtmInstanceSystemCname',
+ 'description' => '获取系统分配的CNAME域名(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstanceSystemCname',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'UpdateDnsGtmAccessStrategy',
+ 'description' => '修改访问策略',
'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ [
+ 'apiName' => 'SetDnsGtmAccessMode',
+ 'description' => '修改生效地址池切换策略',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetDnsGtmAccessMode',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'AccessStrategy', 'arn' => 'acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}'],
],
],
- [
- 'name' => 'ServiceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'UpdateCloudGtmAddressRemark',
+ 'description' => '修改地址备注',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- ],
+ [
+ 'apiName' => 'DeleteDomainRecord',
+ 'description' => '删除解析记录',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDomainRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
],
],
],
- ],
- 'DescribePdnsThreatStatistic' => [
- 'summary' => '获取公共DNS 威胁统计',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DescribeCloudGtmAddressReference',
+ 'description' => '获取地址被引用的信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmAddressReference',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'CreateCloudGtmAddressPool',
+ 'description' => '创建地址池',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:CreateCloudGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeDnsGtmInstanceAddressPool',
+ 'description' => '获取地址池详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstanceAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeGtmAvailableAlertGroup',
+ 'description' => '获取GTM实例可用的报警组列表(旧版)',
'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmAvailableAlertGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ [
+ 'apiName' => 'UpdateDnsCacheDomainRemark',
+ 'description' => '更新 DNS 权威代理域名备注',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsCacheDomainRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/{#DomainName}'],
],
],
- [
- 'name' => 'ThreatSourceIp',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'AddDomainBackup',
+ 'description' => '新建域名备份',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDomainBackup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainId}'],
],
],
- [
- 'name' => 'StartDate',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'ListCloudGtmAddressPools',
+ 'description' => '获取地址池列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmAddressPools',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndDate',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'SearchCloudGtmAddressPools',
+ 'description' => '搜索地址池列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:SearchCloudGtmAddressPools',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'TotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Timestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ThreatType' => [
- 'type' => 'string',
- ],
- 'ThreatLevel' => [
- 'type' => 'string',
- ],
- 'DohTotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'UdpTotalCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'UpdateCloudGtmInstanceConfigLbStrategy',
+ 'description' => '更新实例负载均衡策略',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceConfigLbStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
],
],
- 'responseDemo' => '',
- ],
- 'UpdateIspFlushCacheInstanceConfig' => [
- 'summary' => '修改缓存刷新套餐包配置',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'ListCloudGtmAddresses',
+ 'description' => '获取地址列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmAddresses',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'RetrieveDomain',
+ 'description' => '找回域名',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'alidns:RetrieveDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UpdateCloudGtmInstanceConfigEnableStatus',
+ 'description' => '更新实例配置启用状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceConfigEnableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'RemoveRspDomainServerHoldStatusForGateway',
+ 'description' => '移除域名serverHold状态',
'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsIRW4YX',
+ 'ramAction' => [
+ 'action' => 'alidns:RemoveRspDomainServerHoldStatusForGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ [
+ 'apiName' => 'MoveDomainResourceGroup',
+ 'description' => '更换域名资源组',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:MoveDomainResourceGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
],
],
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
+ ],
+ [
+ 'apiName' => 'UpdateCloudGtmMonitorTemplate',
+ 'description' => '修改健康探测模板',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmMonitorTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'InstanceName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
+ ],
+ [
+ 'apiName' => 'DescribeInterAuthStatisticsGlobalOverview',
+ 'description' => '公网权威解析全局解析统计概览',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeInterAuthStatisticsGlobalOverview',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- ],
+ [
+ 'apiName' => 'SetGtmMonitorStatus',
+ 'description' => '设置地址池健康检查状态(旧版)',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetGtmMonitorStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
],
],
- ],
- 'SubmitIspFlushCacheTask' => [
- 'summary' => '提交缓存刷新任务',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DescribeSubDomainRecords',
+ 'description' => '获取子域名解析记录列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeSubDomainRecords',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DeleteGtmRecoveryPlan',
+ 'description' => '删除容灾预案',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeGtmInstance',
+ 'description' => '获取GTM实例详情(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeDnsProductInstance',
+ 'description' => '获取付费版DNS产品实例详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsProductInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'instance', 'arn' => 'acs:alidns::{#accountId}:instance/{#instanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainResolveStatisticsSummary',
+ 'description' => '获取域名的请求量统计列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainResolveStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SearchCloudGtmMonitorTemplates',
+ 'description' => '搜索健康检查模板列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:SearchCloudGtmMonitorTemplates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCustomLine',
+ 'description' => '查询自定义线路',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCustomLine',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateGtmInstanceGlobalConfig',
+ 'description' => '修改GTM实例全局配置(旧版)',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateGtmInstanceGlobalConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddDnsCacheDomain',
+ 'description' => '添加 DNS 权威代理域名',
'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsIRW4YX',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDnsCacheDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ [
+ 'apiName' => 'UpdateDomainGroup',
+ 'description' => '修改域名分组的名称',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDomainGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'group', 'arn' => 'acs:alidns::{#accountId}:group/{#groupId}'],
],
],
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
+ ],
+ [
+ 'apiName' => 'DescribeDnsGtmMonitorAvailableConfig',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmMonitorAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Isp',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'required' => true,
- 'maxItems' => 11,
+ ],
+ [
+ 'apiName' => 'DescribeRecordStatisticsSummary',
+ 'description' => '获取全部子域名的请求量统计',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeRecordStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
],
],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'title' => '幂等token',
- 'type' => 'string',
- 'required' => true,
+ ],
+ [
+ 'apiName' => 'ListCloudGtmInstanceConfigs',
+ 'description' => '获取实例配置列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmInstanceConfigs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- ],
+ [
+ 'apiName' => 'UpdateCloudGtmAddressPoolBasicConfig',
+ 'description' => '修改地址池基础配置',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressPoolBasicConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- ],
- 'DescribeIspFlushCacheRemainQuota' => [
- 'summary' => '获取剩余可缓存刷新次数',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'UpdateCloudGtmAddress',
+ 'description' => '修改地址基础配置',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddress',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeGtmMonitorConfig',
+ 'description' => '获取地址池健康检查配置(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmMonitorConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeDnsGtmAvailableAlertGroup',
+ 'description' => '获取可设置的报警组',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAvailableAlertGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeDomains',
+ 'description' => '获取域名列表',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsIRW4YX',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ [
+ 'apiName' => 'UpdateCloudGtmInstanceConfigBasic',
+ 'description' => '更新实例全局TTL配置',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceConfigBasic',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'TelecomRemainQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- ],
+ [
+ 'apiName' => 'DescribeDomainStatistics',
+ 'description' => '获取主域名请求量实时统计',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
],
],
],
- 'responseDemo' => '',
- ],
- 'DescribeIspFlushCacheInstances' => [
- 'summary' => '获取缓存刷新套餐包列表',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DescribeGtmRecoveryPlan',
+ 'description' => '获取容灾预案详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeGtmAccessStrategy',
+ 'description' => '获取访问策略详细信息(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeCloudGtmSystemLines',
+ 'description' => '查询GTM支持的系统线路',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmSystemLines',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeInterAuthStatisticsHistory',
+ 'description' => '公网权威解析各统计指标历史统计查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeInterAuthStatisticsHistory',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCustomLines',
+ 'description' => '查询自定义线路列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCustomLines',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeGtmInstanceAddressPool',
+ 'description' => '获取地址池详细信息(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstanceAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeGtmRecoveryPlans',
+ 'description' => '获取容灾预案列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmRecoveryPlans',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListCloudGtmInstances',
+ 'description' => '获取实例列表',
'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsIRW4YX',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ [
+ 'apiName' => 'DescribeDnsGtmAccessStrategies',
+ 'description' => '获取实例访问策略列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAccessStrategies',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
],
],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '9999999',
- 'minimum' => '1',
+ ],
+ [
+ 'apiName' => 'DescribeDnsCacheDomains',
+ 'description' => '获取 DNS 权威代理域名',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsCacheDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/*'],
],
],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
+ ],
+ [
+ 'apiName' => 'ListCloudGtmAvailableAlertGroups',
+ 'description' => '获取用户可用的告警组列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmAvailableAlertGroups',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Keyword',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'AddGtmRecoveryPlan',
+ 'description' => '新增容灾预案',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Isp',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'DescribeDomainStatisticsSummary',
+ 'description' => '获取全部域名的请求量统计列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'DescribeBatchResultDetail',
+ 'description' => '查询批量处理结果的详细信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeBatchResultDetail',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'OrderBy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'DescribeDomainNs',
+ 'description' => '获取域名NS服务器列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainNs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
],
],
- [
- 'name' => 'Direction',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'ExecuteGtmRecoveryPlan',
+ 'description' => '执行容灾预案',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:ExecuteGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'IspFlushCacheInstances' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Isp' => [
- 'type' => 'string',
- ],
- 'ExpireTime' => [
- 'type' => 'string',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
- 'QuotaInfo' => [
- 'type' => 'object',
- 'properties' => [
- 'InstanceQuota' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'InstanceQuotaUsed' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- ],
- 'ExpireTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'InstanceName' => [
- 'type' => 'string',
- ],
- 'VersionCode' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'TotalPages' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TotalItems' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
+ [
+ 'apiName' => 'UpdateGtmAccessStrategy',
+ 'description' => '修改访问策略(旧版)',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
],
],
- ],
- 'DescribeIspFlushCacheTask' => [
- 'summary' => '获取缓存刷新任务详情',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'CopyGtmConfig',
+ 'description' => '复制GTM配置',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:CopyGtmConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'RollbackGtmRecoveryPlan',
+ 'description' => '回滚容灾预案',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:RollbackGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeDomainGroups',
+ 'description' => '获取域名分组列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainGroups',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeDnsGtmInstance',
+ 'description' => '获取GTM实例详情',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '100699',
- 'abilityTreeNodes' => [
- 'FEATUREdnsIRW4YX',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ [
+ 'apiName' => 'AddDomainRecord',
+ 'description' => '添加解析记录',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDomainRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
],
],
- [
- 'name' => 'TaskId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'pattern' => '^\\d+$',
+ ],
+ [
+ 'apiName' => 'DescribeGtmAccessStrategyAvailableConfig',
+ 'description' => '获取访问策略可设置的配置(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmAccessStrategyAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'TaskId' => [
- 'type' => 'string',
- ],
- 'DomainName' => [
- 'type' => 'string',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
- 'InstanceName' => [
- 'type' => 'string',
- ],
- 'Isp' => [
- 'type' => 'string',
- ],
- 'TaskStatus' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'CreateTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FlushCacheResults' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Province' => [
- 'type' => 'string',
- ],
- 'DnsNodes' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'NodeIp' => [
- 'type' => 'string',
- ],
- 'Answers' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
- 'Record' => [
- 'type' => 'string',
- ],
- 'Ttl' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- ],
- 'SpName' => [
- 'type' => 'string',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'DescribeSupportLines',
+ 'description' => '获取解析线路列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeSupportLines',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responseDemo' => '',
- ],
- 'DescribeIspFlushCacheTasks' => [
- 'summary' => '获取缓存刷新任务列表',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'AddDnsGtmAccessStrategy',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDnsGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'PreviewGtmRecoveryPlan',
+ 'description' => '预览容灾预案',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:PreviewGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeDnsGtmMonitorConfig',
+ 'description' => '获取 DNS 地址池健康检查配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmMonitorConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'UpdateRspDomainServerProhibitStatusForGateway',
+ 'description' => '修改域名ServerProhibit状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateRspDomainServerProhibitStatusForGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateDnsGtmInstanceGlobalConfig',
+ 'description' => '修改GTM实例全局配置',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsGtmInstanceGlobalConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateDomainRecordRemark',
+ 'description' => '修改解析记录的备注',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDomainRecordRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCloudGtmInstanceConfigAlert',
+ 'description' => '获取实例配置的告警配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmInstanceConfigAlert',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeGtmLogs',
+ 'description' => '获取GTM操作日志列表(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RemoveRspDomainServerHoldStatusForGatewayOte',
+ 'description' => '移除域名serverHold状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:RemoveRspDomainServerHoldStatusForGatewayOte',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetDnsGtmMonitorStatus',
+ 'description' => '设置 DNS 地址池健康检查状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetDnsGtmMonitorStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'MonitorConfig', 'arn' => 'acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SearchCloudGtmInstanceConfigs',
+ 'description' => '搜索实例配置列表',
'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsIRW4YX',
+ 'ramAction' => [
+ 'action' => 'alidns:SearchCloudGtmInstanceConfigs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ [
+ 'apiName' => 'UpdateCloudGtmAddressPoolLbStrategy',
+ 'description' => '修改地址池负载均衡策略',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressPoolLbStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '9999999',
- 'minimum' => '1',
+ ],
+ [
+ 'apiName' => 'CreateCloudGtmMonitorTemplate',
+ 'description' => '创建健康探测模板',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:CreateCloudGtmMonitorTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
+ ],
+ [
+ 'apiName' => 'GetTxtRecordForVerify',
+ 'description' => '生成txt记录',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:GetTxtRecordForVerify',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Isp',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'DeleteCloudGtmAddressPool',
+ 'description' => '删除地址池',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteCloudGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'ListTagResources',
+ 'description' => '标签查询资源',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:ListTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'OrderBy',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'UpdateDnsGtmAddressPool',
+ 'description' => '修改地址池',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
],
],
- [
- 'name' => 'Direction',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'UpdateDomainRemark',
+ 'description' => '修改域名的备注',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDomainRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
],
],
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
+ ],
+ [
+ 'apiName' => 'OperateBatchDomain',
+ 'description' => '批量管理域名和解析记录',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:OperateBatchDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'PageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'PageNumber' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'IspFlushCacheTasks' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'TaskId' => [
- 'type' => 'string',
- ],
- 'DomainName' => [
- 'type' => 'string',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
- 'InstanceName' => [
- 'type' => 'string',
- ],
- 'Isp' => [
- 'type' => 'string',
- ],
- 'TaskStatus' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'CreateTimestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- ],
- 'TotalPages' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'TotalItems' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
+ [
+ 'apiName' => 'ReplaceCloudGtmAddressPoolAddress',
+ 'description' => '替换地址池引用的地址',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:ReplaceCloudGtmAddressPoolAddress',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- ],
- 'DescribeRecordResolveStatisticsSummary' => [
- 'summary' => '查询指定域名下的全部子域名的请求量统计。',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'UpdateGtmAddressPool',
+ 'description' => '修改地址池(旧版)',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'UpdateRspDomainServerProhibitStatusForGatewayOte',
+ 'description' => '修改域名ServerProhibit状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateRspDomainServerProhibitStatusForGatewayOte',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeDnsGtmAccessStrategyAvailableConfig',
+ 'description' => '获取访问策略可设置的配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAccessStrategyAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeDohDomainStatisticsSummary',
+ 'description' => '获取DoH域名的请求量统计列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohDomainStatisticsSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeIspFlushCacheTasks',
+ 'description' => '',
'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsQIXAM1',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeIspFlushCacheTasks',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'title' => '可选参数,传递具体域名时查询该域名下各子域名的解析量, 不传递时查询用户账号下所有付费域名的解析量列表',
- 'description' => '域名名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'example.com',
+ [
+ 'apiName' => 'DescribeInstanceDomains',
+ 'description' => '获取实例绑定域名列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeInstanceDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'instance', 'arn' => 'acs:alidns::{#accountId}:instance/{#instanceId}'],
],
],
- [
- 'name' => 'DomainType',
- 'in' => 'query',
- 'schema' => [
- 'title' => '指定域名时需要传递'."\n"
- .'域名类型,大小写不敏感。取值: '."\n"
- ."\n"
- .'权威域名(默认): PUBLIC'."\n"
- .'缓存加速域名: CACHE',
- 'description' => '域名类型,大小写不敏感。取值:'."\n"
- ."\n"
- .'- PUBLIC:权威托管域名(默认值)'."\n"
- ."\n"
- .'- CACHE:权威代理域名',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PUBLIC',
+ ],
+ [
+ 'apiName' => 'DescribeDohUserInfo',
+ 'description' => '获取DoH用户基本信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohUserInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Keyword',
- 'in' => 'query',
- 'schema' => [
- 'title' => '关键字,与SearchMode配合使用',
- 'description' => '关键字,与SearchMode配合使用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
+ ],
+ [
+ 'apiName' => 'UpdateCustomLine',
+ 'description' => '编辑自定义线路',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCustomLine',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
],
],
- [
- 'name' => 'SearchMode',
- 'in' => 'query',
- 'schema' => [
- 'title' => '关键词的搜索模式。取值:'."\n"
- ."\n"
- .'模糊搜索(默认): LIKE'."\n"
- .'精确搜索: EXACT',
- 'description' => '关键词的搜索模式。取值:'."\n"
- ."\n"
- .'- 模糊搜索(默认):LIKE'."\n"
- ."\n"
- .'- 精确搜索:EXACT',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'LIKE',
+ ],
+ [
+ 'apiName' => 'UpdateCloudGtmAddressPoolRemark',
+ 'description' => '修改地址池备注',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressPoolRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Direction',
- 'in' => 'query',
- 'schema' => [
- 'title' => '排序方向。取值: '."\n"
- .'递减(默认): DESC'."\n"
- .'递增: ASC',
- 'description' => '排序方向。取值:'."\n"
- ."\n"
- .'- 递减(默认):DESC'."\n"
- ."\n"
- .'- 递增:ASC',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DESC',
+ ],
+ [
+ 'apiName' => 'TransferDomain',
+ 'description' => '跨账号转移DNS权限',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:TransferDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Threshold',
- 'in' => 'query',
- 'schema' => [
- 'title' => '查询总解析量阈值,也可查询相应的解析量不大于threshold的数据。例如,可查询出解析量小于100次的域名。'."\n"
- .'不传或者传小于0的值,查询所有数据'."\n"
- .'传0,查询无解析量的数据'."\n"
- .'传大于0的值,查询解析量不超过该值的域名'."\n",
- 'description' => '解析量查询条件,可用于查询不同解析量类别的子域名列表及子域名解析量数据。'."\n"
- ."\n"
- .'不传:查询解析量非0的数据'."\n"
- ."\n"
- .'传小于0的值:查询所有数据'."\n"
- ."\n"
- .'传0:查询无解析量的数据'."\n"
- ."\n"
- .'传大于0的值:查询解析量不超过该值的子域名',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '-1',
+ ],
+ [
+ 'apiName' => 'DeleteSubDomainRecords',
+ 'description' => '删除主机记录对应的解析记录',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteSubDomainRecords',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
],
],
- [
- 'name' => 'StartDate',
- 'in' => 'query',
- 'schema' => [
- 'title' => '开始时间,格式yyyy-MM-dd,如: 2023-03-01',
- 'description' => '开始时间,格式yyyy-MM-dd,如: 2023-03-01。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-03-29',
+ ],
+ [
+ 'apiName' => 'SetDNSSLBStatus',
+ 'description' => '开启关闭权重配置',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetDNSSLBStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainId}'],
],
],
- [
- 'name' => 'EndDate',
- 'in' => 'query',
- 'schema' => [
- 'title' => '结束时间,格式yyyy-MM-dd,如:2023-03-13',
- 'description' => '结束时间,格式yyyy-MM-dd,如:2023-03-13。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-03-29',
+ ],
+ [
+ 'apiName' => 'DescribeGtmInstances',
+ 'description' => '获取GTM实例列表(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '当前页数,起始值为1,默认为1。',
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
+ ],
+ [
+ 'apiName' => 'DescribeIspFlushCacheTask',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeIspFlushCacheTask',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'title' => '分页查询时设置的每页行数,最大值1000,最小值为1。',
- 'description' => '分页查询时设置的每页行数,最大值1000,最小值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
+ ],
+ [
+ 'apiName' => 'UpdateCloudGtmInstanceConfigRemark',
+ 'description' => '更新实例备注信息',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceConfigRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
],
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'title' => 'lang,语言:zh、en、ja',
- 'description' => 'lang,语言:zh、en、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- 'default' => 'en',
+ ],
+ [
+ 'apiName' => 'UpdateDnsCacheDomain',
+ 'description' => '更新 DNS 权威代理域名',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDnsCacheDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/{#DomainName}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'PopResultDTO<PageResult<ResolveQueryStatisticsPopResult>>',
- 'description' => 'PopResultDTO<PageResult<ResolveQueryStatisticsPopResult>>',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'RequestId',
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**500**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '数据分页后总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '总数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Statistics' => [
- 'description' => '统计数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SubDomain' => [
- 'title' => '子域名',
- 'description' => '子域。',
- 'type' => 'string',
- 'example' => 'test.example.com',
- ],
- 'DomainName' => [
- 'title' => '子域名',
- 'description' => '子域名。',
- 'type' => 'string',
- 'example' => 'test.example.com',
- ],
- 'Count' => [
- 'description' => '请求量(次)。',
- 'type' => 'string',
- 'example' => '330',
- ],
- 'DomainType' => [
- 'description' => '域名类型,大小写不敏感。取值:'."\n"
- ."\n"
- .'- PUBLIC:权威托管域名(默认值)'."\n"
- ."\n"
- .'- CACHE:权威代理域名',
- 'type' => 'string',
- 'example' => 'PUBLIC',
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'ReplaceCloudGtmInstanceConfigAddressPool',
+ 'description' => '替换实例关联的地址池',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:ReplaceCloudGtmInstanceConfigAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'Statistics.TooManyResults',
- 'errorMessage' => 'Your query has produced too many results.',
+ [
+ 'apiName' => 'AddDomainGroup',
+ 'description' => '添加域名分组',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDomainGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRecordStatistics',
+ 'description' => '获取子域名请求量实时统计',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeRecordStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
],
- [
- 'errorCode' => 'Statistics.InvalidDomainName',
- 'errorMessage' => 'Your query param DomainName is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'AddRspDomainServerHoldStatusForGateway',
+ 'description' => '添加域名serverHold状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:AddRspDomainServerHoldStatusForGateway',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListCloudGtmMonitorTemplates',
+ 'description' => '获取健康探测模板列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmMonitorTemplates',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'Statistics.InvalidStartDate',
- 'errorMessage' => 'Your query param StartDate is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainLogs',
+ 'description' => '获取域名操作日志',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'Statistics.InvalidEndDate',
- 'errorMessage' => 'Your query param EndDate is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'ListCloudGtmMonitorNodes',
+ 'description' => '获取健康检查探点列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:ListCloudGtmMonitorNodes',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'Statistics.InvalidSearchMode',
- 'errorMessage' => 'Your query param SearchMode is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDnsGtmAccessStrategy',
+ 'description' => '获取访问策略详细信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAccessStrategy',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
],
- [
- 'errorCode' => 'Statistics.InvalidOrderDirection',
- 'errorMessage' => 'Your query param OrderDirection is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCloudGtmAddressPool',
+ 'description' => '获取地址池配置信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'Statistics.InvalidDomainType',
- 'errorMessage' => 'Your query param DomainType is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'SetGtmAccessMode',
+ 'description' => '修改生效地址池切换策略(旧版)',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetGtmAccessMode',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
],
- [
- 'errorCode' => 'Statistics.QuotaExceededTime',
- 'errorMessage' => 'Your query time range exceeds 90 days.',
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteDomainGroup',
+ 'description' => '删除域名分组',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDomainGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'group', 'arn' => 'acs:alidns::{#accountId}:group/{#groupId}'],
],
- [
- 'errorCode' => 'Sys.ParamsError',
- 'errorMessage' => 'Your query param is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'SearchCloudGtmAddresses',
+ 'description' => '搜索地址列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'alidns:SearchCloudGtmAddresses',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'CreateCloudGtmInstanceConfig',
+ 'description' => '创建域名实例配置',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:CreateCloudGtmInstanceConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"Statistics\\": [\\n {\\n \\"SubDomain\\": \\"test.example.com\\",\\n \\"DomainName\\": \\"test.example.com\\",\\n \\"Count\\": \\"330\\",\\n \\"DomainType\\": \\"PUBLIC\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeRecordResolveStatisticsSummaryResponse>\\n <RequestId>389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA</RequestId>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalPages>1</TotalPages>\\n <TotalItems>1</TotalItems>\\n <Statistics>\\n <SubDomain>test.example.com</SubDomain>\\n <Count>330</Count>\\n <DomainType>PUBLIC</DomainType>\\n </Statistics>\\n</DescribeRecordResolveStatisticsSummaryResponse>","errorExample":""}]',
- 'title' => '获取子域名的请求量统计',
- ],
- 'DescribeDomainResolveStatisticsSummary' => [
- 'summary' => '查询用户账号下所有付费域名的请求量列表。',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'UpdateCloudGtmAddressManualAvailableStatus',
+ 'description' => '修改地址探测异常切换方式',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmAddressManualAvailableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'AddDnsGtmMonitor',
+ 'description' => '添加健康检查',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddDnsGtmMonitor',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'SearchCloudGtmInstances',
+ 'description' => '搜索实例列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:SearchCloudGtmInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeDnsGtmAddrAttributeInfo',
+ 'description' => '查询地址归属区域信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmAddrAttributeInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SwitchDnsGtmInstanceStrategyMode',
+ 'description' => '切换访问策略类型',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:SwitchDnsGtmInstanceStrategyMode',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDnsGtmInstanceSystemCname',
+ 'description' => '获取系统分配的CNAME域名',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDnsGtmInstanceSystemCname',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateIspFlushCacheInstanceConfig',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateIspFlushCacheInstanceConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeIspFlushCacheRemainQuota',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeIspFlushCacheRemainQuota',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateCloudGtmInstanceName',
+ 'description' => '修改实例名称',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmInstanceName',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDNSSLBSubDomains',
+ 'description' => '获取权重配置子域名列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDNSSLBSubDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteCloudGtmMonitorTemplate',
+ 'description' => '删除健康探测模板',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteCloudGtmMonitorTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteCloudGtmInstanceConfig',
+ 'description' => '删除接入域名',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteCloudGtmInstanceConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeGtmMonitorAvailableConfig',
+ 'description' => '获取健康检查可设置的配置(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmMonitorAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeGtmInstanceAddressPools',
+ 'description' => '获取GTM实例地址池列表(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmInstanceAddressPools',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteDnsCacheDomain',
+ 'description' => '删除 DNS 权威代理域名',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'alidns:DeleteDnsCacheDomain',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/{#DomainName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTransferDomains',
+ 'description' => '获取跨账号转移DNS权限列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeTransferDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateCloudGtmMonitorTemplateRemark',
+ 'description' => '修改健康探测模板备注',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateCloudGtmMonitorTemplateRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'TagResources',
+ 'description' => '添加修改资源标签',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:TagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeGtmRecoveryPlanAvailableConfig',
+ 'description' => '获取容灾预案可设置的配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmRecoveryPlanAvailableConfig',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddGtmAddressPool',
+ 'description' => '新增地址池(旧版)',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddGtmAddressPool',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#gtminstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UntagResources',
+ 'description' => '删除资源标签',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UntagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateCloudGtmAddress',
+ 'description' => '创建地址',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:CreateCloudGtmAddress',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeBatchResultCount',
+ 'description' => '查询某次批量操作任务的执行结果',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeBatchResultCount',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDohSubDomainStatistics',
+ 'description' => '获取DoH子域名请求量统计',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDohSubDomainStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ValidateDnsGtmCnameRrCanUse',
+ 'description' => '',
+ 'operationType' => '',
+ 'ramAction' => [
+ 'action' => 'alidns:ValidateDnsGtmCnameRrCanUse',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitIspFlushCacheTask',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:SubmitIspFlushCacheTask',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCloudGtmAddressPoolReference',
+ 'description' => '获取地址池被实例引用的信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmAddressPoolReference',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddCustomLine',
+ 'description' => '添加自定义线路',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'alidns:AddCustomLine',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCloudGtmMonitorTemplate',
+ 'description' => '获取指定健康探测模板配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeCloudGtmMonitorTemplate',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateDomainRecord',
+ 'description' => '修改域名解析记录',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateDomainRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetDomainRecordStatus',
+ 'description' => '设置解析记录状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:SetDomainRecordStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BindInstanceDomains',
+ 'description' => '绑定付费版DNS域名',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:BindInstanceDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeGtmAccessStrategies',
+ 'description' => '获取实例访问策略列表(旧版)',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeGtmAccessStrategies',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainRecords',
+ 'description' => '获取解析记录列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainRecords',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDomainDnssecInfo',
+ 'description' => '查询域名的DNSSEC信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeDomainDnssecInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRecordLogs',
+ 'description' => '获取解析记录操作日志',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'alidns:DescribeRecordLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateGtmRecoveryPlan',
+ 'description' => '修改容灾预案',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UpdateGtmRecoveryPlan',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UnbindInstanceDomains',
+ 'description' => '解绑付费版DNS域名',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'alidns:UnbindInstanceDomains',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Instance', 'arn' => 'acs:alidns:*:{#accountId}:instance/{#InstanceId}'],
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SearchRecursionZones',
+ 'description' => '搜索HTTPDNS内置权威域名zone',
'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsG5IRRX',
+ 'ramAction' => [
+ 'action' => 'pubdns:SearchRecursionZones',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Keyword',
- 'in' => 'query',
- 'schema' => [
- 'title' => '关键字,与SearchMode配合使用',
- 'description' => '关键字,与SearchMode配合使用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
+ [
+ 'apiName' => 'ListRecursionRecords',
+ 'description' => '查询HTTPDNS内置权威解析记录',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'pubdns:ListRecursionRecords',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursion', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
],
- [
- 'name' => 'SearchMode',
- 'in' => 'query',
- 'schema' => [
- 'title' => '关键词的搜索模式。取值:'."\n"
- ."\n"
- .'模糊搜索(默认): LIKE'."\n"
- .'精确搜索: EXACT',
- 'description' => '关键词的搜索模式。取值:'."\n"
- ."\n"
- .'- 模糊搜索(默认):LIKE'."\n"
- ."\n"
- .'- 精确搜索:EXACT',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'EXACT',
+ ],
+ [
+ 'apiName' => 'DescribePdnsOperateLogs',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsOperateLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Direction',
- 'in' => 'query',
- 'schema' => [
- 'title' => '排序方向。取值: '."\n"
- .'递减: DESC'."\n"
- .'递增: ASC',
- 'description' => '排序方向。取值:'."\n"
- ."\n"
- .'- 递减:DESC'."\n"
- ."\n"
- .'- 递增:ASC',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DESC',
+ ],
+ [
+ 'apiName' => 'DescribePdnsThreatStatistic',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsThreatStatistic',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Threshold',
- 'in' => 'query',
- 'schema' => [
- 'title' => '查询总解析量阈值,也可查询相应的解析量不大于threshold的数据。例如,可查询出解析量小于100次的域名。'."\n"
- .'不传或者传小于0的值,查询所有数据'."\n"
- .'传0,查询无解析量的数据'."\n"
- .'传大于0的值,查询解析量不超过该值的域名'."\n",
- 'description' => '解析量查询条件,可用于查询不同解析量类别的域名列表及域名解析量数据。'."\n"
- ."\n"
- .'不传:查询解析量不为0的数据'."\n"
- ."\n"
- .'传小于0的值:查询所有数据'."\n"
- ."\n"
- .'传0:查询无解析量的数据'."\n"
- ."\n"
- .'传大于0的值:查询解析量不超过该值的域名',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '-1',
+ ],
+ [
+ 'apiName' => 'ListRecursionZones',
+ 'description' => '查询HTTPDNS内置权威域名zone',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'pubdns:ListRecursionZones',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'StartDate',
- 'in' => 'query',
- 'schema' => [
- 'title' => '开始时间,格式yyyy-MM-dd,如: 2023-03-01',
- 'description' => '开始时间,格式yyyy-MM-dd,如: 2023-03-01',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-03-01',
+ ],
+ [
+ 'apiName' => 'DescribePdnsThreatStatistics',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsThreatStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndDate',
- 'in' => 'query',
- 'schema' => [
- 'title' => '结束时间,格式yyyy-MM-dd,如:2023-03-13',
- 'description' => '结束时间,格式yyyy-MM-dd,如:2023-03-13',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2023-03-01',
+ ],
+ [
+ 'apiName' => 'DescribePdnsRequestStatistic',
+ 'description' => '查询公共DNS请求量统计数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsRequestStatistic',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '当前页数,起始值为1,默认为1。',
- 'description' => '当前页数,起始值为1,默认为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
+ ],
+ [
+ 'apiName' => 'DeleteRecursionRecord',
+ 'description' => '删除HTTPDNS内置权威解析记录',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'pubdns:DeleteRecursionRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'title' => '分页查询时设置的每页行数,最大值1000,最小值为1。',
- 'description' => '分页查询时设置的每页行数,最大值1000,最小值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
+ ],
+ [
+ 'apiName' => 'CreatePdnsAppKey',
+ 'description' => '创建公共DNS密钥AccessKey',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'pubdns:CreatePdnsAppKey',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'title' => 'lang,语言:zh、en、ja',
- 'description' => 'lang,语言:zh、en、ja。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- 'default' => 'en',
+ ],
+ [
+ 'apiName' => 'UpdateRecursionRecordEnableStatus',
+ 'description' => '修改HTTPDNS内置权威解析记录启用状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionRecordEnableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'PopResultDTO<PageResult<ResolveQueryStatisticsPopResult>>',
- 'description' => 'PopResultDTO<PageResult<ResolveQueryStatisticsPopResult>>',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'RequestId',
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '6856BCF6-11D6-4D7E-AC53-FD579933522B',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数,最大值**100**,默认为**20**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'PageNumber' => [
- 'description' => '当前页数,起始值为**1**,默认为**1**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPages' => [
- 'description' => '数据分页后总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalItems' => [
- 'description' => '总数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Statistics' => [
- 'description' => '统计数据列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'DomainName' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'Count' => [
- 'description' => '请求量(次)。',
- 'type' => 'string',
- 'example' => '35509014',
- ],
- 'DomainType' => [
- 'description' => '域名类型。'."\n"
- ."\n"
- .'- PUBLIC:权威托管域名'."\n"
- ."\n"
- .' - CACHE:权威代理域名',
- 'type' => 'string',
- 'example' => 'CACHE',
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'DescribeRecursionRecord',
+ 'description' => '查询HTTPDNS内置权威解析记录详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribeRecursionRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'Statistics.TooManyResults',
- 'errorMessage' => 'Your query has produced too many results.',
+ [
+ 'apiName' => 'SearchRecursionRecords',
+ 'description' => '搜索HTTPDNS内置权威解析记录',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'pubdns:SearchRecursionRecords',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursion', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
- [
- 'errorCode' => 'Statistics.InvalidDomainName',
- 'errorMessage' => 'Your query param DomainName is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateRecursionRecordWeightEnableStatus',
+ 'description' => '修改HTTPDNS内置权威解析记录权重算法启用状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionRecordWeightEnableStatus',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
- [
- 'errorCode' => 'Statistics.InvalidStartDate',
- 'errorMessage' => 'Your query param StartDate is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateRecursionZoneEffectiveScope',
+ 'description' => '修改HTTPDNS内置权威域名zone生效范围',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionZoneEffectiveScope',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
- [
- 'errorCode' => 'Statistics.InvalidEndDate',
- 'errorMessage' => 'Your query param EndDate is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePdnsUdpIpSegments',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsUdpIpSegments',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'Statistics.InvalidSearchMode',
- 'errorMessage' => 'Your query param SearchMode is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateRecursionRecord',
+ 'description' => '修改HTTPDNS内置权威解析记录',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
- [
- 'errorCode' => 'Statistics.InvalidOrderDirection',
- 'errorMessage' => 'Your query param OrderDirection is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateRecursionRecordWeight',
+ 'description' => '修改HTTPDNS内置权威解析记录权重',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionRecordWeight',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
- [
- 'errorCode' => 'Statistics.InvalidDomainType',
- 'errorMessage' => 'Your query param DomainType is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAppKeyState',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateAppKeyState',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'Statistics.QuotaExceededTime',
- 'errorMessage' => 'Your query time range exceeds 90 days.',
+ ],
+ ],
+ [
+ 'apiName' => 'RemovePdnsUdpIpSegment',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'pubdns:RemovePdnsUdpIpSegment',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => 'Sys.ParamsError',
- 'errorMessage' => 'Your query param is invalid.',
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePdnsThreatLogs',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsThreatLogs',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'UpdateRecursionZoneRemark',
+ 'description' => '修改HTTPDNS内置权威域名zone备注',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionZoneRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6856BCF6-11D6-4D7E-AC53-FD579933522B\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalPages\\": 1,\\n \\"TotalItems\\": 1,\\n \\"Statistics\\": [\\n {\\n \\"DomainName\\": \\"example.com\\",\\n \\"Count\\": \\"35509014\\",\\n \\"DomainType\\": \\"CACHE\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '获取域名的请求量统计列表',
- ],
- 'DescribeInternetDnsLogs' => [
- 'summary' => '查询解析日志',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'DescribePdnsRequestStatistics',
+ 'description' => '查询公共DNS请求量统计数据列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsRequestStatistics',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'AddRecursionRecord',
+ 'description' => '新增HTTPDNS内置权威解析记录',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'pubdns:AddRecursionRecord',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UpdateRecursionZoneProxyPattern',
+ 'description' => '修改HTTPDNS内置权威域名zone递归代理模式',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionZoneProxyPattern',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribePdnsAppKeys',
+ 'description' => '',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREdnsCCJUYL',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsAppKeys',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回值语言,取值:'."\n"
- .'- zh:中文'."\n"
- .'- en:英文'."\n"
- ."\n"
- .'默认:en',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'en',
+ [
+ 'apiName' => 'DescribePdnsUserInfo',
+ 'description' => '获取公共DNS用户信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsUserInfo',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'StartTimestamp',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询的开始时间(时间戳,单位:毫秒)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1738848000000',
+ ],
+ [
+ 'apiName' => 'CreatePdnsUdpIpSegment',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'pubdns:CreatePdnsUdpIpSegment',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndTimestamp',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询的结束时间(时间戳,单位:毫秒)。'."\n"
- .'><warning>如果查询时间段跨度较大,查询域名的解析日志量过多,可能会导致查询超时或者查询结果不准确。></warning>',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1741526400000',
+ ],
+ [
+ 'apiName' => 'DeleteRecursionZone',
+ 'description' => '删除HTTPDNS内置权威域名zone',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'pubdns:DeleteRecursionZone',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
+ ],
+ [
+ 'apiName' => 'AddRecursionZone',
+ 'description' => '新增HTTPDNS内置权威域名zone',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'pubdns:AddRecursionZone',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '页码,默认值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
+ ],
+ [
+ 'apiName' => 'DescribePdnsAppKey',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsAppKey',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Module',
- 'in' => 'query',
- 'schema' => [
- 'description' => '模块类型'."\n"
- .'- AUTHORITY(默认值):公网权威DNS'."\n"
- .'- RECURSION:公网递归DNS',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AUTHORITY',
+ ],
+ [
+ 'apiName' => 'DescribePdnsAccountSummary',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribePdnsAccountSummary',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'QueryCondition',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询参数'."\n"
- .'- sourceIp:源IP地址'."\n"
- .'- queryNameFuzzy:域名(模糊值)'."\n"
- .'- queryType:记录类型'."\n"
- .'- value:解析结果'."\n"
- .'- status:状态'."\n"
- .'- serverIp:解析服务器IP',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"sourceIp":"59.82.XX.XX","queryType":"A"}',
+ ],
+ [
+ 'apiName' => 'UpdateRecursionRecordRemark',
+ 'description' => '修改HTTPDNS内置权威解析记录备注',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:UpdateRecursionRecordRemark',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
],
- [
- 'name' => 'DomainName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '域名名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'www.example.com',
+ ],
+ [
+ 'apiName' => 'RemovePdnsAppKey',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'pubdns:RemovePdnsAppKey',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'AccountId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '公共DNS专属配置ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '51**4',
+ ],
+ [
+ 'apiName' => 'ResumePdnsService',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:ResumePdnsService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'RecursionProtocolType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'ValidatePdnsUdpIpSegment',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'pubdns:ValidatePdnsUdpIpSegment',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'PreciseSort',
- 'in' => 'query',
- 'schema' => [
- 'title' => '是否精确排序,不精确排序的性能高于精确排序。缺省值为FALSE'."\n"
- .'FALSE:不精确排序'."\n"
- .'TRUE:精确排序',
- 'description' => '是否精确排序,不精确排序的性能高于精确排序。缺省值为FALSE'."\n"
- .'FALSE:不精确排序'."\n"
- .'TRUE:精确排序',
- 'type' => 'boolean',
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'PausePdnsService',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'pubdns:PausePdnsService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '唯一请求识别码。',
- 'type' => 'string',
- 'example' => '536E9CAD-DB30-4647-AC87-AA5CC38C5382',
- ],
- 'Complete' => [
- 'description' => '解析日志查询是否精确。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Logs' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Log' => [
- 'description' => '日志列表。'."\n"
- ."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '日志对象。',
- 'type' => 'object',
- 'properties' => [
- 'DnsMsgId' => [
- 'description' => '解析日志ID(会重复)。',
- 'type' => 'string',
- 'example' => '3583',
- ],
- 'LogTime' => [
- 'description' => '解析时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1709196249000',
- ],
- 'ZoneName' => [
- 'description' => '域名(Zone)名称。',
- 'type' => 'string',
- 'example' => 'example.com',
- ],
- 'QueryName' => [
- 'description' => '是指子域名,即查询的解析记录的域名。',
- 'type' => 'string',
- 'example' => 'www.example.com',
- ],
- 'QueryType' => [
- 'description' => '记录类型。',
- 'type' => 'string',
- 'example' => 'A',
- ],
- 'Rt' => [
- 'description' => '解析响应时间。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ServerIp' => [
- 'description' => '解析服务器IP。',
- 'type' => 'string',
- 'example' => '140.205.XX.XX',
- ],
- 'SourceIp' => [
- 'description' => '源IP地址。',
- 'type' => 'string',
- 'example' => '59.82.XX.XX',
- ],
- 'Status' => [
- 'description' => '响应状态。',
- 'type' => 'string',
- 'example' => 'NOERROR',
- ],
- 'SubnetIp' => [
- 'description' => 'edns-client-subnet 可选项设置的值。',
- 'type' => 'string',
- 'example' => '170.33.XX.XX',
- ],
- 'Protocol' => [
- 'description' => '域名解析查询请求的协议类型:'."\n"
- ."\n"
- .'- UDP'."\n"
- ."\n"
- .'- TCP'."\n"
- ."\n"
- .'- HTTP'."\n"
- ."\n"
- .'- HTTPS'."\n"
- ."\n"
- .'- DOH',
- 'type' => 'string',
- 'example' => 'UDP',
- ],
- 'Value' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Value' => [
- 'description' => '解析结果数组。',
- 'type' => 'array',
- 'items' => [
- 'description' => '解析结果。',
- 'type' => 'string',
- 'example' => '172.64.XX.XX',
- ],
- ],
- ],
- ],
- 'ResponseTimestamp' => [
- 'type' => 'string',
- ],
- 'QueryFlags' => [
- 'type' => 'string',
- ],
- 'Flags' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'PageSize' => [
- 'description' => '分页查询大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'CurPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'TotalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'TotalSize' => [
- 'description' => '总数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '48',
- ],
- ],
+ [
+ 'apiName' => 'DescribeRecursionZone',
+ 'description' => '查询HTTPDNS内置权威域名zone详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'pubdns:DescribeRecursionZone',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Alidns', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"536E9CAD-DB30-4647-AC87-AA5CC38C5382\\",\\n \\"Complete\\": true,\\n \\"Logs\\": {\\n \\"Log\\": [\\n {\\n \\"DnsMsgId\\": \\"3583\\",\\n \\"LogTime\\": 1709196249000,\\n \\"ZoneName\\": \\"example.com\\",\\n \\"QueryName\\": \\"www.example.com\\",\\n \\"QueryType\\": \\"A\\",\\n \\"Rt\\": 0,\\n \\"ServerIp\\": \\"140.205.XX.XX\\",\\n \\"SourceIp\\": \\"59.82.XX.XX\\",\\n \\"Status\\": \\"NOERROR\\",\\n \\"SubnetIp\\": \\"170.33.XX.XX\\",\\n \\"Protocol\\": \\"UDP\\",\\n \\"Value\\": {\\n \\"Value\\": [\\n \\"172.64.XX.XX\\"\\n ]\\n },\\n \\"ResponseTimestamp\\": \\"\\",\\n \\"QueryFlags\\": \\"\\",\\n \\"Flags\\": \\"\\"\\n }\\n ]\\n },\\n \\"PageSize\\": 10,\\n \\"CurPage\\": 1,\\n \\"TotalPage\\": 5,\\n \\"TotalSize\\": 48\\n}","type":"json"}]',
- 'title' => '查询公网解析日志',
],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'public',
- 'endpoint' => 'alidns.aliyuncs.com',
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/*'],
+ ['validationType' => 'always', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/*'],
+ ['validationType' => 'always', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'cloudGtmAddress', 'arn' => 'acs:alidns::{#accountId}:cloudGtmAddress/{#addressId}'],
+ ['validationType' => 'always', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#$domainName}'],
+ ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/{#DomainName}'],
+ ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:flushcache/*'],
+ ['validationType' => 'always', 'resourceType' => 'doh', 'arn' => 'acs:alidns::{#accountId}:doh/*'],
+ ['validationType' => 'always', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#gtminstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtmInstance/*'],
+ ['validationType' => 'always', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainName}'],
+ ['validationType' => 'always', 'resourceType' => 'group', 'arn' => 'acs:alidns::{#accountId}:group/{#groupId}'],
+ ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#DomainName}'],
+ ['validationType' => 'always', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'cloudGtmAddressPool', 'arn' => 'acs:alidns::{#accountId}:cloudGtmAddressPool/{#addressPoolId}'],
+ ['validationType' => 'always', 'resourceType' => 'MonitorConfig', 'arn' => 'acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:alidns:*:{#accountId}:instance/*'],
+ ['validationType' => 'always', 'resourceType' => 'gtmInstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/{#instanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'AccessStrategy', 'arn' => 'acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'gtminstance', 'arn' => 'acs:alidns::{#accountId}:gtminstance/*'],
+ ['validationType' => 'always', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/{#DomainName}'],
+ ['validationType' => 'always', 'resourceType' => 'domain', 'arn' => 'acs:alidns::{#accountId}:domain/{#domainId}'],
+ ['validationType' => 'always', 'resourceType' => 'cloudGtmAddress', 'arn' => 'acs:alidns::{#accountId}:cloudGtmAddress/*'],
+ ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:alidns:*:{#accountId}:domain/*'],
+ ['validationType' => 'always', 'resourceType' => 'cloudGtmMonitorTemplate', 'arn' => 'acs:alidns::{#accountId}:cloudGtmMonitorTemplate/{#templateId}'],
+ ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:zone/*'],
+ ['validationType' => 'always', 'resourceType' => 'instance', 'arn' => 'acs:alidns::{#accountId}:instance/{#instanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'cloudGtmMonitorTemplate', 'arn' => 'acs:alidns::{#accountId}:cloudGtmMonitorTemplate/*'],
+ ['validationType' => 'always', 'resourceType' => 'CacheDomain', 'arn' => 'acs:alidns::{#accountId}:dnscache/*'],
+ ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:alidns::{#accountId}:domain/*'],
+ ['validationType' => 'always', 'resourceType' => 'group', 'arn' => 'acs:alidns:*:{#accountId}:group/*'],
+ ['validationType' => 'conditional', 'resourceType' => 'gtmInstnace', 'arn' => 'acs:alidns:*:{#accountId}:gtmInstnace/*'],
+ ['validationType' => 'always', 'resourceType' => 'group', 'arn' => 'acs:alidns::{#accountId}:group/*'],
+ ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:eiam:{#regionId}:{#accountId}:flushcache/*'],
+ ['validationType' => 'always', 'resourceType' => 'GtmInstance', 'arn' => 'acs:alidns:*:{#accountId}:gtminstance/{#InstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'cloudGtmAddressPool', 'arn' => 'acs:alidns::{#accountId}:cloudGtmAddressPool/{#addressId}'],
+ ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:alidns:*:{#accountId}:instance/{#InstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'recursion', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/*'],
+ ['validationType' => 'always', 'resourceType' => 'recursion', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ['validationType' => 'always', 'resourceType' => 'recursionRecord', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ['validationType' => 'always', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/{#zoneId}'],
+ ['validationType' => 'always', 'resourceType' => 'recursionZone', 'arn' => 'acs:pubdns::{#accountId}:recursionZone/*'],
],
],
];